Bug#795076: gnuplot5: FTBFS: You must build your code with position independent code if Qt was built with -reduce-relocations

Martin Pitt mpitt at debian.org
Mon Aug 10 10:57:38 UTC 2015


Package: gnuplot5
Severity: serious
Version: 5.0.1+dfsg1-2

Hello,

gnuplot5 currently FTBFS in sid:

| c++ -DHAVE_CONFIG_H -I. -I../../../src -I..  -I../term -I../../../term -DBINDIR=\"/usr/bin\" -DX11_DRIVER_DIR=\"/usr/lib/gnuplot5\" -DQT_DRIVER_DIR=\"/usr/lib/gnuplot5\" -DGNUPLOT_SHARE_DIR=\"/usr/share/gnuplot5/gnuplot/5.0\" -DGNUPLOT_PS_DIR=\"/usr/share/gnuplot5/gnuplot/5
| .0/PostScript\" -DGNUPLOT_JS_DIR=\"/usr/share/gnuplot5/gnuplot/5.0/js\" -DGNUPLOT_LUA_DIR=\"/usr/share/gnuplot5/gnuplot/5.0/lua\" -DCONTACT=\"gnuplot-bugs at lists.sourceforge.net\" -DHELPFILE=\"/usr/share/gnuplot5/gnuplot.gih\" -DGNUPLOT_X11=\"`echo gnuplot_x11 | sed 's,x,x,'
| `\" -DXAPPLRESDIR=\"/etc/X11/app-defaults/\" -DQTGNUPLOT_DATA_DIR=\"/usr/share/gnuplot5/gnuplot/5.0/qt\" -D_FORTIFY_SOURCE=2   -I/usr/include/lua5.1  -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include 
| -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12  -pthread -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu
| /glib-2.0/include  -I/usr/include/x86_64-linux-gnu/qt5/QtNetwork -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtSvg -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/i
| nclude/x86_64-linux-gnu/qt5/QtWidgets -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-gnu/qt5   -g -O2 -fPIE -fstack-protector-strong -Wf
| ormat -Werror=format-security -I/usr/lib/x86_64-linux-gnu/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -pthread -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/gl
| ib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12  -fPIE  -MT qtterminal/gnuplot_qt.o -MD -MP -MF $depbase.Tpo -c -o qtterminal/gnuplot_qt.o ../../../src/qtterminal/gnuplot_qt.cpp &&\
| mv -f $depbase.Tpo $depbase.Po
| 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 ../../../src/qtterminal/QtGnuplotEvent.h:47,
|                  from ../../../src/qtterminal/QtGnuplotApplication.h:47,
|                  from ../../../src/qtterminal/gnuplot_qt.cpp:44:
| /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. "\
|     ^

Full build log attached for convenience.

Thanks,

Martin


-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnuplot5_5.0.1+dfsg1-2_amd64-20150810-1248.build.xz
Type: application/x-xz
Size: 31728 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20150810/225f41d0/attachment-0001.bin>


More information about the debian-science-maintainers mailing list