Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157462 - net-fs/ncpfs-2.2.6 fails to compile for linux-2.6.19-gentoo-r1
Summary: net-fs/ncpfs-2.2.6 fails to compile for linux-2.6.19-gentoo-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Network Filesystems
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-07 12:42 UTC by Willard Dawson
Modified: 2007-05-11 19:50 UTC (History)
0 users

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 Willard Dawson 2006-12-07 12:42:54 UTC
This bug is clearly due to a missing #include <syslog.h> statement in the following source file:

make[1]: Entering directory `/var/tmp/portage/net-fs/ncpfs-2.2.6/work/ncpfs-2.2.6/contrib/pam'
i686-pc-linux-gnu-gcc -march=i686 -O2 -pipe -DN_PLAT_LINUX -DLOCALEDIR=\"/usr/share/locale\" -DNCPFS_VERSION=\"2.2.6\" -DNCPFS_PACKAGE=\"ncpfs\" -march=i686 -O2 -pipe  -I../../include -I../../intl -I../../include -DNCPMOUNT_PATH=\"/usr/bin/ncpmount\" -DNCPUMOUNT_PATH=\"/usr/bin/ncpumount\" -fPIC -o pam_ncp_auth.do -c pam_ncp_auth.c
pam_ncp_auth.c: In function `nw_cleanup_conn':
pam_ncp_auth.c:284: error: `LOG_NOTICE' undeclared (first use in this function)
pam_ncp_auth.c:284: error: (Each undeclared identifier is reported only once
pam_ncp_auth.c:284: error: for each function it appears in.)
pam_ncp_auth.c: In function `is_member_of_bindery_group':

...etc. etc. etc...

make[1]: *** [pam_ncp_auth.do] Error 1
make[1]: Leaving directory `/var/tmp/portage/net-fs/ncpfs-2.2.6/work/ncpfs-2.2.6/contrib/pam'
make: *** [all] Error 2

!!! ERROR: net-fs/ncpfs-2.2.6 failed.
Call stack:
  ebuild.sh, line 1569:   Called dyn_compile
  ebuild.sh, line 938:   Called src_compile
  ncpfs-2.2.6.ebuild, line 40:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.


By adding the line I can force the compile to succeed:

# diff pam_ncp_auth.c pam_ncp_auth.c.new
268a269
> #include <syslog.h>

# cp pam_ncp_auth.c.new pam_ncp_auth.c

# make

... leads to successful build.
Comment 1 Maurice van der Pot (RETIRED) gentoo-dev 2007-05-11 19:50:39 UTC
Fixed in portage. Please try syncing and merging again a few hours from now.
Thanks for reporting this problem.