How to do with the offensive ghc-text?

Kow KURODA <[email protected]> Fri, 6 Mar 2020 09:42:18 +0900
Newsgroups gmane.os.apple.fink.devel
Message-ID <[email protected]>
Dear all,

I asked for help with dealing with a Fink's mishandling of ghc-text.
It turned out that its effects are much larger than I expected.
 
I was trying to update gcc7-related packages on another machine, ending up
with the need to do the following:

> Removing runtime build-lock...
> Removing build-lock package...
> /sw/bin/dpkg-lockwait -r fink-buildlock-gcc7-7.5.0-1
> (Reading database ... 246437 files and directories currently installed.)
> Removing fink-buildlock-gcc7-7.5.0-1 ...
> Reading buildlock packages...
> Could not resolve inconsistent dependencies!
> 
> Fink isn't sure how to install the above packages safely. You may be able to fix things
> by running:
> 
>   sudo apt-get update
>   sudo apt-get install gcc7-shlibs=7.5.0-1

And so, I executed the two lines and encountered another block by ghc-text.

> $ sudo apt-get install gcc7-shlibs=7.5.0-1
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following extra packages will be installed:
>   gcc7 gcc7-compiler gcc7-shlibs 
> 3 packages upgraded, 0 newly installed, 0 to remove and 286  not upgraded.
> 1 packages not fully installed or removed.
> Need to get 0B/94.0MB of archives. After unpacking 602kB will be freed.
> Do you want to continue? [Y/n] 
> (Reading database ... 246436 files and directories currently installed.)
> Preparing to replace gcc7 7.4.0-1 (using .../gcc7_7.5.0-1_darwin-x86_64.deb) ...
> install-info(gcc.info): deleting entry `* gcc: (gcc) ...'
> install-info(gfortran.info): deleting entry `* gfortran: (gfortran) ...'
> install-info(cpp.info): deleting entry `* Cpp: (cpp) ...'
> install-info(gccinstall.info): deleting entry `* gccinstall: (gccinstall) ...'
> install-info(libgomp.info): deleting entry `* libgomp: (libgomp) ...'
> install-info(cppinternals.info): deleting entry `* Cpplib: (cppinternals) ...'
> install-info(gccint.info): deleting entry `* gccint: (gccint) ...'
> Unpacking replacement gcc7 ...
> Preparing to replace gcc7-compiler 7.4.0-1 (using .../gcc7-compiler_7.5.0-1_darwin-x86_64.deb) ...
> Unpacking replacement gcc7-compiler ...
> Preparing to replace gcc7-shlibs 7.4.0-1 (using .../gcc7-shlibs_7.5.0-1_darwin-x86_64.deb) ...
> Unpacking replacement gcc7-shlibs ...
> Setting up ghc-text (1.2.1.3-2) ...
> Reading package info from stdin ... done.
> text-1.2.1.3: dependency "binary-0.7.6.1-059990c340d5b3e45b98a0b8ec2aec57" doesn't exist (use --force to override)
> /sw/bin/dpkg: error processing ghc-text (--configure):
>  subprocess post-installation script returned error exit status 1
> Setting up gcc7-shlibs (7.5.0-1) ...
> 
> Setting up gcc7-compiler (7.5.0-1) ...
> Clearing dependency_libs of .la files being installed
> 
> Setting up gcc7 (7.5.0-1) ...
> * gcc: (gcc).                  The GNU Compiler Collection.
> install-info(/sw/share/info/gcc.info): replacing existing dir entry for `gcc'
> * gfortran: (gfortran). The GNU Fortran Compiler.
> * Cpp: (cpp). The GNU C preprocessor.
> * gccinstall: (gccinstall). Installing the GNU Compiler Collection.
> * libgomp: (libgomp). GNU Offloading and Multi Processing Runtime Library.
> * Cpplib: (cppinternals). Cpplib internals.
> * gccint: (gccint). Internals of the GNU Compiler Collection.
> 
> Errors were encountered while processing:
>  ghc-text
> E: Sub-process /sw/bin/dpkg returned an error code (1)

Do I need to rebuild my Fink environment from scratch?

Thanks in advance for your input.

Kow Kuroda



_______________________________________________
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