Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed: phase compiling: libid3tag-0.15.1b-5 failed #998

Closed
dak180 opened this issue Feb 20, 2023 · 4 comments
Closed

Failed: phase compiling: libid3tag-0.15.1b-5 failed #998

dak180 opened this issue Feb 20, 2023 · 4 comments
Labels
arm64 Build issues and fixes for Apple Silicon

Comments

@dak180
Copy link
Member

dak180 commented Feb 20, 2023

Setting runtime build-lock...
dpkg-deb -b /opt/sw/src/fink.build/root-fink-buildlock-libid3tag-0.15.1b-5 /opt/sw/src/fink.build
dpkg-deb: building package 'fink-buildlock-libid3tag-0.15.1b-5' in '/opt/sw/src/fink.build/fink-buildlock-libid3tag-0.15.1b-5_2023.02.20-18.21.31_darwin-arm64.deb'.
Installing build-lock package...
/opt/sw/bin/dpkg-lockwait -i /opt/sw/src/fink.build/fink-buildlock-libid3tag-0.15.1b-5_2023.02.20-18.21.31_darwin-arm64.deb
Selecting previously unselected package fink-buildlock-libid3tag-0.15.1b-5.
(Reading database ... 253948 files and directories currently installed.)
Preparing to unpack .../fink-buildlock-libid3tag-0.15.1b-5_2023.02.20-18.21.31_darwin-arm64.deb ...
Unpacking fink-buildlock-libid3tag-0.15.1b-5 (2023.02.20-18.21.31) ...
Setting up fink-buildlock-libid3tag-0.15.1b-5 (2023.02.20-18.21.31) ...
sudo -u fink-bld [ENV] sh -c /tmp/fink.lJKFl
env LANG=C LC_ALL=C /opt/sw/bin/tar  --no-same-owner --no-same-permissions -xf /opt/sw/src/libid3tag-0.15.1b.tar.gz
sudo -u fink-bld [ENV] sh -c /tmp/fink.WBFFM
[ -r /opt/sw/fink/dists/stable/main/finkinfo/sound/libid3tag.patch ]
sudo -u fink-bld [ENV] sh -c /tmp/fink.YHB16
/usr/bin/patch -p1 < /opt/sw/fink/dists/stable/main/finkinfo/sound/libid3tag.patch
patching file id3tag.pc
perl -pi.bak -e 's,-flat_namespace -undefined suppress,-twolevel_namespace -undefined error,g' configure && perl -pi.bak -e 's,FINK_PREFIX,/opt/sw,g' id3tag.pc
sudo -u fink-bld [ENV] sh -c /tmp/fink.7Lswc
./configure --prefix=/opt/sw
checking for a BSD-compatible install... /opt/sw/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... configure: error: /bin/sh ./config.sub -apple-darwin21.6.0 failed
### execution of ./configure failed, exit code 1
### execution of /tmp/fink.7Lswc failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/opt/sw/bin/dpkg-lockwait -r fink-buildlock-libid3tag-0.15.1b-5
(Reading database ... 253949 files and directories currently installed.)
Removing fink-buildlock-libid3tag-0.15.1b-5 (2023.02.20-18.21.31) ...
Failed: phase compiling: libid3tag-0.15.1b-5 failed
Package manager version: 0.45.99.git
Distribution version: selfupdate-rsync Mon Feb 20 11:32:24 2023, 12.0, arm64
Trees: local/main remote/dak180 stable/main local/injected
Xcode.app: 14.2
Xcode command-line tools: 14.2.0.0.1.1668646533
Max. Fink build jobs:  1
@dak180 dak180 added the arm64 Build issues and fixes for Apple Silicon label Feb 20, 2023
@nieder
Copy link
Member

nieder commented Feb 21, 2023

What happens if you add the field UpdateConfigGuess: true ?

At least on 10.14.6/x86_64, the package builds fine. The only change in the build log is this:

-checking build system type... i686-apple-darwin18.7.0
-checking host system type... i686-apple-darwin18.7.0
+checking build system type... i386-apple-darwin18.7.0
+checking host system type... i386-apple-darwin18.7.0

@dak180
Copy link
Member Author

dak180 commented Feb 21, 2023

@nieder that makes it work.

@nieder nieder closed this as completed in 85bb077 Feb 22, 2023
@dhomeier
Copy link
Contributor

Supersedes #962?

@nieder
Copy link
Member

nieder commented Feb 22, 2023

Yes, sorry. Didn't see that was around. yes, this supersedes the libid3tag part because it contains functional patches as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arm64 Build issues and fixes for Apple Silicon
Projects
None yet
Development

No branches or pull requests

3 participants