Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 465872 - [qt overlay] dev-qt/qtwebkit-5.0.2 - qwebpage.cpp:(.text._ZN8QWebPage20setFeaturePermissionEP9QWebFrameNS_7FeatureENS_16PermissionPolicyE+0x21): undefined reference to `QWebPageAdapter::setNotificationsAllowedForFrame(QWebFrameAdapter*, bool)'
Summary: [qt overlay] dev-qt/qtwebkit-5.0.2 - qwebpage.cpp:(.text._ZN8QWebPage20setFea...
Status: RESOLVED DUPLICATE of bug 451456
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
: 471710 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-04-14 09:12 UTC by tman
Modified: 2013-10-06 10:56 UTC (History)
2 users (show)

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


Attachments
The build error from my machine (qtwebkit_5.0.2_build_error.txt,5.38 KB, text/plain)
2013-04-16 11:50 UTC, Sven Eden
Details
The configuration of qtwebkit-5.0.2 on my machine (qtwebkit_5.0.2_configuration.txt,5.71 KB, text/plain)
2013-04-16 11:51 UTC, Sven Eden
Details
emerge --info for dev-qt/qtwebkit-5.0.2 (qtwebkit_5.0.2_emerge_info.txt,20.66 KB, text/plain)
2013-04-16 11:52 UTC, Sven Eden
Details
Full log (log.tar.bz2,329.79 KB, application/x-bzip2)
2013-04-16 22:17 UTC, tman
Details
Full build log (qtwebkit-5.0.2_safe_flags.log.tar.bz2,347.65 KB, application/x-bzip2)
2013-04-18 11:10 UTC, Sven Eden
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2013-04-14 09:12:19 UTC
m -f libQt5WebKitWidgets.so.5.0.2 libQt5WebKitWidgets.so libQt5WebKitWidgets.so.5 libQt5WebKitWidgets.so.5.0
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,--no-undefined -Wl,--gc-sections -Wl,--no-undefined -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5WebKitWidgets.so.5 -o libQt5WebKitWidgets.so.5.0.2 .obj/release-shared/WebKit/qt/WidgetApi/qgraphicswebview.o .obj/release-shared/WebKit/qt/WidgetApi/qwebframe.o .obj/release-shared/WebKit/qt/WidgetApi/qwebpage.o .obj/release-shared/WebKit/qt/WidgetApi/qwebview.o .obj/release-shared/WebKit/qt/WidgetApi/qwebinspector.o .obj/release-shared/WebKit/qt/WidgetSupport/QtFallbackWebPopup.o .obj/release-shared/WebKit/qt/WidgetSupport/QtWebComboBox.o .obj/release-shared/WebKit/qt/WidgetSupport/QWebUndoCommand.o .obj/release-shared/WebKit/qt/WidgetSupport/DefaultFullScreenVideoHandler.o .obj/release-shared/WebKit/qt/WidgetSupport/InitWebKitQt.o .obj/release-shared/WebKit/qt/WidgetSupport/InspectorClientWebPage.o .obj/release-shared/WebKit/qt/WidgetSupport/PageClientQt.o .obj/release-shared/WebKit/qt/WidgetSupport/QStyleFacadeImp.o .obj/release-shared/WebKit/qt/WidgetSupport/QGraphicsWidgetPluginImpl.o .obj/release-shared/WebKit/qt/WidgetSupport/QWidgetPluginImpl.o .obj/release-shared/WebKit/qt/WidgetApi/qwebviewaccessible.o .obj/release-shared/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2_build/Source/.moc/release-shared/moc_qwebinspector.o .obj/release-shared/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2_build/Source/.moc/release-shared/moc_qwebkitplatformplugin.o .obj/release-shared/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2_build/Source/.moc/release-shared/moc_InspectorClientWebPage.o .obj/release-shared/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2_build/Source/.moc/release-shared/moc_DefaultFullScreenVideoHandler.o .obj/release-shared/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2_build/Source/.moc/release-shared/moc_QtFallbackWebPopup.o .obj/release-shared/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2_build/Source/.moc/release-shared/moc_QtWebComboBox.o  -L/usr/X11R6/lib64 -lxslt -lz -ldl -lm -ludev -lrt -lgio-2.0 -lgstapp-0.10 -lgstinterfaces-0.10 -lgstpbutils-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lsqlite3 -lQt5OpenGL -lQt5WebKit -lQt5Widgets -lQt5Sql -lQt5Network -lQt5Gui -lQt5Core -lpthread -lXext -lX11 -lm -lGL
.obj/release-shared/WebKit/qt/WidgetApi/qwebpage.o: In function `QWebPage::setFeaturePermission(QWebFrame*, QWebPage::Feature, QWebPage::PermissionPolicy)':
qwebpage.cpp:(.text._ZN8QWebPage20setFeaturePermissionEP9QWebFrameNS_7FeatureENS_16PermissionPolicyE+0x21): undefined reference to `QWebPageAdapter::setNotificationsAllowedForFrame(QWebFrameAdapter*, bool)'
collect2: error: ld returned 1 exit status
make[2]: *** [../lib/libQt5WebKitWidgets.so.5.0.2] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2_build/Source'
make[1]: *** [sub-widgetsapi-pri-make_first-ordered] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2_build/Source'
make: *** [sub-Source-QtWebKit-pro-make_first-ordered] Error 2
 * ERROR: dev-qt/qtwebkit-5.0.2 failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=dev-qt/qtwebkit-5.0.2'`,
 * the complete build log and the output of `emerge -pqv '=dev-qt/qtwebkit-5.0.2'`.
 * This ebuild is from a repository named 'qt'
 * The complete build log is located at '/var/log/portage/dev-qt:qtwebkit-5.0.2:20130414-084814.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-qt/qtwebkit-5.0.2/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtwebkit-5.0.2/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2_build'
 * S: '/var/tmp/portage/dev-qt/qtwebkit-5.0.2/work/qtwebkit-opensource-src-5.0.2'
