pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/50241: calibre fails to build with native xorg and netbsd-6
>Number: 50241
>Category: pkg
>Synopsis: calibre fails to build with native xorg and netbsd-6
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 14 06:50:00 +0000 2015
>Originator: matthew green
>Release: NetBSD 6.1_STABLE
>Organization:
people's front against (bozotic) www (softwar foundation)
>Environment:
Architecture: amd64
Machine: amd64
>Description:
building misc/calibre with latest netbsd-6 installation eventually
fails as some shlibs are not built with /usr/X11R7/lib in the rpath.
####### 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!
libtool --silent --mode=link c++ -avoid-version -rpath /usr/pkg/qt5/plugins/platforms -module -pthread -Wl,-rpath,/usr/pkg/qt5/lib -shared -o /var/obj/pkgsrc/misc/calibre/work.space-bird/calibre-2.37.1/src/calibre/plugins/libheadless.la headless_backingstore.lo main.lo headless_integration.lo -L/usr/pkg/lib -L/usr/X11R7/lib -L/usr/pkg/qt5/lib -lQt5PlatformSupport -L/usr/lib -lfontconfig -lfreetype /usr/pkg/qt5/lib/libQt5Gui.la /usr/pkg/qt5/lib/libQt5Core.la -lQt5Gui -lQt5Core -lGL
*
* Running gui
*
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 "/var/obj/pkgsrc/misc/calibre/work.space-bird/calibre-2.37.1/setup/__init__.py", line 181, in run_all
self.run_cmd(self, opts)
File "/var/obj/pkgsrc/misc/calibre/work.space-bird/calibre-2.37.1/setup/__init__.py", line 175, in run_cmd
self.run_cmd(scmd, opts)
File "/var/obj/pkgsrc/misc/calibre/work.space-bird/calibre-2.37.1/setup/__init__.py", line 178, in run_cmd
cmd.run(opts)
File "/var/obj/pkgsrc/misc/calibre/work.space-bird/calibre-2.37.1/setup/gui.py", line 41, in run
self.build_forms(summary=opts.summary)
File "/var/obj/pkgsrc/misc/calibre/work.space-bird/calibre-2.37.1/setup/gui.py", line 63, in build_forms
from calibre.gui2 import build_forms
File "/var/obj/pkgsrc/misc/calibre/work.space-bird/calibre-2.37.1/src/calibre/gui2/__init__.py", line 8, in <module>
from PyQt5.QtWidgets import QStyle # Gives a nicer error message than import from Qt
ImportError: Shared object "libfreetype.so.7" not found
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/misc/calibre
*** Error code 1
when i inspect the calibre build subdir, i find that 6 shlibs have
references to objects they do not have in the RPATH:
space-bird calibre/work.space-bird/calibre-2.37.1> ldd build/pyqt/qt_hack/.libs/libqt_hack.so | grep 'not found'
-lQt5Widgets.5 => not found
-lQt5Gui.5 => not found
-lfreetype.7 => not found
-lQt5Core.5 => not found
-lGL.2 => not found
>How-To-Repeat:
build calibre on netbsd-6 with native xorg.
>Fix:
i suspect the fix is to ensure that /usr/X11R7/lib is added to
the RPATH in various components.
Home |
Main Index |
Thread Index |
Old Index