All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas De Schampheleire <patrickdepinguin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] smcroute: new package
Date: Mon, 16 Dec 2013 17:39:02 +0100	[thread overview]
Message-ID: <53f6441d-e221-4316-a6bb-ca80be307cae@email.android.com> (raw)
In-Reply-To: <OFDFF4011F.539E6A02-ON86257C43.0059E8A8-86257C43.005AED4B@rockwellcollins.com>

mlweber1 at rockwellcollins.com wrote:
>Thomas De Schampheleire <patrickdepinguin@gmail.com> wrote on 12/16/2013 
>09:25:41 AM:
>
>> From: Thomas De Schampheleire <patrickdepinguin@gmail.com>
>> To: mlweber1 at rockwellcollins.com
>> Cc: buildroot <buildroot@busybox.net>, Sean Gerhardt 
>> <sagerhar@rockwellcollins.com>
>> Date: 12/16/2013 09:25 AM
>> Subject: Re: [Buildroot] [PATCH 1/1] smcroute: new package
>> 
>> Hi Matt,
>> 
>> On Mon, Dec 16, 2013 at 3:07 PM,  <mlweber1@rockwellcollins.com> wrote:
>> 
>> >> >+SMCROUTE_SITE = $(call 
>github,troglobit,smcroute,$(SMCROUTE_VERSION))
>> >> >+SMCROUTE_SOURCE =
>> > troglobit-smcroute-$(SMCROUTE_VERSION)-0-g58388f6.tar.gz
>> >>
>> >> Why is it needed to specify _SOURCE here? It shouldn't be ..
>> > It seems like the releases are labeled in a way that requires this.
>> > Without
>> > specifying the source archive name, the archive that's requested to be
>> > downloaded
>> > "smcroute-$(SMCROUTE_VERSION).tar.gz" ends up as the file we noted as 
>the
>> > SOURCE.
>> 
>> I'm not sure I understand what you mean.
>> When I remove the _SOURCE line, I can still download and extract the
>> package normally. The name of the tar file is indeed different, but
>> this does not matter. The package infrastructure still correctly
>> handles it.
>> 
>> If you still think this _SOURCE is needed, could you explain in more 
>detail?
>
>I think I figured out what's happening.  (Our office firewall makes this 
>almost impossible to test, so I'll have to confirm tonight)
>If I remove the SOURCE archive definition from the .mk, the package 
>downloads and I think the buildroot pkg scripts then use the 
>resulting filename of the archive to extract it, which results in the 
>correct smcroute folder under build.  I think the issue with not defining 
>the 
>SOURCE filename comes into play if a buildroot dl cached local archive 
>file is 
>used to build the package.  Buildroot then can't find the source archive 
>because the cached archive file has a unique filename.  This results in 
>the buildroot pkg scripts proceeding to re-download the source archive 
>again before continuing with extracting the unique filename and doing 
>proceeding with the rest of the pkg build.
>
>We noticed this because our builds primarily using a cached/mirrored dl
>folder of archive files.


But this should be fixed by adding the new file to your dl cache right?

  reply	other threads:[~2013-12-16 16:39 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-12 18:14 [Buildroot] [PATCH 1/1] smcroute: new package Matt Weber
2013-12-15 20:15 ` Peter Korsgaard
2013-12-16 14:03   ` mlweber1 at rockwellcollins.com
2013-12-15 20:34 ` Thomas De Schampheleire
2013-12-16 14:07   ` mlweber1 at rockwellcollins.com
2013-12-16 15:25     ` Thomas De Schampheleire
2013-12-16 15:35       ` mlweber1 at rockwellcollins.com
2013-12-16 16:33       ` mlweber1 at rockwellcollins.com
2013-12-16 16:39         ` Thomas De Schampheleire [this message]
2013-12-17  2:18           ` mlweber1 at rockwellcollins.com

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=53f6441d-e221-4316-a6bb-ca80be307cae@email.android.com \
    --to=patrickdepinguin@gmail.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.