Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828614 - app-arch/xar-1.8-r2 - xar.c:(<snip>) undefined reference to fts_open
Summary: app-arch/xar-1.8-r2 - xar.c:(<snip>) undefined reference to fts_open
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-09 20:58 UTC by Toralf Förster
Modified: 2021-12-11 15:07 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.14 KB, text/plain)
2021-12-09 20:58 UTC, Toralf Förster
Details
app-arch:xar-1.8-r2:20211209-202536.log (app-arch:xar-1.8-r2:20211209-202536.log,15.37 KB, text/plain)
2021-12-09 20:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,9.03 KB, text/plain)
2021-12-09 20:58 UTC, Toralf Förster
Details
environment (environment,108.90 KB, text/plain)
2021-12-09 20:58 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.12 KB, application/x-bzip)
2021-12-09 20:58 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,7.24 KB, application/x-bzip)
2021-12-09 20: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 2021-12-09 20:58:29 UTC
too long lines were shrinked:

ln -s librxar.so.1 lib/librxar.so
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2  -o src/xar src/xar.o -Wl,-rpath,/var/tmp/portage/app-arch/xar-1.8-r2/work/xar-400/xar-abi_x86_64.amd64/lib -Llib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  lib/librxar.so.1 -lpthread -lbz2 -lz -lacl  -
x86_64-gentoo-linux-musl-gcc -pipe -march=native -fno-diagnostics-color -O2  -o src/ixar src/xar.o -Wl,-rpath,/usr/lib -Llib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0  lib/libxar.so.1 -lpthread -lbz2 -lz -lacl  -lssl -lcrypto -lxml2 -lz -lm
/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: src/xar.o: in function `main':
xar.c:(.text.startup+0xa77): undefined reference to `fts_open'
/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: xar.c:(.text.startup+0xa8b): undefined reference to `fts_read'
/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: xar.c:(.text.startup+0xd51): undefined reference to `fts_close'
collect2: error: ld returned 1 exit status
make: *** [src/Makefile.inc:40: src/xar] Error 1

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

  This is an stable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl_hardened-j4_stable-20211209-194823

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-11.2.0 *
Python 3.9.9
Available Rust versions:
  [1]   rust-bin-1.56.1 *
php cli:

  HEAD of ::gentoo
commit 9ab6d690183d29c4a5c94aecc7bd54493dccc5d9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 9 18:51:39 2021 +0000

    2021-12-09 18:51:38 UTC

emerge -qpvO app-arch/xar
[ebuild  N    ] app-arch/xar-1.8-r2
Comment 1 Toralf Förster gentoo-dev 2021-12-09 20:58:31 UTC
Created attachment 757801 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-09 20:58:32 UTC
Created attachment 757802 [details]
app-arch:xar-1.8-r2:20211209-202536.log
Comment 3 Toralf Förster gentoo-dev 2021-12-09 20:58:33 UTC
Created attachment 757803 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-09 20:58:34 UTC
Created attachment 757804 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-09 20:58:35 UTC
Created attachment 757805 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-09 20:58:36 UTC
Created attachment 757806 [details]
logs.tar.bz2
Comment 7 Larry the Git Cow gentoo-dev 2021-12-11 15:07:20 UTC
The bug has been closed via the following commit(s):

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

commit 0b19a21236e06ed4daca1f13912047d1f61e460e
Author:     Fabian Groffen <grobian@gentoo.org>
AuthorDate: 2021-12-11 15:06:35 +0000
Commit:     Fabian Groffen <grobian@gentoo.org>
CommitDate: 2021-12-11 15:07:17 +0000

    app-arch/xar-1.8-r2: backport musl fix from -r4
    
    Closes: https://bugs.gentoo.org/828614
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Fabian Groffen <grobian@gentoo.org>

 app-arch/xar/xar-1.8-r2.ebuild | 2 ++
 1 file changed, 2 insertions(+)