Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 371595 - app-text/poppler cannot be emerged
Summary: app-text/poppler cannot be emerged
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-14 11:29 UTC by Rabbe Fogelholm
Modified: 2011-06-27 08:39 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rabbe Fogelholm 2011-06-14 11:29:51 UTC
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.
Comment 1 Fabian Groffen gentoo-dev 2011-06-22 19:21:17 UTC
restored version 1.19 which was accidentially removed
Comment 2 Rabbe Fogelholm 2011-06-23 07:52:10 UTC
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!
Comment 3 Antoine DECHAUME 2011-06-23 08:04:30 UTC
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'
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2011-06-23 21:57:30 UTC
added missing file.
Comment 5 Rabbe Fogelholm 2011-06-25 12:32:27 UTC
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"
Comment 6 Fabian Groffen gentoo-dev 2011-06-25 14:29:58 UTC
I think I fixed that this morning
Comment 7 Antoine DECHAUME 2011-06-27 08:35:27 UTC
It works for me.
Comment 8 Fabian Groffen gentoo-dev 2011-06-27 08:39:39 UTC
thanks