Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Sven Neumann <s.neumann@raumfeld.com>
To: buildroot@busybox.net
Subject: [Buildroot] Failure building udev (version of tar too old)
Date: Mon, 27 Feb 2012 21:37:24 +0100	[thread overview]
Message-ID: <1330375044.2882.8.camel@bender> (raw)

Hi,

after updating buildroot to 2012.02-rc3 today, our builds broke with the
following error:

 udev 181 Building
PATH="/var/lib/buildbot/build-geode-1.8/build/output/host/bin:/var/lib/buildbot/build-geode-1.8/build/output/host/usr/bin:/var/lib/buildbot/build-geode-1.8/build/output/host/usr/sbin/:/usr/local/bin:/usr/bin:/bin:/usr/games" PERLLIB="/var/lib/buildbot/build-geode-1.8/build/output/host/usr/lib/perl"  /usr/bin/make -j4  -C /var/lib/buildbot/build-geode-1.8/build/output/build/udev-181/
make[1]: Entering directory `/var/lib/buildbot/build-geode-1.8/build/output/build/udev-181'
  GEN    test/sys/kernel/uevent_seqnum
  GEN    src/extras/keymap/keys.txt
  GEN    src/extras/keymap/keys-from-name.gperf
  GEN    src/extras/keymap/keys-to-name.h
  GEN    src/extras/keymap/keys-from-name.h
tar: invalid option -- J
Try `tar --help' or `tar --usage' for more information.
make[1]: *** [test/sys/kernel/uevent_seqnum] Error 64
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/var/lib/buildbot/build-geode-1.8/build/output/build/udev-181'
make: *** [/var/lib/buildbot/build-geode-1.8/build/output/build/udev-181/.stamp_built] Error 2


Looks like udev requires a version of tar that supports xz compression.
Our buildbots have tar (GNU tar) 1.20.

I see several options to fix this. I could update tar on the build
hosts, but then others are likely to hit the same problem. Then one
could probably patch udev to skip the particular test that requires
extracting the xz-compressed archive. Or one could make udev use
host-tar in case that the version of tar provided by the build host is
too old.

I guess that the latter would be the preferred solution, but I have to
admit that I don't quite understand how the check-host-tar.mk works and
what I would have to change to fix this udev problem. Perhaps someone of
you can hold my hand?

Also while trying to understand the check-host-tar script, I found that
there are at least two packages that are using TAR_STRIP_COMPONENTS with
tar instead of $(TAR):

toolchain/gdb/gdb.mk:   $(GDB_CAT) $(DL_DIR)/$(GDB_SOURCE) | tar -C $(GDB_DIR) $(TAR_STRIP_COMPONENTS)=1 $(TAR_OPTIONS) -
toolchain/kernel-headers/kernel-headers.mk:     tar $(TAR_STRIP_COMPONENTS)=1 -C $(@D) $(TAR_OPTIONS) -


Regards, Sven

                 reply	other threads:[~2012-02-27 20:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1330375044.2882.8.camel@bender \
    --to=s.neumann@raumfeld.com \
    --cc=buildroot@busybox.net \
    /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