Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916186 - dev-haskell/skylighting-core-0.14 - /.../ld: .../libHSbitvec-1.1.3.0-LJdykxZvwbx4TRVEwMJgdM-ghc9.2.8.so: undefined reference to _gmpn_nior_n
Summary: dev-haskell/skylighting-core-0.14 - /.../ld: .../libHSbitvec-1.1.3.0-LJdykxZv...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-10-23 17:36 UTC by Toralf Förster
Modified: 2023-12-22 05:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.87 KB, text/plain)
2023-10-23 17:36 UTC, Toralf Förster
Details
dev-haskell:skylighting-core-0.14:20231023-171812.log (dev-haskell:skylighting-core-0.14:20231023-171812.log,13.63 KB, text/plain)
2023-10-23 17:36 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,91.50 KB, application/x-xz)
2023-10-23 17:36 UTC, Toralf Förster
Details
environment (environment,87.47 KB, text/plain)
2023-10-23 17:36 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.04 KB, application/x-xz)
2023-10-23 17:36 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,34.69 KB, application/x-xz)
2023-10-23 17:36 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,97.02 KB, application/x-xz)
2023-10-23 17:36 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,23.16 KB, application/x-xz)
2023-10-23 17:36 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-10-23 17:36:13 UTC
[10 of 11] Compiling Skylighting.Loader
[11 of 11] Compiling Skylighting.Core
Preprocessing executable 'skylighting-extract' for skylighting-core-0.14..
Building executable 'skylighting-extract' for skylighting-core-0.14..
[1 of 1] Compiling Main
Linking dist/build/skylighting-extract/skylighting-extract ...
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/x86_64-linux-ghc-9.2.8/libHSbitvec-1.1.3.0-LJdykxZvwbx4TRVEwMJgdM-ghc9.2.8.so: undefined reference to `__gmpn_nior_n'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/x86_64-linux-ghc-9.2.8/libHSbitvec-1.1.3.0-LJdykxZvwbx4TRVEwMJgdM-ghc9.2.8.so: undefined reference to `__gmpn_xnor_n'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib64/x86_64-linux-ghc-9.2.8/libHSbitvec-1.1.3.0-LJdykxZvwbx4TRVEwMJgdM-ghc9.2.8.so: undefined reference to `__gmpn_com'

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-20231016-181026

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.3
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.3
Python 3.11.6
Available Rust versions:
  [1]   rust-1.73.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.3 linux/amd64

  HEAD of ::gentoo
commit d55c45f7283b1adcf8a4bf76aa05a3fd21aa12aa
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 23 14:16:58 2023 +0000

    2023-10-23 14:16:58 UTC

emerge -qpvO dev-haskell/skylighting-core
[ebuild  N    ] dev-haskell/skylighting-core-0.14  USE="doc executable hscolour -profile -test"
Comment 1 Toralf Förster gentoo-dev 2023-10-23 17:36:14 UTC
Created attachment 873326 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-10-23 17:36:15 UTC
Created attachment 873327 [details]
dev-haskell:skylighting-core-0.14:20231023-171812.log
Comment 3 Toralf Förster gentoo-dev 2023-10-23 17:36:16 UTC
Created attachment 873328 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2023-10-23 17:36:17 UTC
Created attachment 873329 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-10-23 17:36:18 UTC
Created attachment 873330 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-10-23 17:36:19 UTC
Created attachment 873331 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-10-23 17:36:20 UTC
Created attachment 873332 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-10-23 17:36:21 UTC
Created attachment 873333 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2023-12-22 05:07:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24e3e1afaca561d90238c5a94d5f5af7d401e840

commit 24e3e1afaca561d90238c5a94d5f5af7d401e840
Author:     hololeap <hololeap@protonmail.com>
AuthorDate: 2023-12-04 20:14:01 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-12-22 05:05:41 +0000

    dev-haskell/vector-algorithms: Require gmp source
    
    It appears that vector-algorithms implicitly depends on gmp either via
    ghc or the bitvec package. If neither source for gmp is available,
    packages in vector-algorithm's reverse dependency tree may run into
    linker errors during compile time:
    
        libHSbitvec-1.1.3.0-*.so: undefined symbol: __gmpn_popcount
    
    Closes: https://bugs.gentoo.org/917291
    Closes: https://bugs.gentoo.org/917267
    Closes: https://bugs.gentoo.org/916208
    Closes: https://bugs.gentoo.org/916191
    Closes: https://bugs.gentoo.org/916186
    Closes: https://bugs.gentoo.org/916183
    Closes: https://bugs.gentoo.org/920461
    Signed-off-by: hololeap <hololeap@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/34391
    Signed-off-by: Sam James <sam@gentoo.org>

 ...rithms-0.9.0.1.ebuild => vector-algorithms-0.9.0.1-r1.ebuild} | 9 +++++++++
 1 file changed, 9 insertions(+)