EricssonResearch / cerbero

OpenWebRTC cerbero fork
GNU Lesser General Public License v2.1
19 stars 58 forks source link

zlib recipe #60

Open StefanKarlsson987 opened 7 years ago

StefanKarlsson987 commented 7 years ago

The zlib recipe doesnt work, and need to be changed. It is just a question of faulty url in here: https://github.com/EricssonResearch/cerbero/blob/master/recipes/zlib.recipe

change:

url = 'http://zlib.net/zlib-1.2.8.tar.xz'

to

url = 'http://zlib.net/fossils/zlib-1.2.8.tar.gz'

email from zlib devels ensures that "http://zlib.net/fossils/" will contain all tar-balls, including latest release

sdroege commented 7 years ago

See https://bugzilla.gnome.org/show_bug.cgi?id=777012

StefanKarlsson987 commented 7 years ago

This is once more broken with the latest committs (15 days ago or so I believe). The attempt to use the fallback mirror site for zlib:

https://gstreamer.freedesktop.org/src/mirror/

is a sound idea, but there is a misref for the tar-ball name (cerbero looks for "zlib-1.2.10.tar.gz" but the mirror site has "zlib-1.2.10.tar.xz")

suggested fix:

  1. put the right file on the mirror site
  2. apply patch: 0001-fixed-zlib-tarball-url.patch.txt

http://pastebin.com/gVPRv8XM

StefanKarlsson987 commented 7 years ago

Could add: do not know if this is something in upstream cerebro.... not playing with that atm