Bug 1606049 - qt5-qtbase: FTBFS in Fedora rawhide
Summary: qt5-qtbase: FTBFS in Fedora rawhide
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: qt5-qtbase
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Than Ngo
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F29FTBFS
TreeView+ depends on / blocked
 
Reported: 2018-07-20 18:12 UTC by Mohan Boddu
Modified: 2018-07-28 07:54 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-07-28 07:54:57 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2018-07-20 18:12 UTC, Mohan Boddu
no flags Details
root.log (32.00 KB, text/plain)
2018-07-20 18:13 UTC, Mohan Boddu
no flags Details
state.log (635 bytes, text/plain)
2018-07-20 18:13 UTC, Mohan Boddu
no flags Details

Description Mohan Boddu 2018-07-20 18:12:49 UTC
qt5-qtbase failed to build from source in Fedora rawhide

https://koji.fedoraproject.org/koji/taskinfo?taskID=28227262


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Please fix qt5-qtbase at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
qt5-qtbase will be orphaned. Before branching of Fedora 30,
qt5-qtbase will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Mohan Boddu 2018-07-20 18:12:57 UTC
Created attachment 1467211 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Mohan Boddu 2018-07-20 18:13:02 UTC
Created attachment 1467212 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Mohan Boddu 2018-07-20 18:13:06 UTC
Created attachment 1467213 [details]
state.log

Comment 4 Rex Dieter 2018-07-20 21:13:24 UTC
Offhand, this looks like a gcc/glibc bug or inconsistency in headers:


In file included from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/src/corelib/io/qfilesystemengine_unix.cpp:94:
/usr/include/linux/stat.h:56:8: error: redefinition of 'struct statx_timestamp'
 struct statx_timestamp {
        ^~~~~~~~~~~~~~~
In file included from /usr/include/sys/stat.h:446,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/mkspecs/linux-g++/qplatformdefs.h:75,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/src/corelib/io/qfilesystemengine_unix.cpp:42:
/usr/include/bits/statx.h:25:8: note: previous definition of 'struct statx_timestamp'
 struct statx_timestamp
        ^~~~~~~~~~~~~~~
In file included from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/src/corelib/io/qfilesystemengine_unix.cpp:94:
/usr/include/linux/stat.h:99:8: error: redefinition of 'struct statx'
 struct statx {
        ^~~~~
In file included from /usr/include/sys/stat.h:446,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/mkspecs/linux-g++/qplatformdefs.h:75,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/src/corelib/io/qfilesystemengine_unix.cpp:42:
/usr/include/bits/statx.h:36:8: note: previous definition of 'struct statx'
 struct statx
        ^~~~~
/builddir/build/BUILD/qtbase-everywhere-src-5.11.1/src/corelib/io/qfilesystemengine_unix.cpp:110:12: error: 'int renameat2(int, const char*, int, const char*, unsigned int)' was declared 'extern' and later 'static' [-fpermissive]
 static int renameat2(int oldfd, const char *oldpath, int newfd, const char *newpath, unsigned flags)
            ^~~~~~~~~
In file included from /usr/include/c++/8/cstdio:42,
                 from /usr/include/c++/8/ext/string_conversions.h:43,
                 from /usr/include/c++/8/bits/basic_string.h:6364,
                 from /usr/include/c++/8/string:52,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/include/QtCore/../../src/corelib/tools/qbytearray.h:52,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/include/QtCore/qbytearray.h:1,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/include/QtCore/../../src/corelib/tools/qstring.h:49,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/include/QtCore/qstring.h:1,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/include/QtCore/../../src/corelib/io/qiodevice.h:50,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/include/QtCore/qiodevice.h:1,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/include/QtCore/../../src/corelib/io/qfiledevice.h:43,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/include/QtCore/qfiledevice.h:1,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/src/corelib/io/qfile.h:44,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/src/corelib/io/qfilesystemengine_p.h:54,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/src/corelib/io/qfilesystemengine_unix.cpp:43:
/usr/include/stdio.h:164:12: note: previous declaration of 'int renameat2(int, const char*, int, const char*, unsigned int)'
 extern int renameat2 (int __oldfd, const char *__old, int __newfd,
            ^~~~~~~~~
/builddir/build/BUILD/qtbase-everywhere-src-5.11.1/src/corelib/io/qfilesystemengine_unix.cpp:115:12: error: 'int statx(int, const char*, int, unsigned int, statx*)' was declared 'extern' and later 'static' [-fpermissive]
 static int statx(int dirfd, const char *pathname, int flag, unsigned mask, struct statx *statxbuf)
            ^~~~~
In file included from /usr/include/sys/stat.h:446,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/mkspecs/linux-g++/qplatformdefs.h:75,
                 from /builddir/build/BUILD/qtbase-everywhere-src-5.11.1/src/corelib/io/qfilesystemengine_unix.cpp:42:
/usr/include/bits/statx.h:87:5: note: previous declaration of 'int statx(int, const char*, int, unsigned int, statx*)'
 int statx (int __dirfd, const char *__restrict __path, int __flags,
     ^~~~~

Comment 5 Igor Raits 2018-07-28 07:54:57 UTC
There has been at least one successfull build after mass rebuild.

qt5-qtbase-5.11.1-7.fc29: https://koji.fedoraproject.org/koji/buildinfo?buildID=1131006


Note You need to log in before you can comment on or make changes to this bug.