User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.0.8) Gecko/20061110 Firefox/1.5.0.8 Build Identifier: Emerging libjsw failed with the GTK use flag set. After compiling it once without this use flag (which worked fine), compiling it again with the use flag set WORKED. It seems the gtk-piece is dependent on jsw.h being installed. The first compilation failed with the following: ------------------------------------------------ cc -c jc.c -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I../libjsw -march=k8 -mtune=k8 -funroll-all-loops -fpeel-loops -funswitch-loops -ftracer -funit-at-a-time -fomit-frame-pointer -O3 -pipe jc.c:1:17: error: jsw.h: No such file or directory In file included from jc.c:7: jc.h:235: error: expected specifier-qualifier-list before
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.8.0.8) Gecko/20061110 Firefox/1.5.0.8 Build Identifier: Emerging libjsw failed with the GTK use flag set. After compiling it once without this use flag (which worked fine), compiling it again with the use flag set WORKED. It seems the gtk-piece is dependent on jsw.h being installed. The first compilation failed with the following: ------------------------------------------------ cc -c jc.c -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib64/glib/include -I../libjsw -march=k8 -mtune=k8 -funroll-all-loops -fpeel-loops -funswitch-loops -ftracer -funit-at-a-time -fomit-frame-pointer -O3 -pipe jc.c:1:17: error: jsw.h: No such file or directory In file included from jc.c:7: jc.h:235: error: expected specifier-qualifier-list before js_data_struct jc.c: In function JCNew: jc.c:38: error: js_data_struct undeclared (first use in this function) jc.c:38: error: (Each undeclared identifier is reported only once jc.c:38: error: for each function it appears in.) jc.c:38: error: jsd undeclared (first use in this function) jc.c:50: error: jc_struct has no member named jsd jc.c:70: error: JSDefaultCalibration undeclared (first use in this function) make: *** [jc.o] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: media-libs/libjsw-1.5.5 failed. Call stack: ebuild.sh, line 1546: Called dyn_compile ebuild.sh, line 937: Called src_compile libjsw-1.5.5.ebuild, line 36: Called die !!! jscalibrator failed !!! If you need support, post the topmost build error, and the call stack if relevant. ------------------------------------------------ There are many warnings above this (about casting pointers to integers), but they were in the successfull compilations too. Also, I know my gcc-flags seem aggressive (they are the ones recommended by AMD, and have worked flawlessly for over a year now), but I tried with only -pipe -O2, and it yielded the exact same results. I doubt they have messed up any other packages. Reproducible: Always Steps to Reproduce: 1. Compile libjsw-1.5.5 with GTK use flag (will fail) 2. Compile again without GTK use flag (will succeed) 3. Compile again with GTK use flag (will succeed) Actual Results: libjsw compiles in step 3. Expected Results: libjsw should compile in step 1. Portage 2.1.1-r2 (default-linux/amd64/2005.1, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2ws1 x86_64) ================================================================= System uname: 2.6.18-gentoo-r2ws1 x86_64 AMD Athlon(tm) 64 Processor 3700+ Gentoo Base System version 1.12.6 Last Sync: Sat, 02 Dec 2006 10:50:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=k8 -mtune=k8 -funroll-all-loops -fpeel-loops -funswitch-loops -ftracer -funit-at-a-time -fomit-frame-pointer -O3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=k8 -mtune=k8 -funroll-all-loops -fpeel-loops -funswitch-loops -ftracer -funit-at-a-time -fomit-frame-pointer -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://mirror.gentoo.no/ ftp://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ ftp://ftp.du.se/pub/os/gentoo" LANG="en_US.utf8" LC_ALL="en_US.UTF-8" LINGUAS="en_GB nb_NO nn_NO" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="amd64 X a52 aac acpi alsa apache2 berkdb bitmap-fonts bzip2 cdparanoia cdr cli cracklib crypt cups divx dlloader dri dv dvb dvd dvdr dvdread eds elibc_glibc emacs emboss emul-linux-x86 encode exif fbcon ffmpeg fftw flac foomaticdb fortran ftp gcj gif gimpprint ginac glut gphoto2 gpm gstreamer gtk gtk2 iconv imagemagick imlib input_devices_keyboard input_devices_mouse isdnlog java javascript joystick jpeg jpeg2k kernel_linux linguas_en_GB linguas_nb_NO linguas_nn_NO lm_sensors lzw lzw-tiff mikmod mime mozilla mp3 mpeg msn mysql mysqli ncurses nls nocd nptl nptlonly nsplugin nvidia offensive ogg oggvorbis openal opengl pam pcre pdf perl plotutils png posix pppd python qt qt3 qt4 quicktime readline realmedia reflection sdl session slang speex spell spl ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU v4l vcd verbose video_cards_fbdev video_cards_nvidia video_cards_vesa video_cards_vga videos vorbis wmp xine xinerama xml xorg xosd xpm xv xvid zip zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
had the same here, but it's fixed in media-libs/libjsw-1.5.6. the ebuild handles that bug now. Why is that bug still open? Should I have closed it now?
I can confirm it works correctly in libjsw-1.5.6. The bug should probably be closed now.
OK... fixed in 1.5.6, then.