Skip to contentSkip to conversation

xbmc: use github call

PATCH New Maxime Hadjinlian 4 participants 8 messages Oct 12, 2014 – Dec 7, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xbmc: use github call

---
 package/xbmc/xbmc.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
package/xbmc/xbmc.mk +1 -2
index 0101ad7..966dbb3 100644
@@ -5,8 +5,7 @@
 ################################################################################
 
 XBMC_VERSION = 13.2-Gotham
-XBMC_SOURCE = $(XBMC_VERSION).tar.gz
-XBMC_SITE = https://github.com/xbmc/xbmc/archive
+XBMC_SITE = $(call github,xbmc,xbmc,$(XBMC_VERSION))
 XBMC_LICENSE = GPLv2
 XBMC_LICENSE_FILES = LICENSE.GPL
 # XBMC needs host-sdl_image (and therefore host-sdl) for a host tools it builds
Signature · 1 line
2.1.1
#1 lore raw

PATCH 1/1 xbmc: use github call

Maxime, All,

On 2014-10-12 20:21 +0200, Maxime Hadjinlian spake thusly:

Quoted 1 line

Regards,
Yann E. MORIN.

Quoted 25 lines
---
 package/xbmc/xbmc.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
package/xbmc/xbmc.mk +1 -2
index 0101ad7..966dbb3 100644
@@ -5,8 +5,7 @@
 ################################################################################
 
 XBMC_VERSION = 13.2-Gotham
-XBMC_SOURCE = $(XBMC_VERSION).tar.gz
-XBMC_SITE = https://github.com/xbmc/xbmc/archive
+XBMC_SITE = $(call github,xbmc,xbmc,$(XBMC_VERSION))
 XBMC_LICENSE = GPLv2
 XBMC_LICENSE_FILES = LICENSE.GPL
 # XBMC needs host-sdl_image (and therefore host-sdl) for a host tools it builds
Signature · 6 lines
2.1.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 xbmc: use github call

In reply to Maxime Hadjinlian
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Hadjinlian <[email protected]> writes:

Yann pointed out to me on IRC last night that this was needed for 2014.11 as xbmc downloads were otherwise broken, but it doesn't work for me:

Quoted 1 line
Quoted 1 line
Quoted 1 line

xbmc 13.2-Gotham Downloading

--2014-11-13 09:16:48-- https://github.com/xbmc/xbmc/archive/13.2-Gotham/xbmc-13.2-Gotham.tar.gz
Resolving github.com (github.com)... 192.30.252.129
Connecting to github.com (github.com)|192.30.252.129|:443... connected.
HTTP request sent, awaiting response... 404 Not Found

2014-11-13 09:16:50 ERROR 404: Not Found.

--2014-11-13 09:16:50-- http://sources.buildroot.net/xbmc-13.2-Gotham.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 176.9.16.109 Connecting to sources.buildroot.net (sources.buildroot.net)|176.9.16.109|:80... connected. HTTP request sent, awaiting response... 404 Not Found

2014-11-13 09:16:50 ERROR 404: Not Found.

package/pkg-generic.mk:73: recipe for target '/home/peko/source/buildroot/output/build/xbmc-13.2-Gotham/.stamp_downloaded' failed

Whereas the old URL did work:

Quoted 1 line
Quoted 1 line
Quoted 1 line

xbmc 13.2-Gotham Downloading

--2014-11-13 09:21:12-- https://github.com/xbmc/xbmc/archive/13.2-Gotham.tar.gz
Resolving github.com (github.com)... 192.30.252.129
Connecting to github.com (github.com)|192.30.252.129|:443... connected. HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/xbmc/xbmc/tar.gz/13.2-Gotham [following] --2014-11-13 09:21:13-- https://codeload.github.com/xbmc/xbmc/tar.gz/13.2-Gotham
Resolving codeload.github.com (codeload.github.com)... 192.30.252.144 Connecting to codeload.github.com (codeload.github.com)|192.30.252.144|:443... connected. HTTP request sent, awaiting response... 200 OK
Length: 65900491 (63M) [application/x-gzip]
Saving to: ?/home/peko/source/buildroot/output/build/.13.2-Gotham.tar.gz.D3JP1O/output?

100%[======================================================================>] 65,900,491 3.51MB/s in 12s

So what's going on?

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH 1/1 xbmc: use github call

Hi Peter, all

Quoted 38 lines · Peter Korsgaard
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Hadjinlian <[email protected]> writes:

Yann pointed out to me on IRC last night that this was needed for 2014.11 as xbmc downloads were otherwise broken, but it doesn't work for me:

Quoted 1 line
Quoted 1 line
Quoted 1 line

xbmc 13.2-Gotham Downloading

