Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: "Alexander Stohr" <Alexander.Stohr@gmx.de>
To: openembedded-devel@lists.openembedded.org
Subject: Re: do we need patch-native ?
Date: Fri, 15 Oct 2010 17:22:00 +0200	[thread overview]
Message-ID: <20101015152200.222150@gmx.net> (raw)

Frans Meulenbroeks wrote:

> I had to do a build on OpenSuse 11.3 today, and it failed building
> quilt-native (0.46-r2)
> Root cause is that quilt configure tries to find whether patch is
> installed and has a version > 2.4

that whole setup and the files you mentioned for a certain reason
are looking quite familiar to me.

probably you will soon see things like this one for patchutils as well:

http://lists.linuxtogo.org/pipermail/openembedded-devel/2010-October/025087.html

variants of this line of code might help in the topic pretty generically:

  aclocal --version | head -n 1 | sed -e "s/^.*[^[:digit:]\.]//g"

this should give you the tail of the first version line starting with the first character qualifying as a digit. the result might be e.g. "1.10.1".

in fact i would rather prefer external tools that really only provide their version number on a single line by using a specific option and a full lengthy copyright/info notice when using some other option - just thinking about what makes the life of script coder much simpler.

as seen in other notes for autoconf scripts its often resolved as two variants where the $1 value determines if $2 or $3 is the desired result.
basically i would prefer having patch-native as this will provide a very well known reproducible environment dropping all such nasties and even covering the case where there is no such tool present at all. it might be a slight effort to maintain such a recipe but it will definitely kill the cross over amount of combination resulting from some 200 possible build platforms and some 50..500 recipes making use of the --version option of whatever tool is in question.

regards, Alex.
-- 
Neu: GMX De-Mail - Einfach wie E-Mail, sicher wie ein Brief!  
Jetzt De-Mail-Adresse reservieren: http://portal.gmx.net/de/go/demail



             reply	other threads:[~2010-10-15 15:22 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-15 15:22 Alexander Stohr [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-10-25 13:17 do we need patch-native ? Alexander Stohr
2010-10-13 14:12 Frans Meulenbroeks
2010-10-13 14:26 ` Gary Thomas
2010-10-13 17:58   ` Frans Meulenbroeks

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=20101015152200.222150@gmx.net \
    --to=alexander.stohr@gmx.de \
    --cc=openembedded-devel@lists.openembedded.org \
    /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