Created attachment 575454 [details] emerge --info pandoc I have two haskell packages, which fail to rebuild after upgrade to glibc-2.27 from glibc-2.26. =app-text/pandoc-1.19.2.1-r1::gentoo Linking dist/build/pandoc/pandoc ... /usr/lib64/x86_64-linux-ghc-8.0.2/libHSunix-compat-0.4.1.3-DFX6G0Mjoz42Uy7ge5YAY-ghc8.0.2.so: undefined reference to `major' /usr/lib64/x86_64-linux-ghc-8.0.2/libHSunix-compat-0.4.1.3-DFX6G0Mjoz42Uy7ge5YAY-ghc8.0.2.so: undefined reference to `makedev' /usr/lib64/x86_64-linux-ghc-8.0.2/libHSunix-compat-0.4.1.3-DFX6G0Mjoz42Uy7ge5YAY-ghc8.0.2.so: undefined reference to `minor' collect2: error: ld returned 1 exit status =dev-vcs/darcs-2.12.5::gentoo Linking dist/build/darcs/darcs ... /usr/lib64/x86_64-linux-ghc-8.0.2/libHSunix-compat-0.4.1.3-DFX6G0Mjoz42Uy7ge5YAY-ghc8.0.2.so: undefined reference to `major' /usr/lib64/x86_64-linux-ghc-8.0.2/libHSunix-compat-0.4.1.3-DFX6G0Mjoz42Uy7ge5YAY-ghc8.0.2.so: undefined reference to `makedev' /usr/lib64/x86_64-linux-ghc-8.0.2/libHSunix-compat-0.4.1.3-DFX6G0Mjoz42Uy7ge5YAY-ghc8.0.2.so: undefined reference to `minor' collect2: error: ld returned 1 exit status First time I encountered it at darcs, during world rebuild. I tried to fix it with haskell-updater, but it seems useless (these two were at the end of emerge list). When I tried to find more packages, linking with libHSunix-compat: # revdep-rebuild --library '/usr/lib64/x86_64-linux-ghc-8.0.2/libHSunix-compat-0.4.1.3-DFX6G0Mjoz42Uy7ge5YAY-ghc8.0.2.so' -- -av1 It gave only this libs, which rebuilds ok: dev-haskell/filemanip:0/0.3.6.3
I could not find anything about this bug, besides this, which seems similar: https://www.bountysource.com/issues/67854359-ftbfs-stack-for-glibc
Thank you for the report. Please recompile and *attach* the logfiles and paste the emerge info as described on https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket The logs must be part of the ticket, but not on external websites. We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks. Please reopen this ticket (Status:unconfirmed) afterwards. Please write the full package name in the summary.
Created attachment 575474 [details] pandoc build log Here is it. This issue affects two packages with same problem. To satisfy some requirements I changed name to mention only certain affected package (pandoc) and added its uncut build log (initial post already showes striped useful part from build logs for both pandoc and darcs). "emerge --info pandoc" output was presented from start.
Sorry for initial flooding of thread with build log, but I assumed it enough compact for that, yet other part appeared redundant from my POV (tends to be wrong).
Must be a fallout of glibc-2.28. We'll need to stable compatible version. Try =dev-haskell/unix-compat-0.4.3.1 and see if it works for you.
Yes, with unix-compat-0.4.3.1 all 3 dependants are built without troubles. Btw, pandoc seems lacking unix-compat in dependencies, while really it depends.
Arches, please stabilize =dev-haskell/unix-compat-0.4.3.1 for the following KEYWORDS: KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
I guess this needs bug 631138? I'm not able to get any ghc building on sparc, so don't expect any progress there.
amd64 stable
x86 stable
ppc64 stable
ppc stable
sparc stable
ia64 will pass. See https://archives.gentoo.org/gentoo-dev/message/edaadc85d7423810dd6ecfeda29cc85f
Resetting sanity check; keywords are not fully specified and arches are not CC-ed.
This has actually been destabilised since in https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d8a56a490892199abc775af31e2b94840cfe404.