mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released
@ 2012-11-27 12:24 Michael Olbrich
  2012-11-27 12:44 ` Alexander Dahl
  2012-12-06 12:39 ` [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released - problems Tim Sander
  0 siblings, 2 replies; 12+ messages in thread
From: Michael Olbrich @ 2012-11-27 12:24 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 7165 bytes --]

Hi,

I'm happy to announce that I've just released ptxdist-2012.11.0.
Please note, that this is a somewhat special release. For one, this month
is almost over. Usually I would just skip the release. However, it contains
some rather fundamental changes. This way, if there are bigger issues, it
won't be too long until the next release.
What we changed was the handling of additional compiler and linker flags.
In the past we've tried to pass these flags through the build-systems of
the individual packages. This was always a lot of work and wasn't very
reliable. Now the compiler and linker a wrapper scripts that insert the
necessary flags before calling the real tool.
This should make writing rules much easier, especially for packages with
hand-written Makefiles.
The wrappers are also used to set various hardening options if configured
to do so. Be careful if you use this. Everything compiles here, but there
may be runtime issues that have not been detected yet. If you find such a
problem: the individual hardening options can be blacklisted for each
package. Take a look at the kernel or systemd rules to see how this works.
Other than that there are various version bumps and bugfixes. I've also
improved the bash completion.

Thanks to all contributers and - as always - the shortlog below.

Enjoy,
Michael Olbrich

Alexander Dahl (3):
      ssmtp: update setting build options to current ptxdist mechanisms
      timezone: rename GLIBC_LOCALTIME and targetinstall only if not empty
      rootfs: change permissions of initial device nodes

Jan Luebbe (6):
      barebox: support new location of barebox_default_env
      gtk: depend on required cairo backends
      libffi: install header files to /usr/include
      wrapper: introduce a wrapper for cc, c++ and ld
      scripts: ptxd_make_get: change wording
      wrapper: introduce a wrapper for cc, c++, cpp and ld

Juergen Beisert (1):
      protobuf: just fix the menu alignement

Marc Kleine-Budde (3):
      libsocketcan: version bump to 0.0.9
      canutils: hardcode version 4.0.6
      iozone: work around problems with patch on opensuse

