Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713650 - media-libs/libifp-1.0.0.2-r1 : /.../ld: ../.../libifp.so: undefined reference to fts_open
Summary: media-libs/libifp-1.0.0.2-r1 : /.../ld: ../.../libifp.so: undefined reference...
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: fts_standalone
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-03-20 14:58 UTC by Toralf Förster
Modified: 2025-02-14 05:18 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.58 KB, text/plain)
2020-03-20 14:58 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,198.56 KB, text/plain)
2020-03-20 14:58 UTC, Toralf Förster
Details
environment (environment,20.82 KB, text/plain)
2020-03-20 14:58 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.98 KB, application/x-bzip)
2020-03-20 14:58 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,8.08 KB, application/x-bzip)
2020-03-20 14:59 UTC, Toralf Förster
Details
media-libs:libifp-1.0.0.2-r1:20200320-132647.log (media-libs:libifp-1.0.0.2-r1:20200320-132647.log,56.75 KB, text/plain)
2020-03-20 14:59 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,13.97 KB, application/x-bzip)
2020-03-20 14:59 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-20 14:58:45 UTC
mkdir .libs
x86_64-gentoo-linux-musl-gcc -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -Wall -W -Wno-unused-parameter -Wl,-O1 -Wl,--as-needed -o .libs/ifpline ifpline.o  ../src/.libs/libifp.so -lusb
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: ../src/.libs/libifp.so: undefined reference to fts_open
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: ../src/.libs/libifp.so: undefined reference to fts_read
/usr/lib/gcc/x86_64-gentoo-linux-musl/9.3.0/../../../../x86_64-gentoo-linux-musl/bin/ld: ../src/.libs/libifp.so: undefined reference to fts_close
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 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO media-libs/libifp
[ebuild  N    ] media-libs/libifp-1.0.0.2-r1  USE="-doc -examples -static-libs"
Comment 1 Toralf Förster gentoo-dev 2020-03-20 14:58:48 UTC
Created attachment 623288 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-20 14:58:51 UTC
Created attachment 623290 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-20 14:58:54 UTC
Created attachment 623292 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-20 14:58:57 UTC
Created attachment 623294 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-20 14:59:00 UTC
Created attachment 623296 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-20 14:59:03 UTC
Created attachment 623298 [details]
media-libs:libifp-1.0.0.2-r1:20200320-132647.log
Comment 7 Toralf Förster gentoo-dev 2020-03-20 14:59:06 UTC
Created attachment 623300 [details]
temp.tbz2
Comment 8 Michael 'veremitz' Everitt 2020-03-22 14:39:36 UTC
Likely a missing dependency on sys-libs/fts-standalone for ELIBC_MUSL .
Comment 9 Larry the Git Cow gentoo-dev 2025-02-14 05:18:28 UTC
The bug has been closed via the following commit(s):

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

commit abbd25fed1fe081b020eb5ddbce67962c569b3af
Author:     NHOrus <jy6x2b32pie9@yahoo.com>
AuthorDate: 2025-02-13 13:29:55 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-02-14 05:14:05 +0000

    media-libs/libifp: update EAPI 7 -> 8, C23 and musl fixes
    
    Fix missing dependency on musl system by adding conditional DEPEND
    and ldflag
    Fix implicit declarations in configure by fixing configure.ac,
    introducing dependency to pkgconfig in process, as original configure.ac
    uses hardcoded paths, changing variable names following changes in current
    versions of autotools, then eautoreconf fixes remaining problems.
    Finally, fix pointer type mismatch - by making function signature correct
    and by explicitly stripping const qualifier from a pointer passed to iconf
    
    Closes: https://bugs.gentoo.org/713650
    Closes: https://bugs.gentoo.org/880943
    Closes: https://bugs.gentoo.org/899824
    Signed-off-by: NHOrus <jy6x2b32pie9@yahoo.com>
    Closes: https://github.com/gentoo/gentoo/pull/40555
    Signed-off-by: Sam James <sam@gentoo.org>

 media-libs/libifp/files/libifp-1.0.0.2-c23.patch   | 25 +++++++++
 .../libifp/files/libifp-1.0.0.2-configure.patch    | 50 +++++++++++++++++
 media-libs/libifp/libifp-1.0.0.2-r2.ebuild         | 63 ++++++++++++++++++++++
 3 files changed, 138 insertions(+)