Platform is Gentoo Prefix on SUSE Enterprise 10 SP2. app-text/poppler fails to emerge because of the dependency to lcms-1*. This in turn prohibits evince to be emerged: emerge: there are no ebuilds to satisfy "=media-libs/lcms-1*". (dependency required by "app-text/poppler-0.16.6[lcms]" [ebuild]) (dependency required by "app-text/evince-2.32.0-r3" [ebuild]) (dependency required by "app-text/evince" [argument]) A workaround is to insert a -lcms USE flag for poppler. By doing so evince can be emerged.
restored version 1.19 which was accidentially removed
There is still a problem, today I get $ echo ">=media-libs/lcms-2.0" >>etc/portage/package.mask $ emerge lcms WARNING: One or more repositories have missing repo_name entries: /local/scratch/nightly/2011-06-22-1/usr/local/portage/profiles/repo_name NOTE: Each repo_name entry should be a plain text file containing a unique name for the repository on the first line. Calculating dependencies... done! >>> Verifying ebuild manifests >>> Emerging (1 of 1) media-libs/lcms-1.19 * lcms-1.19.tar.gz RMD160 SHA1 SHA256 size ;-) ... [ ok ] * Package: media-libs/lcms-1.19 * Repository: gentoo_prefix * Maintainer: printing@gentoo.org * USE: elibc_glibc kernel_linux prefix python userland_GNU x86 zlib * FEATURES: preserve-libs >>> Unpacking source... >>> Unpacking lcms-1.19.tar.gz to /local/scratch/portage/media-libs/lcms-1.19/work >>> Source unpacked in /local/scratch/portage/media-libs/lcms-1.19/work >>> Preparing source in /local/scratch/portage/media-libs/lcms-1.19/work/lcms-1.19 ... * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /local/scratch/nightly/2011-06-22-1/usr/portage/media-libs/lcms/files/lcms-1.19-disable_static_modules.patch * ( lcms-1.19-disable_static_modules.patch ) * ERROR: media-libs/lcms-1.19 failed (prepare phase): * Cannot find $EPATCH_SOURCE!
I got a similar problem with lcms >>> Failed to emerge media-libs/lcms-1.19, Log file: >>> '/data/gentoo/var/tmp/portage/media-libs/lcms-1.19/temp/build.log' * Messages for package media-libs/lcms-1.19: * Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is: * * /data/gentoo/usr/portage/media-libs/lcms/files/lcms-1.19-disable_static_modules.patch * ( lcms-1.19-disable_static_modules.patch ) * ERROR: media-libs/lcms-1.19 failed (prepare phase): * Cannot find $EPATCH_SOURCE! * * Call stack: * ebuild.sh, line 62: Called call-ebuildshell 'src_prepare' * environment, line 1073: Called src_prepare * environment, line 5170: Called epatch '/data/gentoo/usr/portage/media-libs/lcms/files/lcms-1.19-disable_static_modules.patch' * environment, line 2124: Called die * The specific snippet of code: * die "Cannot find \$EPATCH_SOURCE!"; * * If you need support, post the output of 'emerge --info =media-libs/lcms-1.19', * the complete build log and the output of 'emerge -pqv =media-libs/lcms-1.19'. * The complete build log is located at '/data/gentoo/var/tmp/portage/media-libs/lcms-1.19/temp/build.log'. * The ebuild environment file is located at '/data/gentoo/var/tmp/portage/media-libs/lcms-1.19/temp/environment'. * S: '/data/gentoo/var/tmp/portage/media-libs/lcms-1.19/work/lcms-1.19'
added missing file.
The compile succeeds now, but emerging still fails for me, libtool: install: /local/tmp/j/usr/bin/install -c .libs/_lcms.soT /local/scratch/portage/media-libs/lcms-1.19/image//usr/lib/python2.7/site-packages/_lcms.so libtool: install: /local/tmp/j/usr/bin/install -c .libs/_lcms.lai /local/scratch/portage/media-libs/lcms-1.19/image//usr/lib/python2.7/site-packages/_lcms.la libtool: install: warning: remember to run `libtool --finish /usr/lib/python2.7/site-packages' make[1]: Leaving directory `/local/scratch/portage/media-libs/lcms-1.19/work/lcms-1.19/python-2.7' >>> Completed installing lcms-1.19 into /local/scratch/portage/media-libs/lcms-1.19/image/local/tmp/j/ Fixing .la files usr/lib/python2.7/site-packages/_lcms.la strip: i686-pc-linux-gnu-strip --strip-unneeded -R .comment usr/lib/liblcms.so.1.0.19 usr/bin/icctrans usr/bin/wtpt usr/bin/icc2ps usr/bin/icclink ecompressdir: bzip2 -9 /local/tmp/j/usr/share/man * QA Notice: Package has poor programming practices which may compile * fine but exhibit random runtime failures. * cmsio1.c:118: warning: implicit declaration of function 'swab' * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: http://www.littlecms.com/ * QA Notice: the following files are outside of the prefix: * /usr * /usr/lib * /usr/lib/python2.7 * /usr/lib/python2.7/site-packages * /usr/lib/python2.7/site-packages/lcms.py * /usr/lib/python2.7/site-packages/_lcms.so * /usr/lib/python2.7/site-packages/_lcms.la * ERROR: media-libs/lcms-1.19 failed: * Aborting due to QA concerns: there are files installed outside the prefix * * Call stack: * misc-functions.sh, line 1707: Called install_qa_check * misc-functions.sh, line 210: Called install_qa_check_prefix * misc-functions.sh, line 785: Called die * The specific snippet of code: * die "Aborting due to QA concerns: there are files installed outside the prefix"
I think I fixed that this morning
It works for me.
thanks