Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693684 - dev-qt/qtwebengine-5.12.3: error: ‘SIOCGSTAMP’ was not declared in this scope
Summary: dev-qt/qtwebengine-5.12.3: error: ‘SIOCGSTAMP’ was not declared in this scope
Status: RESOLVED DUPLICATE of bug 692352
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard: fixed in 5.12.5
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-07 14:12 UTC by Jan Ziak (atomsymbol)
Modified: 2019-10-29 20:49 UTC (History)
3 users (show)

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


Attachments
build.log (dev-qt:qtwebengine-5.12.3:20190907-140454.log.gz,307.55 KB, application/gzip)
2019-09-07 14:12 UTC, Jan Ziak (atomsymbol)
Details
emerge-info.txt (emerge-info.txt,9.18 KB, text/plain)
2019-09-07 14:12 UTC, Jan Ziak (atomsymbol)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Ziak (atomsymbol) 2019-09-07 14:12:19 UTC
Created attachment 589326 [details]
build.log

physicalsocketserver.cc:74:27: error: ‘SIOCGSTAMP’ was not declared in this scope                                                                                                                           
   int ret = ioctl(socket, SIOCGSTAMP, &tv_ioctl);
                           ^~~~~~~~~~

From https://bugreports.qt.io/secure/attachment/85364/0001-fix-build-after-y2038-changes-in-glibc.patch:

"SIOCGSTAMP is defined in linux/sockios.h since kernel 5.2. Include that file wherever needed."
Comment 1 Jan Ziak (atomsymbol) 2019-09-07 14:12:47 UTC
Created attachment 589328 [details]
emerge-info.txt
Comment 2 Brian Evans (RETIRED) gentoo-dev 2019-09-07 14:15:56 UTC

*** This bug has been marked as a duplicate of bug 692352 ***
Comment 3 Jan Ziak (atomsymbol) 2019-09-07 14:27:09 UTC
This bug isn't fixed. Please add qtwebengine-5.12.4-webrtc-missing-header-w-linux-headers-5.2.patch to PATCHES in qtwebengine-5.12.3.ebuild if possible. Thanks!
Comment 4 Brian Evans (RETIRED) gentoo-dev 2019-09-07 15:00:36 UTC
(In reply to Jan Ziak (http://atom-symbol.net) from comment #3)
> This bug isn't fixed. Please add
> qtwebengine-5.12.4-webrtc-missing-header-w-linux-headers-5.2.patch to
> PATCHES in qtwebengine-5.12.3.ebuild if possible. Thanks!

This is a duplicate.  You've mixed unstable linux-headers with stable qtwebengine.  Use both unstable or both stable.

*** This bug has been marked as a duplicate of bug 692352 ***
Comment 5 Jan Ziak (atomsymbol) 2019-09-07 15:11:13 UTC
I see. Then the solution is to add "<sys-kernel/linux-headers-5.2" to DEPEND in qtwebengine-5.12.3.ebuild. Please do not close this bug unless this constraint is added to the DEPEND variable of 5.12.3. Thanks.
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-12 05:47:43 UTC
*** Bug 694106 has been marked as a duplicate of this bug. ***
Comment 7 Peter Levine 2019-09-12 06:52:24 UTC
(In reply to Brian Evans from comment #4)
> This is a duplicate.  You've mixed unstable linux-headers with stable
> qtwebengine.  Use both unstable or both stable.
> 
> *** This bug has been marked as a duplicate of bug 692352 ***


The problem persists in 5.13.1 (see https://bugs.gentoo.org/694106)

It has been patched upstream with https://codereview.qt-project.org/c/qt/qtwebengine/+/271294, with 6e2562dd1ef referencing submodule commit https://code.qt.io/cgit/qt/qtwebengine-chromium.git/commit/?h=6e2562dd1ef.
Comment 8 Andreas Sturmlechner gentoo-dev 2019-10-29 20:49:15 UTC
5.12.5 is stable/being stabilised.

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