[MacPorts] #69492: Pandoc can't be upgraded due to cabal @3.10.2.0_2 failing to destroot… again

MacPorts noreply at macports.org
Wed Mar 13 15:24:40 UTC 2024


#69492: Pandoc can't be upgraded due to cabal @3.10.2.0_2 failing to destroot…
again
---------------------+--------------------
 Reporter:  Gandoon  |      Owner:  (none)
     Type:  defect   |     Status:  new
 Priority:  Normal   |  Milestone:
Component:  ports    |    Version:  2.9.1
 Keywords:           |       Port:  cabal
---------------------+--------------------
 I tried to upgrade `pandoc` which depends on `cabal`. I am building from
 source. As previously, the failing `cabal` build prevents successful
 upgrade of `pandoc`. I ran into proplems earlier, see #68957, which could
 be solved by a tweak to the portfile. However, that tweak is now
 incorporated in the distributed portfile. I am unsure what is the issue
 this time as the problem occurs during the destroot stage. I have tried
 various standard tweaks to `macports.conf`, such as turning off `ccache`,
 forcing the current architecture, and changing archive format (despite the
 previous versions were just fine with `xz`). None of the above worked. A
 little snippet of the final output of the `port -v upgrade pandoc` is
 included below. Note that this happens during the `cabal` build, and that
 I am on MacOS 10.15.7.
 {{{
 Building     network-3.1.4.0 (all, legacy fallback)
 Haddock      ed25519-0.0.5.0 (lib)
 Haddock      network-3.1.4.0 (all, legacy fallback)
 Haddock      Cabal-syntax-3.10.2.0 (lib)
 Warning: Failed to build documentation for Cabal-syntax-3.10.2.0 (which is
 required by exe:cabal from cabal-install-3.10.2.0).
 Failed to build documentation for base16-bytestring-1.0.2.0 (which is
 required
 by exe:cabal from cabal-install-3.10.2.0).
 Failed to build documentation for base64-bytestring-1.2.1.0 (which is
 required
 by exe:cabal from cabal-install-3.10.2.0).
 Failed to build documentation for echo-0.1.4 (which is required by
 exe:cabal
 from cabal-install-3.10.2.0).
 Failed to build documentation for cryptohash-sha256-0.11.102.1 (which is
 required by exe:cabal from cabal-install-3.10.2.0).
 Failed to build documentation for ed25519-0.0.5.0 (which is required by
 exe:cabal from cabal-install-3.10.2.0).
 Failed to build documentation for hashable-1.4.3.0 (which is required by
 exe:cabal from cabal-install-3.10.2.0).
 Failed to build documentation for lukko-0.1.1.3 (which is required by
 exe:cabal from cabal-install-3.10.2.0).
 Failed to build documentation for network-3.1.4.0 (which is required by
 exe:cabal from cabal-install-3.10.2.0).
 Copying 'cabal' to
 '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_cabal/cabal/work/destroot/opt/local/bin/cabal'
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_cabal/cabal/work/.home/.cabal/store/ghc-9.6.4
 /cbl-nstll-3.10.2.0-821e1dc5/bin/cabal:
 copyFile:atomicCopyFileContents:withReplacementFile:copyFileToHandle:withBinaryFile:
 does not exist (No such file or directory)
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_cabal/cabal/work/cabal-3.10.2.0"
 && /opt/local/bin/cabal-prebuilt --config-
 file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_cabal/cabal/work/.home/.cabal/config
 install cabal-install --project-file=cabal.project.release -j8
 --builddir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_cabal/cabal/work/dist
 --installdir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_cabal/cabal/work/destroot/opt/local/bin
 --install-method=copy --enable-relocatable --overwrite-policy=always
 Exit code: 1
 Error: Failed to destroot cabal: command execution failed
 Error: See
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_cabal/cabal/main.log
 for details.
 Error: Problem while installing cabal
 Error: Follow https://guide.macports.org/#project.tickets if you believe
 there is a bug.
 }}}
 Any suggestions?
 Logfile attached.

-- 
Ticket URL: <https://trac.macports.org/ticket/69492>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list