Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 410289 - x11-libs/qt-webkit-4.8.1 compiles w/o c++0x regardless of corresponding USE flag
Summary: x11-libs/qt-webkit-4.8.1 compiles w/o c++0x regardless of corresponding USE flag
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-31 06:22 UTC by Sergey Ilinykh
Modified: 2012-06-18 22:13 UTC (History)
0 users

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


Attachments
build.log.tar.bz2 (build.log.tar.bz2,74.68 KB, application/octet-stream)
2012-03-31 06:27 UTC, Sergey Ilinykh
Details
build.log (build.log,52.84 KB, text/plain)
2012-04-04 00:58 UTC, Emmanuel Pelado
Details
emerge --info (emergeinfo,4.86 KB, text/plain)
2012-04-04 01:00 UTC, Emmanuel Pelado
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Ilinykh 2012-03-31 06:22:48 UTC
I'll attach a part of build log (since its still compiles)

some investigation:
no -std=c++0x in gcc command lines in compile log

this condition from ./src/3rdparty/webkit/Source/JavaScriptCore/wtf/NullPtr.h
never resolves into true
#if __has_feature(cxx_nullptr) || (GCC_VERSION_AT_LEAST(4, 6, 0) && defined(__GXX_EXPERIMENTAL_CXX0X__))
regardless of current active gcc profile (x86_64-pc-linux-gnu-4.6.2) and used c++0x use flag

Reproducible: Always




emerge --info
Portage 2.2.0_alpha96 (default/linux/amd64/10.0/developer, gcc-4.6.2, glibc-2.14.1-r2, 3.3.0-gentoo x86_64)
=================================================================
System uname: Linux-3.3.0-gentoo-x86_64-Intel-R-_Pentium-R-_Dual_CPU_T2390_@_1.86GHz-with-gentoo-2.1
Timestamp of tree: Fri, 30 Mar 2012 16:00:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p24
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2-r1
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.3
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.6.2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r2
Repositories: gentoo rion x11 sunrise qt test
Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe -ftree-vectorize -fgraphite-identity -maes -floop-parallelize-all -floop-interchange -floop-block -fira-loop-pressure"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -O2 -pipe -ftree-vectorize -fgraphite-identity -maes -floop-parallelize-all -floop-interchange -floop-block -fira-loop-pressure"
DISTDIR="/home/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache digest distlocks ebuild-locks fixlafiles multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="ru_RU.UTF-8"
LDFLAGS="-Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j2"
PKGDIR="/home/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/portage/build"
PORTDIR="/home/portage/portage"
PORTDIR_OVERLAY="/var/lib/layman/rion /var/lib/layman/x11 /var/lib/layman/sunrise /var/lib/layman/qt /home/rion/projects/test-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdio cdr cli consolekit cracklib crypt cups custom-optimization cxx dbus dri dts dv dvb dvd dvdr emboss encode exif faac faad fam ffmpeg firefox flac fuse gdu gif glitz gnome-keyring gphoto2 gpm gsm gstreamer gtk gtk3 h323 iconv idn ipv6 jabber java6 jingle jpeg jpeg2k lcms libcanberra libnotify mad mmx mng modplug modules mp3 mp4 mpeg mtp mudflap multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pango pch pcmcia pcre pdf png policykit ppds pppd qt3support qt4 readline rtmp samba schroedinger sdl session sip smp snmp speex spell sse sse2 sse3 ssl ssse3 startup-notification subversion svg symlink sysfs tcpd theora threads thunar tiff tokenizer truetype udev unicode upnp usb v4l v4l2 vaapi vhosts vnc vorbis vpx webkit wifi x264 xcb xcomposite xml xorg xulrunner xv 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="dav dav_fs authn_file auth_basic auth_digest authz_groupfile authz_host dir mime log_config" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="plymouth" 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" LINGUAS="ru en" NETBEANS_MODULES="apisupport harness ide nb websvccommon php profiler webcommon cnd ergonomics dlight" NGINX_MODULES_HTTP="dav fastcgi flv access auth_basic autoindex charset browser empty_gif gzip map memcached rewrite userid" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="vesa intel i965" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sergey Ilinykh 2012-03-31 06:27:46 UTC
Created attachment 307249 [details]
build.log.tar.bz2
Comment 2 Otto A. Schell 2012-03-31 10:55:38 UTC
After putting nls into packages.use for all fonts it surprisingly installes without complaints. 
Not shure if this was the reason, I had synced too…

wbr
Comment 3 Davide Pesavento (RETIRED) gentoo-dev 2012-03-31 11:43:43 UTC
IIRC webkit is still not 100% compatible with c++0x, perhaps that's why qt-webkit's buildsystem disables it... I haven't done any investigations though.
Comment 4 Otto A. Schell 2012-03-31 17:30:17 UTC
After putting nls into packages.use for all fonts it surprisingly installes without complaints. 
Not shure if this was the reason, I had synced too…

wbr
(In reply to comment #2)
> After putting nls into packages.use for all fonts it surprisingly installes
> without complaints. 
> Not shure if this was the reason, I had synced too…
> 
> wbr

Oh, sorry, wrong bug, should be #410231
Comment 5 Emmanuel Pelado 2012-04-04 00:56:46 UTC
same problem here, without c++0x I cannot compile...
after sync, gentoo masked the flag, so I cannot compile again....
Comment 6 Emmanuel Pelado 2012-04-04 00:58:44 UTC
Created attachment 307695 [details]
build.log
Comment 7 Emmanuel Pelado 2012-04-04 01:00:40 UTC
Created attachment 307697 [details]
emerge --info
Comment 8 Davide Pesavento (RETIRED) gentoo-dev 2012-04-04 09:51:12 UTC
(In reply to comment #5)
> same problem here, without c++0x I cannot compile...
> after sync, gentoo masked the flag, so I cannot compile again....

That's bug 401855.
Comment 9 Emmanuel Pelado 2012-04-04 11:55:26 UTC
(In reply to comment #8)
> (In reply to comment #5)
> > same problem here, without c++0x I cannot compile...
> > after sync, gentoo masked the flag, so I cannot compile again....
> 
> That's bug 401855.

thanks. compiled right now...
thank you very much
Comment 10 Davide Pesavento (RETIRED) gentoo-dev 2012-05-18 20:06:38 UTC
Confirmed: WebCore/WebCore.pri forcefully disables c++0x...

# Disable C++0x mode in WebCore for those who enabled it in their Qt's mkspec
*-g++*:QMAKE_CXXFLAGS -= -std=c++0x -std=gnu++0x

JavaScriptCore should still be compiled with c++0x though.
Comment 11 Davide Pesavento (RETIRED) gentoo-dev 2012-06-18 22:13:29 UTC
USE=c++0x has been dropped from all qt-webkit ebuilds since it was useless.

Closing as UPSTREAM, because the real issue (C++11 support in webkit) must be solved there.