Re: Is there an option similar to "make -I" in fink

Alexander Hansen <[email protected]>
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>

> On Sep 13, 2021, at 11:33 PM, Jonas S <[email protected]> wrote:
> 
> I am not aware of any such parameter, but I hate it when I tries to install 5-10 packages and one of them have a dependency that fails in some way or the other. I then have to try the other packages one by one to see if any of them have a dependency on the failing package. In those cases I’ve started to use the following script, it is quite some years since I used it last since I am on Big Sur and has stopped using fink until it supports the latest macOS versions fully. It depends on the graphviz package for the ”dot" command.
> 
> #! /bin/bash
> TMPDOT=/tmp/fink.dot
> PDF=${HOME}/Desktop/fink.pdf
> fink list --format=dotty ”$1" > "$TMPDOT"
> dot -Tpdf "$TMPDOT" -o "$PDF"
> 
> 
> It gives a nice tree for the package that is fed to it, which can be analysed to see if the failing package is included.
> 
> /Jonas
> 
>> 14 sep. 2021 kl. 00:32 skrev Lucier, Bradley J <[email protected] <mailto:[email protected]>>:
>> 
>> I’d like to say
>> 
>> fink —continue-after-errors install emacs26
>> 
>> and have the behavior be something like what “make -I” (damn autocorrect always changes single small letter “eye” in email to capital “eye”, so imagine there option is “hyphen small eye”) does when it hits an error, just stops building that package and whatever else depends on it and continues building as many packages as it can.
>> 
>> Is that type of option available in fink somewhere?  I believe I read the documentation and didn’t find it.
>> 
>> Thanks.
>> 
>> Brad
>> _______________________________________________

There’s no such parameter, because the presumption is that if the “bar" dependency for package "foo" fails, then “foo" may not work at all or will be missing the desired “bar”  functionality.  That’s the basic point of package management.

For the case of “fink update-all” not working, I’ve used shell scripts that parse the ouput of “fink list -t -o” and try to install individual packages.  If the dependency tree of a package fails somewhere, then move on to the next package in the list.  This isn’t a very clever option, but it works around having an “update-all” fail early on and leave a bunch of unrelated packages not updated.


—akh

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