mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Clemens Gruber <clemens.gruber@pqgruber.com>
To: Juergen Borleis <jbe@pengutronix.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH v3] iproute2: update version and minor improvements
Date: Fri, 14 Oct 2016 15:19:09 +0200	[thread overview]
Message-ID: <20161014131909.GA6923@archie.localdomain> (raw)
In-Reply-To: <201610141456.12312.jbe@pengutronix.de>

Hi Juergen,

On Fri, Oct 14, 2016 at 02:56:12PM +0200, Juergen Borleis wrote:
> Did you ever tried a
> 
> $ ptxdist clean
> $ ptxdist compile iproute2
> 
> ?

Sure, does not throw an error at my machine. I also have iptables
disabled in my ptxconfig.

> 
> Here it fails with:
> 
> ------------------------
> target: iproute2.prepare
> ------------------------
> 
> TC schedulers
>  ATM    no
>  IPT    Package xtables was not found in the pkg-config search path.
> Perhaps you should add the directory containing `xtables.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'xtables' found
> using iptables
>  IPSET  yes
> 
> iptables modules directory: Package xtables was not found in the pkg-config search path.
> Perhaps you should add the directory containing `xtables.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'xtables' found
> not found!
> libc has setns: yes
> SELinux support: no
> ELF support: no
> libmnl support: no
> Berkeley DB: no
> 
> docs: latex: yes
>  pdflatex: yes
>  sgml2latex: no
>  WARNING: no LaTeX files can be build from SGML files
>  sgml2html: no
>  WARNING: no HTML docs can be built from SGML
> 
> (prepare stage does not fail :( )
> 
> ------------------------
> target: iproute2.compile
> ------------------------
> 
> make[1]: Entering directory '/ptx/work/dude/WORK_A/jbe/git_repositories/OSELAS.BSP-Pengutronix-Mini2440.git/platform-mini2440/build-target/iproute2-4.7.0'
> 
> [...]
> tc
>     CC       tc_core.o
>     CC       tc_red.o
>     CC       tc_cbq.o
>     CC       tc_estimator.o
> [...]
>     CC       emp_ematch.yacc.o
>     CC       emp_ematch.lex.o
>     AR       libtc.a
> Package xtables was not found in the pkg-config search path.
> Perhaps you should add the directory containing `xtables.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'xtables' found
> Package xtables was not found in the pkg-config search path.
> Perhaps you should add the directory containing `xtables.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'xtables' found
> In file included from m_xt.c:21:0:
> ../include/xtables.h:34:29: fatal error: xtables-version.h: No such file or directory
>  #include <xtables-version.h>
>                              ^
> compilation terminated.
> Makefile:161: recipe for target 'm_xt.so' failed
> make[2]: *** [m_xt.so] Error 1
> make[2]: *** Waiting for unfinished jobs....
> In file included from em_ipset.c:26:0:
> ../include/xtables.h:34:29: fatal error: xtables-version.h: No such file or directory
>  #include <xtables-version.h>
>                              ^
> compilation terminated.
> ../Config:31: recipe for target 'em_ipset.o' failed
> make[2]: *** [em_ipset.o] Error 1
> rm emp_ematch.lex.c
> Makefile:55: recipe for target 'all' failed
> make[1]: *** [all] Error 2
> make[1]: Leaving directory '[...]/build-target/iproute2-4.7.0'
> [...]/ptxdist.git/rules/post/ptxd_make_world_compile.make:21: recipe for target '[...]/state/iproute2.compile' failed
> make: *** [[...]/iproute2.compile] Error 2
> 
> When I add a dependency to the iptables package it compiles again.

Hmm I fear I missed that because there is still a xtables.h file in my
sysroot-target/usr/include folder.
So I disabled iptables but without a ptxdist clean iptables before
disabling it..

I'll investigate and report back with a patch.

I hope we do not have to enable iptables. Was trying to avoid that.

Regards,
Clemens

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2016-10-14 13:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-04 16:20 Clemens Gruber
2016-10-14 12:56 ` Juergen Borleis
2016-10-14 13:19   ` Clemens Gruber [this message]
2016-10-14 13:20   ` Clemens Gruber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20161014131909.GA6923@archie.localdomain \
    --to=clemens.gruber@pqgruber.com \
    --cc=jbe@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox