Source: calibre
Severity: important

Dear Maintainer,

I try compile calire from sources in debian testing, and it fail with the error:

####### Building headless QPA plugin #######
Project MESSAGE: This project is using private headers and will therefore be 
tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules 
may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You 
have been warned!
make[1]: Entering directory '/usr/src/calibre-2.45.0+dfsg/build/headless'
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/freetype2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o headless_backingstore.o 
/usr/src/calibre-2.45.0+dfsg/src/calibre/headless/headless_backingstore.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 
-I/usr/src/calibre-2.45.0+dfsg/build/headless -I/usr/include/freetype2 
-I/usr/include/x86_64-linux-gnu/qt5 
-I/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport 
-I/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 
-I/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 
-I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui 
-I/usr/include/x86_64-linux-gnu/qt5/QtGui 
-I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 
-I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore 
-I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/5 
-I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward 
-I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include 
-I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu 
-I/usr
 /include /usr/src/calibre-2.45.0+dfsg/src/calibre/headless/main.cpp -o main.moc
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/freetype2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o headless_integration.o 
/usr/src/calibre-2.45.0+dfsg/src/calibre/headless/headless_integration.cpp
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/freetype2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o fontconfig_database.o 
/usr/src/calibre-2.45.0+dfsg/src/calibre/headless/fontconfig_database.cpp
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/freetype2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o 
/usr/src/calibre-2.45.0+dfsg/src/calibre/headless/main.cpp
rm -f libheadless.so
g++ -m64 -Wl,--no-undefined -Wl,-O1 -shared -o libheadless.so 
headless_backingstore.o main.o headless_integration.o fontconfig_database.o  
-L/usr/X11R6/lib64 -lQt5PlatformSupport -lfontconfig -lfreetype -lQt5DBus 
-lgthread-2.0 -pthread -lglib-2.0 -lXrender -lXext -lX11 -lm -linput 
-lxkbcommon -ludev -lmtdev -lEGL -lQt5Gui -lQt5Core -lGL -lpthread -lglib-2.0 
-lfontconfig -lfreetype 
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libQt5PlatformSupport.a(qeventdispatcher_glib.o):
 unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:95: recipe for target 
'/usr/src/calibre-2.45.0+dfsg/src/calibre/plugins/libheadless.so' failed
make[1]: *** [/usr/src/calibre-2.45.0+dfsg/src/calibre/plugins/libheadless.so] 
Error 1
make[1]: Leaving directory '/usr/src/calibre-2.45.0+dfsg/build/headless'
Error while executing: make -j8

Traceback (most recent call last):
  File "setup.py", line 99, in <module>
    sys.exit(main())
  File "setup.py", line 85, in main
    command.run_all(opts)
  File "/usr/src/calibre-2.45.0+dfsg/setup/__init__.py", line 181, in run_all
    self.run_cmd(self, opts)
  File "/usr/src/calibre-2.45.0+dfsg/setup/__init__.py", line 178, in run_cmd
    cmd.run(opts)
  File "/usr/src/calibre-2.45.0+dfsg/setup/extensions.py", line 419, in run
    self.build_headless()
  File "/usr/src/calibre-2.45.0+dfsg/setup/extensions.py", line 555, in 
build_headless
    self.check_call([make] + ['-j%d'%(cpu_count or 1)])
  File "/usr/src/calibre-2.45.0+dfsg/setup/extensions.py", line 491, in 
check_call
    subprocess.check_call(*args, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j8']' returned non-zero exit 
status 2
debian/rules:20: recipe for target 'common-build-arch' failed
make: *** [common-build-arch] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2####### 
Building headless QPA plugin #######
Project MESSAGE: This project is using private headers and will therefore be 
tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules 
may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You 
have been warned!
make[1]: Entering directory '/usr/src/calibre-2.45.0+dfsg/build/headless'
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/freetype2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o headless_backingstore.o 
/usr/src/calibre-2.45.0+dfsg/src/calibre/headless/headless_backingstore.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 
-I/usr/src/calibre-2.45.0+dfsg/build/headless -I/usr/include/freetype2 
-I/usr/include/x86_64-linux-gnu/qt5 
-I/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport 
-I/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 
-I/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 
-I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui 
-I/usr/include/x86_64-linux-gnu/qt5/QtGui 
-I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 
-I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore 
-I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/5 
-I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward 
-I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include 
-I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu 
-I/usr
 /include /usr/src/calibre-2.45.0+dfsg/src/calibre/headless/main.cpp -o main.moc
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/freetype2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o headless_integration.o 
/usr/src/calibre-2.45.0+dfsg/src/calibre/headless/headless_integration.cpp
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/freetype2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o fontconfig_database.o 
/usr/src/calibre-2.45.0+dfsg/src/calibre/headless/fontconfig_database.cpp
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/freetype2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o 
/usr/src/calibre-2.45.0+dfsg/src/calibre/headless/main.cpp
rm -f libheadless.so
g++ -m64 -Wl,--no-undefined -Wl,-O1 -shared -o libheadless.so 
headless_backingstore.o main.o headless_integration.o fontconfig_database.o  
-L/usr/X11R6/lib64 -lQt5PlatformSupport -lfontconfig -lfreetype -lQt5DBus 
-lgthread-2.0 -pthread -lglib-2.0 -lXrender -lXext -lX11 -lm -linput 
-lxkbcommon -ludev -lmtdev -lEGL -lQt5Gui -lQt5Core -lGL -lpthread -lglib-2.0 
-lfontconfig -lfreetype 
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libQt5PlatformSupport.a(qeventdispatcher_glib.o):
 unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:95: recipe for target 
'/usr/src/calibre-2.45.0+dfsg/src/calibre/plugins/libheadless.so' failed
make[1]: *** [/usr/src/calibre-2.45.0+dfsg/src/calibre/plugins/libheadless.so] 
Error 1
make[1]: Leaving directory '/usr/src/calibre-2.45.0+dfsg/build/headless'
Error while executing: make -j8

Traceback (most recent call last):
  File "setup.py", line 99, in <module>
    sys.exit(main())
  File "setup.py", line 85, in main
    command.run_all(opts)
  File "/usr/src/calibre-2.45.0+dfsg/setup/__init__.py", line 181, in run_all
    self.run_cmd(self, opts)
  File "/usr/src/calibre-2.45.0+dfsg/setup/__init__.py", line 178, in run_cmd
    cmd.run(opts)
  File "/usr/src/calibre-2.45.0+dfsg/setup/extensions.py", line 419, in run
    self.build_headless()
  File "/usr/src/calibre-2.45.0+dfsg/setup/extensions.py", line 555, in 
build_headless
    self.check_call([make] + ['-j%d'%(cpu_count or 1)])
  File "/usr/src/calibre-2.45.0+dfsg/setup/extensions.py", line 491, in 
check_call
    subprocess.check_call(*args, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j8']' returned non-zero exit 
status 2
debian/rules:20: recipe for target 'common-build-arch' failed
make: *** [common-build-arch] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
root@sobremesa:/usr/src/calibre-2.45.0+dfsg# reportbug 
Welcome to reportbug! Since it looks like this is the first time you have used 
reportbug, we are configuring its behavior. These settings will be saved to the 
file "/home/debianjoker/.reportbugrc", which you will be free to edit
further.
Please choose the default operating mode for reportbug.

1 novice    Offer simple prompts, bypassing technical questions.

2 standard  Offer more extensive prompts, including asking about things that a 
moderately sophisticated user would be expected to know about Debian.

3 advanced  Like standard, but assumes you know a bit more about Debian, 
including "incoming".

4 expert    Bypass most handholding measures and preliminary triage routines. 
This mode should not be used by people unfamiliar with Debian's policies and 
operating procedures.

Select mode: [novice] 1
Will reportbug often have direct Internet access? (You should answer yes to 
this question unless you know what you are doing and plan to check whether 
duplicate reports have been filed via some other channel.) [Y|n|q|?]? 
What real name should be used for sending bug reports?
[root]> Fernando
Which of your email addresses should be used when sending bug reports? (Note 
that this address will be visible in the bug tracking system, so you may want 
to use a webmail address or another address with good spam filtering
capabilities.)
[root@mint]> [email protected]
Do you have a "mail transport agent" (MTA) like Exim, Postfix or SSMTP 
configured on this computer to send mail to the Internet? [y|N|q|?]? 
Please enter the name of your SMTP host. Usually it's called something like 
"mail.example.org" or "smtp.example.org". If you need to use a different port 
than default, use the <host>:<port> alternative format. Just press ENTER if you
don't have one or don't know, and so a Debian SMTP host will be used.
>           
Please enter the name of your proxy server. It should only use this parameter 
if you are behind a firewall. The PROXY argument should be formatted as a valid 
HTTP URL, including (if necessary) a port number; for example,
http://192.168.1.1:3128/. Just press ENTER if you don't have one or don't know.
> 
Unable to save /home/debianjoker/.reportbugrc; most likely, you do not have a 
home directory.  Please fix this before using reportbug again.
root@sobremesa:/usr/src/calibre-2.45.0+dfsg# adduser debianjoker
Adding user `debianjoker' ...
Adding new group `debianjoker' (1000) ...
Adding new user `debianjoker' (1000) with group `debianjoker' ...
Creating home directory `/home/debianjoker' ...
Copying files from `/etc/skel' ...
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
Changing the user information for debianjoker
Enter the new value, or press ENTER for the default
        Full Name []: 
        Room Number []: 
        Work Phone []: 
        Home Phone []: 
        Other []: 
Is the information correct? [Y/n] 
root@sobremesa:/usr/src/calibre-2.45.0+dfsg# reportbug 
Welcome to reportbug! Since it looks like this is the first time you have used 
reportbug, we are configuring its behavior. These settings will be saved to the 
file "/home/debianjoker/.reportbugrc", which you will be free to edit
further.
Please choose the default operating mode for reportbug.

1 novice    Offer simple prompts, bypassing technical questions.

2 standard  Offer more extensive prompts, including asking about things that a 
moderately sophisticated user would be expected to know about Debian.

3 advanced  Like standard, but assumes you know a bit more about Debian, 
including "incoming".

4 expert    Bypass most handholding measures and preliminary triage routines. 
This mode should not be used by people unfamiliar with Debian's policies and 
operating procedures.

Select mode: [novice] 
Will reportbug often have direct Internet access? (You should answer yes to 
this question unless you know what you are doing and plan to check whether 
duplicate reports have been filed via some other channel.) [Y|n|q|?]? 
What real name should be used for sending bug reports?
[root]> Fernando
Which of your email addresses should be used when sending bug reports? (Note 
that this address will be visible in the bug tracking system, so you may want 
to use a webmail address or another address with good spam filtering
capabilities.)
[root@mint]> 
Your email address is not valid; please try another one.
Which of your email addresses should be used when sending bug reports? (Note 
that this address will be visible in the bug tracking system, so you may want 
to use a webmail address or another address with good spam filtering
capabilities.)
[root@mint]> [email protected]
Do you have a "mail transport agent" (MTA) like Exim, Postfix or SSMTP 
configured on this computer to send mail to the Internet? [y|N|q|?]? 
Please enter the name of your SMTP host. Usually it's called something like 
"mail.example.org" or "smtp.example.org". If you need to use a different port 
than default, use the <host>:<port> alternative format. Just press ENTER if you
don't have one or don't know, and so a Debian SMTP host will be used.
> 
Please enter the name of your proxy server. It should only use this parameter 
if you are behind a firewall. The PROXY argument should be formatted as a valid 
HTTP URL, including (if necessary) a port number; for example,
http://192.168.1.1:3128/. Just press ENTER if you don't have one or don't know.
> 
Default preferences file written. To reconfigure, re-run reportbug with the 
"--configure" option.
Running 'reportbug' as root is probably insecure! Continue [y|N|q|?]? y
Please enter the name of the package in which you have found a problem, or type 
'other' to report a more general problem. If you don't know what package the 
bug is in, please contact [email protected] for assistance.
> calibre
*** Welcome to reportbug.  Use ? for help at prompts. ***
Note: bug reports are publicly archived (including the email address of the 
submitter).
Detected character set: us-ascii
Please change your locale if this is incorrect.

Using 'Fernando <[email protected]>' as your from address.
Getting status for calibre...
Which of the following packages is the bug in?

1 calibre      e-book converter and library management

2 calibre-bin  e-book converter and library management

Select one of these packages: 1
Please enter the version of the package this report applies to (blank OK)
> 
Querying Debian BTS for reports on calibre (source)...
46 bug reports found:

Bugs with severity serious
   1) #775663  calibre: file without source: resources/content_server/date.js  
[RESOLVED]
Bugs with severity important
   2) #611242  strips out enumerated lists from RSS feeds
   3) #646128  Conversion to MOBI-format fails, if X Window System is not 