Michael Olbrich (89):
      ssmtp: use global IPv6 option
      install_fixup: allow expanding controls with arbitrary lines
      busybox: version bump 1.20.1 -> 1.20.2
      add a separate package for /etc/machine-id
      kconfig: update to v3.6-10970-g4d7127d
      ptxdist: add 'image' command do build individual images
      bash_completion: add 'image' and 'nfsroot' commands
      gettext: version bump: 0.18.1 -> 0.18.1.1
      libvorbis: version bump 1.2.3 -> 1.3.3
      fixup! libvorbis: version bump 1.2.3 -> 1.3.3
      kconfig: save last change for future versions
      iptables: version bump 1.4.14 -> 1.4.16.2
      xterm: version bump 279 -> 284
      systemd: add patch for correct __NR_name_to_handle_at on !x86
      dbus-glib: version bump 0.92 -> 0.100
      networkmanager: version bump 0.9.4 -> 0.9.6
      ppp: add patch to build with newer kernel headers
      busybox: add upstream patch to fix building with newer glibc
      tiobench: add patch to to fix building with newer glibc
      ptxd_lib_dgen: autogen.sh is now called in .extract.post, so depend on autogen-tools there
      libcgi: fix typo
      libpipeline: version bump 1.2.0 -> 1.2.2
      coreutils: version bump 8.5 -> 8.19
      valgrind: version bump 3.7.0 -> 3.8.1
      linuximage.lzo: let lzop write to stdout
      libnetpbm: version bump 10.35.72 -> 10.35.86
      poco: version bump 1.4.1p1 -> 1.4.4
      libdrm: move to multimedia_libs
      libpthread-stubs: move to system_libraries
      post/dts: fix for multiple dts files
      protobuf: new package
      systemd: version bump 194 -> 195
      dtc: add extra dependency, so that "ptxdist targetinstall kernel" also updates the device trees
      fixup! wrapper: introduce a wrapper for cc, c++ and ld
      dbus: improve configure options
      machine-id: fix rc.once script for rw rootfs
      ptxd_make_get: don't use server timestamps
      Revert "wrapper: introduce a wrapper for cc, c++ and ld"
      sdl-ttf: force disabling OpenGL support
      qt4: make sure the buildsystem does not strip the libraries
      scripts: move ptxd_init_ptxdist_path_sysroot from ptxd_init_ptxdist_path to ptxd_make_init
      connman: remove old patches
      pcre: remove old patches
      cmake: remove old patches
      libcurl: remove old patches
      dejagnu: remove patches
      libsigcpp: remove old patches
      gtk-engines: remove old autogen.sh
      links: version bump 2.2 -> 2.7
      systemd: add some missing configure options
      libcgi: fix the library name and recreate patches
      php5: force cross-compiling
      gettext-dummy: don't use macros
      glib: version bump: 2.32.3 -> 2.34.1
      initng: fix building with -D_FORTIFY_SOURCE=2
      nano: version bump 1.3.12 -> 2.3.1
      fbv: configure with --disable-debug
      bash_completion: rework and improve
      bash_completion: generate and cache options
      bash_completion: generate and cache newpackage options
      bash_completion: generate and cache commands
      bash_completion: suppress errors when printing PTX_PACKAGES_SELECTED
      bash_completion: no need for pushd/popd in a subshell
      bash_completion: options a always valid
      ptxdist: accept the long option --keep-going
      libcgi: use install_lib to match what is actually installed
      ptxd_make_get: touch the file instead of wget --no-use-server-timestamps
      iproute2: fix URL
      ptxd_lib_dgen: image target may need ipkg/opkg
      barebox: in new versions barebox-flash-image is used instead of barebox.bin
      tslib: add upstream patch to fix compiling with _FORTIFY_SOURCE
      cross-libkmod: new package
      kernel: use depmod from cross-libkmod
      cross-module-init-tools: remove obsolte package
      cross-libtool: remove duplicate package
      change cross-libkmod -> host-libkmod
      Revert "cross-libtool: remove duplicate package"
      cross-libtool: fix URL
      wrapper: optimize
      syslinux: blacklist TARGET_HARDEN_PIE
      systemd: blacklist TARGET_HARDEN_PIE for x86 and PPC
      grub: blacklist TARGET_HARDEN_PIE
      kernel: set wrapper blacklist
      libmikmod: add patch to fix libmikmod-config for SYSROOT
      dhex: fix building with toolchain wrapper
      largefile: also enable BUSYBOX_LFS
      machine-id: rc-once is a runtime dependency
      ptxd_make_get: set PTXdist as user agent
      ptxd_make_get: don't accept HTML files

User Mol (1):
      kconfig: define CIRCLEQ_* macros when needed

Wolfram Sang (2):
      sdl-ttf: version bump 2.0.9 -> 2.0.11
      sdl_image: version bump 1.2.6 -> 1.2.12


