On Sun, Aug 10, 2025 at 08:15:37PM +0200, Rafael Sadowski wrote: > On Sun Aug 10, 2025 at 07:57:04PM +0200, Matthias Kilian wrote: > > Hi, > > > > [cc'd rsadowski, because this may as well be a qt6 problem] > > > > during my partial bulk build (with a ports tree from 8th august), > > graphics/flameshot first failed during configure because it wanted git > > installed. So I pkg_added git, removed the build dir and the dpb lock, > > and now it tries to clone some stuff from gitlab.com (which isn't > > allowed): > > This is because flameshot 13 has been switched from Qt5 to Qt6 (see > QT_DEFAULT_MAJOR_VERSION and QT_VERSION_MAJOR) but the port still > uses Qt5. > > I see the following options: > > - Port https://gitlab.com/mattbas/Qt-Color-Widgets.git and switch > flameshot 13 to Qt6 and add qt-color-widgets as a new dependency. > > - Get a second source of > https://gitlab.com/mattbas/Qt-Color-Widgets.git and extract it to > "${CMAKE_SOURCE_DIR}/external/Qt-Color-Widgets/" > > - Backport to 12. > > I would opt for the first option. Until then, we should mark > flameshot as broken. The old one will still work. >
Would this work until I can make more tests ? Index: Makefile =================================================================== RCS file: /cvs/ports/graphics/flameshot/Makefile,v diff -u -p -r1.14 Makefile --- Makefile 7 Aug 2025 20:36:16 -0000 1.14 +++ Makefile 10 Aug 2025 18:54:39 -0000 @@ -1,3 +1,5 @@ +BROKEN = Missing dependency, need to investigate + COMMENT = powerful yet simple to use screenshot software CATEGORIES = graphics x11 > > > > > >>> Running configure in graphics/flameshot at 1754836542.67 > > ===> graphics/flameshot > > ===> Generating configure for flameshot-13.0.1 > > ===> Configuring for flameshot-13.0.1 > > -- The CXX compiler identification is Clang 19.1.7 > > -- Detecting CXX compiler ABI info > > -- Detecting CXX compiler ABI info - done > > -- Check for working CXX compiler: /pobj/p2/flameshot-13.0.1/bin/c++ - > > skipped > > -- Detecting CXX compile features > > -- Detecting CXX compile features - done > > -- Found Git: /usr/local/bin/git (found version "2.50.1") > > [1/9] Creating directories for 'qtcolorwidgets-populate' > > [1/9] Performing download step (git clone) for 'qtcolorwidgets-populate' > > Cloning into 'qtcolorwidgets-src'... > > fatal: unable to access > > 'https://gitlab.com/mattbas/Qt-Color-Widgets.git/': Failed to connect to > > gitlab.com port 443 after 74 ms: Could not connect to server > > Cloning into 'qtcolorwidgets-src'... > > fatal: unable to access > > 'https://gitlab.com/mattbas/Qt-Color-Widgets.git/': Failed to connect to > > gitlab.com port 443 after 13 ms: Could not connect to server > > Cloning into 'qtcolorwidgets-src'... > > fatal: unable to access > > 'https://gitlab.com/mattbas/Qt-Color-Widgets.git/': Failed to connect to > > gitlab.com port 443 after 1 ms: Could not connect to server > > Had to git clone more than once: 3 times. > > CMake Error at > > qtcolorwidgets-subbuild/qtcolorwidgets-populate-prefix/tmp/qtcolorwidgets-populate-gitclone.cmake:50 > > (message): > > Failed to clone repository: > > 'https://gitlab.com/mattbas/Qt-Color-Widgets.git' > > > > > > FAILED: > > qtcolorwidgets-populate-prefix/src/qtcolorwidgets-populate-stamp/qtcolorwidgets-populate-download > > /pobj/p2/flameshot-13.0.1/build-amd64/_deps/qtcolorwidgets-subbuild/qtcolorwidgets-populate-prefix/src/qtcolorwidgets-populate-stamp/qtcolorwidgets-populate-download > > > > cd /pobj/p2/flameshot-13.0.1/build-amd64/_deps && /usr/local/bin/cmake > > -DCMAKE_MESSAGE_LOG_LEVEL=VERBOSE -P > > /pobj/p2/flameshot-13.0.1/build-amd64/_deps/qtcolorwidgets-subbuild/qtcolorwidgets-populate-prefix/tmp/qtcolorwidgets-populate-gitclone.cmake > > && /usr/local/bin/cmake -E touch > > /pobj/p2/flameshot-13.0.1/build-amd64/_deps/qtcolorwidgets-subbuild/qtcolorwidgets-populate-prefix/src/qtcolorwidgets-populate-stamp/qtcolorwidgets-populate-download > > ninja: build stopped: subcommand failed. > > > > CMake Error at /usr/local/share/cmake/Modules/FetchContent.cmake:1918 > > (message): > > Build step for qtcolorwidgets failed: 1 > > Call Stack (most recent call first): > > /usr/local/share/cmake/Modules/FetchContent.cmake:1609 > > (__FetchContent_populateSubbuild) > > /usr/local/share/cmake/Modules/FetchContent.cmake:2145:EVAL:2 > > (__FetchContent_doPopulation) > > /usr/local/share/cmake/Modules/FetchContent.cmake:2145 > > (cmake_language) > > /usr/local/share/cmake/Modules/FetchContent.cmake:2384 > > (__FetchContent_Populate) > > CMakeLists.txt:45 (FetchContent_MakeAvailable) > > > > Ciao, > > Kili