pkgsrc-Users archive

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

Re: cannot build lang/qt6-qtdeclarative after latest update



> Hi again,
> 
> Now with the actual error using 'make VERBOSE=1', I get:
> 
> [ 62%] Linking CXX shared library ../../lib/libQt6QuickTest.so
> cd /usr/pkgsrc/lang/qt6-qtdeclarative/work/qtdeclarative-everywhere-src-6.7.0/src/qmltest && /usr/pkg/bin/cmake -E cmake_link_script CMakeFiles/QuickTest.dir/link.txt --verbose=1
> /usr/pkgsrc/lang/qt6-qtdeclarative/work/qtdeclarative-everywhere-src-6.7.0/tools/svgtoqml/main.cpp:9:10: fatal error: private/qsvgtinydocument_p.h: No such file or directory
>    9 | #include <private/qsvgtinydocument_p.h>
>      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> compilation terminated.
> gmake[2]: *** [tools/svgtoqml/CMakeFiles/svgtoqml.dir/build.make:96: tools/svgtoqml/CMakeFiles/svgtoqml.dir/main.cpp.o] Error 1
> gmake[2]: Leaving directory '/usr/pkgsrc/lang/qt6-qtdeclarative/work/qtdeclarative-everywhere-src-6.7.0'
> gmake[1]: *** [CMakeFiles/Makefile2:31546: tools/svgtoqml/CMakeFiles/svgtoqml.dir/all] Error 2
> gmake[1]: *** Waiting for unfinished jobs....
> 
> So, it seems it now needs 'qsvgtinydocument_p' header.
> This is included in 'graphics/qt6-qtsvg', which I have installed but, it's not found.
> 
> I've added an 'include ... qt6-qtsvg/buildlink3.mk' line to 'qt6-qtdeclarative' Makefile and restarted the build. Let's see if this helps.
> 
> Regards,
> Pedro

I can replicate the problem: qt6-qtdeclarative fails to build when qt6-qtsvg is also installed. If you uninstall qt6-qtsvg, the build succeeds.

qt6-qtdeclarative mentions qtsvg as an optional dependency in dependencies.yaml (required: false).

Now we need a work-around for this. :/

Cheers,
Adam


Home | Main Index | Thread Index | Old Index