devel/qt6-base error

I get this error from pkg-static at the end of the building process :

Code:
===>   Registering installation for qt6-base-6.11.1
pkg-static: Unable to access file /usr/ports/devel/qt6-base/work/stage/usr/local/lib/qt6/sbom/qtbase-6.11.1.cdx.json:No such file or directory
pkg-static: Unable to access file /usr/ports/devel/qt6-base/work/stage/usr/local/lib/qt6/sbom/qtbase-6.11.1.spdx.json:No such file or directory
*** Error code 1
 
That doesn't explain if anything exists or not. 2 different files btw, didn't notice. I would suspect the build options first. Does "make config" show anything related to javascript that can be disabled?
 
That doesn't explain if anything exists or not. 2 different files btw, didn't notice. I would suspect the build options first. Does "make config" show anything related to javascript that can be disabled?
Code:
                                                ────────┤qt6-base-6.11.1├─────────────┐
                                                │ 'F1' for Ports Collection help.            │ 
                                                │ ┌────────────────────────────────────────┐ │ 
                                                │ │[X] CUPS    CUPS printing system support│ │ 
                                                │ │[X] WAYLAND Wayland (graphics) support  │ │ 
                                                │ │[X] X11     X11 (graphics) support      │ │ 
                                                │ └────────────────────────────────────────┘
 
The files don't exist.

Maybe I should comment these line in pkg-plist?

Code:
# cat pkg-plist | grep cdx
%%QT_SBOMDIR%%/qtbase-%%FULLVER%%.cdx.json
# cat pkg-plist | grep spdx
%%QT_SBOMDIR%%/qtbase-%%FULLVER%%.spdx
%%QT_SBOMDIR%%/qtbase-%%FULLVER%%.spdx.json
 
I would try to fimd the part in the workdir that generates them. Maybe a Makefile says something. It finished succesfully anyway, apparently.
What does Qt with json files? That's only webcontent, right?
 
I would try to fimd the part in the workdir that generates them. Maybe a Makefile says something. It finished succesfully anyway, apparently.
Code:
ls work/
.bin                            .extract_done.base._usr_local   .metadir.qt6-base               .stage_done.base._usr_local
.build                          .license_done.base._usr_local   .patch_done.base._usr_local     qtbase-everywhere-src-6.11.1
.build_done.base._usr_local     .license-catalog.mk             .PLIST.mktmp                    stage
.configure_done.base._usr_local .license-report                 .PLIST.qt6-base

Code:
ls work/.build
.ninja_deps                             config.tests                            mkspecs
.ninja_log                              CTestTestfile.cmake                     qmake
build.ninja                             doc                                     qt_sbom
cmake_install.cmake                     include                                 share
CMakeCache.txt                          install_manifest.txt                    src
CMakeFiles                              install_user_facing_tool_links.cmake    user_facing_tool_links.txt
config.redo                             lib
config.summary                          libexec
 
What solved this issue is deleting the lines with :
%%QT_SBOMDIR%%/qtbase-%%FULLVER%%
In pkg-plist file.
I think its a bug


[edit] doing it caused other dependencies to fail
 
I would try to fimd the part in the workdir that generates them
It migth be it :

Code:
Looking for Python and dependencies for operation 'GENERATE_CYCLONE_DX_V1_6'. Searching default locations as per FindPython3 docs.
Result: Python dependency for running SBOM operation 'GENERATE_CYCLONE_DX_V1_6' NOT found.
Suggestion: Install it using pip install 'cyclonedx-python-lib[json-validation]'

This was the output at the beginning of the build, I just saw it. But it's weird because the two dependencies mentioned in freshports are met :

py311-cyclonedx-python-lib>0 : textproc/py-cyclonedx-python-lib@py311
py311-spdx-tools>=0.8.3 : misc/py-spdx-tools@py311
 
It migth be it :

Looking for Python and dependencies for operation 'GENERATE_CYCLONE_DX_V1_6'. Searching default locations as per FindPython3 docs.
I was in similar trouble a week ago. It's a mess of build requirements. They should sandbox all pyrhon deps and refuse them as individual packages because it changes too much causing missing dependencies and version conflicts.
Rebuilt everything from nothing and separated other ports that use different versions of python additions. It worked (qemu 11) after manually tracing down 20 dependencies from compiler errors.
 
Back
Top