Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 595950 - sys-libs/musl: getconf getent and iconv don't listen to CPPFLAGS/LDFLAGS
Summary: sys-libs/musl: getconf getent and iconv don't listen to CPPFLAGS/LDFLAGS
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Anthony Basile
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-porting
  Show dependency tree
 
Reported: 2016-10-02 16:39 UTC by Laine Gholson
Modified: 2019-10-20 20:22 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Laine Gholson 2016-10-02 16:39:21 UTC
see title
Comment 1 Felix Janda 2016-10-02 22:22:22 UTC
Sorry for hijacking this bug, but one way (not the most obvious one...)
to fix this would be to package these utilities separately from musl.
The way they are currently packaged causes warnings from the `unpack`
command, and it seems[1] also that there is demand for man pages. I've
put an RFC package to [2].

@blueness, what do you think?

[1]: https://github.com/lluixhi/musl-extras/tree/master/sys-libs/musl/files
[2]: https://github.com/doughdemon/musl-extra-bin
Comment 3 Sergei Trofimovich gentoo-dev 2019-10-20 20:22:44 UTC
(In reply to Michael 'veremitz' Everitt from comment #2)
> Fixed in
> https://gitweb.gentoo.org/repo/gentoo.git/commit/sys-libs/
> musl?id=9188802088bd9616e71d23dce350f5a278b6f686 I believe.

It literally says:
> +	$(tc-getCC) ${CFLAGS} "${DISTDIR}"/getconf.c -o "${T}"/getconf
> +	$(tc-getCC) ${CFLAGS} "${DISTDIR}"/getent.c -o "${T}"/getent
> +	$(tc-getCC) ${CFLAGS} "${DISTDIR}"/iconv.c -o "${T}"/iconv

There is no CPPFLAGS or LDFLAGS passing.