Opened 6 weeks ago
Last modified 5 weeks ago
#70985 assigned defect
aom @3.9.1 cannot be built on PPC Leopard, Mac OS X 10.5.8, because git clone does not work
Reported by: | ballapete (Peter "Pete" Dyballa) | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.10.1 |
Keywords: | leopard ppc | Cc: | |
Port: | aom |
Description
When using the original Portfile
downloading the source fails with:
fatal: unable to access 'https://aomedia.googlesource.com/aom.git/': Could not resolve host: aomedia.googlesource.com
while ping
has no problem:
pete 226 /\ ping aomedia.googlesource.com PING aomedia.googlesource.com (74.125.206.82): 56 data bytes 64 bytes from 74.125.206.82: icmp_seq=0 ttl=60 time=13.419 ms 64 bytes from 74.125.206.82: icmp_seq=1 ttl=60 time=12.664 ms 64 bytes from 74.125.206.82: icmp_seq=2 ttl=60 time=13.197 ms 64 bytes from 74.125.206.82: icmp_seq=3 ttl=60 time=12.715 ms ^C --- aomedia.googlesource.com ping statistics --- 4 packets transmitted, 4 packets received, 0% packet loss round-trip min/avg/max/stddev = 12.664/12.999/13.419/0.320 ms
Attachments (2)
Change History (6)
Changed 6 weeks ago by ballapete (Peter "Pete" Dyballa)
comment:1 Changed 6 weeks ago by ballapete (Peter "Pete" Dyballa)
When I change the IP name with its address in Portfile
I get:
Cloning into '/opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.9.1'... fatal: unable to access 'https://74.125.206.82/aom.git/': SSL certificate problem: self-signed certificate Command failed: /opt/local/bin/git clone --progress https://74.125.206.82/aom.git /opt/local/var/macports/build/_opt_local_var_macports_sources_nue.de.rsync.macports.org_macports_release_tarballs_ports_multimedia_aom/aom/work/aom-3.9.1 2>&1 Exit code: 128
Changed 6 weeks ago by ballapete (Peter "Pete" Dyballa)
Attachment: | main.2.log added |
---|
Main.log from PPC Leopard, Mac OS X 10.5.8, with IP name exchanged with IP address
comment:2 follow-up: 3 Changed 5 weeks ago by ballapete (Peter "Pete" Dyballa)
With this block in Portfile
homepage https://storage.googleapis.com/aom-releases/ distname lib${name}-${version} checksums rmd160 e0a04f5b7491c4b395e70f6c476f5fa580ad8c95 \ sha256 dba99fc1c28aaade28dda59821166b2fa91c06162d1bc99fde0ddaad7cecc50e \ size 5524048
the source archive can be fetched and upgrade
d.
comment:3 Changed 5 weeks ago by ryandesign (Ryan Carsten Schmidt)
Cc: | mcalhoun@… removed |
---|---|
Owner: | set to MarcusCalhoun-Lopez |
Status: | new → assigned |
Replying to ballapete:
When using the original
Portfile
downloading the source fails with:fatal: unable to access 'https://aomedia.googlesource.com/aom.git/': Could not resolve host: aomedia.googlesource.com
It works for me on macOS 12, but:
Replying to ballapete:
With this block in
Portfile
homepage https://storage.googleapis.com/aom-releases/ distname lib${name}-${version} checksums rmd160 e0a04f5b7491c4b395e70f6c476f5fa580ad8c95 \ sha256 dba99fc1c28aaade28dda59821166b2fa91c06162d1bc99fde0ddaad7cecc50e \ size 5524048the source archive can be fetched and
upgrade
d.
Fetching from a distfile is definitely preferred. The portfile says the reason why we didn't do that is:
# use git fetch rather than downloading a snapshot tarball
# which delivers a different checksum and size on each download
# see https://github.com/google/gitiles/issues/84
However that refers to downloading an automatically-generated tarball from their git system. You appear to have found a source for proper release tarballs that should not have that problem. How did you discover these release tarballs? I can't find them mentioned on the project's homepage.
comment:4 Changed 5 weeks ago by ballapete (Peter "Pete" Dyballa)
After it was clear that git clone
does not work on PPC Leopard
and neither manually, not even when supplying an environment variable to not check (self-made) certificates, no matter whether I give an I address, an IP name, or an IPv6 address, I just google'd for aom-1.9.2.tar.gz
(and also for the xz
variant). I checked two sites, Linux related repositories, one provided an MD5 checksum, the second just had the file for download which gave the same checksum on my PowerBook. (On a PowerBook you have a great amount of time to perform other things while a port
is being upgrade
d!)
I think the Linux repo with the MD5 checksum provided the "path name" to the original site which i then used in my patched Portfile
.
Main.log from PPC Leopard, Mac OS X 10.5.8, for original Portfile