Re: [Fink-beginners] Fink on Big Sur

Debbie Fligor <[email protected]>
Newsgroups gmane.os.apple.fink.general,gmane.os.apple.fink.beginners
Message-ID <CAMMk61Jku09oyY4nGx_2SMx4mwJo6DF4jgqfmaKvvF4DRXhMvQ@mail.gmail.com>
On Tue, May 18, 2021 at 7:49 PM Hanspeter Niederstrasser <
[email protected]> wrote:

> On 5/18/21 5:33 PM, Debbie Fligor wrote:
> > Hanspeter,
> >
> > Thanks much, that downloaded and built with no problems on my 11.3.1 M1
> mac mini (with a quick update to add the arm part to Bootstrap.pm).
> >
> > I’m still not able to finish the fink self-update though, as it can
> never fine the sensible-utils file to download. I’m assuming there either
> isn’t one that supports arm, or it’s constructing the download url
> incorrectly, as it doesn’t matter which mirror, or if I issue the command
> by hand vs. the script, choose rsync or git, or anything else I’ve thought
> to try
> >
> > curl --connect-timeout 30 -f -L -A 'fink/0.45.99.git' -O
> http://distfiles.master.finkmirrors.net/distfiles/sensible-utils-0.0.7.tar.gz
> >    % Total    % Received % Xferd  Average Speed   Time    Time     Time
> Current
> >                                   Dload  Upload   Total   Spent    Left
> Speed
> > 100   384  100   384    0     0   1811      0 --:--:-- --:--:--
> --:--:--  1811
> >    0     0    0     0    0     0      0      0 --:--:-- --:--:--
> --:--:--     0
> > curl: (22) The requested URL returned error: 404 Not Found
>
> That was an error in the Source: field in the package description (I was
> too quick to copy and paste). That's fixed now (the real file is
> sensible-utils_0.0.7.tar.gz; underscore between name and version, not a
> hyphen).
>
> Since you have Fink working on M1, can you paste the output of these two
> commands:
>
> uname -a
> file /opt/sw/bin/dpkg
>
> Hanspeter
>


Well, now that it can get past loading the files for selfupdate and
actually tries to compile packages, it's not doing so well.  I trusted the
"you should now have a working version in /opt/sw" line without reading too
much above it.  Sorry for the bad info.

It looks pretty good (only warnings) except for bfd fails two different
places, just before the end of phase 2 and just before the end of phase:

*** BFD does not support target arm-apple-darwin20.4.0.

*** Look in bfd/config.bfd for supported targets.

### execution of /tmp/fink.XVmOJ failed, exit code 1

phase compiling: objtools-2.22-4 failed


Then it tries to update list of locally available stuff and can't find
dpkg-deb


Then it goes on to Phase3 and does a lot of stuff that seems to work, but
then BFD has the same error


then it says bootstrap done and cleans up, but still can't use dpkg-deb.
and tells me I should now have a working version of fink in /opt/sw


I put the whole level 2 screen output into a file, if there's anything
there you don't already have from someone else, I can get you a copy.  If
you've got things for me to try, let me know, I'm happy to help.

here's the commands you asked for:

uname -a

Darwin <hostname> 20.4.0 Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:41
PDT 2021; root:xnu-7195.101.2~1/RELEASE_ARM64_T8101 arm64

admin@<host> fink % file /opt/sw/bin/dpkg

/opt/sw/bin/dpkg: cannot open `/opt/sw/bin/dpkg' (No such file or directory)


so here's what I get with fink selfupdate now:

[...]

Information about 10808 packages read in 6 seconds.

The following 14 packages will be installed or updated:

 base-files debianutils dpkg dpkg-base-files expat1 gettext-bin
libgettext8-dev libgettext8-shlibs libiconv libiconv-bin libiconv-dev

 sensible-utils tar unzip

The following 2 additional packages will be installed:

 expat1-shlibs fink-package-precedence

Default answer will be chosen in 60 seconds...

Do you want to continue? [Y/n]

curl --connect-timeout 30 -f -L -A 'fink/0.45.99.git' -O
http://distfiles.master.finkmirrors.net/distfiles/expat-2.3.0.tar.bz2

  % Total    % Received % Xferd  Average Speed   Time    Time     Time
Current

                                 Dload  Upload   Total   Spent    Left
Speed

100   376  100   376    0     0   1807      0 --:--:-- --:--:-- --:--:--
1807

100  521k  100  521k    0     0   434k      0  0:00:01  0:00:01 --:--:--
589k

Setting runtime build-lock...

dpkg-deb -b /opt/sw/src/fink.build/root-fink-buildlock-base-files-1.9.19-1
/opt/sw/src/fink.build

Can't exec "dpkg-deb": No such file or directory

### execution of dpkg-deb failed, exit code -1

Failed: can't create package fink-buildlock-base-files-1.9.19-1


-debbie

_______________________________________________
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.