Re: Big Sur: Installing autoconf2.6-2.69-6 fails

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.general
Organization Snaggled Works
Message-ID <[email protected]>
On 12/16/21 11:02 AM, Lucier, Bradley J wrote:
> I guess I had been lazily thinking I’d wait until something got put into the git tree, but I finally got around to trying this.
> 
> I replaced the two files with the same name in
> 
> /opt/sw/fink/10.9-libcxx/stable/main/finkinfo/editors/
> 
> and came up with a checksum error:
> 
> [Bradleys-Mac-mini:~/programs/gambit] lucier% fink install emacs26
> Scanning package description files..........
> Information about 13376 packages read in 1 seconds.
> The following package will be installed or updated:
>   emacs26
> The following additional package will be installed:
>   emacsen-common
> Default answer will be chosen in 60 seconds...
> Do you want to continue? [Y/n]
> Setting runtime build-lock...
> dpkg-deb -b /opt/sw/src/fink.build/root-fink-buildlock-emacsen-common-1.4.15-6 /opt/sw/src/fink.build
> dpkg-deb: building package `fink-buildlock-emacsen-common-1.4.15-6' in `/opt/sw/src/fink.build/fink-buildlock-emacsen-common-1.4.15-6_2021.12.16-11.59.09_darwin-x86_64.deb'.
> Installing build-lock package...
> /opt/sw/bin/dpkg-lockwait -i /opt/sw/src/fink.build/fink-buildlock-emacsen-common-1.4.15-6_2021.12.16-11.59.09_darwin-x86_64.deb
> Selecting previously unselected package fink-buildlock-emacsen-common-1.4.15-6.
> (Reading database ... 58024 files and directories currently installed.)
> Preparing to unpack .../fink-buildlock-emacsen-common-1.4.15-6_2021.12.16-11.59.09_darwin-x86_64.deb ...
> Unpacking fink-buildlock-emacsen-common-1.4.15-6 (2021.12.16-11.59.09) ...
> Setting up fink-buildlock-emacsen-common-1.4.15-6 (2021.12.16-11.59.09) ...
> sudo -u fink-bld [ENV] sh -c /tmp/fink.tQdP5
> env LANG=C LC_ALL=C /opt/sw/bin/tar  --no-same-owner --no-same-permissions -xf /opt/sw/src/emacsen-common_1.4.15.tar.gz
> Removing runtime build-lock...
> Removing build-lock package...
> /opt/sw/bin/dpkg-lockwait -r fink-buildlock-emacsen-common-1.4.15-6
> (Reading database ... 58025 files and directories currently installed.)
> Removing fink-buildlock-emacsen-common-1.4.15-6 (2021.12.16-11.59.09) ...
> Failed: PatchFile "/opt/sw/fink/dists/stable/main/finkinfo/editors/emacsen-common.patch" checksum does not match!
> Expected: SHA256(1533417a3512c1f61b7c0c2ee26014e51492059f7602a26c4fe8e0f4b116575b)
> Actual: MD5(23501fa8ca462412e2b7cb4e30503593)
>          SHA1(9958c05e2d718b24fd78c9c739f199ef5147fb10)
>          SHA256(da9eb760443ca8b83531c0baad8799559fdc48a135299044e46cab83922f3dff)


This looks like the emacsen-common.patch got corrupted in the transfer 
(saved to a windows machine, then transferred to mac?). If you install 
the package 'dos2unix', you can then run this command (one line):

dos2unix 
/opt/sw/fink/dists/stable/main/finkinfo/editors/emacsen-common.patch

After that, the checksum for the file should be correct.

To bring some context into this, emacsen-common fails with system-perl 
 >= 5.28 (big sur and up). Scott's patch seems to fix the failure. Our 
emacsen-common is also very old. Anyone with knowledge of emacs and/or 
lisp is welcome to see about upgrading it.

Hanspeter


_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.