Opened 3 years ago

Closed 3 years ago

#62481 closed defect (invalid)

Failed to build avahi

Reported by: renzresearch Owned by: i0ntempest
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: bigsur Cc:
Port: avahi

Description

Error: Failed to build avahi: error copying "/opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/net/avahi/files/build-db" to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_net_avahi/avahi/work/avahi-0.8/service-type-database/build-db": file already exists

Attachments (1)

main.log (256.8 KB) - added by renzresearch 3 years ago.
main log

Download all attachments as: .zip

Change History (6)

Changed 3 years ago by renzresearch

Attachment: main.log added

main log

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

The log says:

:info:build dyld: Library not loaded: /opt/local/lib/libffi.6.dylib
:info:build   Referenced from: /opt/local/libexec/llvm-7.0/lib/libLLVM.dylib
:info:build   Reason: image not found
:info:build fatal error: otool: fatal error in /opt/local/bin/llvm-objdump-mp-7.0

We don't have libffi.6.dylib anymore; we have libffi.7.dylib now, since the libffi port was updated to version 3.3 in September 2020.

All ports that linked with libffi had to be rebuilt to relink with libffi.7.dylib. That happened for all ports in [bd5d6800828a3dcda1b65f3999fa748a365b168e/macports-ports] including llvm-7.0 which went to version @7.1.0_1. What version of the llvm-7.0 port do you have installed and when was it built? To find out, run:

port -v installed llvm-7.0

comment:2 Changed 3 years ago by renzresearch

% port -v installed llvm-7.0
The following ports are currently installed:
  llvm-7.0 @7.0.0_1 platform='darwin 18' archs='x86_64' date='2018-12-28T12:59:18-0600'
  llvm-7.0 @7.0.1_1 (active) platform='darwin 18' archs='x86_64' date='2019-04-19T19:13:39-0500'

Is this because I didn't go through the migration protocol from catalina to bigsur? I remember this is necessary between major MacOS. But this time I didn't get a warning.

comment:3 Changed 3 years ago by mf2k (Frank Schima)

Cc: i0ntempest removed
Owner: set to i0ntempest
Status: newassigned

comment:4 in reply to:  2 Changed 3 years ago by jmroot (Joshua Root)

Replying to renzresearch:

Is this because I didn't go through the migration protocol from catalina to bigsur?

Looks like it, yes.

comment:5 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed

Your llvm-7.0 was installed on darwin 18 (Mojave) so you didn't follow the migration instructions when you upgraded to Catalina either. Please follow them now.

Your llvm-7.0 is also very out of date. You have @7.0.1_1 whereas we updated to @7.1.0_0 in January 2020. Please keep your ports up to date by periodically running sudo port selfupdate and sudo port upgrade outdated.

Note: See TracTickets for help on using tickets.