Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912888 - dev-lang/erlang-26.0 - odbcserver.c:(.text+<snip>): undefined reference to ei_x_encode_tuple_header
Summary: dev-lang/erlang-26.0 - odbcserver.c:(.text+<snip>): undefined reference to ei...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jonathan Davies
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-08-23 18:58 UTC by Toralf Förster
Modified: 2023-10-11 05:45 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.38 KB, text/plain)
2023-08-23 18:58 UTC, Toralf Förster
Details
dev-lang:erlang-26.0:20230823-100015.log.xz (dev-lang:erlang-26.0:20230823-100015.log.xz,38.23 KB, application/x-xz)
2023-08-23 18:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,144.80 KB, text/plain)
2023-08-23 18:58 UTC, Toralf Förster
Details
environment (environment,148.65 KB, text/plain)
2023-08-23 18:58 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-08-23 18:58 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,17.80 KB, application/x-xz)
2023-08-23 18:58 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,44.04 KB, application/x-xz)
2023-08-23 18:58 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,69.16 KB, application/x-xz)
2023-08-23 18:58 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-08-23 18:58:17 UTC
too long lines were shrinked:

make[3]: Entering directory '/var/tmp/portage/dev-lang/erlang-26.0/work/otp-OTP-26.0/lib/odbc/c_src'
make -f x86_64-pc-linux-gnu/Makefile TYPE=opt
make[4]: Entering directory '/var/tmp/portage/dev-lang/erlang-26.0/work/otp-OTP-26.0/lib/odbc/c_src'
x86_64-pc-linux-gnu-gcc  -Werror=return-type -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing  -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\
x86_64-pc-linux-gnu-gcc  -Werror=return-type -O2 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing  -D_THREAD_SAFE -D_REENTRANT -DPOSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: ../priv/obj/x86_64-pc-linux-gnu/odbcserver.o: in function `encode_column_dyn':
odbcserver.c:(.text+0x737): undefined reference to `ei_x_encode_tuple_header'
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: odbcserver.c:(.text+0x744): undefined reference to `ei_x_encode_tuple_header'
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: odbcserver.c:(.text+0x751): undefined reference to `ei_x_encode_ulong'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_desktop_gnome_systemd-20230820-171503

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.71.1 *
GENTOO_VM=  CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm"
JAVACFLAGS="" COMPILER=""
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit ef05b2819cba9a3ab79e7061f53d528e9db2f2e8
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Aug 23 09:16:36 2023 +0000

    2023-08-23 09:16:35 UTC

emerge -qpvO dev-lang/erlang
[ebuild  N    ] dev-lang/erlang-26.0  USE="kpoll ssl systemd -doc -emacs -java -odbc -sctp -tk -wxwidgets"
Comment 1 Toralf Förster gentoo-dev 2023-08-23 18:58:18 UTC
Created attachment 868551 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-23 18:58:19 UTC
Created attachment 868552 [details]
dev-lang:erlang-26.0:20230823-100015.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-08-23 18:58:21 UTC
Created attachment 868553 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-08-23 18:58:22 UTC
Created attachment 868554 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-08-23 18:58:23 UTC
Created attachment 868555 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-23 18:58:24 UTC
Created attachment 868556 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-23 18:58:25 UTC
Created attachment 868557 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-08-23 18:58:26 UTC
Created attachment 868558 [details]
temp.tar.xz
Comment 9 Iade Gesso 2023-10-04 21:41:30 UTC
Same error here, using stable 26.0 version.


Iade
Comment 10 Matthew Smith gentoo-dev 2023-10-05 11:56:36 UTC
Looks like a conflict with dev-libs/libei, when it tries to link with the system libei.so instead of the libei.a (erl_interface) it just built.
Comment 11 Larry the Git Cow gentoo-dev 2023-10-06 08:35:24 UTC
The bug has been referenced in the following commit(s):

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

commit d8f094e6ac766b82593ba5595be51a253c8fb4d2
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2023-10-06 08:31:40 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2023-10-06 08:32:32 +0000

    dev-lang/erlang: add dev-libs/libei blocker
    
    Bug: https://bugs.gentoo.org/912888
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 dev-lang/erlang/erlang-26.0.ebuild | 7 +++++++
 1 file changed, 7 insertions(+)
Comment 12 Larry the Git Cow gentoo-dev 2023-10-08 08:50:15 UTC
The bug has been closed via the following commit(s):

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

commit bce7a7444a6c26283002805aa19b627200813549
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2023-10-08 08:49:18 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2023-10-08 08:49:59 +0000

    dev-lang/erlang: Avoid system libei.so when building
    
    Closes: https://bugs.gentoo.org/912888
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 dev-lang/erlang/erlang-26.0.ebuild | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)