Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 428746 - net-misc/netcf-0.1.9 - drv_initscripts.c:1083:15: error: ‘NETCF_TRANSACTION’ undeclared (first use in this function)
Summary: net-misc/netcf-0.1.9 - drv_initscripts.c:1083:15: error: ‘NETCF_TRANSACTION’ ...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Doug Goldstein
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-07-31 03:34 UTC by Reuben Martin
Modified: 2013-08-02 13:45 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 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 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