Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 828696 - app-admin/selint-1.2.0 - main.c:(<snip>) undefined reference to fts_open
Summary: app-admin/selint-1.2.0 - main.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
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2021-12-10 10:08 UTC by Toralf Förster
Modified: 2022-06-24 03:43 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,14.34 KB, text/plain)
2021-12-10 10:08 UTC, Toralf Förster
Details
app-admin:selint-1.2.0:20211210-002112.log (app-admin:selint-1.2.0:20211210-002112.log,16.62 KB, text/plain)
2021-12-10 10:08 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,29.20 KB, text/plain)
2021-12-10 10:08 UTC, Toralf Förster
Details
environment (environment,52.04 KB, text/plain)
2021-12-10 10:08 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,29.50 KB, application/x-bzip)
2021-12-10 10:08 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,18.51 KB, application/x-bzip)
2021-12-10 10:08 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,15.26 KB, application/x-bzip)
2021-12-10 10:08 UTC, Toralf Förster
Details
musl patch for app-admin/selint-1.1.0.ebuild (selint-1.1.0.ebuild.patch,772 bytes, patch)
2022-06-23 22:28 UTC, CFuga
Details | Diff
musl patch for app-admin/selint-1.2.0.ebuild (selint-1.2.0.ebuild.patch,793 bytes, patch)
2022-06-23 22:28 UTC, CFuga
Details | Diff
musl patch for app-admin/selint-1.2.1.ebuild (selint-1.2.1.ebuild.patch,610 bytes, patch)
2022-06-23 22:29 UTC, CFuga
Details | Diff

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-10 10:08:23 UTC
too long lines were shrinked:

x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings  -DSYSCONFDIR='"/etc"' -pipe -march=native -fno-diagnostics
x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -I..    -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings  -DSYSCONFDIR='"/etc"' -pipe -march=native -fno-diagnostics
x86_64-gentoo-linux-musl-gcc -Wall -Wextra -Wcast-qual -Wconversion -Wmissing-format-attribute -Wmissing-noreturn -Wmissing-prototypes -Wpointer-arith -Wshadow -Wstrict-prototypes -Wundef -Wunused -Wwrite-strings  -DSYSCONFDIR='"/etc"' -pipe -march=native -fno-diagnostics-color -O2  -Wl,-O1 -Wl,--as
/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: main.o: in function `main':
main.c:(.text.startup+0x6ce): undefined reference to `fts_open'
/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: main.c:(.text.startup+0x6d9): undefined reference to `fts_read'
/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: main.c:(.text.startup+0x7b4): undefined reference to `fts_read'
/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: main.c:(.text.startup+0x891): undefined reference to `fts_close'
/usr/lib/gcc/x86_64-gentoo-linux-musl/11.2.0/../../../../x86_64-gentoo-linux-musl/bin/ld: main.c:(.text.startup+0x8d3): undefined reference to `fts_open'

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

  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 810bfa6329cb9230638b5378edfbc0c49236a659
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Dec 9 23:06:49 2021 +0000

    2021-12-09 23:06:46 UTC

emerge -qpvO app-admin/selint
[ebuild  N    ] app-admin/selint-1.2.0  USE="-test"
Comment 1 Toralf Förster gentoo-dev 2021-12-10 10:08:24 UTC
Created attachment 757977 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-12-10 10:08:25 UTC
Created attachment 757978 [details]
app-admin:selint-1.2.0:20211210-002112.log
Comment 3 Toralf Förster gentoo-dev 2021-12-10 10:08:26 UTC
Created attachment 757979 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-12-10 10:08:28 UTC
Created attachment 757980 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-12-10 10:08:29 UTC
Created attachment 757981 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-12-10 10:08:30 UTC
Created attachment 757982 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-12-10 10:08:31 UTC
Created attachment 757983 [details]
temp.tar.bz2
Comment 8 Fabian Groffen gentoo-dev 2021-12-11 14:59:54 UTC
probably requires
  elibc_musl? ( sys-libs/fts-standalone )
Comment 9 CFuga 2022-06-23 22:28:17 UTC
Created attachment 787295 [details, diff]
musl patch for app-admin/selint-1.1.0.ebuild

The patch makes the following changes:
* inherits flag-o-matic eclass
* adds sys-libs/fts-standalone as dependency for musl
* adds "-lfts" to compilation flags
Comment 10 CFuga 2022-06-23 22:28:54 UTC
Created attachment 787298 [details, diff]
musl patch for app-admin/selint-1.2.0.ebuild

The patch makes the following changes:
* inherits flag-o-matic eclass
* adds sys-libs/fts-standalone as dependency for musl
* adds "-lfts" to compilation flags
Comment 11 CFuga 2022-06-23 22:29:31 UTC
Created attachment 787301 [details, diff]
musl patch for app-admin/selint-1.2.1.ebuild

The patch makes the following changes:
* inherits flag-o-matic eclass
* adds sys-libs/fts-standalone as dependency for musl
* adds "-lfts" to compilation flags
Comment 12 Larry the Git Cow gentoo-dev 2022-06-24 03:43:05 UTC
The bug has been closed via the following commit(s):

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

commit 24e00c48c4f5b13440cb8982fe0b07006a234e6d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-24 01:54:16 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-24 03:13:47 +0000

    app-admin/selint: fix build on musl
    
    Thanks-to: CFuga <cfuga@cfuga.mx>
    Closes: https://bugs.gentoo.org/828696
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/selint/selint-1.2.0.ebuild | 9 ++++++---
 app-admin/selint/selint-1.2.1.ebuild | 7 ++++++-
 app-admin/selint/selint-9999.ebuild  | 7 ++++++-
 3 files changed, 18 insertions(+), 5 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 224ff5c0a1644a08dd906a3dae8ce7ad0ab47c5b
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-24 01:54:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-24 03:13:48 +0000

    app-admin/selint: drop 1.1.0
    
    Bug: https://bugs.gentoo.org/828696
    Signed-off-by: Sam James <sam@gentoo.org>

 app-admin/selint/Manifest            |  1 -
 app-admin/selint/selint-1.1.0.ebuild | 39 ------------------------------------
 2 files changed, 40 deletions(-)