Public bug reported: Seen in silo 16.
https://launchpad.net/~ci-train-ppa- service/+archive/ubuntu/landing-016/+build/7730717 cd /«BUILDDIR»/pay-service-2.0.0+15.10.20150727/obj-x86_64-linux-gnu/service && /usr/bin/x86_64-linux-gnu-g++ -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -std=c++11 -g -fPIE -isystem /usr/include/libubuntu-app-launch-2 -isystem /usr/include/libdbustest-1 -isystem /usr/include/gio-unix-2.0 -isystem /usr/include/click-0.4 -isystem /usr/include/json-glib-1.0 -isystem /usr/include/glib-2.0 -isystem /usr/lib/x86_64-linux-gnu/glib-2.0/include -isystem /usr/include/mirclient -isystem /usr/include/mircommon -isystem /usr/include/ubuntuoneauth-2.0 -isystem /usr/include/x86_64-linux-gnu/qt5/QtDBus -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/signon-qt5 -isystem /usr/include/signon-qt5/SignOn -isystem /usr/include/accounts-qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtXml -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -isystem /usr/include/jsoncpp -I/«BUILDDIR»/pay-service-2.0.0+15.10.20150727/obj-x86_64-linux-gnu/service -I/«BUILDDIR»/pay-service-2.0.0+15.10.20150727/common -o CMakeFiles/pay-service-lib.dir/qtbridge.cpp.o -c /«BUILDDIR»/pay-service-2.0.0+15.10.20150727/service/qtbridge.cpp In file included from /usr/include/x86_64-linux-gnu/qt5/QtCore/qnamespace.h:37:0, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobjectdefs.h:41, from /usr/include/x86_64-linux-gnu/qt5/QtCore/qobject.h:40, from /usr/include/x86_64-linux-gnu/qt5/QtCore/QObject:1, from /«BUILDDIR»/pay-service-2.0.0+15.10.20150727/service/qtbridge.h:23, from /«BUILDDIR»/pay-service-2.0.0+15.10.20150727/service/qtbridge.cpp:20: /usr/include/x86_64-linux-gnu/qt5/QtCore/qglobal.h:1052:4: error: #error "You must build your code with position independent code if Qt was built with -reduce-relocations. " "Compile your code with -fPIC (-fPIE is not enough)." # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\ ^ This looks straightforward enough. As it says in its message, the Qt #error check looks like this: #if !defined(QT_BOOTSTRAPPED) && defined(QT_REDUCE_RELOCATIONS) && defined(__ELF__) && \ (!defined(__PIC__) || (defined(__PIE__) && defined(Q_CC_GNU) && Q_CC_GNU >= 500)) # error "You must build your code with position independent code if Qt was built with -reduce-relocations. "\ "Compile your code with -fPIC (-fPIE is not enough)." #endif And pay-service's CXX_FLAGS look like this: set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -g -fPIE ${GCOV_FLAGS}") ** Affects: pay-service (Ubuntu) Importance: Critical Assignee: Charles Kerr (charlesk) Status: In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1479526 Title: FTBFS with pay-service 2.0.0+15.10.20150727-0ubuntu2~gcc5.1 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/pay-service/+bug/1479526/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs