Reproducible: Always My Wine 0.9.31 seemed to compile fine with lcms USE flag, but now it can't find lcms.h with 0.9.32. I haven't tried compiling it on another computers. kyle@localhost ~ $ emerge --info Portage 2.1.2.1 (default-linux/amd64/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20.1 x86_64) ================================================================= System uname: 2.6.20.1 x86_64 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System release 1.12.9 Timestamp of tree: Sun, 04 Mar 2007 22:00:03 +0000 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r1 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -ftree-vectorize -msse3 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=athlon64 -O2 -ftree-vectorize -msse3 -pipe" DISTDIR="/distfiles" FEATURES="autoconfig distlocks metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LINGUAS="en" MAKEOPTS="-j5" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/kports" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa amd64 ao audiofile bash-completion bitmap-fonts bzip2 cairo cdb cddb cdinstall cdparanoia cdr cli cups curl dvd dvdread encode exif fam ffmpeg firefox flac fortran ftp gif ginac glut gtk gtk2 iconv imagemagick imlib isdnlog javascript jpeg lcms ldap libg++ lm_sensors lua mad memlimit midi mikmod mmap mp3 mpeg mplayer msql mssql ncurses nls nptl nptlonly nsplugin offensive ogg openal opengl oss pam pcre pdf perl png ppds pppd python readline reflection ruby sdl session speex spell spl ssl svg symlink tcpd truetype truetype-fonts type1-fonts unicode usb vcd videos vim-syntax vorbis xml xorg xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nv nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS Error: make[2]: Entering directory `/var/tmp/portage/app-emulation/wine-0.9.32/work/wine-0.9.32/dlls/mscms' x86_64-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -march=athlon64 -O2 -pipe -o handle.o handle.c In file included from handle.c:30: mscms_priv.h:50:23: error: lcms/lcms.h: No such file or directory In file included from handle.c:30: mscms_priv.h:69: error: expected ‘)’ before ‘cmsprofile’ mscms_priv.h:70: error: expected ‘)’ before ‘*’ token mscms_priv.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MSCMS_hprofile2cmsprofile’ mscms_priv.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token mscms_priv.h:75: error: expected declaration specifiers or ‘...’ before ‘icProfile’ mscms_priv.h:76: error: expected declaration specifiers or ‘...’ before ‘cmsHPROFILE’ mscms_priv.h:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MSCMS_htransform2cmstransform’ mscms_priv.h:80: error: expected ‘)’ before ‘cmstransform’ mscms_priv.h:83: error: expected ‘)’ before ‘*’ token mscms_priv.h:84: error: expected ‘)’ before ‘*’ token mscms_priv.h:85: error: expected ‘)’ before ‘*’ token mscms_priv.h:86: error: expected ‘)’ before ‘*’ token mscms_priv.h:87: error: expected ‘)’ before ‘*’ token mscms_priv.h:88: error: expected ‘)’ before ‘*’ token mscms_priv.h:89: error: expected ‘)’ before ‘*’ token handle.c:56: error: expected specifier-qualifier-list before ‘icProfile’ handle.c:62: error: expected specifier-qualifier-list before ‘cmsHTRANSFORM’ handle.c:120: error: expected ‘)’ before ‘cmsprofile’ handle.c:142: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MSCMS_hprofile2cmsprofile’ handle.c:156: error: expected ‘)’ before ‘*’ token handle.c:178: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token handle.c:192: error: expected declaration specifiers or ‘...’ before ‘icProfile’ handle.c:193: error: expected declaration specifiers or ‘...’ before ‘cmsHPROFILE’ handle.c: In function ‘MSCMS_create_hprofile_handle’: handle.c:198: error: ‘cmsprofile’ undeclared (first use in this function) handle.c:198: error: (Each undeclared identifier is reported only once handle.c:198: error: for each function it appears in.) handle.c:198: error: ‘iccprofile’ undeclared (first use in this function) handle.c:204: error: ‘struct profile’ has no member named ‘iccprofile’ handle.c:208: error: ‘struct profile’ has no member named ‘iccprofile’ handle.c:209: error: ‘struct profile’ has no member named ‘cmsprofile’ handle.c: At top level: handle.c:235: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MSCMS_htransform2cmstransform’ handle.c:249: error: expected ‘)’ before ‘cmstransform’ make[2]: *** [handle.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.32/work/wine-0.9.32/dlls/mscms' make[1]: *** [mscms] Error 2 make[1]: *** Waiting for unfinished jobs....
same issue here on two machines.
Also want to confirm this bug on amd64.
# emerge -uN wine These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] app-emulation/wine-0.9.32 USE="X alsa dbus hal jpeg lcms ncurses opengl oss xml -arts -cups -esd -jack -ldap -nas -scanner" >>> Emerging (1 of 1) app-emulation/wine-0.9.32 to / * wine-0.9.32.tar.bz2 MD5 ;-) ... [ ok ] * wine-0.9.32.tar.bz2 RMD160 ;-) ... [ ok ] * wine-0.9.32.tar.bz2 SHA1 ;-) ... [ ok ] * wine-0.9.32.tar.bz2 SHA256 ;-) ... [ ok ] * wine-0.9.32.tar.bz2 size ;-) ... [ ok ] * checking ebuild checksums ;-) ... [ ok ] * checking auxfile checksums ;-) ... [ ok ] * checking miscfile checksums ;-) ... [ ok ] * checking wine-0.9.32.tar.bz2 ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking wine-0.9.32.tar.bz2 to /var/tmp/portage/app-emulation/wine-0.9.32/work * Applying wine-gentoo-no-ssp.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/app-emulation/wine-0.9.32/work/wine-0.9.32 ... * econf: updating wine-0.9.32/tools/config.guess with /usr/share/gnuconfig/config.guess * econf: updating wine-0.9.32/tools/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --sysconfdir=/etc/wine --with-curses --with-opengl --with-x --build=i686-pc-linux-gnu ... checking for lcms.h... (cached) yes checking for lcms/lcms.h... (cached) yes I don't know why I see the (cached) output. Is config.status or config.cache packaged in the source file? Re-running the configure manualy I get: checking lcms.h usability... yes checking lcms.h presence... yes checking for lcms.h... yes checking lcms/lcms.h usability... no checking lcms/lcms.h presence... no checking for lcms/lcms.h... no
same here on x86
same error with the new stable version, 0.9.29, on x86
Confirming this on ~x86, last emerging wine: 0.9.31
@@ -89,7 +89,7 @@ config_cache hal hal/libhal.h config_cache jpeg jpeglib.h config_cache oss sys/soundcard.h machine/soundcard.h soundcard.h - config_cache lcms lcms.h + config_cache lcms lcms.h lcms/lcms.h Reverting this change (diff between the old wine-0.9.31.ebuild in my /var/db/pkg/ and the new wine-0.9.32.ebuild) fix the compilation issue. lcms-1.15 (~x86) installs lcms.h in /usr/include/ not in /usr/include/lcms/.
confirm failed emerge of wine-0.9.32: i686-pc-linux-gnu-gcc -c -I. -I. -I../../include -I../../include -D__WINESRC__ -D_REENTRANT -fPIC -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wwrite-strings -Wpointer-arith -march=athlon-xp -O2 -pipe -o handle.o handle.c In file included from handle.c:30: mscms_priv.h:50:23: error: lcms/lcms.h: No such file or directory In file included from handle.c:30: mscms_priv.h:69: error: expected ‘)’ before ‘cmsprofile’ mscms_priv.h:70: error: expected ‘)’ before ‘*’ token mscms_priv.h:72: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MSCMS_hprofile2cmsprofile’ mscms_priv.h:73: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token mscms_priv.h:75: error: expected declaration specifiers or ‘...’ before ‘icProfile’ mscms_priv.h:76: error: expected declaration specifiers or ‘...’ before ‘cmsHPROFILE’ mscms_priv.h:79: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MSCMS_htransform2cmstransform’ mscms_priv.h:80: error: expected ‘)’ before ‘cmstransform’ mscms_priv.h:83: error: expected ‘)’ before ‘*’ token mscms_priv.h:84: error: expected ‘)’ before ‘*’ token mscms_priv.h:85: error: expected ‘)’ before ‘*’ token mscms_priv.h:86: error: expected ‘)’ before ‘*’ token mscms_priv.h:87: error: expected ‘)’ before ‘*’ token mscms_priv.h:88: error: expected ‘)’ before ‘*’ token mscms_priv.h:89: error: expected ‘)’ before ‘*’ token handle.c:56: error: expected specifier-qualifier-list before ‘icProfile’ handle.c:62: error: expected specifier-qualifier-list before ‘cmsHTRANSFORM’ handle.c:120: error: expected ‘)’ before ‘cmsprofile’ handle.c:142: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MSCMS_hprofile2cmsprofile’ handle.c:156: error: expected ‘)’ before ‘*’ token handle.c:178: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token handle.c:192: error: expected declaration specifiers or ‘...’ before ‘icProfile’ handle.c:193: error: expected declaration specifiers or ‘...’ before ‘cmsHPROFILE’ handle.c: In function ‘MSCMS_create_hprofile_handle’: handle.c:198: error: ‘cmsprofile’ undeclared (first use in this function) handle.c:198: error: (Each undeclared identifier is reported only once handle.c:198: error: for each function it appears in.) handle.c:198: error: ‘iccprofile’ undeclared (first use in this function) handle.c:204: error: ‘struct profile’ has no member named ‘iccprofile’ handle.c:208: error: ‘struct profile’ has no member named ‘iccprofile’ handle.c:209: error: ‘struct profile’ has no member named ‘cmsprofile’ handle.c: At top level: handle.c:235: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘MSCMS_htransform2cmstransform’ handle.c:249: error: expected ‘)’ before ‘cmstransform’ make[2]: *** [handle.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.32/work/wine-0.9.32/dlls/mscms' make[1]: *** [mscms] Error 2 make[1]: Leaving directory `/var/tmp/portage/app-emulation/wine-0.9.32/work/wine-0.9.32/dlls' make: *** [dlls] Error 2
Regarding the comment #7: my ebuild was already in the target situation... And the emerge fails. The only diff between 0.9.31 and 0.9.32 is about using einfo instead of elog for some warnings
I can also confirm this bug for amd64. Compiles with "app-emulation/wine -lcms" in package.use.
Comment #7 is right. REVERT that patch and wine will emerge: the final ebuild should have the line "config_cache lcms lcms.h" and nothing else.... Just built fine on my ~x86.
*** Bug 169614 has been marked as a duplicate of this bug. ***
Comment #11 makes me understand Comment #7 (revert is the key word ;)) The tip works for me
seems like lcms handling was changed everywhere, so is not 0.9.32 specific
Confirm the bug and the fix (deleting lcms/lcms.h from line 92) in a local overlay. # Reverting this change (diff between the old wine-0.9.31.ebuild in my /var/db/pkg/ and the new wine-0.9.32.ebuild) fix the compilation issue. Can someone fix the ebuild then? It's a tiny change :P
*** Bug 169682 has been marked as a duplicate of this bug. ***
fixed in cvs as for asking for fixes, dont do that ... it only serves to annoy
*** Bug 169723 has been marked as a duplicate of this bug. ***
*** Bug 169747 has been marked as a duplicate of this bug. ***
(In reply to comment #17) > fixed in cvs > > as for asking for fixes, dont do that ... it only serves to annoy > OK, understood.
*** Bug 170725 has been marked as a duplicate of this bug. ***