Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 916208 - x11-misc/xmobar-0.46 - /.../ld: .../libHSbitvec-1.1.3.0-LJdykxZvwbx4TRVEwMJgdM-ghc9.2.8.so: undefined reference to _gmpn_nior_n
Summary: x11-misc/xmobar-0.46 - /.../ld: .../libHSbitvec-1.1.3.0-LJdykxZvwbx4TRVEwMJgd...
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-24 08:00 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-24 08:00 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,93.75 KB, application/x-xz)
2023-10-24 08:00 UTC, Toralf Förster
Details
environment (environment,90.36 KB, text/plain)
2023-10-24 08:00 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.04 KB, application/x-xz)
2023-10-24 08:00 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,37.08 KB, application/x-xz)
2023-10-24 08:00 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,98.92 KB, application/x-xz)
2023-10-24 08:00 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,26.79 KB, application/x-xz)
2023-10-24 08:00 UTC, Toralf Förster
Details
x11-misc:xmobar-0.46:20231024-004902.log (x11-misc:xmobar-0.46:20231024-004902.log,39.17 KB, text/plain)
2023-10-24 08:00 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-24 08:00:32 UTC
too long lines were shrinked:

[102 of 103] Compiling Xmobar.App.Main  ( src/Xmobar/App/Main.hs, dist/build/Xmobar/App/Main.o, dist/build/Xmobar/App/Main.dyn_o )
[103 of 103] Compiling Xmobar           ( src/Xmobar.hs, dist/build/Xmobar.o, dist/build/Xmobar.dyn_o )
Preprocessing executable 'xmobar' for xmobar-0.46..
Building executable 'xmobar' for xmobar-0.46..
[1 of 1] Compiling Main             ( app/Main.hs, dist/build/xmobar/xmobar-tmp/Main.dyn_o )
Linking dist/build/xmobar/xmobar ...
/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_com'
/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_xor_n'

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

  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 94fc822a01c40e65fcaf09c348f069eb1cb38dbc
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 23 23:16:57 2023 +0000

    2023-10-23 23:16:56 UTC

emerge -qpvO x11-misc/xmobar
[ebuild  N    ] x11-misc/xmobar-0.46  USE="alsa dbus doc hscolour rtsopts weather xpm xrender -datezone -mpd -mpris -profile -test -uvmeter -wifi"
Comment 1 Toralf Förster gentoo-dev 2023-10-24 08:00:33 UTC
Created attachment 873395 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-10-24 08:00:35 UTC
Created attachment 873396 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-10-24 08:00:36 UTC
Created attachment 873397 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-10-24 08:00:37 UTC
Created attachment 873398 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-10-24 08:00:38 UTC
Created attachment 873399 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-10-24 08:00:39 UTC
Created attachment 873400 [details]
qlist-info.txt.xz
Comment 7 Toralf Förster gentoo-dev 2023-10-24 08:00:40 UTC
Created attachment 873401 [details]
temp.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-10-24 08:00:41 UTC
Created attachment 873402 [details]
x11-misc:xmobar-0.46:20231024-004902.log
Comment 9 Larry the Git Cow gentoo-dev 2023-12-22 05:07:38 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(+)