Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715518 - sys-block/f3-7.2 : f3write.c:(.text+<snip>): undefined reference to argp_error
Summary: sys-block/f3-7.2 : f3write.c:(.text+<snip>): undefined reference to argp_error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-30 20:56 UTC by Toralf Förster
Modified: 2021-11-07 05:17 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.28 KB, text/plain)
2020-03-30 20:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,105.59 KB, text/plain)
2020-03-30 20:56 UTC, Toralf Förster
Details
environment (environment,66.16 KB, text/plain)
2020-03-30 20:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.37 KB, application/x-bzip)
2020-03-30 20:56 UTC, Toralf Förster
Details
sys-block:f3-7.2:20200330-171639.log (sys-block:f3-7.2:20200330-171639.log,3.25 KB, text/plain)
2020-03-30 20:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,17.15 KB, application/x-bzip)
2020-03-30 20:56 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 2020-03-30 20:56:36 UTC
x86_64-gentoo-linux-musl-gcc -o f3write utils.o f3write.o -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lm
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: f3write.o: in function parse_opt:
f3write.c:(.text+0x68): undefined reference to argp_error
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: f3write.c:(.text+0x108): undefined reference to argp_error
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: f3write.c:(.text+0x175): undefined reference to argp_error
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: f3write.c:(.text+0x18d): undefined reference to argp_error

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-20200328-201618

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

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.42.0 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Mon Mar 30 16:39:28 UTC 2020
/var/db/repos/musl	Fri Mar 27 00:25:27 UTC 2020

emerge -qpvO sys-block/f3
[ebuild  N    ] sys-block/f3-7.2  USE="-extra"
Comment 1 Toralf Förster gentoo-dev 2020-03-30 20:56:38 UTC
Created attachment 627622 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-30 20:56:41 UTC
Created attachment 627624 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-30 20:56:44 UTC
Created attachment 627626 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-30 20:56:47 UTC
Created attachment 627628 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-30 20:56:49 UTC
Created attachment 627630 [details]
sys-block:f3-7.2:20200330-171639.log
Comment 6 Toralf Förster gentoo-dev 2020-03-30 20:56:52 UTC
Created attachment 627632 [details]
temp.tbz2
Comment 7 Larry the Git Cow gentoo-dev 2021-11-07 05:17:25 UTC
The bug has been closed via the following commit(s):

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

commit cb408246d132f56c48d9290a245986ca7469874c
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-07 05:10:33 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-07 05:10:33 +0000

    sys-block/f3: fix build on musl
    
    Closes: https://bugs.gentoo.org/715518
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-block/f3/f3-8.0.ebuild | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)