git revision number for package update
Ebrahim Mayat via Fink-devel <[email protected]> Wed, 22 Apr 2020 13:31:55 -0400
| Newsgroups | gmane.os.apple.fink.devel |
|---|---|
| Message-ID | <[email protected]> |
Dear Finkers, I am trying to update the fluidsynth1 package which is now available from GitHub. I came across a couple of “minor” problems which I need to iron out. 1. How can I get the revision number of the source from a git repository? 2. After package validation, I got the following warnings and error with the —build-as-nobody option > % fink validate /opt/sw/fink/dists/local/main/finkinfo/fluidsynth1.info <http://fluidsynth1.info/> > > % fink -m --build-as-nobody rebuild fluidsynth1 > WARNING: Xcode.app version (11.4) and Xcode Command Line Tools version (0.0) > may not be compatible. > You may experience build errors. > > The following package will be rebuilt: > fluidsynth1 > curl --connect-timeout 30 -f -L -A 'fink/0.45.1' -O http://distfiles.master.finkmirrors.net/distfiles/v2.1.1.tar.gz <http://distfiles.master.finkmirrors.net/distfiles/v2.1.1.tar.gz> > % Total % Received % Xferd Average Speed Time Time Time Current > Dload Upload Total Spent Left Speed > 0 0 0 0 0 0 0 0 --:--:-- 0:00:01 --:--:-- 0 > curl: (22) The requested URL returned error: 404 Not Found > ### execution of curl failed, exit code 22 > Downloading the file "v2.1.1.tar.gz" failed. > > (1) Give up > (2) Retry the same mirror > (3) Retry another mirror from your continent > (4) Retry another mirror > (5) Retry using original source URL > > Default answer will be chosen in 120 seconds... > How do you want to proceed? [3] 5 > curl --connect-timeout 30 -f -L -A 'fink/0.45.1' -O https://github.com/FluidSynth/fluidsynth/archive/v2.1.1.tar.gz <https://github.com/FluidSynth/fluidsynth/archive/v2.1.1.tar.gz> > % Total % Received % Xferd Average Speed Time Time Time Current > Dload Upload Total Spent Left Speed > 100 129 100 129 0 0 73 0 0:00:01 0:00:01 --:--:-- 73 > 100 1328k 0 1328k 0 0 113k 0 --:--:-- 0:00:11 --:--:-- 173k > Setting runtime build-lock... > dpkg-deb -b /opt/sw/src/fink.build/root-fink-buildlock-fluidsynth1-2.1.1-1 /opt/sw/src/fink.build > dpkg-deb: building package `fink-buildlock-fluidsynth1-2.1.1-1' in `/opt/sw/src/fink.build/fink-buildlock-fluidsynth1-2.1.1-1_2020.04.22-11.21.31_darwin-x86_64.deb'. > Installing build-lock package... > /opt/sw/bin/dpkg-lockwait -i /opt/sw/src/fink.build/fink-buildlock-fluidsynth1-2.1.1-1_2020.04.22-11.21.31_darwin-x86_64.deb > Selecting previously deselected package fink-buildlock-fluidsynth1-2.1.1-1. > (Reading database ... 44428 files and directories currently installed.) > Unpacking fink-buildlock-fluidsynth1-2.1.1-1 (from .../fink-buildlock-fluidsynth1-2.1.1-1_2020.04.22-11.21.31_darwin-x86_64.deb) ... > Setting up fink-buildlock-fluidsynth1-2.1.1-1 (2020.04.22-11.21.31) ... > > sudo -u fink-bld [ENV] sh -c /tmp/fink.xDDRJ > env LANG=C LC_ALL=C /opt/sw/bin/tar --no-same-owner --no-same-permissions -xvf /opt/sw/src/v2.1.1.tar.gz > fluidsynth-2.1.1/ > fluidsynth-2.1.1/.appveyor-vcpkg.yml > fluidsynth-2.1.1/.azure-pipelines-mac.yml > fluidsynth-2.1.1/test/test_synth_chorus_reverb.c > fluidsynth-2.1.1/test/test_synth_process.c > Removing runtime build-lock... > Removing build-lock package... > /opt/sw/bin/dpkg-lockwait -r fink-buildlock-fluidsynth1-2.1.1-1 > (Reading database ... 44429 files and directories currently installed.) > Removing fink-buildlock-fluidsynth1-2.1.1-1 ... > Failed: directory /opt/sw/src/fink.build/fluidsynth1-2.1.1-1/v2.1.1 doesn't exist, check the package description The source tarball is named "v2.1.1.tar.gz”. I wonder if this could be the problem? > % ls /opt/sw/src/fink.build > fluidsynth1-2.1.1-1 fluidsynth1-2.1.1-2.1.1 perl5162-5.16.2-103 Attached is the package description. I would appreciate any suggestions for improving the package description, Many thanks, Ebrahim _______________________________________________ Fink-devel mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-devel Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-devel