Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 456104 - media-libs/oyranos-0.9.1 - Fails during configure phase - preparing Makefile in yajl/ make: *** No rule to make target `clean'. Stop
Summary: media-libs/oyranos-0.9.1 - Fails during configure phase - preparing Makefile ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-07 23:38 UTC by Marios Andreopoulos
Modified: 2013-02-11 07:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,6.51 KB, text/plain)
2013-02-07 23:38 UTC, Marios Andreopoulos
Details
Fixes the configure issue (oyranos_test.patch,392 bytes, text/plain)
2013-02-10 13:11 UTC, Benjamin Schindler
Details
Updated patch (oyranos_test.patch,991 bytes, text/plain)
2013-02-10 13:30 UTC, Benjamin Schindler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marios Andreopoulos 2013-02-07 23:38:17 UTC
About a month ago media-libs/oyranos started failing to emerge, versions 0.9.1 and 0.9.0.
In the past I have succesfully emerged these.

The problem is USE flag independent and happens on two different machines. Both run on ~amd64, one is hardened, the other is not. One has an old Gentoo installation but the other has a very recent installation, so I guess it isn't due to some random leftover files.

Reproducible: Always

Steps to Reproduce:
1. Get on a ~amd64 machine.
2. emerge oyranos
Actual Results:  
>>> Source configured.
>>> Compiling source in /var/tmp/portage/media-libs/oyranos-0.9.1/work/oyranos-0.9.1 ...
make -j3 all 
make: *** No rule to make target `all'.  Stop.
 * ERROR: media-libs/oyranos-0.9.1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=media-libs/oyranos-0.9.1'`,
 * the complete build log and the output of `emerge -pqv '=media-libs/oyranos-0.9.1'`.
 * The complete build log is located at '/var/tmp/portage/media-libs/oyranos-0.9.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/oyranos-0.9.1/temp/environment'.
 * Working directory: '/var/tmp/portage/media-libs/oyranos-0.9.1/work/oyranos-0.9.1'
 * S: '/var/tmp/portage/media-libs/oyranos-0.9.1/work/oyranos-0.9.1'


# emerge --info '=media-libs/oyranos-0.9.1'
Portage 2.1.11.50 (hardened/linux/amd64, gcc-4.6.3, glibc-2.16.0, 3.7.4-hardened-Alfred x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.7.4-hardened-Alfred-x86_64-Intel-R-_Pentium-R-_CPU_G840_@_2.80GHz-with-gentoo-2.2
KiB Mem:     8069572 total,   7126528 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Sat, 26 Jan 2013 17:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo x-personal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -mtune=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/bin"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/personal"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl acpi alsa amd64 apache2 archive avahi avi bash-completion berkdb btrfs bzip2 cli consolekit cracklib crypt cryptsetup cups cxx dbus dirac dlna dri drm ebook exif exiv2 fat ffmpeg fontconfig foomatic-db freetype ftp fuse gallium gdbm geolocation git gmp gpm gpu gstreamer hardened iconv id3 id3tag imagemagick imlib ipv6 ithreads jpeg justify kerberos kpathsea lame laptop libass libnotify lm_sensors logrotate lvm mad matroska mbox mdadm memlimit mhash mime mmx mmxext modules mp3 mp4 mpeg mpeg2 mplayer mtp mudflap multilib mysql ncurses network nfs nls nptl ntfs ogg ogm opencl openmp pam pax_kernel pcre plotutils png posix ppds private-headers ps pulseaudio rdp readline recode reiserfs remote reports rrdtool session smp smtp snmp sockets socks5 sox spell sqlite srt sse sse2 sse3 sse4 sse4_1 sse4_2 ssl ssse3 stats stream tcpd theora threads thumbnail truetype udev unicode upnp urandom usb v4l v4l2 vhosts vorbis vpx webdav webinterface wifi wma x264 xattr xfs xmp xvid xvmc zeroconf zip zlib" ALSA_CARDS="intel8x0 intel8x0m hda-intel usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy proxy_http proxy_balancer unixd socache_shmcb proxy_fcgi" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="el gr en_GB en el en_US el_GR" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="intel v4l vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

# emerge -pqv '=media-libs/oyranos-0.9.1'
[ebuild  N    ] media-libs/oyranos-0.9.1  USE="-X -doc -static-libs {-test} -xinerama" 



On the second machine, I have enabled much more USE flags in general but I thought it is better to show the simpler case.
#  emerge -pqv '=media-libs/oyranos-0.9.1'
[ebuild   R   ] media-libs/oyranos-0.9.1  USE="X xinerama -doc -static-libs {-test}"
Comment 1 Marios Andreopoulos 2013-02-07 23:38:54 UTC
Created attachment 338280 [details]
build.log
Comment 2 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-02-08 00:50:46 UTC
There is an earlier error in the configure phase, since it stops the configure phase due to a clean error the rest of the Makefiles aren't made. I've adjusted the summary.
Comment 3 Benjamin Schindler 2013-02-10 11:48:09 UTC
!!! ERROR: no or too old xcm found, !!!
  need at least version 0.5, download: http://sf.net/projects/oyranos/files/libXcm
  no or too old QtGui found, need QtGui to build examples

I've got the same problem. libXcm is however installed
Comment 4 Benjamin Schindler 2013-02-10 13:09:55 UTC
Just digged into it - looks like a find-script issue. 

In configure_tests.sh is buggy, attaching a patch to fix the issue. 

The problem is that they set found (whether xcm is found) to: 

found=`pkg-config --cflags $pc_package`

however, the pkg-config does not output cflags, as it only contains an -I/usr/include which seems to get stripped by pkg-config. 

Setting to the return value fixes the issue for me
Comment 5 Benjamin Schindler 2013-02-10 13:11:34 UTC
Created attachment 338502 [details]
Fixes the configure issue
Comment 6 Benjamin Schindler 2013-02-10 13:14:43 UTC
okay, I stand corrected, fails later when compiling. Obviously, the variable  found is then included in the cflags - not quite logical given the name of the var. Who came up with this???
Comment 7 Benjamin Schindler 2013-02-10 13:30:49 UTC
Created attachment 338506 [details]
Updated patch

This patch fixes the issue and on my machine, oyranos is confirmed to compile
Comment 8 Marios Andreopoulos 2013-02-10 16:03:35 UTC
The patch seems to fix the bug on my machine too. Thanks!

But kolor-manager crashes on my machine for the last couple of months, so I can't test if it works properly.
Comment 9 Andreas Sturmlechner gentoo-dev 2013-02-10 23:17:04 UTC
I confirm the problem and proper fix by the patch.

Marios, downgrading to elektra-0.7.1 should fix the kolor-manager-0.99 crash.
Comment 10 Michael Weber (RETIRED) gentoo-dev 2013-02-11 07:45:58 UTC
+*oyranos-0.9.1-r1 (11 Feb 2013)
+
+  11 Feb 2013; Michael Weber <xmw@gentoo.org> +oyranos-0.9.1-r1.ebuild,
+  +files/oyranos-0.9.1-buildsystem-2.patch:
+  Revbump to include buildsystem patch by Benjamin Schindler, thanks to all
+  contributors of bug 456104
+

now I have to fix 450494 8-(