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

Bug 483348

Summary: kde-base/kdelibs fails to build with media-libs/jpeg-9-r1 - error: cannot convert ‘bool’ to ‘boolean’
Product: Gentoo Linux Reporter: Tvin <ilia>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 479818    
Attachments: build.log

Description Tvin 2013-09-02 07:49:55 UTC
I can't build (update) kdelibs-4.11.0-r1 or rebuild kde-base/kdelibs-4.10.5-r1, recieving the same error each time.

Reproducible: Always

Steps to Reproduce:
1. emerge -uaDNv @world
2. portage tries to update kdelibs onto 4.11.0-r1 version.

Actual Results:  
There is an error during compilation.

Expected Results:  
An update of kdelibs.

# emerge --info '=kde-base/kdelibs-4.11.0-r1::gentoo' 
 Portage 2.2.0 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.10.5-gentoo-r1 x86_64) 
                          System Settings 
 System uname: Linux-3.10.5-gentoo-r1-x86_64-AMD_Phenom-tm-_II_X6_1100T_Processor-with-gentoo-2.2 
 KiB Mem:    16376288 total,    299872 free 
 KiB Swap:          0 total,         0 free 
 Timestamp of tree: Mon, 02 Sep 2013 04:15:01 +0000 
 ld GNU ld (GNU Binutils) 2.23.2 
 app-shells/bash:          4.2_p45 
 dev-java/java-config:     2.2.0 
 dev-lang/python:          2.7.5-r2, 3.2.5-r1, 3.3.2-r1 
 dev-util/pkgconfig:       0.28 
 sys-apps/baselayout:      2.2 
 sys-apps/openrc:          0.12 
 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.2 
 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.10 (virtual/os-headers) 
 sys-libs/glibc:           2.17 
 Repositories: gentoo steam-overlay kde my_local_repo 
 Installed sets: @system 
 ACCEPT_KEYWORDS="amd64 ~amd64" 
 CFLAGS="-march=native -O2 -pipe" 
 CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb" 
 CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" 
 CXXFLAGS="-march=native -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 strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" 
 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" 
 PORTDIR_OVERLAY="/var/lib/layman/steam /var/lib/layman/kde /usr/local/portage" 
 USE="3dnow 3dnowext X a52 aac aalib acl acpi aften alsa amd64 apm bash-completion berkdb bidi bluetooth branding bzip2 cairo calendar cdda cddb cdparanoia cdr chm cjk clamav cli consolekit cracklib crypt css cups cxx dbus declarative device-mapper directfb djvu dri dts dv dvd dvdr dvi emboss encode exif faac faad fam fame fat ffmpeg fftw firefox flac flash fontconfig fortran ftp gdbm geoip gif gimp gpm gs gsm gstreamer gtk gzip hddtemp iconv icq idn imagemagick imap imlib inotify ipv6 irc jabber javascript jingle jpeg jpeg2k kate kde kdeenablefinal kipi lame lash lcms ldap libnotify lzo mad matroska mime mjpeg mmx mmxext mng modules mp3 mp3rtp mp4 mpeg mplayer msn mtp mudflap multilib musepack musicbrainz ncurses network nls nptl nsplugin ntfs ogg ogm openal openexr opengl openmp oxygen pam pango pch pcntl pcre pdf phonon plasma png policykit posix ppds pulseaudio qt3support qt4 qthelp quicktime quotas rar raw readline real rss sdl semantic-desktop session slp smp sms sockets socks5 spell sqlite sqlite3 sse sse2 sse4a ssl startup-notification svg symlink szip tcpd theora threads thumbnail tiff truetype udev udisks unicode upower usb v4l v4l2 vdpau vorbis wavpack wmf wxwidgets x264 xattr xcb xcomposite xinerama xml xmlrpc xpm xprint xscreensaver xv xvid zeroconf 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" 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" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx" 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" 

# emerge -pqv '=kde-base/kdelibs-4.11.0-r1::gentoo' 
 [ebuild     U ] kde-base/kdelibs-4.11.0-r1 [4.11.0] USE="3dnow acl alsa bzip2 fam handbook jpeg2k mmx nls openexr opengl (policykit) spell sse sse2 ssl udev udisks upower zeroconf (-altivec) (-aqua) -debug -doc -kerberos -lzma {-test}"

Versions of programmes: media-libs/libpng-1.6.3-r1, media-libs/jpeg-6b-r11:62, media-libs/jpeg-9-r1:0
Comment 1 Agostino Sarubbo gentoo-dev 2013-09-02 08:01:29 UTC
Attach the build log
Comment 2 Tvin 2013-09-02 09:04:46 UTC
Created attachment 357626 [details]

Comment 3 Rafał Mużyło 2013-09-02 12:40:05 UTC
It's very much alike to bug 480182, at least when it goes to the reason of the problem.
Comment 4 Michael Palimaka (kensington) gentoo-dev 2013-09-02 17:45:13 UTC
I filed a review request upstream with a patch.
Comment 5 Tvin 2013-09-03 16:13:39 UTC
'emerge -C media-libs/jpeg && emerge -1 media-libs/libjpeg-turbo' solvs this problem.
Comment 6 Michael Palimaka (kensington) gentoo-dev 2013-09-05 11:29:17 UTC
Thanks, patch was accepted upstream and is now backported in CVS.

+  05 Sep 2013; Michael Palimaka <>
+  +files/kdelibs-4.11.1-jpeg-9.patch, kdelibs-4.11.1.ebuild:
+  Backport patch from upstream fixing build with jpeg-9, wrt bug #483348.