present
   4) #673216  calibre: crashes when any button is clicked, Udisks mount call 
failed
   5) #704552  calibre: Sony PRS-350 not detected
   6) #708701  calibre: Erraneous "Cannot send: No device is connected"
   7) #719984  Adding... dialog pops up after every book making multitasking 
impossible
   8) #731842  calibre: Sony PRS-T1 not detected
   9) #787560  calibre: Calibre can't communicate with file managers
  10) #806607  calibre: FTBFS when built with dpkg-buildpackage -A (No module 
named icu)
Bugs with severity normal
  11) #589126  calibre: Exception in thread Thread-9
  12) #602053  calibre: IOError
  13) #610328  calibre AttributeError
  14) #657730  calibre: crashes before starting
  15) #667952  doesn't handle touchscreen/tablet input events properly
  16) #668899  calibre: "No internet connection" when network-manager installed 
but disabled
  17) #675562  Embedded code copies of libmspack
  18) #677110  calibre: Error trying to open some books with viewer
  19) #689676  calibre: Error communicating device when connect Kindle
  20) #696657  calibre: in fullscreen mode, going backwards at the beginning of 
chapter goes too far
  21) #699057  Error converting Python 3.3.0 EPUB to MOBI
  22) #702816  Missing soft dependency on libunrar
  23) #723907  [calibre] use_system_markdown.patch breaks the subsequent 
