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

Hi Clemens.

On Tuesday 04 October 2016 18:20:20 Clemens Gruber wrote:
> Update to iproute2 4.7.0, which - thanks to Alexander Aring - includes a
> patch to fix a xtables-related build failure.
>
> In addition we have to set TC_CONFIG_XT to y. Otherwise, the
> hand-crafted Configure script enables legacy iptables code, which in
> turn leads to multiple build failures.
> Enabling the iptables package in ptxdist is still not required.

Did you ever tried a

$ ptxdist clean
$ ptxdist compile iproute2

?

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.

Regards,
Juergen

-- 
Pengutronix e.K.                              | Juergen Borleis             |
Industrial Linux Solutions                    | http://www.pengutronix.de/  |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2016-10-14 12:56 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 [this message]
2016-10-14 13:19   ` Clemens Gruber
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=201610141456.12312.jbe@pengutronix.de \
    --to=jbe@pengutronix.de \
    --cc=clemens.gruber@pqgruber.com \
    --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