Three programs in acct (lastcomm and 2 others) require linking to libm. It seems the requirement is not checked for uclibc. It is however overcome by appending LIBS="-lm" to (e)make command. Reproducible: Always Steps to Reproduce: 1. Install Lilblue 2. emerge acct Actual Results: emake failed (compile phase) Expected Results: acct installed on system
Created attachment 382618 [details, diff] acct ebuild patch adding src_compile
Created attachment 382620 [details, diff] patch to fix QA notice in files/acct.initd I had this QA notice right after I was able emerge acct: * QA Notice: shell script appears to use non-POSIX feature(s): * possible bashism in /etc/init.d/acct line 13 (export foo=bar should be foo=bar; export foo): * export ACCT_LOG=${ACCT_LOG:-/var/account/pacct} This patch fixes this
1) Please post your `emerge --info' output in a comment. 2) Please attach the entire build log to this bug report.
Created attachment 382696 [details] build.log
Created attachment 382698 [details] emerge --info output
Comment on attachment 382620 [details, diff] patch to fix QA notice in files/acct.initd the QA check is wrong http://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#export
should be all set now in the tree; thanks for the report! Commit message: Link with -lm when needed http://sources.gentoo.org/sys-process/acct/acct-6.6.1.ebuild?r1=1.1&r2=1.2 http://sources.gentoo.org/sys-process/acct/files/acct-6.6.1-math.patch?rev=1.1
A few things, vapier: 1. I see two sa_LDADD added inside http://sources.gentoo.org/sys-process/acct/files/acct-6.6.1-math.patch , one for the sa target and the other one for the lastcomm target. Is that a mistake? 2. Will the (corrected) patch be applied to version 6.5.5-r3 as well? My general ACCEPT_KEYWORDS is amd64, not ~amd64 (although I could simply add acct to /etc/protage/package.accept_keywords). 3. Time for emerge --sync && emerge -u checkbashisms to get rid of false positives :)
(In reply to René Rhéaume from comment #8) this is only fixing latest unstable. generally we fix unstable and let the fixes percolate down into stable.
Commit message: Fix copy & paste fail http://sources.gentoo.org/sys-process/acct/files/acct-6.6.1-math.patch?r1=1.1&r2=1.2