[Bug 878188] Review Request: qt5-qtbase - Qt5 - QtBase components

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=878188

Ngo Than <than@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |needinfo?(rdieter@xxxxxxxx.
                   |                            |edu)

--- Comment #40 from Ngo Than <than@xxxxxxxxxx> ---
qt5-qtbase-5.0.1-5.fc18.src.rpm doesn't build in current rawhide, you can
reproduce this build failure with fedora-review tool everytime.

part of the build.log:

g++ -c -m64 -pipe -pthread -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -std=c++0x
-fvisibility=hidden -fvisibility-inlines-hidden -Wall -W -D_REENTRANT -fPIC
-DQT_NO_LIBUDEV -DQT_NO_USING_NAMESPACE -DQT_BUILD_CORE_LIB -DQT_BUILDING_QT
-DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT
-DQT_USE_QSTRINGBUILDER -DQT_DEPRECATED_WARNINGS
-DQT_DISABLE_DEPRECATED_BEFORE=0x050000
-DELF_INTERPRETER=\"/lib64/ld-linux-x86-64.so.2\" -DQT_USE_ICU
-DHB_EXPORT=Q_CORE_EXPORT -DQT_CORE_LIB -D_LARGEFILE64_SOURCE
-D_LARGEFILE_SOURCE -DQT_NO_DEBUG -I../../mkspecs/linux-g++-64 -I.
-I../../include -I../../include/QtCore -I../../include/QtCore/5.0.1
-I../../include/QtCore/5.0.1/QtCore -Iglobal -I../3rdparty/md5
-I../3rdparty/md4 -I.moc/release-shared -o .obj/release-shared/qisciicodec.o
codecs/qisciicodec.cpp
kernel/qtimerinfo_unix.cpp:98:30: error: redeclaration 'constexpr T qAbs(const
T&) [with T = timeval]' differs in 'constexpr'
 timeval qAbs(const timeval &t)
                              ^
In file included from ../../include/QtCore/qglobal.h:1:0,
                 from
../../include/QtCore/../../src/corelib/tools/qelapsedtimer.h:45,
                 from ../../include/QtCore/qelapsedtimer.h:1,
                 from kernel/qtimerinfo_unix.cpp:42:
../../include/QtCore/../../src/corelib/global/qglobal.h:483:20: error: from
previous declaration 'constexpr T qAbs(const T&) [with T = timeval]'
 Q_DECL_CONSTEXPR inline T qAbs(const T &t) { return t >= 0 ? t : -t; }
                    ^
kernel/qtimerinfo_unix.cpp: In function 'constexpr T qAbs(const T&) [with T =
timeval]':
kernel/qtimerinfo_unix.cpp:109:1: error: body of constexpr function 'constexpr
T qAbs(const T&) [with T = timeval]' not a return-statement
 }
 ^
In file included from ../../include/QtCore/qglobal.h:1:0,
                 from
../../include/QtCore/../../src/corelib/tools/qelapsedtimer.h:45,
                 from ../../include/QtCore/qelapsedtimer.h:1,
                 from kernel/qtimerinfo_unix.cpp:42:
../../include/QtCore/../../src/corelib/global/qglobal.h: In instantiation of
'constexpr T qAbs(const T&) [with T = timeval]':
kernel/qtimerinfo_unix.cpp:147:44:   required from here
../../include/QtCore/../../src/corelib/global/qglobal.h:483:48: error: no match
for 'operator>=' (operand types are 'const timeval' and 'int')
 Q_DECL_CONSTEXPR inline T qAbs(const T &t) { return t >= 0 ? t : -t; }
                                                ^
../../include/QtCore/../../src/corelib/global/qglobal.h:483:48: note:
candidates are:
In file included from ../../include/QtCore/qpair.h:1:0,
                 from ../../include/QtCore/../../src/corelib/tools/qhash.h:48,
                 from ../../include/QtCore/qhash.h:1,
                 from
../../include/QtCore/../../src/corelib/tools/qsharedpointer_impl.h:63,
                 from ../../include/QtCore/qsharedpointer_impl.h:1,
....

rpmlint qt5-qtbase-5.0.1-5.fc18.src.rpm
spelling-error %description -l en_US xml -> XML, ml, x ml
qt5-qtbase.src:33: W: macro-in-comment %{_bindir}
qt5-qtbase.src:177: W: configure-without-libdir-spec
qt5-qtbase.src:276: W: macro-in-comment %{_bindir}
qt5-qtbase.src: W: %ifarch-applied-patch Patch1:
qtbase-opensource-src-5.0.1-lowmem.patch
1 packages and 0 specfiles checked; 0 errors, 5 warnings.

the rpmlint looks fine for me.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=2htXamO4Q5&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]