markdown API calls
  24) #725985  missing epub-meta command
  25) #726327  improve calibre-server packaging
  26) #727147  calibre: error when starting calibre-server
  27) #733513  [calibre] RuntimeError: Failed to load unrar module with error: 
No module named unrar
  28) #738535  Error: 'No such file or directory' when clicking 'Path: Click to 
open'
  29) #747316  calibre: convert SVG images to PNG for AZW3/KF8 format
  30) #771550  Some references to PyQt 4 ?
Subject: calibre not compile in debian testing
Source: calibre
Severity: important

Dear Maintainer,

I try compile calire from sources in debian testing, with a without pbuilder, 
and it fail with the error:

####### Building headless QPA plugin #######
Project MESSAGE: This project is using private headers and will therefore be 
tied to this specific Qt module build version.
Project MESSAGE: Running this project against other versions of the Qt modules 
may crash at any arbitrary point.
Project MESSAGE: This is not a bug, but a result of using Qt internals. You 
have been warned!
make[1]: Entering directory '/usr/src/calibre-2.45.0+dfsg/build/headless'
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/freetype2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o headless_backingstore.o 
/usr/src/calibre-2.45.0+dfsg/src/calibre/headless/headless_backingstore.cpp
/usr/lib/x86_64-linux-gnu/qt5/bin/moc -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 
-I/usr/src/calibre-2.45.0+dfsg/build/headless -I/usr/include/freetype2 
-I/usr/include/x86_64-linux-gnu/qt5 
-I/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport 
-I/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 
-I/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 
-I/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui 
-I/usr/include/x86_64-linux-gnu/qt5/QtGui 
-I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 
-I/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore 
-I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/c++/5 
-I/usr/include/x86_64-linux-gnu/c++/5 -I/usr/include/c++/5/backward 
-I/usr/lib/gcc/x86_64-linux-gnu/5/include -I/usr/local/include 
-I/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed -I/usr/include/x86_64-linux-gnu 
-I/usr
 /include /usr/src/calibre-2.45.0+dfsg/src/calibre/headless/main.cpp -o main.moc
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/freetype2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o headless_integration.o 
/usr/src/calibre-2.45.0+dfsg/src/calibre/headless/headless_integration.cpp
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/freetype2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o fontconfig_database.o 
/usr/src/calibre-2.45.0+dfsg/src/calibre/headless/fontconfig_database.cpp
g++ -c -m64 -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden 
-std=c++0x -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_PLUGIN 
-DQT_PLATFORMSUPPORT_LIB -DQT_GUI_LIB -DQT_CORE_LIB -I. -isystem 
/usr/include/freetype2 -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtPlatformSupport/5.5.1/QtPlatformSupport 
-isystem /usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui/5.5.1/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtGui -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1 -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore/5.5.1/QtCore -isystem 
/usr/include/x86_64-linux-gnu/qt5/QtCore -I. 
-I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++-64 -o main.o 
/usr/src/calibre-2.45.0+dfsg/src/calibre/headless/main.cpp
rm -f libheadless.so
g++ -m64 -Wl,--no-undefined -Wl,-O1 -shared -o libheadless.so 
headless_backingstore.o main.o headless_integration.o fontconfig_database.o  
-L/usr/X11R6/lib64 -lQt5PlatformSupport -lfontconfig -lfreetype -lQt5DBus 
-lgthread-2.0 -pthread -lglib-2.0 -lXrender -lXext -lX11 -lm -linput 
-lxkbcommon -ludev -lmtdev -lEGL -lQt5Gui -lQt5Core -lGL -lpthread -lglib-2.0 
-lfontconfig -lfreetype 
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/5/../../../x86_64-linux-gnu/libQt5PlatformSupport.a(qeventdispatcher_glib.o):
 unrecognized relocation (0x2a) in section `.text'
/usr/bin/ld: final link failed: Bad value
collect2: error: ld returned 1 exit status
Makefile:95: recipe for target 
'/usr/src/calibre-2.45.0+dfsg/src/calibre/plugins/libheadless.so' failed
make[1]: *** [/usr/src/calibre-2.45.0+dfsg/src/calibre/plugins/libheadless.so] 
Error 1
make[1]: Leaving directory '/usr/src/calibre-2.45.0+dfsg/build/headless'
Error while executing: make -j8

Traceback (most recent call last):
  File "setup.py", line 99, in <module>
    sys.exit(main())
  File "setup.py", line 85, in main
    command.run_all(opts)
  File "/usr/src/calibre-2.45.0+dfsg/setup/__init__.py", line 181, in run_all
    self.run_cmd(self, opts)
  File "/usr/src/calibre-2.45.0+dfsg/setup/__init__.py", line 178, in run_cmd
    cmd.run(opts)
  File "/usr/src/calibre-2.45.0+dfsg/setup/extensions.py", line 419, in run
    self.build_headless()
  File "/usr/src/calibre-2.45.0+dfsg/setup/extensions.py", line 555, in 
build_headless
    self.check_call([make] + ['-j%d'%(cpu_count or 1)])
  File "/usr/src/calibre-2.45.0+dfsg/setup/extensions.py", line 491, in 
check_call
    subprocess.check_call(*args, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['make', '-j8']' returned non-zero exit 
status 2
debian/rules:20: recipe for target 'common-build-arch' failed
make: *** [common-build-arch] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: stretch/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Reply via email to