From: Antoine Jacoutot Subject: Re: x11/gnustep/libobjc2 failed to build To: Theo Buehler Cc: Sebastian Reitenbach , ports@openbsd.org Date: Sun, 3 Mar 2024 09:11:47 +0100 On Sun, Mar 03, 2024 at 09:00:17AM +0100, Theo Buehler wrote: > > -- Could NOT find Git (missing: GIT_EXECUTABLE) > > -- Could NOT find Git (missing: GIT_EXECUTABLE) (found version "") > > CMake Error at /usr/local/share/cmake/Modules/ExternalProject.cmake:2910 (message): > > error: could not find git for clone of robinmap-populate > > Call Stack (most recent call first): > > /usr/local/share/cmake/Modules/ExternalProject.cmake:4418 (_ep_add_download_command) > > CMakeLists.txt:29 (ExternalProject_Add) > > Sounds like it needs a bdep on git. That won't work because the build user isn't allowed to go online: -- Found Git: /usr/local/bin/git (found version "2.44.0") [1/9] Creating directories for 'robinmap-populate' [1/9] Performing download step (git clone) for 'robinmap-populate' Cloning into 'robinmap-src'... fatal: unable to access 'https://github.com/Tessil/robin-map/': getsockname() failed with errno 61: Connection refused Cloning into 'robinmap-src'... fatal: unable to access 'https://github.com/Tessil/robin-map/': getsockname() failed with errno 61: Connection refused Cloning into 'robinmap-src'... fatal: unable to access 'https://github.com/Tessil/robin-map/': getsockname() failed with errno 61: Connection refused -- Had to git clone more than once: 3 times. CMake Error at robinmap-subbuild/robinmap-populate-prefix/tmp/robinmap-populate-gitclone.cmake:39 (message): Failed to clone repository: 'https://github.com/Tessil/robin-map/' > I had applied this patch (which fixes other defects in this CMakeFile): > https://marc.info/?l=openbsd-ports&m=170920085418634&w=2 This part fixes the build: +-if (NOT tls-robin-map_FOUND) ++if (NOT tsl-robin-map_FOUND) > > and now my dpb got stuck in loops > > Detected loop, merging sets ok > | gnustep-base-1.29.0p1+gnustep-libobjc2-2.2p1+sope-5.9.1->gnustep-base-1.29.0p1+libdispatch-5.5p0+sope-5.9.1 > Detected loop, merging sets ok > | gnustep-base-1.29.0p1+gnustep-libobjc2-2.2p1+sope-5.9.1->gnustep-base-1.29.0p1+libdispatch-5.5p0+sope-5.9.1 > Detected loop, merging sets ok > | gnustep-base-1.29.0p1+gnustep-libobjc2-2.2p1+sope-5.9.1->gnustep-base-1.29.0p1+libdispatch-5.5p0+sope-5.9.1 > Detected loop, merging sets ok > | gnustep-base-1.29.0p1+gnustep-libobjc2-2.2p1+sope-5.9.1->gnustep-base-1.29.0p1+libdispatch-5.5p0+sope-5.9.1 > Detected loop, merging sets ok > | gnustep-base-1.29.0p1+gnustep-libobjc2-2.2 > -- Antoine