Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 876947 - dev-db/postgresql-14.5 - make: [Makefile:<snip>: install-xml2-recurse] Error 2
Summary: dev-db/postgresql-14.5 - make: [Makefile:<snip>: install-xml2-recurse] Error 2
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-13 08:05 UTC by Toralf Förster
Modified: 2022-10-13 11:10 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.27 KB, text/plain)
2022-10-13 08:05 UTC, Toralf Förster
Details
clang.tar.bz2 (clang.tar.bz2,5.87 KB, application/x-bzip)
2022-10-13 08:05 UTC, Toralf Förster
Details
dev-db:postgresql-14.5:20221013-043055.log.bz2 (dev-db:postgresql-14.5:20221013-043055.log.bz2,16.03 KB, application/x-bzip)
2022-10-13 08:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,68.64 KB, text/plain)
2022-10-13 08:05 UTC, Toralf Förster
Details
environment (environment,158.29 KB, text/plain)
2022-10-13 08:05 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,13.96 KB, application/x-bzip)
2022-10-13 08:05 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,24.41 KB, application/x-bzip)
2022-10-13 08:05 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,55.75 KB, application/x-bzip)
2022-10-13 08:05 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 2022-10-13 08:05:17 UTC
#12 0x00007effc4371385 __libc_start_main (/lib64/libc.so.6+0x23385)
#13 0x0000556af597ad11 (/usr/lib/llvm/14/bin/llvm-lto+0xad11)
make[1]: *** [../../src/makefiles/pgxs.mk:238: install] Aborted
make[1]: Leaving directory '/var/tmp/portage/dev-db/postgresql-14.5/work/postgresql-14.5/contrib/xml2'
make: *** [Makefile:46: install-xml2-recurse] Error 2
make: *** Waiting for unfinished jobs....
 #0 0x00007f4f4ae86923 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/lib/llvm/14/bin/../lib64/libLLVM-14.so+0xc6c923)

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.8
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [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.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 366278c2d45bcba21be170f51d966adece32a0b4
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 13 02:18:59 2022 +0000

    2022-10-13 02:18:58 UTC

emerge -qpvO dev-db/postgresql
[ebuild  N    ] dev-db/postgresql-14.5  USE="icu llvm nls pam readline ssl uuid xml zlib -debug -doc -kerberos -ldap -lz4 -perl -python (-selinux) -server -static-libs -systemd -tcl -threads" PYTHON_SINGLE_TARGET="python3_10 -python3_8 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-10-13 08:05:18 UTC
Created attachment 823777 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-13 08:05:19 UTC
Created attachment 823779 [details]
clang.tar.bz2
Comment 3 Toralf Förster gentoo-dev 2022-10-13 08:05:20 UTC
Created attachment 823781 [details]
dev-db:postgresql-14.5:20221013-043055.log.bz2
Comment 4 Toralf Förster gentoo-dev 2022-10-13 08:05:22 UTC
Created attachment 823783 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2022-10-13 08:05:23 UTC
Created attachment 823785 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2022-10-13 08:05:24 UTC
Created attachment 823787 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-13 08:05:25 UTC
Created attachment 823789 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-10-13 08:05:27 UTC
Created attachment 823791 [details]
temp.tar.bz2
Comment 9 Patrick Lauer gentoo-dev 2022-10-13 08:17:10 UTC
LLVM ERROR: ThinLTO cannot create input file: Opaque pointers are only supported in -opaque-pointers mode (Producer: 'LLVM15.0
.2' Reader: 'LLVM 14.0.6')
PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
Stack dump:
0.      Program arguments: /usr/lib/llvm/14/bin/llvm-lto -thinlto -thinlto-action=thinlink -o uuid-ossp.index.bc uuid-ossp/uui
d-ossp.bc



This looks like crosstalk between llvm-14 and -15.
Since postgres[llvm] does not yet compile with llvm-15 (next release should have the patches for that) this is currently very tricky to fix