On Fri, Oct 06, 2023 at 07:05:45PM +0200, Theo Buehler wrote: > On Fri, Oct 06, 2023 at 10:02:35AM -0700, Greg Steuck wrote: > > Theo Buehler <t...@theobuehler.org> writes: > > > > > On Fri, Oct 06, 2023 at 08:38:12AM -0700, Evan Silberman wrote: > > >> Evan Silberman <e...@jklol.net> wrote: > > >> > Can't tell you why this cropped up for you and not me and Greg but > > >> > would > > >> > you try adding MODCABAL_BUILD_ARGS="-c digest-pkg-config" to your > > >> > build? > > >> > > >> Sorry, should probably be MODCABAL_BUILD_ARGS='-c "digest -pkg-config"'. > > > > > > I can... It is my first bulk build where this fails. It built in my last > > > few bulks. So most likely some dependency is assumed to be present which > > > isn't necessarily there during a bulk. > > > > Naturally I can't reproduce this in isolation. If get into a state where > > you can reproduce this without dpb, maybe getting more diagnostics with > > MODCABAL_BUILD_ARGS='-v' will help us figure out what goes sideways. > > Alright. I've added that and will let you know if it happens again.
This gives slightly more info. No change in the rest of the log except time stamps. ===> Building for pandoc-3.1.8 Project settings changed, reconfiguring... creating /tmp/pobj/pandoc-3.1.8/pandoc-cli-0.1.1.1/dist-newstyle creating /tmp/pobj/pandoc-3.1.8/pandoc-cli-0.1.1.1/dist-newstyle/cache The package description file /tmp/pobj/pandoc-3.1.8/appar-0.1.8/appar.cabal has warnings: /tmp/pobj/pandoc-3.1.8/appar-0.1.8/appar.cabal:20:37: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. The package description file /tmp/pobj/pandoc-3.1.8/asn1-parse-0.9.5/asn1-parse.cabal has warnings: /tmp/pobj/pandoc-3.1.8/asn1-parse-0.9.5/asn1-parse.cabal:17:34: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. /tmp/pobj/pandoc-3.1.8/asn1-parse-0.9.5/asn1-parse.cabal:19:42: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. The package description file /tmp/pobj/pandoc-3.1.8/asn1-types-0.3.4/asn1-types.cabal has warnings: /tmp/pobj/pandoc-3.1.8/asn1-types-0.3.4/asn1-types.cabal:17:34: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. The package description file /tmp/pobj/pandoc-3.1.8/base-unicode-symbols-0.2.4.2/base-unicode-symbols.cabal has warnings: /tmp/pobj/pandoc-3.1.8/base-unicode-symbols-0.2.4.2/base-unicode-symbols.cabal:59:40: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. /tmp/pobj/pandoc-3.1.8/base-unicode-symbols-0.2.4.2/base-unicode-symbols.cabal:56:40: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. /tmp/pobj/pandoc-3.1.8/base-unicode-symbols-0.2.4.2/base-unicode-symbols.cabal:52:34: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. The package description file /tmp/pobj/pandoc-3.1.8/data-default-0.7.1.1/data-default.cabal has warnings: /tmp/pobj/pandoc-3.1.8/data-default-0.7.1.1/data-default.cabal:17:33: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. The package description file /tmp/pobj/pandoc-3.1.8/data-default-class-0.1.2.0/data-default-class.cabal has warnings: /tmp/pobj/pandoc-3.1.8/data-default-class-0.1.2.0/data-default-class.cabal:17:33: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. The package description file /tmp/pobj/pandoc-3.1.8/data-default-instances-containers-0.0.1/data-default-instances-containers.cabal has warnings: /tmp/pobj/pandoc-3.1.8/data-default-instances-containers-0.0.1/data-default-instances-containers.cabal:17:33: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. The package description file /tmp/pobj/pandoc-3.1.8/data-default-instances-dlist-0.0.1/data-default-instances-dlist.cabal has warnings: /tmp/pobj/pandoc-3.1.8/data-default-instances-dlist-0.0.1/data-default-instances-dlist.cabal:17:33: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. The package description file /tmp/pobj/pandoc-3.1.8/data-default-instances-old-locale-0.0.1/data-default-instances-old-locale.cabal has warnings: /tmp/pobj/pandoc-3.1.8/data-default-instances-old-locale-0.0.1/data-default-instances-old-locale.cabal:17:33: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. The package description file /tmp/pobj/pandoc-3.1.8/safe-0.3.19/safe.cabal has warnings: /tmp/pobj/pandoc-3.1.8/safe-0.3.19/safe.cabal:1:24: Packages with 'cabal-version: 1.12' or later should specify a specific version of the Cabal spec of the form 'cabal-version: x.y'. Use 'cabal-version: 1.18'. The package description file /tmp/pobj/pandoc-3.1.8/tagsoup-0.14.8/tagsoup.cabal has warnings: /tmp/pobj/pandoc-3.1.8/tagsoup-0.14.8/tagsoup.cabal:1:24: Packages with 'cabal-version: 1.12' or later should specify a specific version of the Cabal spec of the form 'cabal-version: x.y'. Use 'cabal-version: 1.18'. The package description file /tmp/pobj/pandoc-3.1.8/uniplate-1.6.13/uniplate.cabal has warnings: /tmp/pobj/pandoc-3.1.8/uniplate-1.6.13/uniplate.cabal:1:28: Packages with 'cabal-version: 1.12' or later should specify a specific version of the Cabal spec of the form 'cabal-version: x.y'. Use 'cabal-version: 1.18'. The package description file /tmp/pobj/pandoc-3.1.8/xml-1.3.14/xml.cabal has warnings: /tmp/pobj/pandoc-3.1.8/xml-1.3.14/xml.cabal:18:32: version operators used. To use version operators the package needs to specify at least 'cabal-version: >= 1.8'. this build was affected by the following (project) config files: - /tmp/pobj/pandoc-3.1.8/pandoc-cli-0.1.1.1/cabal.project.local Compiler settings changed, reconfiguring... Running: /usr/local/bin/ghc --numeric-version looking for tool ghc-pkg near compiler in /usr/local/bin found ghc-pkg in /usr/local/bin/ghc-pkg-9.2.7 Running: /usr/local/bin/ghc-pkg-9.2.7 --version Running: /usr/local/bin/ghc --supported-languages Running: /usr/local/bin/ghc --info Running: /usr/local/bin/ghc --print-global-package-db Warning: No remote package servers have been specified. Usually you would have one specified in the config file. Running: /usr/bin/pkg-config --version Running: /usr/bin/pkg-config --variable pc_path pkg-config Running: /usr/bin/pkg-config --version Running: /usr/bin/pkg-config --list-all Failed to query pkg-config, Cabal will continue without solving for pkg-config constraints: dieVerbatim: user error (CallStack (from HasCallStack): withMetadata, called at src/Distribution/Simple/Utils.hs:368:14 in Cabal-3.10.1.0-KNis1qL4Wul5JivvGU00XF:Distribution.Simple.Utils Error: cabal: '/usr/bin/pkg-config' exited with an error: Problem reading file /usr/local/lib/pkgconfig/dcmtk.pc ) Resolving dependencies... CallStack (from HasCallStack): withMetadata, called at src/Distribution/Simple/Utils.hs:368:14 in Cabal-3.10.1.0-KNis1qL4Wul5JivvGU00XF:Distribution.Simple.Utils Error: cabal: Could not resolve dependencies: [__0] trying: digest-0.0.1.7 (user goal) [__1] rejecting: digest:+pkg-config (conflict: pkg-config package zlib-any, not found in the pkg-config database) [__1] rejecting: digest:-pkg-config (manual flag can only be changed explicitly) [__1] fail (backjumping, conflict set: digest, digest:pkg-config) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: digest (3), digest:pkg-config (3) *** Error 1 in textproc/pandoc (/usr/ports/devel/cabal/cabal.port.mk:148 'do-build': @cd /tmp/pobj/pandoc-3.1.8/pandoc-cli-0.1.1.1 && /usr/...) *** Error 2 in textproc/pandoc (/usr/ports/infrastructure/mk/bsd.port.mk:3030 '/tmp/pobj/pandoc-3.1.8/.build_done': @cd /usr/ports/textproc/...) *** Error 2 in textproc/pandoc (/usr/ports/infrastructure/mk/bsd.port.mk:2677 'build': @lock=pandoc-3.1.8; export _LOCKS_HELD=" pandoc-3.1....) ===> Exiting textproc/pandoc with an error *** Error 1 in /usr/ports (infrastructure/mk/bsd.port.subdir.mk:137 'build': @: ${echo_msg:=echo}; : ${target:=build}; for i in ; do eval...) >>> Ended at 1696638561.26 max_stuck=0.00/depends=1.23/show-prepare-results=0.91/junk=0.93/patch=7.86/configure=0.53/build=11.77 Error: job failed with 512 on localhost at 1696638561