pkgsrc-Users archive

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

Re: [HEAD] qt5-qtdeclarative build issue



Can you share a bit more of the build log? The line above the one you
pasted should be a libtool invocation.

.la files are libtool libraries. They are small text files that
contain the names of the actual libraries, think of them as symlinks
to the .so.

Calling g++ with a .la file on the command line is not going to work.
The command line (perhaps the one above) should be something like

libtool --mode=compile g++ -shared etc.

libtool transforms this, typically by replacing the .la with a -l and -L option.
On Thu, Jul 12, 2018 at 12:05 PM BERTRAND Joël
<joel.bertrand%systella.fr@localhost> wrote:
>
>         Hello,
>
>         For several days, qt5-qtdeclarative build process stops with :
> g++ -shared -lexecinfo -L/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib
> -Wl,-R/usr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib
> -Wl,--no-undefined -Wl,--version-script,QtQuickTest.version -Wl,-O1
> -pthread -Wl,-rpath,/usr/pkg/qt5/lib -shared -Wl,-Bsymbolic-functions
> -Wl,-soname,libQt5QuickTest.so.5 -o libQt5QuickTest.so.5.11.1
> .obj/quicktest.o .obj/quicktestevent.o .obj/quicktestresult.o
> .obj/moc_quicktestevent_p.o   -L/usr/pkg/lib -L/usr/X11R7/lib
> -L/usr/pkg/qt5/lib -lQt5Test -lQt5Widgets -lQt5Gui -lQt5Core
> -L/usr/src/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.1/lib
> -lQt5Quick -L/usr/pkg/lib -L/usr/X11R7/lib -L/usr/lib -L/usr/pkg/qt5/lib
> /usr/pkg/qt5/lib/libQt5Qml.la /usr/pkg/qt5/lib/libQt5Core.la -lQt5Qml
> -lexecinfo -lkvm -lQt5Gui -lQt5Network -lQt5Core -lGL
> g++: error: /usr/pkg/qt5/lib/libQt5Core.la: No such file or directory
> gmake[2]: *** [Makefile:95: ../../lib/libQt5QuickTest.so.5.11.1] Error 1
> gmake[2]: Leaving directory
> '/usr/src/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.1/src/qmltest'
> gmake[1]: *** [Makefile:139: sub-qmltest-make_first-ordered] Error 2
> gmake[1]: Leaving directory
> '/usr/src/pkgsrc/x11/qt5-qtdeclarative/work/qtdeclarative-everywhere-src-5.11.1/src'
> gmake: *** [Makefile:45: sub-src] Error 2
> *** Error code 2
>
> Stop.
> make[1]: stopped in /usr/src/pkgsrc/x11/qt5-qtdeclarative
> *** Error code 1
>
>         Indeed, /usr/pkg/qt5/lib/libQt5Core.la doesn't exist. I suppose this
> file was created by qt5-qtbase, but if qt5-qtbase contains
> libQt5Core.so, there is no libQt5Core.la...
>
>         Best regards,
>
>         JB



-- 
Benny


Home | Main Index | Thread Index | Old Index