Created attachment 772037 [details] build.log while trying to emerge cabal-install, building hackage-security fails due to a linking failure. build.log and output of emerge --info: see attachment. output of emerge -pqv: emerge -pqv hackage-security [ebuild N ] dev-haskell/hackage-security-0.6.0.1-r1 USE="lukko -doc -hscolour -profile -test"
Created attachment 772040 [details] output emerge --info
Anyone caring about this issue? Pretty annoying when you can't run cabal... I want to use today the csv-conduit package, which is not available in general gentoo repo or haskell-gentoo overlay when I would have cabal available, I would have simply installed it via cabal and not having being confronted with the intermediary gentoo repos not featuring this package.... I am going to update my system which will take hours or days with probably the same result that this issue prevents me from installing cabal and in the meantime I am blocked in doing my work... again, a very annoying issue...
(In reply to Didier Colle from comment #2) > Anyone caring about this issue? > Pretty annoying when you can't run cabal... > I want to use today the csv-conduit package, which is not available in > general gentoo repo or haskell-gentoo overlay > when I would have cabal available, I would have simply installed it via > cabal and not having being confronted with the intermediary gentoo repos not > featuring this package.... > I am going to update my system which will take hours or days with probably > the same result that this issue prevents me from installing cabal and in the > meantime I am blocked in doing my work... > again, a very annoying issue... The version of hackage-security you had issues with no longer is in the ::gentoo repo. hackage-security-0.6.1.0 should work perfectly with cabal-install-3.4.1.0. If you are having trouble upgrading to ghc-9.0.2, cabal-3.4.1.0, cabal-install-3.4.1.0 etc, let me know. Also, do let me know if this is no longer an issue for you.
Problem is still there: linking failure during emerge of hackage-security. The hackage-security version has indeed changed from 0.6.0.1 to 0.6.1.0; the problem nevertheless still exists. I updated my system with emerge -qauDN --with-bdeps=y @world (against a portage tree of 2 or 3 days old) and emerge -c; as haskell-updater resulting in nothing to rebuild, i did a haskell-updater --all. The problem however unfortunately is still there.... I did not try emerging different versions of cabal-install, as hackage-security is a dependency of cabal-install and the root cause problem is with hackage-security; as such, portage never comes to emerging cabal-install; and as 0.6.1.0 is the only hackage-security available, portage will always try emerging that version. > dcolle@localhost ~ $ find /usr/portage/dev-haskell/hackage-security/ -name "*.ebuild" > /usr/portage/dev-haskell/hackage-security/hackage-security-0.6.1.0.ebuild > dcolle@localhost ~ $ find /var/db/repos/haskell/dev-haskell/hackage-security/ -name "*.ebuild" > /var/db/repos/haskell/dev-haskell/hackage-security/hackage-security-0.6.1.0.ebuild The first undefined reference in the build.log is: > /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/11.2.1/../../../../lib64/crt1.o: in function `_start': > (.text+0x17): undefined reference to `main' Does that somehow imply an executable was not compiled (Main module of hackage-security), despite the linker is told to put one together?
Please share the new build.log and emerge --info.
(We might also need qlist -ICv dev-haskell)
Created attachment 797095 [details] new build.log (aug 2nd)
Created attachment 797098 [details] new output emerge --info (Aug 2nd)
dcolle@localhost ~ $ qlist -ICv dev-haskell dev-haskell/async-2.2.4-r1 dev-haskell/attoparsec-0.14.4 dev-haskell/base-orphans-0.8.6 dev-haskell/base16-bytestring-1.0.2.0 dev-haskell/base64-bytestring-1.2.1.0 dev-haskell/cabal-3.4.1.0 dev-haskell/cabal-doctest-1.0.9 dev-haskell/cassava-0.5.2.0-r1 dev-haskell/conduit-1.3.4.2 dev-haskell/conduit-extra-1.3.6 dev-haskell/cryptohash-sha256-0.11.102.0 dev-haskell/ed25519-0.0.5.0 dev-haskell/exceptions-0.10.4-r1 dev-haskell/fail-4.9.0.0 dev-haskell/hashable-1.4.0.2 dev-haskell/integer-logarithms-1.0.3.1-r1 dev-haskell/lukko-0.1.1.3 dev-haskell/mono-traversable-1.0.15.3 dev-haskell/mtl-2.2.2 dev-haskell/network-3.1.2.5 dev-haskell/network-uri-2.6.4.1 dev-haskell/only-0.1 dev-haskell/parsec-3.1.14.0-r1 dev-haskell/primitive-0.7.3.0 dev-haskell/random-1.2.1.1 dev-haskell/resourcet-1.2.6 dev-haskell/scientific-0.3.7.0-r1 dev-haskell/split-0.2.3.4 dev-haskell/splitmix-0.1.0.3 dev-haskell/stm-2.5.0.1 dev-haskell/streaming-commons-0.2.2.4 dev-haskell/tagged-0.8.6.1 dev-haskell/tar-0.5.1.1-r2 dev-haskell/text-1.2.5.0 dev-haskell/text-short-0.1.5 dev-haskell/th-compat-0.1.3 dev-haskell/transformers-0.5.6.2 dev-haskell/transformers-compat-0.6.6 dev-haskell/typed-process-0.2.9.0 dev-haskell/unliftio-core-0.2.0.1 dev-haskell/unordered-containers-0.2.17.0 dev-haskell/vector-0.12.3.1-r1 dev-haskell/vector-algorithms-0.8.0.4 dev-haskell/zlib-0.6.2.3