Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 714200 - app-misc/ytree-2.04 : match.c:(.text+<snip>): undefined reference to re_comp
Summary: app-misc/ytree-2.04 : match.c:(.text+<snip>): undefined reference to re_comp
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2020-03-24 15:56 UTC by Toralf Förster
Modified: 2024-05-04 18:52 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.27 KB, text/plain)
2020-03-24 15:56 UTC, Toralf Förster
Details
app-misc:ytree-2.02:20200324-113347.log (app-misc:ytree-2.02:20200324-113347.log,11.99 KB, text/plain)
2020-03-24 15:56 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,286.99 KB, text/plain)
2020-03-24 15:56 UTC, Toralf Förster
Details
environment (environment,51.79 KB, text/plain)
2020-03-24 15:56 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,21.23 KB, application/x-bzip)
2020-03-24 15:56 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,14.59 KB, application/x-bzip)
2020-03-24 15: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-24 15:56:18 UTC
x86_64-gentoo-linux-musl-gcc  -o ytree arc.o archive.o chgrp.o chmod.o chown.o clock.o color.o copy.o delete.o dirwin.o disp.o edit.o error.o execute.o filespec.o filewin.o freesp.o global.o group.o hex.o history.o init.o input.o keyhtab.o lha.o login.o main.o match.o mkdir.o mktime.o move.o passwd.o pipe.o print.o profile.o quit.o rar.o readtree.o rename.o rmdir.o rpm.o sort.o stat.o system.o tar.o termcap.o tilde.o usermode.o util.o view.o xmalloc.o zip.o zoo.o -Wl,-O1 -Wl,--as-needed pkg-config --libs ncurses -lreadline
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: match.o: in function SetMatchSpec:
match.c:(.text+0xd5): undefined reference to re_comp
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: match.o: in function Match:
match.c:(.text+0x10a): undefined reference to re_exec
collect2: error: ld returned 1 exit status

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

  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 *
  [2]   rust-bin-1.42.0

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Tue Mar 24 10:38:45 UTC 2020
/var/db/repos/musl	Sun Mar 22 15:02:57 UTC 2020

emerge -qpvO app-misc/ytree
[ebuild  N    ] app-misc/ytree-2.02
Comment 1 Toralf Förster gentoo-dev 2020-03-24 15:56:21 UTC
Created attachment 625094 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-24 15:56:24 UTC
Created attachment 625096 [details]
app-misc:ytree-2.02:20200324-113347.log
Comment 3 Toralf Förster gentoo-dev 2020-03-24 15:56:27 UTC
Created attachment 625098 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-24 15:56:29 UTC
Created attachment 625100 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-24 15:56:32 UTC
Created attachment 625102 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-24 15:56:34 UTC
Created attachment 625104 [details]
temp.tbz2
Comment 7 Agostino Sarubbo gentoo-dev 2022-01-03 20:45:01 UTC
tinderbox_musl has reproduced this issue with version 2.04 - Updating summary.
Comment 8 Larry the Git Cow gentoo-dev 2024-05-04 18:52:01 UTC
The bug has been closed via the following commit(s):

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

commit faeb435554d40b21905ef52b00ed317697c70c3b
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2024-05-04 18:45:54 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-05-04 18:50:59 +0000

    app-misc/ytree: add 2.08
    
    This version has fixed build on musl (tested on musl container from
    stage3).
    
    Closes: https://bugs.gentoo.org/714200
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 app-misc/ytree/Manifest          |  1 +
 app-misc/ytree/ytree-2.08.ebuild | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 36 insertions(+)