--2014-11-13 09:16:48-- https://github.com/xbmc/xbmc/archive/13.2-Gotham/xbmc-13.2-Gotham.tar.gz
Resolving github.com (github.com)... 192.30.252.129
Connecting to github.com (github.com)|192.30.252.129|:443... connected.
HTTP request sent, awaiting response... 404 Not Found

2014-11-13 09:16:50 ERROR 404: Not Found.

--2014-11-13 09:16:50-- http://sources.buildroot.net/xbmc-13.2-Gotham.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 176.9.16.109 Connecting to sources.buildroot.net (sources.buildroot.net)|176.9.16.109|:80... connected. HTTP request sent, awaiting response... 404 Not Found

2014-11-13 09:16:50 ERROR 404: Not Found.

package/pkg-generic.mk:73: recipe for target '/home/peko/source/buildroot/output/build/xbmc-13.2-Gotham/.stamp_downloaded' failed

Whereas the old URL did work:

Quoted 1 line
Quoted 1 line
Quoted 1 line

xbmc 13.2-Gotham Downloading

--2014-11-13 09:21:12-- https://github.com/xbmc/xbmc/archive/13.2-Gotham.tar.gz
Resolving github.com (github.com)... 192.30.252.129
Connecting to github.com (github.com)|192.30.252.129|:443... connected. HTTP request sent, awaiting response... 302 Found
Location: https://codeload.github.com/xbmc/xbmc/tar.gz/13.2-Gotham [following] --2014-11-13 09:21:13-- https://codeload.github.com/xbmc/xbmc/tar.gz/13.2-Gotham
Resolving codeload.github.com (codeload.github.com)... 192.30.252.144 Connecting to codeload.github.com (codeload.github.com)|192.30.252.144|:443... connected. HTTP request sent, awaiting response... 200 OK
Length: 65900491 (63M) [application/x-gzip]
Saving to: ?/home/peko/source/buildroot/output/build/.13.2-Gotham.tar.gz.D3JP1O/output?

Quoted 3 lines

100%[======================================================================>] 65,900,491 3.51MB/s in 12s

So what's going on?

As it appeared on IRC yesterday also, it seems that github changed *again* their download schemes silently, so every package using the github-helper are currently broken.
We need to devise a new github helper, or something to fix this urgently. Keep this patch in the queue, if we keep the github-helper, it should work then (or need some rework, depending on the solution we chose)

Quoted 3 lines

--
Bye, Peter Korsgaard

#4 lore raw

PATCH 1/1 xbmc: use github call

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Hadjinlian <[email protected]> writes:

Hi,

Quoted 7 lines
Quoted 1 line

So what's going on?

As it appeared on IRC yesterday also, it seems that github changed *again* their download schemes silently, so every package using the github-helper are currently broken.
We need to devise a new github helper, or something to fix this urgently. Keep this patch in the queue, if we keep the github-helper, it should work then (or need some rework, depending on the solution we chose)

Argh :/

Did anybody ever try contacting github to ask them to not break this again and again?

Signature · 1 line
Bye, Peter Korsgaard 
#5 lore raw

PATCH 1/1 xbmc: use github call

Hi Peter, all

Quoted 12 lines · Peter Korsgaard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Hadjinlian <[email protected]> writes:

Hi,

Quoted 7 lines
Quoted 1 line

So what's going on?

As it appeared on IRC yesterday also, it seems that github changed *again* their download schemes silently, so every package using the github-helper are currently broken.
We need to devise a new github helper, or something to fix this urgently. Keep this patch in the queue, if we keep the github-helper, it should work then (or need some rework, depending on the solution we chose)

Quoted 4 lines

Argh :/

Did anybody ever try contacting github to ask them to not break this again and again?

As Yann told me on IRC, it seems it has been fixed on Github sides. None the less, we should make a contact to tell them we exist. Feel free to apply this patch then.

Quoted 3 lines

--
Bye, Peter Korsgaard

#6 lore raw

PATCH 1/1 xbmc: use github call

In reply to Peter Korsgaard

Peter, All,

On 2014-11-13 09:21 +0100, Peter Korsgaard spake thusly:

Quoted 7 lines
Quoted 3 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Maxime" == Maxime Hadjinlian <[email protected]> writes:

Yann pointed out to me on IRC last night that this was needed for 2014.11 as xbmc downloads were otherwise broken, but it doesn't work for me:

[--SNIP--]

Quoted 1 line

So what's going on?

GitHub fixed their URLs handling now, so you can apply that patch, now.

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#7 lore raw

PATCH 1/1 xbmc: use github call

In reply to Maxime Hadjinlian

Dear Maxime Hadjinlian,

Quoted 4 lines · Maxime Hadjinlian
---
 package/xbmc/xbmc.mk | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

Applied, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com