Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 479808

Summary: =media-libs/jpeg-9: jmorecfg.h include is broken (was: =media-libs/lcms-2.5: fails to compile)
Product: Gentoo Linux Reporter: Stefan Fuchs <stefan.ev.fuchs>
Component: [OLD] UnspecifiedAssignee: Gentoo Graphics Project <graphics+disabled>
Severity: normal CC: achurch+gentoo, Apolozov, gentoo, radab
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 479818    
Attachments: fix-jmorecfg-boolean-enum.patch from 'openembedded'

Description Stefan Fuchs 2013-08-05 09:31:12 UTC
After rebuilding media-libs/jpeg with "emerge -1 media-libs/jpeg", rebuilding packages depending on media-libs/jpeg fail to build.

Reproducible: Always

Steps to Reproduce:
1. emerge -1 media-libs/jpeg
2. emerge @preserved-rebuild
Actual Results:  
qemu build log:
lcms build log:

Expected Results:  
Should build

$ emerge --info
Portage (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.10.4-gentoo x86_64)
System uname: Linux-3.10.4-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T9550_@_2.66GHz-with-gentoo-2.2
KiB Mem:     8108796 total,    631500 free
KiB Swap:    8393924 total,   8393924 free
Timestamp of tree: Mon, 05 Aug 2013 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r1, 3.2.5-r1, 3.3.2-r1
dev-util/ccache:          3.1.9
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-march=core2 -O2 -pipe"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.1/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X acl acpi alsa amd64 avahi bash-completion berkdb bluetooth bzip2 cairo cdda cddb cdr cli consolekit cracklib crypt cups cxx dbus dri dvd ffmpeg flac fortran gdbm handbook hddtemp iconv icu ieee1394 ipv6 jpeg kde kipi kontact laptop lm_sensors lzma mad midi mmx mng modules mp3 mp4 mpeg mtp mudflap multilib mysql ncurses nls nptl nsplugin opengl openmp pam pcre pdf php plasma png policykit qt3support qt4 readline semantic-desktop session spell sql sse sse2 ssl svg symlink tcpd threads truetype udev unicode vaapi vorbis webkit wifi xcomposite xine xinerama xml zip zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 auth_basic auth_digest dav rewrite access_compat" CALLIGRA_FEATURES="plan flow" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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 ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="radeon fbdev vesa" 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"
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2013-08-05 10:45:41 UTC
What version of jpeg are you using?

# qlist -CIv jpeg

And it would be 1 bug per 1 package, so I'm converting this to =media-libs/lcms-2.5 failure wrt Comment #0
Comment 2 Stefan Fuchs 2013-08-05 10:47:41 UTC
# qlist -CIv jpeg
Comment 3 Stefan Fuchs 2013-08-05 12:15:32 UTC
I resolved this by:
emerge -C virtual/jpeg media-libs/jpeg && emerge -1 media-libs/libjpeg-turbo && emerge -uDN world

After that lcms compiles.

Thanks for your help Samuli.
Comment 4 Andrew Church 2013-08-05 13:11:38 UTC
The bug still exists when building with media-libs/jpeg-9.  This seems to be a bug in the libjpeg headers.
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2013-08-06 13:48:56 UTC
(In reply to Andrew Church from comment #4)
> The bug still exists when building with media-libs/jpeg-9.  This seems to be
> a bug in the libjpeg headers.

thanks, this helped

+*jpeg-9-r1 (06 Aug 2013)
+  06 Aug 2013; Samuli Suominen <> +jpeg-9-r1.ebuild,
+  +files/jpeg-9-fix-jmorecfg-boolean-enum.patch:
+  TRUE & FALSE have to be undefined in order to define the boolean enum wrt
+  #479808 by Stefan Fuchs. Thanks to Andrew Church for pointing me to correct
+  direction.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2013-08-06 13:53:36 UTC
Created attachment 355238 [details, diff]
fix-jmorecfg-boolean-enum.patch from 'openembedded'

Add the patch here too for reference.
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2013-08-07 00:54:50 UTC
*** Bug 479954 has been marked as a duplicate of this bug. ***
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2013-08-07 18:33:49 UTC
*** Bug 480182 has been marked as a duplicate of this bug. ***
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2013-08-07 18:34:38 UTC
*** Bug 480178 has been marked as a duplicate of this bug. ***
Comment 10 Samuli Suominen (RETIRED) gentoo-dev 2013-08-07 18:35:15 UTC
*** Bug 480186 has been marked as a duplicate of this bug. ***
Comment 11 Samuli Suominen (RETIRED) gentoo-dev 2013-08-07 18:39:17 UTC
*** Bug 479774 has been marked as a duplicate of this bug. ***
Comment 12 Samuli Suominen (RETIRED) gentoo-dev 2013-08-07 18:40:14 UTC
*** Bug 479894 has been marked as a duplicate of this bug. ***