Summary: | dev-python/PyQt4-4.8 failed on compile | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tman <cornicx> |
Component: | New packages | Assignee: | Qt Bug Alias <qt> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | arttuv69, aspotashev, darkbasic, denys.duchier, heavennevertouchedearthlyface, lifeissecret, python, tom |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
error log
patch that fixes the problem |
Description
tman
2010-10-23 19:12:08 UTC
Created attachment 251729 [details]
error log
same issue here. any updates about the bug?? Same bug here. emerge --info: Portage 2.1.9.22 (default/linux/amd64/10.0, gcc-4.4.5, glibc-2.12.1-r1, 2.6.35-zen2 x86_64) ================================================================= System Settings ================================================================= System uname: Linux-2.6.35-zen2-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.0.1 Timestamp of tree: Sun, 24 Oct 2010 02:30:22 +0000 app-shells/bash: 4.1_p9 dev-java/java-config: 2.1.11 dev-lang/python: 2.4.6, 2.5.4-r3, 2.6.6-r1, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.3 sys-apps/sandbox: 2.3-r1 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.4_p6-r1, 1.8.5-r4, 1.9.6-r2, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.3.4, 4.4.5 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.82 virtual/os-headers: 2.6.35 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="amd64 x86 ~amd64 ~x86" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=core2 -O2 -fomit-frame-pointer -ftree-vectorize -ftracer" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -fomit-frame-pointer -ftree-vectorize -ftracer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs candy 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="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en pt_BR fi ja de" MAKEOPTS="-j2" 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/mpd /var/lib/layman/games /var/lib/layman/gamerlay /var/lib/layman/matsuu /var/lib/layman/kde /var/lib/layman/qting-edge /usr/local/portage /usr/local/portage/layman/sunrise" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="64bit X acl alsa amd64 amr anthy bash-completion berkdb bzip2 cd cdparanoia cdr cjk cleartype cli corefonts cracklib crypt css cups cxx dbus directfb dri dvd dvdr encode fat ffmpeg firefox flac fontconfig fortran gdbm gif gpm gtk hal iconv id3tag imagemagick imlib jack jpeg kate kde lame libnotify lm_sensors mad matroska midi mikmod mmx mng modules mp3 mp4 mpeg mplayer msn mudflap multilib musepack ncurses networkmanager nls nptl nptlonly ntfs ogg openal opengl openmp pam pcre pdf perl png pppd python qt3support qt4 rar readline reiserfs samba session spell sql sqlite sse sse2 ssl startup-notification subversion svg sysfs taglib tcpd theora thunar tiff truetype type1 udev unicode usb vim-syntax vorbis webkit wifi x264 xcomposite xfce xorg xulrunner xvid xvmc zlib" 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" 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 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" 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" LINGUAS="en pt_BR fi ja de" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa nouveau nvidia nv" 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, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS PyQt4-4.8 seems to map the Cursive, Monospace and Fantasy font hints, which AFAICT were only introduced in Qt 4.7.0. Unfortunately qt-gui-4.7.0 is package.masked since September. So, PyQt4-4.8 needs its dependencies towards Qt fixed. It needs Qt 4.7.0. For a quick fix locally, you can either mask PyQt4-4.8 for now, or unmask all of Qt 4.7 (if you feel adventurous -- I'm trying out this option right now). Created attachment 252145 [details, diff]
patch that fixes the problem
I had qt-4.7.0_rc1 on my system and it still did not work.
needed this patch to qt-gui to get it going.
I also have a patch for the ebuild but is trivial.
(In reply to comment #5) > Created an attachment (id=252145) [details] > patch that fixes the problem > > I had qt-4.7.0_rc1 on my system and it still did not work. The _rc1 ebuilds are over at qting-edge overlay. PyQt4-4.8 ebuild is in main tree, so it cannot depend on ebuilds which may not even be available. The PyQt4-4.8 ebuild needs one line changed, QT_VER bumped to 4.7.0. Then it compiled just fine on an otherwise mostly-stable amd64 (given that also Qt 4.7.0 packages available in the main tree are unmasked). Furthermore, PyQt4-4.8 should probably be masked alongside Qt 4.7.0, up until Qt 4.7.0 packages in the main tree are unmasked. I use Qt 4.6.3 and PyQt4 4.8 has been built for me without any problems. (In reply to comment #7) > I use Qt 4.6.3 and PyQt4 4.8 has been built for me without any problems. You might be right, and I feel stupid for not realizing it earlier. Now that I look there are Qt_4_7_0 conditionals in PyQt4 sources surrounding the code for the new font hints. Earlier I stupidly relied on compiler error messages and looked directly at Qt sources rather than PyQt4 sources. So, if you have an older version of Qt present then the code for the newer features should probably be filtered away by cmake(?). All systems which felt this bug ... apparently had the unfortunate situation of having at one point installed the Qt 4.7.0_rc1 packages from qting-edge overlay. Those packages did trigger the Qt_4_7_0 conditional, but the Qt rc1 sources didn't yet have the hints in qfont.h -- resulting in the error given in this bug. Only the proper release of Qt 4.7.0 did add the hints. Bummer. Solution is to either downgrade or upgrade Qt away from the overlay-only rc1-version. The main tree ebuilds are just fine, and need no changes. The trouble-causing Qt release candidate ebuilds should probably be nuked from qting-edge. Resolved: invalid? |