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

Bug 713446

Summary: sys-process/procenv-0.51 : procenv.c:(.text.get_major_minor+<snip>): undefined reference to major
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: CONFIRMED ---    
Severity: normal CC: maintainer-needed
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sys-process:procenv-0.51:20200319-104227.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-19 11:23:38 UTC
x86_64-gentoo-linux-musl-gcc -pedantic -std=gnu99 -Wall -Wunused -Wformat  -fdata-sections -ffunction-sections -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wl,--gc-sections -Wl,-O1 -Wl,--as-needed -o procenv procenv-procenv.o procenv-pr_list.o procenv-pstring.o procenv-string-util.o procenv-output.o procenv-util.o platform/procenv-platform-generic.o  platform/linux/procenv-platform.o        -lapparmor -lcap 
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: procenv-procenv.o: in function get_major_minor:
procenv.c:(.text.get_major_minor+0x4c): undefined reference to major
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: procenv.c:(.text.get_major_minor+0x5a): undefined reference to minor
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: procenv-procenv.o: in function show_stat:
procenv.c:(.text.show_stat+0xc8): undefined reference to major

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO sys-process/procenv
[ebuild  N    ] sys-process/procenv-0.51  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2020-03-19 11:23:40 UTC
Created attachment 622612 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-19 11:23:43 UTC
Created attachment 622614 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-19 11:23:46 UTC
Created attachment 622616 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-19 11:23:49 UTC
Created attachment 622618 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-19 11:23:51 UTC
Created attachment 622620 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-19 11:23:54 UTC
Created attachment 622622 [details]
sys-process:procenv-0.51:20200319-104227.log
Comment 7 Toralf Förster gentoo-dev 2020-03-19 11:23:57 UTC
Created attachment 622624 [details]
temp.tbz2