openastroproject / openastro

Open Astro Project
GNU General Public License v3.0
91 stars 27 forks source link

Download failing validity check #486

Closed Lightwel closed 3 years ago

Lightwel commented 4 years ago

Trying to build oastro on Manjaro get a checksum failure: download/build directory is ~//openastro

openastro]$ ls bin COPYING images liboacam liboaimgproc liboavideo osx udev bootstrap docs include liboademosaic liboaPTR Makefile.am packagers version common ext INSTALL liboaephem liboaSER oacapture qt-icons configure.ac icons lib liboafilterwheel liboautil oalive README.md [richardhornby@richard-macbookpro55 openastro]$ cd packagers [richardhornby@richard-macbookpro55 packagers]$ cd arch [richardhornby@richard-macbookpro55 arch]$ makepkg ==> Making package: oacapture 1.8.0-1 (Fri 23 Oct 2020 13:01:31 BST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading v1.4.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 134 100 134 0 0 529 0 --:--:-- --:--:-- --:--:-- 527 100 49.5M 0 49.5M 0 0 5408k 0 --:--:-- 0:00:09 --:--:-- 6563k -> Found oacapture-slash-lib.diff ==> Validating source files with sha1sums... v1.4.0.tar.gz ... Passed oacapture-slash-lib.diff ... FAILED ==> ERROR: One or more files did not pass the validity check! [richardhornby@richard-macbookpro55 arch]$

This has happened both with the .tar.gz and git clone downloads.

Any remedy?

Tks

openastroproject commented 4 years ago

Hmmm. I think there may be a fundamental problem with including this file in the source tree since it appears to need to contain a checksum of a file that contains it. Not sure how to fix that at the moment. I wonder if it can be bodged to get a build working by removing the checksums altogether. It still wouldn't be right though as it's trying to build v1.8 when there's no v1.8 release to download yet, and in fact it's downloading the v1.4 release.

To get a working v1.7 build I'd suggest changing the "pkgver" line to 1.7.0, updating the source line to download the 1.7.0 release and either commenting out the sha1sums line (if that works) or running "sha1sum" on both the diff file and the 1.7.0 tar file and correcting them in the sha1sums line.

Lightwel commented 4 years ago

Hi

v1.8 is now on GitHub and I’ve managed to do

$ automake

$ ./bootstrap

$ ./configure

$ make

But

$ install /usr/local/OACapture_1.8

Fails requiring a file to be specified.

Same with

$ install

And

$ sudo install

1 could you kindly build 1.8 in the AUR?

2 any hints why install failed?

Many thanks

R

Sent from my iPhone

On 27 Oct 2020, at 23:13, Open Astro Project notifications@github.com wrote:

 Hmmm. I think there may be a fundamental problem with including this file in the source tree since it appears to need to contain a checksum of a file that contains it. Not sure how to fix that at the moment. I wonder if it can be bodged to get a build working by removing the checksums altogether. It still wouldn't be right though as it's trying to build v1.8 when there's no v1.8 release to download yet, and in fact it's downloading the v1.4 release.

To get a working v1.7 build I'd suggest changing the "pkgver" line to 1.7.0, updating the source line to download the 1.7.0 release and either commenting out the sha1sums line (if that works) or running "sha1sum" on both the diff file and the 1.7.0 tar file and correcting them in the sha1sums line.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Lightwel commented 4 years ago

Hi

v1.8 is now on GitHub and I’ve managed to do

$ automake

$ ./bootstrap

$ ./configure

$ make

But

$ install /usr/local/OACapture_1.8

Fails requiring a file to be specified.

Same with

$ install -d and -D

And

$ sudo install

1 could you kindly build 1.8 in the AUR?

2 any hints why install failed?

Many thanks

R

Sent from my iPhone

On 27 Oct 2020, at 23:13, Open Astro Project notifications@github.com wrote:  Hmmm. I think there may be a fundamental problem with including this file in the source tree since it appears to need to contain a checksum of a file that contains it. Not sure how to fix that at the moment. I wonder if it can be bodged to get a build working by removing the checksums altogether. It still wouldn't be right though as it's trying to build v1.8 when there's no v1.8 release to download yet, and in fact it's downloading the v1.4 release.

To get a working v1.7 build I'd suggest changing the "pkgver" line to 1.7.0, updating the source line to download the 1.7.0 release and either commenting out the sha1sums line (if that works) or running "sha1sum" on both the diff file and the 1.7.0 tar file and correcting them in the sha1sums line.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

openastroproject commented 3 years ago

Ok, with the 1.8.0 release and the arch build files I've just committed, makepkg now successfully builds the package for me.

Lightwel commented 3 years ago

That’s great thanks - will check it out as soon as I can - hopefully over the weekend

Best

R

On 10 Dec 2020, at 23:09, Open Astro Project notifications@github.com wrote:

Ok, with the 1.8.0 release and the arch build files I've just committed, makepkg now successfully builds the package for me.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/openastroproject/openastro/issues/486#issuecomment-742858161, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARPSJMEQSNSOA3D2WRT23I3SUFIK3ANCNFSM4S4PELCQ.