Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 519780 - net-firewall/xtables-addons-2.3 - .../work/xtables-addons-2.3/extensions/xt_CHAOS.c:71:2: error: implicit declaration of function ‘net_random’ [-Werror=implicit-function-declaration]
Summary: net-firewall/xtables-addons-2.3 - .../work/xtables-addons-2.3/extensions/xt_C...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Andreis Vinogradovs ( slepnoga )
URL:
Whiteboard:
Keywords:
: 536182 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-08-13 06:48 UTC by Michal Feix
Modified: 2015-07-06 12:48 UTC (History)
3 users (show)

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


Attachments
Build.log output (build.log,39.32 KB, application/octet-stream)
2014-08-13 06:49 UTC, Michal Feix
Details
emerge --info output (emerge-info.txt,4.63 KB, text/plain)
2014-08-13 06:49 UTC, Michal Feix
Details
Build log output (build.log,39.32 KB, text/plain)
2014-08-13 06:50 UTC, Michal Feix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Feix 2014-08-13 06:48:49 UTC
Compiliing xtables-addons on stable AMD64 Gentoo hardened installation ends with the following compilation error:

error: implicit declaration of function ‘net_random’


Reproducible: Always

Steps to Reproduce:
emerge xtables-addons

Actual Results:  
/var/tmp/portage/net-firewall/xtables-addons-2.3/work/xtables-addons-2.3/extensions/xt_CHAOS.c: In function ‘xt_chaos_total’:
/var/tmp/portage/net-firewall/xtables-addons-2.3/work/xtables-addons-2.3/extensions/xt_CHAOS.c:71:2: error: implicit declaration of function ‘net_random’ [-Werror=implicit-function-declaration]
Comment 1 Michal Feix 2014-08-13 06:49:24 UTC
Created attachment 382798 [details]
Build.log output
Comment 2 Michal Feix 2014-08-13 06:49:58 UTC
Created attachment 382800 [details]
emerge --info output
Comment 3 Michal Feix 2014-08-13 06:50:40 UTC
Created attachment 382802 [details]
Build log output
Comment 4 Anthony Basile gentoo-dev 2015-07-06 12:36:30 UTC
*** Bug 536182 has been marked as a duplicate of this bug. ***
Comment 5 Anthony Basile gentoo-dev 2015-07-06 12:48:27 UTC
This is fixed in xtables-addons-2.6 and hardened-sources-4.0.6-r2 (and others) which I plan on stabilizing soon.