* [Buildroot] Is PHP download link in php.mk broken?
@ 2011-03-09 18:09 Grant Edwards
2011-03-09 18:17 ` Grant Edwards
0 siblings, 1 reply; 6+ messages in thread
From: Grant Edwards @ 2011-03-09 18:09 UTC (permalink / raw)
To: buildroot
I enabled the php package today, and it appears that the download link
used by buildroot is invalid. It's using
/home/nextgen/buildroot/downloads/php-$(PHP_VERSION).tar.bz2
That link doesn't work for any of the version numbers I treid. What
you get is a blob of HTML that says this:
Sorry, but the function distributions/php-5.2.12.tar.bz2 is not in
the online manual. Perhaps you misspelled it, or it is a relatively
new function that hasn't made it into the online documentation yet.
The following are the 20 functions which seem to be closest in
spelling to distributions/php-5.2.12.tar.bz2 (really good matches are
in bold). Perhaps you were looking for one of these: [...]
Does php.mk download the right thing for anybody else?
--
Grant Edwards grant.b.edwards Yow! My EARS are GONE!!
at
gmail.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Is PHP download link in php.mk broken?
2011-03-09 18:09 [Buildroot] Is PHP download link in php.mk broken? Grant Edwards
@ 2011-03-09 18:17 ` Grant Edwards
2011-03-09 18:20 ` Grant Edwards
2011-03-11 21:43 ` Peter Korsgaard
0 siblings, 2 replies; 6+ messages in thread
From: Grant Edwards @ 2011-03-09 18:17 UTC (permalink / raw)
To: buildroot
On 2011-03-09, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> I enabled the php package today, and it appears that the download
> link used by buildroot is invalid. It's using
>
> /home/nextgen/buildroot/downloads/php-$(PHP_VERSION).tar.bz2
Pasted the wrong thing. That's
http://www.php.net/distributions/php-$(PHP_VERSION).tar.bz2
And apparently the PHP site only allows downloading of the current
version. Since my buildroot snaphost isn't using the current version
of PHP, I can't build it. :/
--
Grant Edwards grant.b.edwards Yow! Thank god!! ... It's
at HENNY YOUNGMAN!!
gmail.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Is PHP download link in php.mk broken?
2011-03-09 18:17 ` Grant Edwards
@ 2011-03-09 18:20 ` Grant Edwards
2011-03-11 21:45 ` Peter Korsgaard
2011-03-11 21:43 ` Peter Korsgaard
1 sibling, 1 reply; 6+ messages in thread
From: Grant Edwards @ 2011-03-09 18:20 UTC (permalink / raw)
To: buildroot
On 2011-03-09, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> On 2011-03-09, Grant Edwards <grant.b.edwards@gmail.com> wrote:
>
>> I enabled the php package today, and it appears that the download
>> link used by buildroot is invalid. It's using
>>
>> /home/nextgen/buildroot/downloads/php-$(PHP_VERSION).tar.bz2
>
> Pasted the wrong thing. That's
>
> http://www.php.net/distributions/php-$(PHP_VERSION).tar.bz2
>
> And apparently the PHP site only allows downloading of the current
> version. Since my buildroot snaphost isn't using the current version
> of PHP, I can't build it. :/
I found older releases at:
http://museum.php.net/php5/php-$(PHP_VERSION).tar.bz2
But, that link _won't_ work for the current version. Is there a way
to provide multiple download links in a .mk file?
--
Grant Edwards grant.b.edwards Yow! ... I don't like FRANK
at SINATRA or his CHILDREN.
gmail.com
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Is PHP download link in php.mk broken?
2011-03-09 18:17 ` Grant Edwards
2011-03-09 18:20 ` Grant Edwards
@ 2011-03-11 21:43 ` Peter Korsgaard
2011-03-11 21:57 ` Grant Edwards
1 sibling, 1 reply; 6+ messages in thread
From: Peter Korsgaard @ 2011-03-11 21:43 UTC (permalink / raw)
To: buildroot
>>>>> "Grant" == Grant Edwards <grant.b.edwards@gmail.com> writes:
Grant> On 2011-03-09, Grant Edwards <grant.b.edwards@gmail.com> wrote:
>> I enabled the php package today, and it appears that the download
>> link used by buildroot is invalid. It's using
>>
>> /home/nextgen/buildroot/downloads/php-$(PHP_VERSION).tar.bz2
Grant> Pasted the wrong thing. That's
Grant> http://www.php.net/distributions/php-$(PHP_VERSION).tar.bz2
Yeah, The php developers afaik use some magic download script to for
load balancing / stats. The problem is that this script is broken, so
instead of returning an error when the file isn't there it instead
"helpfully" sends you a HTML file informing about it.
Now, buildroot thinks the download went fine, so it doesn't fallback to
the sources.buildroot.net mirror and the build then later breaks when it
tries to extract the tarball (which instead is a HTML file).
There's not much we can do about it besides complain to the PHP devs,
but you can download the tarball from our mirror and stick in your dl
dir so the build works.
http://sources.buildroot.net/php-5.2.12.tar.bz2
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Is PHP download link in php.mk broken?
2011-03-09 18:20 ` Grant Edwards
@ 2011-03-11 21:45 ` Peter Korsgaard
0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2011-03-11 21:45 UTC (permalink / raw)
To: buildroot
>>>>> "Grant" == Grant Edwards <grant.b.edwards@gmail.com> writes:
Grant> I found older releases at:
Grant> http://museum.php.net/php5/php-$(PHP_VERSION).tar.bz2
Grant> But, that link _won't_ work for the current version. Is there a way
Grant> to provide multiple download links in a .mk file?
Not for a specific .mk, but we support primary mirrors
(BR2_PRIMARY_SITE) and fallback mirrors (BR2_BACKUP_SITE). The last one
is normally enough (and set by default), but as php.net claims the
download succeeded we never fall back to the backup site.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] Is PHP download link in php.mk broken?
2011-03-11 21:43 ` Peter Korsgaard
@ 2011-03-11 21:57 ` Grant Edwards
0 siblings, 0 replies; 6+ messages in thread
From: Grant Edwards @ 2011-03-11 21:57 UTC (permalink / raw)
To: buildroot
On 2011-03-11, Peter Korsgaard <jacmet@uclibc.org> wrote:
>>>>>> "Grant" == Grant Edwards <grant.b.edwards@gmail.com> writes:
>
> Grant> On 2011-03-09, Grant Edwards <grant.b.edwards@gmail.com> wrote:
> >> I enabled the php package today, and it appears that the download
> >> link used by buildroot is invalid. It's using
> >>
> >> /home/nextgen/buildroot/downloads/php-$(PHP_VERSION).tar.bz2
>
> Grant> Pasted the wrong thing. That's
>
> Grant> http://www.php.net/distributions/php-$(PHP_VERSION).tar.bz2
>
> Yeah, The php developers afaik use some magic download script to for
> load balancing / stats. The problem is that this script is broken, so
> instead of returning an error when the file isn't there it instead
> "helpfully" sends you a HTML file informing about it.
Sort of like DNS servers that "helpfully" direct you to some bogus
ad-filled website when you type in an invalid hostname.
> Now, buildroot thinks the download went fine, so it doesn't fallback
> to the sources.buildroot.net mirror and the build then later breaks
> when it tries to extract the tarball (which instead is a HTML file).
>
> There's not much we can do about it besides complain to the PHP devs,
> but you can download the tarball from our mirror and stick in your dl
> dir so the build works.
>
> http://sources.buildroot.net/php-5.2.12.tar.bz2
It turns out you can get old versions from
http://museum.php.net/php5/php-$(PHP_VERSION).tar.bz2
However, you can't get the current version from there. But, asking
for the current version with that URL _does_ fail with a 404, so I
think that using http://museum.php.net/php5/php-$(PHP_VERSION).tar.bz2
as the primary and http://www.php.net/distributions/php-$(PHP_VERSION).tar.bz2
as the backup might work.
In any case, I did find the version I was looking for and it's working
fine.
[I really need to update my buildroot snaphost, but there are other
things that need to get done before that...]
--
Grant Edwards grant.b.edwards Yow! Look DEEP into the
at OPENINGS!! Do you see any
gmail.com ELVES or EDSELS ... or a
HIGHBALL?? ...
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-03-11 21:57 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-09 18:09 [Buildroot] Is PHP download link in php.mk broken? Grant Edwards
2011-03-09 18:17 ` Grant Edwards
2011-03-09 18:20 ` Grant Edwards
2011-03-11 21:45 ` Peter Korsgaard
2011-03-11 21:43 ` Peter Korsgaard
2011-03-11 21:57 ` Grant Edwards
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox