tech-pkg archive

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

Re: linker problem blocking qt5 update

On 09/01/18 22:51, Mark Davies wrote:
> [ 51%] Building CXX object
> phonon/CMakeFiles/phonon4qt5.dir/audiooutputadaptor.cpp.o
> [ 52%] Building CXX object
> phonon/CMakeFiles/phonon4qt5.dir/phonon4qt5_autogen/mocs_compilation.cpp.o
> [ 54%] Linking CXX shared library
> ld: BFD (NetBSD Binutils nb1) 2.27 assertion fail
> /usr/src/external/gpl3/binutils/lib/libbfd/../../dist/bfd/elflink.c:2694
> ld: BFD (NetBSD Binutils nb1) 2.27 assertion fail
> /usr/src/external/gpl3/binutils/lib/libbfd/../../dist/bfd/elflink.c:2694
> phonon/CMakeFiles/phonon4qt5.dir/build.make:1004: recipe for target
> 'phonon/' failed
> gmake[2]: *** [phonon/] Error 1
> This bug has been blocking an update of the qt5 packages for some time
> (and those packages that require a newer qt5).
> It would be useful to know the result of building the wip/phonon-qt5
> package for other people and on different platforms/compilers.
> And if someone could actually describe what this is actually complaining
> about and how to fix it, that would be brilliant.

Well I still don't know whats going on here, but I have a work around:

If you explicitly link -lexecinfo _before_ -lQt5Widgets then you no
longer get the assertion fail.

So adding the following as a to any packages that get the error
gets them built.

# $NetBSD$


Given that, I don't think there is now anything stopping updating the
qt5 packages, which is a good thing with things like poppler no longer
supporting qt4.


Home | Main Index | Thread Index | Old Index