Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 925199

Summary: dev-libs/libpqxx-7.7.5 - rmlo.cxx:(<snip>) undefined reference to pqxx::internal::begin_cmd<(pqxx::isolation_level)0, (pqxx::write_policy)1>
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: PgSQL Bugs <pgsql-bugs>
Status: CONFIRMED ---    
Severity: normal CC: jy6x2b32pie9
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-libs:libpqxx-7.7.5:20240221-033730.log
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-02-21 18:31:01 UTC
too long lines were shrinked:

/bin/sh ../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -O3 -pipe -march=native -fno-diagnostics-color -fvisibility=hidden -fvisibility-inlines-hidden  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/lib64/postgresql-16/lib64 -o pqxxthreadsafety pqxxthreadsafety.o
libtool: link: x86_64-pc-linux-gnu-g++ -O3 -pipe -march=native -fno-diagnostics-color -fvisibility=hidden -fvisibility-inlines-hidden -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/pqxxthreadsafety pqxxthreadsafety.o  -L/usr/lib64/postgresql-16/lib64 ../src/.libs/libpqxx.so
/bin/sh ../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++  -O3 -pipe -march=native -fno-diagnostics-color -fvisibility=hidden -fvisibility-inlines-hidden  -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L/usr/lib64/postgresql-16/lib64 -o rmlo rmlo.o ../src/libpqxx.la  -lpq
libtool: link: x86_64-pc-linux-gnu-g++ -O3 -pipe -march=native -fno-diagnostics-color -fvisibility=hidden -fvisibility-inlines-hidden -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o .libs/rmlo rmlo.o  -L/usr/lib64/postgresql-16/lib64 ../src/.libs/libpqxx.so -lpq
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: rmlo.o: warning: relocation against `_ZN4pqxx8internal9begin_cmdILNS_15isolation_levelE0ELNS_12write_policyE1EEE' in read-only section `.text.startup'
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: rmlo.o: in function `main':
rmlo.cxx:(.text.startup+0xd9): undefined reference to `pqxx::internal::begin_cmd<(pqxx::isolation_level)0, (pqxx::write_policy)1>'
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: rmlo.cxx:(.text.startup+0xe6): undefined reference to `pqxx::internal::begin_cmd<(pqxx::isolation_level)0, (pqxx::write_policy)1>'
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: warning: creating DT_TEXTREL in a PIE

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20240210-104503

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
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.6
Python 3.11.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.75.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit c7ee2668e1c99a6169c6df52246a8c43f7ecbf57
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Feb 21 02:34:06 2024 +0000

    2024-02-21 02:34:05 UTC

emerge -qpvO dev-libs/libpqxx
[ebuild  N    ] dev-libs/libpqxx-7.7.5  USE="-doc -static-libs"
Comment 1 Toralf Förster gentoo-dev 2024-02-21 18:31:02 UTC
Created attachment 885649 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-02-21 18:31:03 UTC
Created attachment 885650 [details]
dev-libs:libpqxx-7.7.5:20240221-033730.log
Comment 3 Toralf Förster gentoo-dev 2024-02-21 18:31:04 UTC
Created attachment 885651 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-02-21 18:31:06 UTC
Created attachment 885652 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-02-21 18:31:06 UTC
Created attachment 885653 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-02-21 18:31:07 UTC
Created attachment 885654 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-02-21 18:31:08 UTC
Created attachment 885655 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-02-21 18:31:09 UTC
Created attachment 885656 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-02-21 18:31:10 UTC
Created attachment 885657 [details]
temp.tar.xz
Comment 10 NHO 2024-05-09 14:52:10 UTC
Upstream version is 7.9.0.
I can't reproduce this bug with our in-tree 7.7.5