The latest version of app-text/calibre fails to compile due to a syntax error during compilation of picture flow module. Build.log is attached. Reproducible: Always emerge --info Portage 2.1.9.25 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5-Jacob x86_64) ================================================================= System uname: Linux-2.6.36-gentoo-r5-Jacob-x86_64-Intel-R-_Pentium-R-_Dual_CPU_E2200_@_2.20GHz-with-gentoo-1.12.14 Timestamp of tree: Sat, 19 Feb 2011 22:30:01 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.6.6-r1, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r2 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="it_IT.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="it en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /var/lib/layman/roslin /var/lib/layman/zugaina /usr/portage/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X a52 aac aalib acpi alsa amd64 authdaemond bash-completion berkdb bidi bluetooth branding bzip2 cairo cdda cddb cdr cjk clamav cli consolekit cracklib crypt css cups curl curlwrappers cvs cxx dbus dga djvu dri dts dv dvd dvdr emboss encode exif expat fam fbcon ffmpeg fftw firefox flac fontconfig fortran ftp gd gdbm gdu geoip gif gimp glut gmp gnuplot gnutls gpm graphviz gsm gstreamer gzip hal handbook hddtemp iconv icu idn imagemagick innodb ipod java javascript jbig joystick jpeg jpeg2k kde kontact lame latex lcms libcaca libnotify libsamplerate lm_sensors lzma lzo m17n-lib mad maildir mhash midi mikmod mime mmx mng modplug modules mozilla mp3 mp4 mpeg mplayer mtp mudflap multilib musepack musicbrainz ncurses nls nntp nptl nptlonly nsplugin ntfs offensive ogg openexr opengl openmp pam pango pcre pda pdf perl plasma plotutils png policykit ppds pppd python qt3support qt4 quicktime raw readline recode rss samba sasl scanner sdl semantic-desktop session shorten slang smp sndfile sox speex spell sse sse2 ssl ssse3 startup-notification subversion svg sysfs syslog szip taglib tcpd theora threads tidy tiff timidity truetype udev unicode usb v4l v4l2 vcd vim-syntax vnc vorbis wavpack wifi wmf x264 xattr xcb xcomposite xface xine xml xorg xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="hda-intel pcsp seq-dummy" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog contextswitch cpu cpufreq curl curl_xml disk entropy filecount hddtemp logfile network nfs ntpd ping processes sensors serial table tail tcpconns uptime users vmem wireless match_empty_counter match_hashed match_regex match_timediff match_value target_notification target_replace target_scale target_set" 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 keyboard mouse joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="plustek net" USERLAND="GNU" VIDEO_CARDS="intel 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" Unset: CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 263109 [details] build.log
I also experienced this bug. As the error experienced was 'sip' returning EXIT_FAILURE I thought I would try to upgrade to the latest unstable version of sip: 4.12.1. (I previously had the currently stable 4.11.2.) This allowed calibre to build. I guess calibre should have a build-time dependence on '>=dev-python/sip-4.12.1'. Though 4.12 may be fine as well, I didn't test that. (Though the calibre ebuild doesn't seem to directly depend on sip at all, not sure why that is.) Regardless, upgrading sip fixed this exact bug for me.
I have just upgraded dev-python/sip-4.12 from 4.11.2 and this also allows calibre to compile cleanly. It appears that a build-time dependence on '>=dev-python/sip-4.12' is sufficient for this defect, as Alastair suspected.
I can confirm this bug and solution. calibre-0.7.46 builds fine with dev-python/sip-4.12.
(In reply to comment #4) > I can confirm this bug and solution. calibre-0.7.46 builds fine with > dev-python/sip-4.12. > Same here, on x86_64 under two CPU types (AMD Phenom-II and Intel i7).
A word of warning about upgrading sip: After following the sip ebuild's recommendations of rebuilding things that depended on it I found that the currently stable version of pykde4 (4.4.5-r1) would not build with the upgraded sip. So I ended up upgraded KDE from 4.4.5 to 4.6. In retrospect I never actually checked if that was required, I just assumed. Just thought I would post a word of warning here though that upgrading sip had knock on effects. I guess this is part of the danger of using masked packages on a mostly stable system.
Looks like a lot of the build requirements have gone up since the last build: http://calibre-ebook.com/download_linux python 4.7 Qt 4.7 PyQt 4.8.2 the PyQt 4.8.2 includes the dependecy for the upgraded sip
Created attachment 263323 [details] updated ebuild updates the depends except for the qt-4.7 since I wasn't sure the exact packages to depend on
*** Bug 355951 has been marked as a duplicate of this bug. ***
Thanks, the deps are fixed in cvs now.