~                                                                                                                                                              
~                                                                                                             

Reproducible: Always




Portage 2.1.11.62 (default/linux/amd64/13.0/desktop, gcc-4.7.2, glibc-2.17, 3.8.7-gentoo x86_64)
=================================================================
System uname: Linux-3.8.7-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24627884 total,  19841652 free
KiB Swap:   25081852 total,  25081852 free
Timestamp of tree: Sun, 14 Apr 2013 08:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/cmake:           2.8.10.2-r1
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.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.2-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r5::gnome
sys-kernel/linux-headers: 3.8 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo nikai ruby mgorny poly-c luman qt alice Techwolf gamerlay scarabeus science mva emacs flameeyes-overlay mpd wirelay steam-overlay gnome lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/conf.d/consolefont /etc/conf.d/hostname /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/eix-sync.conf /etc/fstab /etc/hosts /etc/locale.gen /etc/make.conf /etc/timezone /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/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=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/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="/var/tmp"
PORTDIR="/usr/portage"
Comment 1 Sven Eden 2013-04-16 11:50:55 UTC
Created attachment 345686 [details]
The build error from my machine

I can confirm this issue on my machine. Every other part of qt-5.0.2 compiles just fine.
Comment 2 Sven Eden 2013-04-16 11:51:36 UTC
Created attachment 345688 [details]
The configuration of qtwebkit-5.0.2 on my machine

Maybe it has something to do with the combination of USE flags?
Comment 3 Sven Eden 2013-04-16 11:52:18 UTC
Created attachment 345690 [details]
emerge --info for dev-qt/qtwebkit-5.0.2

Complete emerge --info for dev-qt/qtwebkit-5.0.2
Comment 4 Sven Eden 2013-04-16 13:11:18 UTC
(In reply to comment #3)
> Created attachment 345690 [details]
> emerge --info for dev-qt/qtwebkit-5.0.2
> 
> Complete emerge --info for dev-qt/qtwebkit-5.0.2

As the above info states some graphite flags in my C[XX]FLAGS, I have just retried with neutral CFLAGS, ending in the very same error.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2013-04-16 19:09:36 UTC
Comment on attachment 345686 [details]
The build error from my machine

Please attach the entire build log to this bug report.
Comment 6 tman 2013-04-16 22:17:09 UTC
Created attachment 345734 [details]
Full log
Comment 7 Sven Eden 2013-04-18 11:10:17 UTC
Created attachment 345884 [details]
Full build log

(In reply to comment #5)
> Comment on attachment 345686 [details]
> The build error from my machine
> 
> Please attach the entire build log to this bug report.

Done, here you are.
Comment 8 tman 2013-04-27 14:10:03 UTC
bug is reported since awhile, there is no maintainer for this package ??
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-29 14:58:23 UTC
*** Bug 471710 has been marked as a duplicate of this bug. ***
Comment 10 Davide Pesavento (RETIRED) gentoo-dev 2013-06-10 08:27:42 UTC
Can you reproduce with 5.1.0_beta or any later versions?
Comment 11 Simon 2013-06-10 09:20:38 UTC
I had this bug with Qt 5.1 beta (see #471710) but it look like it disapeared. I ended in an other bug after that (#472414).
Comment 12 Kalin Ivanov 2013-07-01 13:07:45 UTC
I had the same problem when I compiled and installed qt 5.0.0 and after that 5.0.2. It looks like it linking was done with old .so.

For me solution was to remove all old qt webkit shared objects.
Comment 13 Davide Pesavento (RETIRED) gentoo-dev 2013-10-06 10:56:27 UTC

*** This bug has been marked as a duplicate of bug 451456 ***