[240 of 240] Compiling Darcs.UI.Commands.Help ( src/Darcs/UI/Commands/Help.hs, dist/build/Darcs/UI/Commands/Help.o ) src/hscurl.c:50:12: error: error: expected ‘,’ or ‘;’ before ‘PACKAGE_VERSION’ 50 | "darcs/" PACKAGE_VERSION " libcurl/" LIBCURL_VERSION; | ^~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_no-multilib-libressl-20200812-045757 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-7.3.1 [2] x86_64-pc-linux-gnu-10.2.0 * clang version 10.0.1 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.1 Available Python interpreters, in order of preference: [1] python3.7 [2] python3.9 (fallback) [3] python3.8 (fallback) [4] python3.6 (fallback) [5] python2.7 (fallback) Available Ruby profiles: [1] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.45.2 * The following VMs are available for generation-2: The Glorious Glasgow Haskell Compilation System, version 8.8.4 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Sat Aug 15 09:05:45 AM UTC 2020 /var/db/repos/libressl Mon Aug 10 09:13:35 AM UTC 2020 emerge -qpvO dev-vcs/darcs [ebuild N ] dev-vcs/darcs-2.16.1 USE="curl hscolour terminfo threaded -doc -profile -test"
Created attachment 654754 [details] emerge-info.txt
Created attachment 654756 [details] dev-vcs:darcs-2.16.1:20200815-101757.log
Created attachment 654758 [details] emerge-history.txt
Created attachment 654760 [details] environment
Created attachment 654762 [details] etc.portage.tbz2
Created attachment 654764 [details] temp.tbz2
It's probably a Cabal-3 change. Should use CURRENT_PACKAGE_VERSION: """ $ fgrep -R PACKAGE_VERSION . ./dist/build/autogen/cabal_macros.h:#ifndef CURRENT_PACKAGE_VERSION ./dist/build/autogen/cabal_macros.h:#define CURRENT_PACKAGE_VERSION "2.16.1" ./dist/build/autogen/cabal_macros.h:#endif /* CURRENT_PACKAGE_VERSION */ ./src/hscurl.c: "darcs/" PACKAGE_VERSION " libcurl/" LIBCURL_VERSION; ./CHANGELOG: * 1824: avoid PACKAGE_VERSION under Windows """
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21bdeddb28b45dc1f9ca0c09496136f99c116d1b commit 21bdeddb28b45dc1f9ca0c09496136f99c116d1b Author: Sergei Trofimovich <slyfox@gentoo.org> AuthorDate: 2020-08-15 20:15:00 +0000 Commit: Sergei Trofimovich <slyfox@gentoo.org> CommitDate: 2020-08-15 20:15:00 +0000 dev-vcs/darcs: fix PACKAG_VERSION definition Reported-by: Toralf Förster Closes: https://bugs.gentoo.org/737236 Package-Manager: Portage-3.0.2, Repoman-2.3.23 Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> dev-vcs/darcs/darcs-2.16.1.ebuild | 2 ++ dev-vcs/darcs/files/darcs-2.16.1-curl.patch | 25 +++++++++++++++++++++++++ 2 files changed, 27 insertions(+)