-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released
  2012-11-27 12:24 [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released Michael Olbrich
@ 2012-11-27 12:44 ` Alexander Dahl
  2012-11-27 14:18   ` Michael Olbrich
  2012-11-30 14:27   ` [ptxdist] md5sum and ptxdist-2012.11.0 Robert Bouwens
  2012-12-06 12:39 ` [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released - problems Tim Sander
  1 sibling, 2 replies; 12+ messages in thread
From: Alexander Dahl @ 2012-11-27 12:44 UTC (permalink / raw)
  To: ptxdist

Hei hei, 

Am 2012-11-27 13:24, schrieb Michael Olbrich:
> What we changed was the handling of additional compiler and linker flags.
> In the past we've tried to pass these flags through the build-systems of
> the individual packages. This was always a lot of work and wasn't very
> reliable. Now the compiler and linker a wrapper scripts that insert the
> necessary flags before calling the real tool.
> This should make writing rules much easier, especially for packages with
> hand-written Makefiles.

Is it necessary to change any existing rules?

Greets
Alex

-- 
»With the first link, the chain is forged. The first speech censured,
the first thought forbidden, the first freedom denied, chains us all
irrevocably.« (Jean-Luc Picard, quoting Judge Aaron Satie)
*** GnuPG-FP: 02C8 A590 7FE5 CA5F 3601  D1D5 8FBA 7744 CC87 10D0 ***

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released
  2012-11-27 12:44 ` Alexander Dahl
@ 2012-11-27 14:18   ` Michael Olbrich
  2012-11-30 14:27   ` [ptxdist] md5sum and ptxdist-2012.11.0 Robert Bouwens
  1 sibling, 0 replies; 12+ messages in thread
From: Michael Olbrich @ 2012-11-27 14:18 UTC (permalink / raw)
  To: ptxdist

Hi,

On Tue, Nov 27, 2012 at 01:44:14PM +0100, Alexander Dahl wrote:
> Am 2012-11-27 13:24, schrieb Michael Olbrich:
> > What we changed was the handling of additional compiler and linker flags.
> > In the past we've tried to pass these flags through the build-systems of
> > the individual packages. This was always a lot of work and wasn't very
> > reliable. Now the compiler and linker a wrapper scripts that insert the
> > necessary flags before calling the real tool.
> > This should make writing rules much easier, especially for packages with
> > hand-written Makefiles.
> 
> Is it necessary to change any existing rules?

In most cases that is not necessary. You might be able to clean things up a
bit, but keeping it as it is should not hurt.
There are a few exceptions:
e.g. dhex has "-I/usr/include" (I think) in its default CPPFLAGS.
$(CROSS_ENV) does not set this anymore so I had to explicitly add
CPPFLAGS="" to overwrite the default.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] md5sum and ptxdist-2012.11.0
  2012-11-27 12:44 ` Alexander Dahl
  2012-11-27 14:18   ` Michael Olbrich
@ 2012-11-30 14:27   ` Robert Bouwens
  2012-11-30 14:31     ` Marc Kleine-Budde
  2012-11-30 15:08     ` Robert Schwebel
  1 sibling, 2 replies; 12+ messages in thread
From: Robert Bouwens @ 2012-11-30 14:27 UTC (permalink / raw)
  To: ptxdist

hi,

as a test i try to update my local board support package.
kernel dot org now has dot xz files and ptxdist does download them.
what ever i do i get:

ptxdist: error: Wrong md5sum for 'kernel-header' (/home/robert/local/BSP-XXXXX/src/linux-3.2.tar.xz)

ok, ptxdist platformconfig has the updated value as older versions do download bz2 files.
the md5sum has been calculated on two different machines.
obviously with the same result - but ptxdist seems to have an other md5sum in mind.

some help is needed and

thanks for your help in advance

best robert
-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] md5sum and ptxdist-2012.11.0
  2012-11-30 14:27   ` [ptxdist] md5sum and ptxdist-2012.11.0 Robert Bouwens
@ 2012-11-30 14:31     ` Marc Kleine-Budde
  2012-11-30 15:08     ` Robert Schwebel
  1 sibling, 0 replies; 12+ messages in thread
From: Marc Kleine-Budde @ 2012-11-30 14:31 UTC (permalink / raw)
  To: ptxdist; +Cc: Robert Bouwens


[-- Attachment #1.1: Type: text/plain, Size: 1234 bytes --]

On 11/30/2012 03:27 PM, Robert Bouwens wrote:
> hi,
> 
> as a test i try to update my local board support package.
> kernel dot org now has dot xz files and ptxdist does download them.
> what ever i do i get:
> 
> ptxdist: error: Wrong md5sum for 'kernel-header' (/home/robert/local/BSP-XXXXX/src/linux-3.2.tar.xz)
> 
> ok, ptxdist platformconfig has the updated value as older versions do download bz2 files.
> the md5sum has been calculated on two different machines.
> obviously with the same result - but ptxdist seems to have an other md5sum in mind.
> 
> some help is needed and
> 
> thanks for your help in advance

The md5 for the kernel in in your BSP's ptxconfig. It's for the kernel
archive. If you switch from an old ptxdist to a newer version, ptxdist
uses the .xz tarball now. So you have to change the md5 version of that
tarball in your ptxconfig file. Or you do:

    ptxdist extract kernel-header --update-md5

Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 261 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] md5sum and ptxdist-2012.11.0
  2012-11-30 14:27   ` [ptxdist] md5sum and ptxdist-2012.11.0 Robert Bouwens
  2012-11-30 14:31     ` Marc Kleine-Budde
@ 2012-11-30 15:08     ` Robert Schwebel
  2012-11-30 15:42       ` [ptxdist] Antwort: " Robert Bouwens
  1 sibling, 1 reply; 12+ messages in thread
From: Robert Schwebel @ 2012-11-30 15:08 UTC (permalink / raw)
  To: ptxdist

Hi,

On Fri, Nov 30, 2012 at 03:27:16PM +0100, Robert Bouwens wrote:
> as a test i try to update my local board support package. kernel dot
> org now has dot xz files and ptxdist does download them.

Newer ptxdists do that.

> what ever i do i get:
>
> ptxdist: error: Wrong md5sum for 'kernel-header' (/home/robert/local/BSP-XXXXX/src/linux-3.2.tar.xz)

> ok, ptxdist platformconfig has the updated value as older versions do download bz2 files.
> the md5sum has been calculated on two different machines.
> obviously with the same result - but ptxdist seems to have an other md5sum in mind.

The MD5 sum in the rule file should fit the ptxdist version: when
ptxdist is new enough to use xz, it also has the corresponding MD5 sum.

So it looks like your BSP is not consistent.

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] Antwort: Re:  md5sum and ptxdist-2012.11.0
  2012-11-30 15:08     ` Robert Schwebel
@ 2012-11-30 15:42       ` Robert Bouwens
  2012-11-30 19:07         ` Robert Schwebel
  0 siblings, 1 reply; 12+ messages in thread
From: Robert Bouwens @ 2012-11-30 15:42 UTC (permalink / raw)
  To: ptxdist

[-- Attachment #1: Type: text/html, Size: 3241 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Antwort: Re:  md5sum and ptxdist-2012.11.0
  2012-11-30 15:42       ` [ptxdist] Antwort: " Robert Bouwens
@ 2012-11-30 19:07         ` Robert Schwebel
  0 siblings, 0 replies; 12+ messages in thread
From: Robert Schwebel @ 2012-11-30 19:07 UTC (permalink / raw)
  To: ptxdist

On Fri, Nov 30, 2012 at 04:42:29PM +0100, Robert Bouwens wrote:
> in essence a double configuration of linuxkernel and linuxheaders in
> platfomconfig and menuconfig. why defining twice the same mdsum! ;-)
> i was not aware of this.

Ah, ok.

> i made another simple change. a make file definition moved from the
> 'rules' directory one directory up. that caused a headache... because
> the error message is not really helpfull.

You shouldn't do that :-)

rsc
-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released - problems
  2012-11-27 12:24 [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released Michael Olbrich
  2012-11-27 12:44 ` Alexander Dahl
@ 2012-12-06 12:39 ` Tim Sander
  2012-12-06 14:36   ` Michael Olbrich
  2012-12-07 11:02   ` Michael Olbrich
  1 sibling, 2 replies; 12+ messages in thread
From: Tim Sander @ 2012-12-06 12:39 UTC (permalink / raw)
  To: ptxdist

Hi 

I just tested the ptxdist2012.11.0 release with a distrokit derived 
installation with beaglebone. 

It seems as if iptables does not compile. I didn't dig deeper into this...
also on downloading new files it gives an error that the magic file is not 
beeing found?

Best regards
Tim

/home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
target/iptables-1.4.16.2/extensions/libxt_HMARK.c:348: undefined reference to 
`xtables_ipmask_to_cidr'
/home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
target/iptables-1.4.16.2/extensions/libxt_HMARK.c:345: undefined reference to 
`xtables_ipmask_to_cidr'
collect2: ld returned 1 exit status
        + ./libipt_SNAT.man
        + ./libxt_TCPMSS.man
        + ./libxt_TCPOPTSTRIP.man
make[3]: *** [libxt_HMARK.so] Error 1
make[3]: *** Waiting for unfinished jobs....
        + ./libxt_quota.man
        + ./libxt_rateest.man
        + ./libipt_realm.man
        + ./libxt_TEE.man
        + ./libxt_TOS.man
        + ./libxt_TPROXY.man
        + ./libxt_TRACE.man
        + ./libipt_TTL.man
        + ./libipt_ULOG.man
        + ./libxt_recent.man
        + ./libxt_rpfilter.man
        + ./libip6t_rt.man
        + ./libxt_sctp.man
        + ./libxt_set.man
        + ./libxt_socket.man
        + ./libxt_state.man
        + ./libxt_statistic.man
        + ./libxt_string.man
        + ./libxt_tcp.man
        + ./libxt_tcpmss.man
        + ./libxt_time.man
        + ./libxt_tos.man
        + ./libipt_ttl.man
        + ./libxt_u32.man
        + ./libxt_udp.man
        + ./libipt_unclean.man
make[3]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
beagleboneti/build-target/iptables-1.4.16.2/extensions'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
beagleboneti/build-target/iptables-1.4.16.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
beagleboneti/build-target/iptables-1.4.16.2'
make: *** [/home/sander/speedy/pml/next/platform-pengutronix-
beagleboneti/state/iptables.compile] Error 2
sander@dabox:~/speedy/pml/next$ ptxdist images

------------------------
target: iptables.compile
------------------------

make[1]: Entering directory `/home/sander/speedy/pml/next/platform-
pengutronix-beagleboneti/build-target/iptables-1.4.16.2'
make  all-recursive
make[2]: Entering directory `/home/sander/speedy/pml/next/platform-
pengutronix-beagleboneti/build-target/iptables-1.4.16.2'
Making all in libiptc
make[3]: Entering directory `/home/sander/speedy/pml/next/platform-
pengutronix-beagleboneti/build-target/iptables-1.4.16.2/libiptc'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
beagleboneti/build-target/iptables-1.4.16.2/libiptc'
Making all in libxtables
make[3]: Entering directory `/home/sander/speedy/pml/next/platform-
pengutronix-beagleboneti/build-target/iptables-1.4.16.2/libxtables'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
beagleboneti/build-target/iptables-1.4.16.2/libxtables'
Making all in include
make[3]: Entering directory `/home/sander/speedy/pml/next/platform-
pengutronix-beagleboneti/build-target/iptables-1.4.16.2/include'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
beagleboneti/build-target/iptables-1.4.16.2/include'
Making all in extensions
make[3]: Entering directory `/home/sander/speedy/pml/next/platform-
pengutronix-beagleboneti/build-target/iptables-1.4.16.2/extensions'
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_HMARK.so 
libxt_HMARK.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_addrtype.so 
libxt_addrtype.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_cluster.so 
libxt_cluster.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_comment.so 
libxt_comment.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
libxt_connbytes.so libxt_connbytes.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
libxt_connlimit.so libxt_connlimit.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_connmark.so 
libxt_connmark.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
libxt_conntrack.so libxt_conntrack.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_cpu.so 
libxt_cpu.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_dccp.so 
libxt_dccp.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_devgroup.so 
libxt_devgroup.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_dscp.so 
libxt_dscp.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_ecn.so 
libxt_ecn.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_esp.so 
libxt_esp.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
libxt_hashlimit.so libxt_hashlimit.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_helper.so 
libxt_helper.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_iprange.so 
libxt_iprange.oo -L../libxtables/.libs -lxtables ;
arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_ipvs.so 
libxt_ipvs.oo -L../libxtables/.libs -lxtables ;
libxt_HMARK.oo: In function `HMARK_ip6_save':
/home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
target/iptables-1.4.16.2/extensions/libxt_HMARK.c:395: undefined reference to 
`xtables_ip6mask_to_cidr'
/home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
target/iptables-1.4.16.2/extensions/libxt_HMARK.c:391: undefined reference to 
`xtables_ip6mask_to_cidr'
libxt_HMARK.oo: In function `HMARK_ip4_save':
/home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
target/iptables-1.4.16.2/extensions/libxt_HMARK.c:412: undefined reference to 
`xtables_ipmask_to_cidr'
/home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
target/iptables-1.4.16.2/extensions/libxt_HMARK.c:408: undefined reference to 
`xtables_ipmask_to_cidr'
libxt_HMARK.oo: In function `HMARK_ip4_print':
/home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
target/iptables-1.4.16.2/extensions/libxt_HMARK.c:348: undefined reference to 
`xtables_ipmask_to_cidr'
/home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
target/iptables-1.4.16.2/extensions/libxt_HMARK.c:345: undefined reference to 
`xtables_ipmask_to_cidr'
collect2: ld returned 1 exit status
make[3]: *** [libxt_HMARK.so] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
beagleboneti/build-target/iptables-1.4.16.2/extensions'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
beagleboneti/build-target/iptables-1.4.16.2'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
beagleboneti/build-target/iptables-1.4.16.2'
make: *** [/home/sander/speedy/pml/next/platform-pengutronix-
beagleboneti/state/iptables.compile] Error 2

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released - problems
  2012-12-06 12:39 ` [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released - problems Tim Sander
@ 2012-12-06 14:36   ` Michael Olbrich
  2012-12-07  8:09     ` Tim Sander
  2012-12-07 11:02   ` Michael Olbrich
  1 sibling, 1 reply; 12+ messages in thread
From: Michael Olbrich @ 2012-12-06 14:36 UTC (permalink / raw)
  To: ptxdist

On Thu, Dec 06, 2012 at 01:39:38PM +0100, Tim Sander wrote:
> I just tested the ptxdist2012.11.0 release with a distrokit derived 
> installation with beaglebone. 
> 
> It seems as if iptables does not compile. I didn't dig deeper into this...
> also on downloading new files it gives an error that the magic file is not 
> beeing found?

Hu? Can you send the exact error message?

[...]
> ------------------------
> target: iptables.compile
> ------------------------
> 
> make[1]: Entering directory `/home/sander/speedy/pml/next/platform-
> pengutronix-beagleboneti/build-target/iptables-1.4.16.2'
> make  all-recursive
> make[2]: Entering directory `/home/sander/speedy/pml/next/platform-
> pengutronix-beagleboneti/build-target/iptables-1.4.16.2'
> Making all in libiptc
> make[3]: Entering directory `/home/sander/speedy/pml/next/platform-
> pengutronix-beagleboneti/build-target/iptables-1.4.16.2/libiptc'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/build-target/iptables-1.4.16.2/libiptc'
> Making all in libxtables
> make[3]: Entering directory `/home/sander/speedy/pml/next/platform-
> pengutronix-beagleboneti/build-target/iptables-1.4.16.2/libxtables'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/build-target/iptables-1.4.16.2/libxtables'
> Making all in include
> make[3]: Entering directory `/home/sander/speedy/pml/next/platform-
> pengutronix-beagleboneti/build-target/iptables-1.4.16.2/include'
> make[3]: Nothing to be done for `all'.
> make[3]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/build-target/iptables-1.4.16.2/include'
> Making all in extensions
> make[3]: Entering directory `/home/sander/speedy/pml/next/platform-
> pengutronix-beagleboneti/build-target/iptables-1.4.16.2/extensions'
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_HMARK.so 
> libxt_HMARK.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_addrtype.so 
> libxt_addrtype.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_cluster.so 
> libxt_cluster.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_comment.so 
> libxt_comment.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_connbytes.so libxt_connbytes.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_connlimit.so libxt_connlimit.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_connmark.so 
> libxt_connmark.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_conntrack.so libxt_conntrack.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_cpu.so 
> libxt_cpu.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_dccp.so 
> libxt_dccp.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_devgroup.so 
> libxt_devgroup.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_dscp.so 
> libxt_dscp.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_ecn.so 
> libxt_ecn.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_esp.so 
> libxt_esp.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o 
> libxt_hashlimit.so libxt_hashlimit.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_helper.so 
> libxt_helper.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_iprange.so 
> libxt_iprange.oo -L../libxtables/.libs -lxtables ;
> arm-cortexa8-linux-gnueabi-gcc -Wl,--no-undefined -shared  -o libxt_ipvs.so 
> libxt_ipvs.oo -L../libxtables/.libs -lxtables ;
> libxt_HMARK.oo: In function `HMARK_ip6_save':
> /home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
> target/iptables-1.4.16.2/extensions/libxt_HMARK.c:395: undefined reference to 
> `xtables_ip6mask_to_cidr'
> /home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
> target/iptables-1.4.16.2/extensions/libxt_HMARK.c:391: undefined reference to 
> `xtables_ip6mask_to_cidr'
> libxt_HMARK.oo: In function `HMARK_ip4_save':
> /home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
> target/iptables-1.4.16.2/extensions/libxt_HMARK.c:412: undefined reference to 
> `xtables_ipmask_to_cidr'
> /home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
> target/iptables-1.4.16.2/extensions/libxt_HMARK.c:408: undefined reference to 
> `xtables_ipmask_to_cidr'
> libxt_HMARK.oo: In function `HMARK_ip4_print':
> /home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
> target/iptables-1.4.16.2/extensions/libxt_HMARK.c:348: undefined reference to 
> `xtables_ipmask_to_cidr'
> /home/sander/speedy/pml/next/platform-pengutronix-beagleboneti/build-
> target/iptables-1.4.16.2/extensions/libxt_HMARK.c:345: undefined reference to 
> `xtables_ipmask_to_cidr'
> collect2: ld returned 1 exit status
> make[3]: *** [libxt_HMARK.so] Error 1
> make[3]: *** Waiting for unfinished jobs....
> make[3]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/build-target/iptables-1.4.16.2/extensions'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/build-target/iptables-1.4.16.2'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory `/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/build-target/iptables-1.4.16.2'
> make: *** [/home/sander/speedy/pml/next/platform-pengutronix-
> beagleboneti/state/iptables.compile] Error 2

Is this with a clean build? I think I saw an error like this, because the
linker used an older libxtables from sysroot-target/usr/lib.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released - problems
  2012-12-06 14:36   ` Michael Olbrich
@ 2012-12-07  8:09     ` Tim Sander
  0 siblings, 0 replies; 12+ messages in thread
From: Tim Sander @ 2012-12-07  8:09 UTC (permalink / raw)
  To: ptxdist

Hi Michael
> Is this with a clean build? I think I saw an error like this, because the
> linker used an older libxtables from sysroot-target/usr/lib.
Ok, i somehow forgot to clean. Sorry for the noise.
Tim

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released - problems
  2012-12-06 12:39 ` [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released - problems Tim Sander
  2012-12-06 14:36   ` Michael Olbrich
@ 2012-12-07 11:02   ` Michael Olbrich
  1 sibling, 0 replies; 12+ messages in thread
From: Michael Olbrich @ 2012-12-07 11:02 UTC (permalink / raw)
  To: ptxdist

Hi,

On Thu, Dec 06, 2012 at 01:39:38PM +0100, Tim Sander wrote:
> It seems as if iptables does not compile. I didn't dig deeper into this...
> also on downloading new files it gives an error that the magic file is not 
> beeing found?

Ok, found it: I've modified the download code to discard any HTML files
when downloading. This is to work around servers that send some HTML stuff
instead of a 404 error. This way the next URL in the list is checked.
The HTML detection is done with 'file'. If you have host-file installed in
sysroot-host, then this is accidentally used but is unable to find its
magic files.
I've committed a fix that moves host 'file' out of sysroot-host/bin so it
won't be used.

Michael

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2012-12-07 11:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-27 12:24 [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released Michael Olbrich
2012-11-27 12:44 ` Alexander Dahl
2012-11-27 14:18   ` Michael Olbrich
2012-11-30 14:27   ` [ptxdist] md5sum and ptxdist-2012.11.0 Robert Bouwens
2012-11-30 14:31     ` Marc Kleine-Budde
2012-11-30 15:08     ` Robert Schwebel
2012-11-30 15:42       ` [ptxdist] Antwort: " Robert Bouwens
2012-11-30 19:07         ` Robert Schwebel
2012-12-06 12:39 ` [ptxdist] [ANNOUNCE] PTXdist 2012.11.0 released - problems Tim Sander
2012-12-06 14:36   ` Michael Olbrich
2012-12-07  8:09     ` Tim Sander
2012-12-07 11:02   ` Michael Olbrich

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