public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Compilation problem iptables
@ 2018-10-24 16:08 tuxic
  2018-10-24 17:10 ` Alexander Kapshuk
  0 siblings, 1 reply; 6+ messages in thread
From: tuxic @ 2018-10-24 16:08 UTC (permalink / raw
  To: Gentoo

Hi,

while syncing/updateing, this happens (net-firewall/iptables-1.8.1) :
ototypes -Wredundant-decls -Wshadow -Wstrict-prototypes 	-Wlogical-op 	-Winline -pipe -D_INIT=libxt_multiport_init -DPIC -fPIC -march=native -O -pipe -o libxt_multiport.oo -c libxt_multiport.c;
x86_64-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT 	-DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I.. -I../include -I..     -Wp,-MMD,./.libxt_nfacct.oo.d,-MT,libxt_nfacct.oo -Wall -Waggregate-return -Wmissing-declarations 	-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes 	-Wlogical-op 	-Winline -pipe -D_INIT=libxt_nfacct_init -DPIC -fPIC -march=native -O -pipe -o libxt_nfacct.oo -c libxt_nfacct.c;
x86_64-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT 	-DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I.. -I../include -I..     -Wp,-MMD,./.libxt_osf.oo.d,-MT,libxt_osf.oo -Wall -Waggregate-return -Wmissing-declarations 	-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes 	-Wlogical-op 	-Winline -pipe -D_INIT=libxt_osf_init -DPIC -fPIC -march=native -O -pipe -o libxt_osf.oo -c libxt_osf.c;
In file included from ../iptables/nft.h:5,
                 from libxt_limit.c:18:
../iptables/nft-shared.h:6:10: fatal error: libnftnl/rule.h: No such file or directory
 #include <libnftnl/rule.h>
          ^~~~~~~~~~~~~~~~~
compilation terminated.
x86_64-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT 	-DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I.. -I../include -I..     -Wp,-MMD,./.libxt_owner.oo.d,-MT,libxt_owner.oo -Wall -Waggregate-return -Wmissing-declarations 	-Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes 	-Wlogical-op 	-Winline -pipe -D_INIT=libxt_owner_i

I wanted I sent the whole bunch of logs...

Cheers!
Meino





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Compilation problem iptables
  2018-10-24 16:08 [gentoo-user] Compilation problem iptables tuxic
@ 2018-10-24 17:10 ` Alexander Kapshuk
  2018-10-24 17:23   ` tuxic
  0 siblings, 1 reply; 6+ messages in thread
From: Alexander Kapshuk @ 2018-10-24 17:10 UTC (permalink / raw
  To: Gentoo mailing list

On Wed, Oct 24, 2018 at 7:07 PM <tuxic@posteo.de> wrote:
>
> Hi,
>
> while syncing/updateing, this happens (net-firewall/iptables-1.8.1) :
> ototypes -Wredundant-decls -Wshadow -Wstrict-prototypes         -Wlogical-op    -Winline -pipe -D_INIT=libxt_multiport_init -DPIC -fPIC -march=native -O -pipe -o libxt_multiport.oo -c libxt_multiport.c;
> x86_64-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT        -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I.. -I../include -I..     -Wp,-MMD,./.libxt_nfacct.oo.d,-MT,libxt_nfacct.oo -Wall -Waggregate-return -Wmissing-declarations    -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes     -Wlogical-op    -Winline -pipe -D_INIT=libxt_nfacct_init -DPIC -fPIC -march=native -O -pipe -o libxt_nfacct.oo -c libxt_nfacct.c;
> x86_64-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT        -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I.. -I../include -I..     -Wp,-MMD,./.libxt_osf.oo.d,-MT,libxt_osf.oo -Wall -Waggregate-return -Wmissing-declarations  -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes     -Wlogical-op    -Winline -pipe -D_INIT=libxt_osf_init -DPIC -fPIC -march=native -O -pipe -o libxt_osf.oo -c libxt_osf.c;
> In file included from ../iptables/nft.h:5,
>                  from libxt_limit.c:18:
> ../iptables/nft-shared.h:6:10: fatal error: libnftnl/rule.h: No such file or directory
>  #include <libnftnl/rule.h>
>           ^~~~~~~~~~~~~~~~~
> compilation terminated.
> x86_64-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT        -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I.. -I../include -I..     -Wp,-MMD,./.libxt_owner.oo.d,-MT,libxt_owner.oo -Wall -Waggregate-return -Wmissing-declarations      -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes     -Wlogical-op    -Winline -pipe -D_INIT=libxt_owner_i
>
> I wanted I sent the whole bunch of logs...
>
> Cheers!
> Meino
>
>
>
>

The header file reported as missing belongs to the net-libs/libnftnl package.
Do you have it installed?


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Compilation problem iptables
  2018-10-24 17:10 ` Alexander Kapshuk
@ 2018-10-24 17:23   ` tuxic
  2018-10-24 21:50     ` Daniel Frey
  0 siblings, 1 reply; 6+ messages in thread
