Failed: phase compiling: apt-0.5.4-1061 failed
"Franchetti, Giuliano Dr." <[email protected]> Sun, 6 Jul 2025 17:37:58 +0000
| Newsgroups | gmane.os.apple.fink.general |
|---|---|
| Message-ID | <[email protected]> |
Dear all,
I need to install apt to remove packages that have dependencies (all pm5303 packages).
However, the installation of apt fails. See below.
Can you have a look?
Many thanks
Giuliano
patching file 'cmdline/apt-config.cc'
patching file 'cmdline/apt-extracttemplates.cc'
patching file 'cmdline/apt-sortpkgs.cc'
patching file 'apt-inst/contrib/extracttar.cc'
patching file 'apt-pkg/deb/debsystem.h'
patching file 'apt-pkg/pkgsystem.h'
perl -pi -e 's|vector.h|vector|g' apt-pkg/pkgsystem.h include/apt-pkg/pkgsystem.h
Can't open include/apt-pkg/pkgsystem.h: No such file or directory, <> line 97.
perl -pi -e 's|iostream.h|iostream|g' apt-inst/contrib/extracttar.cc apt-inst/deb/dpkgdb.cc apt-inst/extract.cc apt-pkg/algorithms.cc apt-pkg/contrib/error.cc cmdline/apt-cache.cc cmdline/indexcopy.cc test/versiontest.cc
perl -pi -e 's|fstream.h|fstream|g' apt-pkg/sourcelist.cc cmdline/apt-get.cc
sh patch_flush
for i in `grep -rl '#ifdef __GNUG__' .` ; do perl -pi -e 's/#ifdef __GNUG__/#if defined(__GNUG__) && !defined(__APPLE_CC__)/' $i; done
echo "x86_64\tx86_64" >> /opt/sw2/src/fink.build/apt-0.5.4-1061/apt-0.5.4/buildlib/archtable
sudo -u fink-bld [ENV] sh -c /tmp/fink.4oFOV
./configure --prefix=/opt/sw2 --host=x86_64-apple-darwin`uname -r|cut -f1 -d.`
creating cache ./config.cache
checking host system type... x86_64-apple-darwin23
checking target system type... x86_64-apple-darwin23
checking build system type... x86_64-apple-darwin23
checking for gcc... gcc
checking whether the C compiler (gcc -Wl,-headerpad_max_install_names) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
### execution of ./configure failed, exit code 1
### execution of /tmp/fink.4oFOV failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/opt/sw2/bin/dpkg-lockwait -r fink-buildlock-apt-0.5.4-1061
(Reading database ... 286498 files and directories currently installed.)
Removing fink-buildlock-apt-0.5.4-1061 (2025.07.06-19.29.15) ...
Failed: phase compiling: apt-0.5.4-1061 failed
Before reporting any errors, please run "fink selfupdate" and try again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem. If not, ask on one (not both, please) of
these mailing lists:
The Fink Users List <[email protected]>
The Fink Beginners List <[email protected]>.
Please try to include the complete error message in your report. This
generally consists of a compiler line starting with e.g. "gcc" or "g++"
followed by the actual error output from the compiler.
Also include the following system information:
Package manager version: 0.45.99.git
Distribution version: selfupdate-git Sun Jul 6 19:26:25 2025, 14.0, x86_64
Trees: local/main stable/main local/injected
Xcode.app: 16.2
Xcode command-line tools: 16.2.0.0.1.1733547573
Max. Fink build jobs: 1
_______________________________________________
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