Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 944565 - www-apache/mod_authz_unixgroup-1.2.0 fails to compile: mod_authz_unixgroup.c:26:26: fatal error: grp.h: No such file or directory
Summary: www-apache/mod_authz_unixgroup-1.2.0 fails to compile: mod_authz_unixgroup.c:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Craig Andrews
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-11-23 09:55 UTC by Agostino Sarubbo
Modified: 2024-11-30 21:04 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,52.69 KB, text/plain)
2024-11-23 09:55 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2024-11-23 09:55:42 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: www-apache/mod_authz_unixgroup-1.2.0 fails to compile.
Discovered on: amd64 (internal ref: ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-23 09:55:43 UTC
Created attachment 911633 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2024-11-23 09:55:44 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


apxs:Error: Command failed with rc=65536
mod_authz_unixgroup.c:26:26: fatal error: bsd/grp.h: No such file or directory
mod_authz_unixgroup.c:26:26: fatal error: bsd/grp.h: No such file or directory
Comment 3 Joakim Tjernlund 2024-11-23 10:15:39 UTC
I wrote that 1.2.0 addition and I see what is missing, you have to add:
  APXS2_ARGS="-c ${PN}.c -lbsd"
to the ebuild as now this module depends on libbsd
Comment 4 Joakim Tjernlund 2024-11-23 10:16:07 UTC
and 
DEPEND="dev-libs/libbsd"                                                                                                               
RDEPEND="dev-libs/libbsd"
Comment 5 Joakim Tjernlund 2024-11-23 10:45:39 UTC
FYI, I have been running what is essentially 1.2.0 for a few weeks and
I am happy with it so far.
Comment 6 Joakim Tjernlund 2024-11-29 08:30:27 UTC
ping?
Comment 7 Larry the Git Cow gentoo-dev 2024-11-30 21:04:02 UTC
The bug has been closed via the following commit(s):

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

commit 8cea8cd0fa897c785c48eede96e55245f61683f9
Author:     Craig Andrews <candrews@gentoo.org>
AuthorDate: 2024-11-30 20:19:56 +0000
Commit:     Craig Andrews <candrews@gentoo.org>
CommitDate: 2024-11-30 21:03:48 +0000

    www-apache/mod_authz_unixgroup: add libbsd dep
    
    Closes: https://bugs.gentoo.org/944565
    
    Signed-off-by: Craig Andrews <candrews@gentoo.org>

 .../mod_authz_unixgroup-1.2.0-r1.ebuild            | 35 ++++++++++++++++++++++
 1 file changed, 35 insertions(+)