Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 943204 - dev-libs/libxml2-2.12.8 - [meson] [libtool] /.../ld: ./.../libxml2.so: undefined reference to ucnv_open
Summary: dev-libs/libxml2-2.12.8 - [meson] [libtool] /.../ld: ./.../libxml2.so: undefi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-10 22:09 UTC by Toralf Förster
Modified: 2024-11-10 22:44 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.00 KB, text/plain)
2024-11-10 22:09 UTC, Toralf Förster
Details
dev-libs:libxml2-2.12.8:20241110-211811.log (dev-libs:libxml2-2.12.8:20241110-211811.log,88.10 KB, text/plain)
2024-11-10 22:09 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,66.53 KB, text/plain)
2024-11-10 22:09 UTC, Toralf Förster
Details
environment (environment,138.29 KB, text/plain)
2024-11-10 22:09 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.19 KB, application/x-xz)
2024-11-10 22:09 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,14.96 KB, application/x-xz)
2024-11-10 22:09 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,18.43 KB, application/x-xz)
2024-11-10 22:09 UTC, Toralf Förster
Details
qlist-info.txt (qlist-info.txt,148.91 KB, text/plain)
2024-11-10 22:09 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.28 KB, application/x-xz)
2024-11-10 22:09 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 2024-11-10 22:09:06 UTC
too long lines were shrinked:

libtool: link: (cd ".libs" && rm -f "libxml2.so" && ln -s "libxml2.so.2.12.8" "libxml2.so")
libtool: link: ( cd ".libs" && rm -f "libxml2.la" && ln -s "../libxml2.la" "libxml2.la" )
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libxml2-2.12.8/work/libxml2-2.12.8-abi_x86_64.amd64'
make[2]: Entering directory '/var/tmp/portage/dev-libs/libxml2-2.12.8/work/libxml2-2.12.8-abi_x86_64.amd64'
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc -pedantic -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -Wno-format-extra-args   -O2 -pipe -march=native -fno-diagnostics-color  -Wl,-O1 -Wl,--as-needed -Wl
libtool: link: x86_64-pc-linux-gnu-gcc -pedantic -Wall -Wextra -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wno-long-long -Wno-format-extra-args -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,-z -Wl,pack-relative-relocs -Wl,--defsym=__ge
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libxml2.so: undefined reference to `ucnv_open'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libxml2.so: undefined reference to `UCNV_TO_U_CALLBACK_STOP'
/usr/lib/gcc/x86_64-pc-linux-gnu/14/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/libxml2.so: undefined reference to `UCNV_FROM_U_CALLBACK_STOP'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_systemd-20241109-201002

  UNMASKED:
    Please re-assign to ztrawhcse@ if you cannot reproduced it with regular meson.
  <dev-build/meson-9999

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 19.1.3
llvm-config: 19.1.3
Python 3.12.7
go version go1.23.2 linux/amd64
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.82.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.13_p11 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.5_p11 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.432_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit 37c4341ad6c353f9b26403b9aa9b86fbac5d8918
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Nov 10 20:48:26 2024 +0000

    2024-11-10 20:48:26 UTC

emerge -qpvO =dev-libs/libxml2-2.12.8
Comment 1 Toralf Förster gentoo-dev 2024-11-10 22:09:07 UTC
Created attachment 908420 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-11-10 22:09:08 UTC
Created attachment 908421 [details]
dev-libs:libxml2-2.12.8:20241110-211811.log
Comment 3 Toralf Förster gentoo-dev 2024-11-10 22:09:09 UTC
Created attachment 908422 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-11-10 22:09:11 UTC
Created attachment 908423 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-11-10 22:09:11 UTC
Created attachment 908424 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-11-10 22:09:12 UTC
Created attachment 908425 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-11-10 22:09:13 UTC
Created attachment 908426 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-11-10 22:09:14 UTC
Created attachment 908427 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2024-11-10 22:09:16 UTC
Created attachment 908428 [details]
temp.tar.xz
Comment 10 Stefan Springer 2024-11-10 22:43:24 UTC
I am experiencing the same issue. Downgrading dev-libs/icu to 75.1 by masking 76.1 allows me to compile libxml2 again.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-11-10 22:44:21 UTC
This is fixed in 2.12.9 but also with:

commit 5de097998a3ed84e9af43fce547aa143b5e61c14
Author: Sam James <sam@gentoo.org>
Date:   Sun Nov 10 21:17:11 2024 +0000

    dev-libs/icu: undo Requires change in .pc file

    Undo change for now which exposes underlinking in consumers;
    revisit when things are a bit quieter and tinderbox its removal.

    Things are quite hectic atm with slotted Rust and so on, and don't
    really have the energy to handle fallout from the change.

    Closes: https://bugs.gentoo.org/943201
    Closes: https://bugs.gentoo.org/943200
    Signed-off-by: Sam James <sam@gentoo.org>