Opened 2 years ago
Closed 2 years ago
#66430 closed defect (worksforme)
xar patching fails
Reported by: | programmingkidx | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | snowleopard | Cc: | |
Port: | xar |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
While trying to install xar I saw this error:
---> Applying patches to xar Error: Failed to patch xar: error copying "/opt/local/share/automake-1.16/config.guess": no such file or directory
This happened on Mac OS 10.6.8.
Attachments (1)
Change History (9)
Changed 2 years ago by programmingkidx
comment:1 Changed 2 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | patching failed removed |
comment:2 Changed 2 years ago by jmroot (Joshua Root)
The log actually says
:debug:configure upgrade autoconf failed
comment:3 Changed 2 years ago by programmingkidx
@ryandesign I ran 'sudo port install automake' and was told I had to reinstall all these ports:
---> Found 106 broken files, matching files to ports Warning: No port ld64-136 found in the index; can't rebuild ---> Found 27 broken ports, determining rebuild order You can always run 'port rev-upgrade' again to fix errors. The following ports will be rebuilt: p7zip @9.04 db48 @4.8.30+java+universal opensp @1.5.2+universal openjade @1.3.2+universal icu @54.1+universal graphite2 @1.2.4+universal tiff @4.0.3+universal djvulibre @3.5.25+universal ilmbase @1.0.2+universal openexr @1.7.0+universal db46 @4.6.21+universal boost @1.57.0+no_single+no_static+python27+universal source-highlight @3.1.7+universal pcre @8.38+universal glib2 @2.48.0+universal harfbuzz @0.9.37+universal ImageMagick @6.9.0-0+universal+x11 libproxy @0.4.13+python27+universal gobject-introspection @1.48.0+universal p11-kit @0.23.2+universal gnutls @3.4.11+universal llvm-3.4 @3.4.2+universal ld64-127 @127.2+llvm34+universal cctools @862+llvm34+universal clang-3.4 @3.4.2+universal gperf @3.0.4 mesa @7.6.1+hw_render
I then said yes and libedit as fetched. It then failed to build. This is what it said:
Error: Failed to configure libedit
I looked at its log and saw this familar sight
configure:3199: /opt/local/bin/clang-mp-3.4 --version >&5 dyld: Library not loaded: /opt/local/libexec/llvm-3.4/lib/libLLVM-3.4.dylib Referenced from: /opt/local/libexec/llvm-3.4/bin/clang Reason: Incompatible library version: clang requires version 1.0.0 or later, but libLLVM-3.4.dylib provides version 0.0.0 ./configure: line 3201: 552 Trace/BPT trap $CC --version 1>&5 configure:3210: $? = 133
Is there anyone who has Mac OS 10.6 who can confirm anything I am seeing?
comment:4 Changed 2 years ago by kencu (Ken)
your ports are extremely outdated.
ld64-136 was removed about 5 years ago. Your libffi is several years out too.
IMHO start over. deactivate everything, or better yet uninstall everything as much is broken, run selfupdate, then install what you want to install.
comment:5 Changed 2 years ago by kencu (Ken)
also make sure your macports.conf is current, not from 2016 or similar.
comment:6 Changed 2 years ago by programmingkidx
So I ran 'sudo port -fp uninstall installed'. This took out everything. Then I deleted the 'local' folder in the opt folder. I then installed MacPorts 2.8.0. Finally I tried to install xar. It appeared to have worked. Thank you Ken for the advice.
So now I have to install everything again :( Maybe more of these packages could come as binary installs. It would save a ton of time.
comment:7 Changed 2 years ago by kencu (Ken)
glad it's working! A large number of these builds are available on the MacPorts binaries server, but I saw you had quite a few universal ports, and there are fewer of those.
Glad you're along for the SnowLeopard ride -- I know you can fix and PR things, and we'd all very much appreciate you tossing up any fixes you do along the way for us all to share in.
I just fixed nearly all the outstanding Tiger tickets, and working on Leopard tickets now.
comment:8 Changed 2 years ago by kencu (Ken)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
/opt/local/share/automake-1.16/config.guess should exist, provided by the automake port, which is a dependency of xar. Reinstall automake?