From: tuxic @ 2018-10-24 17:23 UTC (permalink / raw
  To: gentoo-user

On 10/24 08:10, Alexander Kapshuk wrote:
> On Wed, Oct 24, 2018 at 7:07 PM <tuxic@posteo.de> wrote:
> >
> > Hi,
> >
> > while syncing/updateing, this happens (net-firewall/iptables-1.8.1) :
> > ototypes -Wredundant-decls -Wshadow -Wstrict-prototypes         -Wlogical-op    -Winline -pipe -D_INIT=libxt_multiport_init -DPIC -fPIC -march=native -O -pipe -o libxt_multiport.oo -c libxt_multiport.c;
> > x86_64-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT        -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I.. -I../include -I..     -Wp,-MMD,./.libxt_nfacct.oo.d,-MT,libxt_nfacct.oo -Wall -Waggregate-return -Wmissing-declarations    -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes     -Wlogical-op    -Winline -pipe -D_INIT=libxt_nfacct_init -DPIC -fPIC -march=native -O -pipe -o libxt_nfacct.oo -c libxt_nfacct.c;
> > x86_64-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT        -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I.. -I../include -I..     -Wp,-MMD,./.libxt_osf.oo.d,-MT,libxt_osf.oo -Wall -Waggregate-return -Wmissing-declarations  -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes     -Wlogical-op    -Winline -pipe -D_INIT=libxt_osf_init -DPIC -fPIC -march=native -O -pipe -o libxt_osf.oo -c libxt_osf.c;
> > In file included from ../iptables/nft.h:5,
> >                  from libxt_limit.c:18:
> > ../iptables/nft-shared.h:6:10: fatal error: libnftnl/rule.h: No such file or directory
> >  #include <libnftnl/rule.h>
> >           ^~~~~~~~~~~~~~~~~
> > compilation terminated.
> > x86_64-pc-linux-gnu-gcc -D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -D_REENTRANT        -DXTABLES_LIBDIR=\"/usr/lib64/xtables\" -DXTABLES_INTERNAL -I../include -I.. -I../include -I..     -Wp,-MMD,./.libxt_owner.oo.d,-MT,libxt_owner.oo -Wall -Waggregate-return -Wmissing-declarations      -Wmissing-prototypes -Wredundant-decls -Wshadow -Wstrict-prototypes     -Wlogical-op    -Winline -pipe -D_INIT=libxt_owner_i
> >
> > I wanted I sent the whole bunch of logs...
> >
> > Cheers!
> > Meino
> >
> >
> >
> >
> 
> The header file reported as missing belongs to the net-libs/libnftnl package.
> Do you have it installed?
> 

No, it was not installed...
I would think, that portage/emerge would resolve this kind of
dependancies?!



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Compilation problem iptables
  2018-10-24 17:23   ` tuxic
@ 2018-10-24 21:50     ` Daniel Frey
  2018-10-25  7:54       ` Peter Humphrey
  0 siblings, 1 reply; 6+ messages in thread
From: Daniel Frey @ 2018-10-24 21:50 UTC (permalink / raw
  To: gentoo-user

On 10/24/18 10:23, tuxic@posteo.de wrote:
> No, it was not installed...
> I would think, that portage/emerge would resolve this kind of
> dependancies?!
> 
> 

See the thread right next to yours, "iptables-1.8.1 build failure".
Seems a dependency is missing in the ebuild.

Dan


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Compilation problem iptables
  2018-10-24 21:50     ` Daniel Frey
@ 2018-10-25  7:54       ` Peter Humphrey
  2018-10-25 16:36         ` tuxic
  0 siblings, 1 reply; 6+ messages in thread
From: Peter Humphrey @ 2018-10-25  7:54 UTC (permalink / raw
  To: gentoo-user

On Wednesday, 24 October 2018 22:50:03 BST Daniel Frey wrote:
> On 10/24/18 10:23, tuxic@posteo.de wrote:
> > No, it was not installed...
> > I would think, that portage/emerge would resolve this kind of
> > dependancies?!
> 
> See the thread right next to yours, "iptables-1.8.1 build failure".
> Seems a dependency is missing in the ebuild.

It's been fixed upstream and will be released in due course. Meanwhile, you 
can put 'net-firewall/iptables nftables' in /etc/portage/package.use, or a 
file under there if it's a directory.

-- 
Regards,
Peter.





^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-user] Compilation problem iptables
  2018-10-25  7:54       ` Peter Humphrey
@ 2018-10-25 16:36         ` tuxic
  0 siblings, 0 replies; 6+ messages in thread
From: tuxic @ 2018-10-25 16:36 UTC (permalink / raw
  To: gentoo-user

On 10/25 08:54, Peter Humphrey wrote:
> On Wednesday, 24 October 2018 22:50:03 BST Daniel Frey wrote:
> > On 10/24/18 10:23, tuxic@posteo.de wrote:
> > > No, it was not installed...
> > > I would think, that portage/emerge would resolve this kind of
> > > dependancies?!
> > 
> > See the thread right next to yours, "iptables-1.8.1 build failure".
> > Seems a dependency is missing in the ebuild.
> 
> It's been fixed upstream and will be released in due course. Meanwhile, you 
> can put 'net-firewall/iptables nftables' in /etc/portage/package.use, or a 
> file under there if it's a directory.
> 
> -- 
> Regards,
> Peter.
> 
> 
> 
> 

Hi,

thanks all for the help! :)

Cheers!
Meino




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2018-10-25 16:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-10-24 16:08 [gentoo-user] Compilation problem iptables tuxic
2018-10-24 17:10 ` Alexander Kapshuk
2018-10-24 17:23   ` tuxic
2018-10-24 21:50     ` Daniel Frey
2018-10-25  7:54       ` Peter Humphrey
2018-10-25 16:36         ` tuxic

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox