Downgrading from gegl 0.2 to 1.1.8, fails to build! I think portage wants to downgrade gegl because I have gimp installed. Reproducible: Always Steps to Reproduce: 1. emerge -uDNpv @world Actual Results: Making all in external make[3]: Entering directory `/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/operations/external' CC text_la-text.lo CC path_la-path.lo CC vector_fill_la-vector-fill.lo path.c: In function 'gegl_path_stamp': path.c:244:14: warning: assignment discards qualifiers from pointer target type CC vector_stroke_la-vector-stroke.lo CC png_load_la-png-load.lo CC png_save_la-png-save.lo png-load.c: In function 'query_png': png-load.c:361:13: warning: assignment discards qualifiers from pointer target type CC jpg-load.lo png-save.c: In function 'gegl_buffer_export_png': png-save.c:174:10: warning: assignment discards qualifiers from pointer target type CC jpg-save.lo CC svg_load_la-svg-load.lo jpg-save.c: In function 'gegl_buffer_export_jpg': jpg-save.c:125:14: warning: assignment discards qualifiers from pointer target type jpg-save.c:130:14: warning: assignment discards qualifiers from pointer target type CC pixbuf_la-pixbuf.lo CC save_pixbuf_la-save-pixbuf.lo svg-load.c: In function 'gegl_buffer_import_svg': svg-load.c:77:5: warning: 'rsvg_init' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:182): Use 'g_type_init' instead svg-load.c:84:5: warning: 'rsvg_pixbuf_from_file_at_size' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:217) svg-load.c:102:5: warning: 'rsvg_term' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:184) svg-load.c: In function 'query_svg': svg-load.c:141:3: warning: 'rsvg_init' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:182): Use 'g_type_init' instead svg-load.c:150:3: warning: 'rsvg_handle_set_size_callback' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:205) svg-load.c:154:3: warning: 'rsvg_handle_free' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:187): Use 'g_object_unref' instead svg-load.c:155:3: warning: 'rsvg_term' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:184) CXX exr_load_la-exr-load.lo CXX exr_save_la-exr-save.lo CC sdl_display_la-sdl-display.lo CC jp2_load_la-jp2-load.lo exr-load.cpp: In function 'gboolean query_exr(const gchar*, gint*, gint*, gint*, void**)': exr-load.cpp:596:39: error: invalid conversion from 'const void*' to 'void*' make[3]: *** [exr_load_la-exr-load.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/operations/external' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/operations' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8' make: *** [all] Error 2 * ERROR: media-libs/gegl-0.1.8 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =media-libs/gegl-0.1.8', * the complete build log and the output of 'emerge -pqv =media-libs/gegl-0.1.8'. * The complete build log is located at '/var/tmp/portage/media-libs/gegl-0.1.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/gegl-0.1.8/temp/environment'. * S: '/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8' >>> Failed to emerge media-libs/gegl-0.1.8, Log file: >>> '/var/tmp/portage/media-libs/gegl-0.1.8/temp/build.log' * Messages for package media-libs/gegl-0.1.8: * ERROR: media-libs/gegl-0.1.8 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =media-libs/gegl-0.1.8', * the complete build log and the output of 'emerge -pqv =media-libs/gegl-0.1.8'. * The complete build log is located at '/var/tmp/portage/media-libs/gegl-0.1.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/gegl-0.1.8/temp/environment'. * S: '/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8' * * The following package has failed to build or install: * * (media-libs/gegl-0.1.8::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/media-libs/gegl-0.1.8/temp/build.log' * be2400 # emerge -uDNpv @world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild UD ] media-libs/gegl-0.1.8 [0.2.0] USE="cairo ffmpeg graphviz jpeg jpeg2k lua mmx openexr png sdl sse svg -debug -exif -introspection -lensfun -raw -umfpack -v4l -vala" 0 kB Total: 1 package (1 downgrade), Size of downloads: 0 kB be2400 # emerge -u gegl Calculating dependencies... done! >>> Recording media-libs/gegl in "world" favorites file... >>> Auto-cleaning packages... >>> No outdated packages were found on your system. be2400 # Expected Results: Success! be2400 # emerge --info Portage 2.2.0_alpha100 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r2, 3.2.14-gentoo x86_64) ================================================================= System uname: Linux-3.2.14-gentoo-x86_64-AMD_Athlon-tm-_X2_Dual_Core_Processor_BE-2400-with-gentoo-2.1 Timestamp of tree: Thu, 12 Apr 2012 08:45:01 +0000 app-shells/bash: 4.2_p24 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.2-r3::local-repo, 3.2.2-r1 dev-util/cmake: 2.8.7-r5 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1 sys-apps/openrc: 0.9.9.3 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.4_p6-r1, 1.9.6-r3, 1.10.3, 1.11.4 sys-devel/binutils: 2.22-r1 sys-devel/gcc: 4.5.3-r2 sys-devel/gcc-config: 1.6 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 3.2-r1 (virtual/os-headers) sys-libs/glibc: 2.14.1-r2 Repositories: gentoo local-repo mythtv Installed sets: @mybase, @mydesktop, @myfonts, @mymedia, @mymythtv, @mynvidia, @mysecurity, @mysplash, @mystandard, @myx64, @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /home/mythtv/ /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--jobs=1 --load-average=2.1 --keep-going --with-bdeps=y --complete-graph" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://www.cyberuse.com/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://gentoo.netnitco.net http://gentoo.wetzlmayr.com/ http://gentoo.mirrors.tds.net/gentoo" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--progress" 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/local/portage /usr/local/mythtv_portage/Gentoo" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="3dnow 3dnowext 64bit X a52 aac acl acpi alsa amd64 apache2 artworkextra asf audiofile automount avahi berkdb branding bzip2 cairo caps cdda cddb cdio cdparanoia cdr cli consolekit cracklib crypt css cups curl cxx dbus device-mapper dri dts dvd dvdr dvi encode escreen ffmpeg flac fontconfig foomaticdb fortran fuse gd gdbm gif gimp glib glibc-omitfp gmp gnome gnuplot gphoto2 gpm graphviz gstreamer gtk gtk3 iconv id3tag ieee1394 ifp imagemagick imlib inotify ipv6 ithreads java java5 java6 jpeg jpeg2k kde lame laptop latex lcd libnotify libwww lirc lm_sensors logrotate lua lzma mad md5sum mdnsresponder-compat mmap mmx mmxext mng modules mp2 mp3 mp4 mpeg mplayer mtp mudflap multilib mysql mysqli nautilus ncurses nls nptl nptlonly nsplugin offensive ogg openal openexr opengl openmp pam pcre pdf pdo perl php plotutils png policykit posix ppds pppd python qt3support qt4 quicktime rar rdp readline rtc samba scanner sdl session sift skins smbclient sndfile spell sqlite sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff transcode truetype twolame udev unicode usb vcd vdpau vhosts vim-with-x vorbis webkit wmf wxwidgets wxwindows x264 xcomposite xinerama xml xorg xpm xscreensaver xulrunner xv xvid zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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_dbm authn_default authn_file 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 auth_digest" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="gensplash" 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" KERNEL="linux" LCD_DEVICES="imonlcd" LINGUAS="en en_US" LIRC_DEVICES="devinput" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby19" SANE_BACKENDS="genesys" USERLAND="GNU" VIDEO_CARDS="vesa radeon nvidia" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON
Please attach the entire build log to this bug report.
(In reply to comment #0) > Downgrading from gegl 0.2 to 1.1.8, fails to build! > I think portage wants to downgrade gegl because I have gimp installed. Makes sense. > exr-load.cpp: In function 'gboolean query_exr(const gchar*, gint*, gint*, > gint*, void**)': > exr-load.cpp:596:39: error: invalid conversion from 'const void*' to 'void*' [..] > [ebuild UD ] media-libs/gegl-0.1.8 [0.2.0] USE="cairo ffmpeg graphviz > jpeg jpeg2k lua mmx openexr png sdl sse svg -debug -exif -introspection > -lensfun -raw -umfpack -v4l -vala" 0 kB [..] > sys-devel/gcc: 4.5.3-r2 Same use flags, same GCC here: no error. Any ideas how to reproduce it? Before the upgrade to gegl 0.2 you must have had gegl around, version 0.1.8 probably. Is that correct?
The gegl 0.1.8 at file exr-load.cpp line 596 looks like *format = babl_format (format_string); here. Which versiun of babl do you have installed?
[ebuild R ] media-libs/babl-0.1.10 USE="mmx sse (-altivec) (-introspection) -vala" 0 kB So I guess babl and gegl are version-linked ...
Created attachment 308727 [details] gegl 1.8 full build log
(In reply to comment #3) > The gegl 0.1.8 at file exr-load.cpp line 596 looks like > > *format = babl_format (format_string); > > here. Which versiun of babl do you have installed? @be2400 ~ $ emerge -pv babl These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] media-libs/babl-0.1.10 USE="mmx sse (-altivec) (-introspection) -vala" 0 kB Total: 1 package (1 reinstall), Size of downloads: 0 kB I'm not sure which version of gegl I had previously but I think it was 1.8. In fact the old libraries were never removed because of gimp: @be2400 ~ $ ls /usr/lib/libgegl* lrwxrwxrwx 1 root root 22 Jan 12 21:51 /usr/lib/libgegl-0.1.so.0 -> libgegl-0.1.so.0.107.1* -rwxr-xr-x 1 root root 381392 Jan 12 21:51 /usr/lib/libgegl-0.1.so.0.107.1* lrwxrwxrwx 1 root root 22 Apr 11 21:52 /usr/lib/libgegl-0.2.so -> libgegl-0.2.so.0.199.1* lrwxrwxrwx 1 root root 22 Apr 11 21:52 /usr/lib/libgegl-0.2.so.0 -> libgegl-0.2.so.0.199.1* -rwxr-xr-x 1 root root 471808 Apr 11 21:52 /usr/lib/libgegl-0.2.so.0.199.1*
gegl 1.8 also fails to build on a seperate machine (sandy bridge) which currently has 1.8 installed. I tried this but it did not help: emerge --oneshot =media-libs/babl-0.1.10 I also tried this but it did not help either: MAKEOPTS="-j1" CFLAGS="-O2 -mtune=native -pipe -fomit-frame-pointer" emerge -uDN @world
Keith, can you try to downgrade babl to 0.1.6 and see if gegl 0.1.8 builds after?
Complies fine with with babl 1.6
(In reply to comment #9) > Complies fine with with babl 1.6 If I'm not asking for too much: could you emerge just-added babl 0.1.8 (upstream's only release in between 0.1.6 and 0.1.10) and try emerging gegl 0.1.8 again after? That would help me pick the closer match from <media-libs/babl-0.1.8 and <media-libs/babl-0.1.10 for the correct dependencies of gegl 0.1.8. Thanks in advance.
Sure, Actually, gegl 0.1.8 does NOT compile with babl 0.1.8 Fails with the same error: Making all in external make[3]: Entering directory `/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/operations/external' CC text_la-text.lo CC path_la-path.lo CC vector_fill_la-vector-fill.lo path.c: In function 'gegl_path_stamp': path.c:244:14: warning: assignment discards qualifiers from pointer target type CC vector_stroke_la-vector-stroke.lo CC png_load_la-png-load.lo CC png_save_la-png-save.lo CC jpg-load.lo png-save.c: In function 'gegl_buffer_export_png': png-save.c:174:10: warning: assignment discards qualifiers from pointer target type png-load.c: In function 'query_png': png-load.c:361:13: warning: assignment discards qualifiers from pointer target type CC jpg-save.lo CC svg_load_la-svg-load.lo CC pixbuf_la-pixbuf.lo jpg-save.c: In function 'gegl_buffer_export_jpg': jpg-save.c:125:14: warning: assignment discards qualifiers from pointer target type jpg-save.c:130:14: warning: assignment discards qualifiers from pointer target type CC save_pixbuf_la-save-pixbuf.lo svg-load.c: In function 'gegl_buffer_import_svg': svg-load.c:77:5: warning: 'rsvg_init' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:182): Use 'g_type_init' instead svg-load.c:84:5: warning: 'rsvg_pixbuf_from_file_at_size' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:217) svg-load.c:102:5: warning: 'rsvg_term' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:184) svg-load.c: In function 'query_svg': svg-load.c:141:3: warning: 'rsvg_init' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:182): Use 'g_type_init' instead svg-load.c:150:3: warning: 'rsvg_handle_set_size_callback' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:205) svg-load.c:154:3: warning: 'rsvg_handle_free' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:187): Use 'g_object_unref' instead svg-load.c:155:3: warning: 'rsvg_term' is deprecated (declared at /usr/include/librsvg-2.0/librsvg/rsvg.h:184) CXX exr_load_la-exr-load.lo CXX exr_save_la-exr-save.lo CC sdl_display_la-sdl-display.lo CC jp2_load_la-jp2-load.lo CC ff_load_la-ff-load.lo CC ppm-load.lo ff-load.c: In function 'ff_cleanup': ff-load.c:140:9: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1706) ff-load.c: In function 'prepare': ff-load.c:274:7: warning: 'av_open_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1480) ff-load.c:279:7: warning: 'av_find_stream_info' is deprecated (declared at /usr/include/libavformat/avformat.h:1526) ff-load.c:315:7: warning: 'avcodec_open' is deprecated (declared at /usr/include/libavcodec/avcodec.h:4155) CC ppm-save.lo exr-load.cpp: In function 'gboolean query_exr(const gchar*, gint*, gint*, gint*, void**)': exr-load.cpp:596:39: error: invalid conversion from 'const void*' to 'void*' make[3]: *** [exr_load_la-exr-load.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/operations/external' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8/operations' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8' make: *** [all] Error 2 * ERROR: media-libs/gegl-0.1.8 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =media-libs/gegl-0.1.8', * the complete build log and the output of 'emerge -pqv =media-libs/gegl-0.1.8'. * The complete build log is located at '/var/tmp/portage/media-libs/gegl-0.1.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/gegl-0.1.8/temp/environment'. * S: '/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8' >>> Failed to emerge media-libs/gegl-0.1.8, Log file: >>> '/var/tmp/portage/media-libs/gegl-0.1.8/temp/build.log' * Messages for package media-libs/gegl-0.1.8: * ERROR: media-libs/gegl-0.1.8 failed (compile phase): * emake failed * * If you need support, post the output of 'emerge --info =media-libs/gegl-0.1.8', * the complete build log and the output of 'emerge -pqv =media-libs/gegl-0.1.8'. * The complete build log is located at '/var/tmp/portage/media-libs/gegl-0.1.8/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/media-libs/gegl-0.1.8/temp/environment'. * S: '/var/tmp/portage/media-libs/gegl-0.1.8/work/gegl-0.1.8' * * The following package has failed to build or install: * * (media-libs/gegl-0.1.8::gentoo, ebuild scheduled for merge), Log file: * '/var/tmp/portage/media-libs/gegl-0.1.8/temp/build.log' *
(In reply to comment #11) > Sure, > > Actually, gegl 0.1.8 does NOT compile with babl 0.1.8 Thanks! + 14 Apr 2012; Sebastian Pipping <sping@gentoo.org> gegl-0.1.6.ebuild, + gegl-0.1.8.ebuild: + Make sure gegl <0.1.10 cannot be used with babl >=0.1.8 (bug #411703) + Please re-open as necessary.
Thanks for your help, and thanks for your work on gentoo :D