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

Bug 428746

Summary: net-misc/netcf-0.1.9 - drv_initscripts.c:1083:15: error: ‘NETCF_TRANSACTION’ undeclared (first use in this function)
Product: Gentoo Linux Reporter: Reuben Martin <reuben.m>
Component: Current packagesAssignee: Doug Goldstein (RETIRED) <cardoe>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=804668
Whiteboard:
Package list:
Runtime testing required: ---

Description Reuben Martin 2012-07-31 03:34:18 UTC
Fails with following error:

drv_initscripts.c:1083:15: error: ‘NETCF_TRANSACTION’ undeclared (first use in this function)
drv_initscripts.c:1083:15: note: each undeclared identifier is reported only once for each function it appears in
drv_initscripts.c: In function ‘drv_change_rollback’:
drv_initscripts.c:1096:15: error: ‘NETCF_TRANSACTION’ undeclared (first use in this function)
drv_initscripts.c: In function ‘drv_change_commit’:
drv_initscripts.c:1109:15: error: ‘NETCF_TRANSACTION’ undeclared (first use in this function)
make[3]: *** [drv_initscripts.lo] Error 1

See this related bug: https://bugzilla.redhat.com/show_bug.cgi?id=804668


Fix is to add:

#define NETCF_TRANSACTION "/bin/false"

to drv_initscripts.c


Related git commit: http://git.fedorahosted.org/git/?p=netcf.git;a=blobdiff;f=src/drv_debian.c;h=dcf35eb22160c812df71844d90592707aef1bf49;hp=23c555112d934973cd24c5c45e9c91d753eff9e5;hb=f3aa52772c7dc123524dca1cdb0986f77e89b70e;hpb=c25e944b96ed5b6f8f722baa49b657299b68a904

Reproducible: Always
Comment 1 Doug Goldstein (RETIRED) gentoo-dev 2012-08-01 04:17:19 UTC
netcf doesn't build in general. Its hard masked. Fixing just that one thing won't resolve the whole issue. see bug #295993