Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 554504

Summary: sys-auth/passwdqc-1.3.0: build fails on Gentoo/FreeBSD, fatal error: shadow.h: No such file or directory
Product: Gentoo Linux Reporter: Yuta SATOH <nigoro.dev>
Component: [OLD] UnspecifiedAssignee: Gentoo/BSD Team <bsd+disabled>
Status: RESOLVED FIXED    
Severity: normal CC: flameeyes, robbat2, vapier
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sample patch for passwdqc-1.3.0.ebuild

Description Yuta SATOH 2015-07-11 12:53:30 UTC
The following message is displayed and fails to compile.

<snip>
gmake[1]: Entering directory '/var/tmp/portage/sys-auth/passwdqc-1.3.0/work/passwdqc-1.3.0'
x86_64-gentoo-freebsd10.1-gcc -O2 -pipe  -fPIC -DHAVE_SHADOW -c pam_passwdqc.c
pam_passwdqc.c:21:20: fatal error: shadow.h: No such file or directory
 #include <shadow.h>
                    ^
compilation terminated.
Makefile:157: recipe for target 'pam_passwdqc.o' failed
gmake[1]: *** [pam_passwdqc.o] Error 1
gmake[1]: Leaving directory '/var/tmp/portage/sys-auth/passwdqc-1.3.0/work/passwdqc-1.3.0'
Makefile:97: recipe for target 'pam' failed
gmake: *** [pam] Error 2
 * ERROR: sys-auth/passwdqc-1.3.0::gentoo failed (compile phase):
 *   emake failed


Reproducible: Always
Comment 1 Yuta SATOH 2015-07-11 12:55:55 UTC
Created attachment 406520 [details, diff]
sample patch for passwdqc-1.3.0.ebuild
Comment 2 Yuta SATOH 2015-08-08 00:29:45 UTC
I think caused by it is replaced with Linux in src_prepare().
Please good fix for the environment that does not have shadow.

Thanks in advance.