Summary: | net-firewall/xtables-addons-2.1 - .../work/xtables-addons-2.1/extensions/pknock/xt_pknock.c:194:41: error: dereferencing pointer to incomplete type | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matti Nykyri <matti.nykyri> |
Component: | [OLD] Library | Assignee: | Andreis Vinogradovs ( slepnoga ) <andreis.vinogradovs> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | blueness, proxy-maint |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=488016 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | 488016 | ||
Bug Blocks: | |||
Attachments: |
Build.log net-firewall/xtables-addons-2.1
Build.log net-firewall/xtables-addons-2.2 Environment: net-firewall/xtables-addons-2.1 Environment: net-firewall/xtables-addons-2.2 Patch to fix error as it is done upstream in version 2.3 New ebuild for v2.1 that uses the previous patch And an ebuild also for version 2.2 |
Description
Matti Nykyri
2013-10-03 11:14:43 UTC
Created attachment 360022 [details]
Build.log net-firewall/xtables-addons-2.1
Created attachment 360024 [details]
Build.log net-firewall/xtables-addons-2.2
Created attachment 360026 [details]
Environment: net-firewall/xtables-addons-2.1
Created attachment 360028 [details]
Environment: net-firewall/xtables-addons-2.2
emerge -pqv \=net-firewall/xtables-addons-2.1: [ebuild U ] net-firewall/xtables-addons-2.1 [1.45] USE="modules" XTABLES_ADDONS="geoip pknock -account -chaos -condition -delude -dhcpmac -dnetmap -echo -fuzzy -gradm -iface -ipmark -ipp2p -ipv4options -length2 -logmark -lscan -psd -quota2 -rawnat -steal -sysrq -tarpit" emerge -pqv \=net-firewall/xtables-addons-2.2: [ebuild U ] net-firewall/xtables-addons-2.2 [1.45] USE="modules" XTABLES_ADDONS="geoip pknock -account -chaos -condition -delude -dhcpmac -dnetmap -echo -fuzzy -gradm -iface -ipmark -ipp2p -ipv4options -length2 -logmark -lscan -psd -quota2 -rawnat -steal -sysrq -tarpit" Created attachment 360248 [details, diff]
Patch to fix error as it is done upstream in version 2.3
Created attachment 360250 [details]
New ebuild for v2.1 that uses the previous patch
Created attachment 360252 [details]
And an ebuild also for version 2.2
With this patch both versions 2.1 and 2.2 compile for me without any errors. 2.2 will be deleted after 2.3 goes stable <=net-firewall/xtables-addons-2.2 supports kernel versions <3.10. From kernel versions >=3.10 at least >=net-firewall/xtables-addons-2.3 is needed! See the link (commits in June for 3.10 kernel): http://sourceforge.net/p/xtables-addons/xtables-addons/commit_browser (In reply to Matti Nykyri from comment #11) > <=net-firewall/xtables-addons-2.2 supports kernel versions <3.10. > > From kernel versions >=3.10 at least >=net-firewall/xtables-addons-2.3 is > needed! > > See the link (commits in June for 3.10 kernel): > http://sourceforge.net/p/xtables-addons/xtables-addons/commit_browser I can not confirm the accuracy of this statement. xtables-addons-2.1 depends on kernel functions PDE and create_proc_entry (defined in linux/proc_fs.h). PDE is made internal to procfs in kernel on 2013-05-01 (https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/include/linux/proc_fs.h?id=c30480b92cf497aa3b463367a82f1c2fdc5c46e9). This commit is published with 3.10 kernel. 3.9.11 [EOL] does not contain this commit. create_proc_entry is killed from kernel on 2013-04-09 (https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/include/linux/proc_fs.h?id=80e928f7ebb958f4d79d4099d1c5c0a015a23b93). This commit is published with 3.10 kernel. 3.9.11 [EOL] does not contain this commit. xtables-addons-2.3 replases function PDE with PDE_DATA (PDE_DATA is only present in 3.10 kernels https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable.git/commit/include/linux/proc_fs.h?id=d9dda78bad879595d8c4220a067fc029d6484a16). In xtables-addons create_proc_entry is replased with proc_create_data function. please test new version With kernels >=3.10: 2.3, 2.4, 2.5 all compile ok for me Well, 2.3 is stable and works for you, so this bag can be closed. |