Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 539546 - media-gfx/uniconvertor-2.0_pre379-r1 - LittleCMS header file is not found!
Summary: media-gfx/uniconvertor-2.0_pre379-r1 - LittleCMS header file is not found!
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2020-08-04
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2015-02-10 01:41 UTC by William Throwe
Modified: 2020-08-20 11:34 UTC (History)
1 user (show)

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


Attachments
build.log.gz (media-gfx:uniconvertor-2.0_pre379-r1:20150210-013213.log.gz,2.54 KB, application/gzip)
2015-02-10 01:41 UTC, William Throwe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Throwe 2015-02-10 01:41:19 UTC
Created attachment 396006 [details]
build.log.gz

>>> Compiling source in /home/supernova/wthrowe/gentoo/var/tmp/portage/media-gfx/uniconvertor-2.0_pre379-r1/work/uniconvertor-2.0_pre379 ...
 * python2_7: running distutils-r1_run_phase distutils-r1_python_compile
/home/supernova/wthrowe/gentoo/usr/bin/python2.7 setup.py build
ERROR>>> LittleCMS header file is not found! 
>>> Source compiled.


Looks like setup.py hardcodes /usr/include as the search directory.

It also returns success on the error, so portage thinks it compiled and doesn't actually fail until the install phase.


$ emerge --info
Portage 2.2.14-prefix (python 2.7.8-final-0, prefix/linux/x86, gcc-4.8.4, unavailable, 2.6.18-308.11.1.el5PAE i686)
=================================================================
System uname: Linux-2.6.18-308.11.1.el5PAE-i686-Intel-R-_Xeon-R-_CPU_5150_@_2.66GHz-with-redhat-5.11-Tikanga
KiB Mem:     4145608 total,    602476 free
KiB Swap:    3068404 total,   1730036 free
Timestamp of tree: Sat, 07 Feb 2015 19:48:19 +0000
ld GNU ld (Gentoo 2.24 p1.3) 2.24
ccache version 3.2.1 [disabled]
app-shells/bash:          4.2_p53
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.8, 3.3.3
dev-util/ccache:          3.2.1-r1
dev-util/cmake:           3.1.0
dev-util/pkgconfig:       0.28-r2
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r2
sys-devel/gcc:            4.8.4
sys-devel/gcc-config:     1.8-r1
sys-devel/libtool:        2.4.2-r1
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
Repositories: gentoo_prefix g-cpan
ACCEPT_KEYWORDS="x86-linux ~x86-linux"
ACCEPT_LICENSE="@FREE"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=native -O2 -march=native -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe -ggdb"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=native -O2 -march=native -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe -ggdb"
DISTDIR="/home/astrosun/wthrowe/tmp/distfiles"
EMERGE_DEFAULT_OPTS="--ask --autounmask-write=n"
FCFLAGS="-march=native -O2 -march=native -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe -ggdb"
FEATURES="assume-digests binpkg-logs case-insensitive-fs clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles force-prefix merge-sync news parallel-fetch preserve-libs protect-owned sfperms splitdebug strict unknown-features-warn unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-march=native -O2 -march=native -mfpmath=sse -mmmx -msse -msse2 -mssse3 -pipe -ggdb"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="POSIX"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"
MAKEOPTS="-j3"
PKGDIR="/home/supernova/wthrowe/gentoo/usr/portage/packages"
PORTAGE_CONFIGROOT="/home/supernova/wthrowe/gentoo/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/supernova/wthrowe/gentoo/var/tmp"
PORTDIR="/home/supernova/wthrowe/gentoo/usr/portage"
PORTDIR_OVERLAY="/home/supernova/wthrowe/gentoo/var/lib/g-cpan"
USE="berkdb bindist bzip2 cli cracklib crypt cxx dri fortran gdbm iconv ipv6 libav modules ncurses nls nptl openmp pcre prefix prefix-guest readline session ssl tcpd unicode x86 zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 William Throwe 2015-02-10 02:23:30 UTC
After patching that out, there are failures due to trying to install stuff outside of the prefix:

 * QA Notice: the following files are outside of the prefix:
 * /usr
 * /usr/share
 * /usr/share/mime-info
 * /usr/share/mime-info/sk1project.keys
 * /usr/share/mime-info/sk1project.mime
 * /usr/share/mime
 * /usr/share/mime/packages
 * /usr/share/mime/packages/vnd.sk1project.pdxf-graphics.xml

I ended up just running sed "s|/usr|${EPREFIX}&|" on setup.py as a hack to get this working, which resulted in a successful install.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-08-20 11:34:46 UTC
The package is being removed.