Opened 7 weeks ago

Closed 7 weeks ago

Last modified 7 weeks ago

#70876 closed defect (duplicate)

lz4 @1.10.0: Build failure

Reported by: fwKA-git Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.10.1
Keywords: sequoia Cc:
Port: lz4

Description (last modified by fwKA-git)

After upgrading the OS, I did "port migrate" which failed with the following message:

--->  Note:
    Migration finished with errors.
    The following ports could not be restored:
     - bind9 
       Skipped because its dependency cmake-bootstrap failed
     - curl 
       Skipped because its dependency cmake-bootstrap failed
     - openconnect
       Skipped because its dependency lz4 failed
     - wget
       Skipped because its dependency cmake-bootstrap failed

MacPorts 2.10.1 was already installed before. Most ports were successfully updated, except for the above. I urgently need a working openconnect for my VPN connection to the company.

The error messages look similar for each broken port:

# port install openconnect
--->  Computing dependencies for openconnect
The following dependencies will be installed: 
 gmp
 gnutls
 icu
 libxml2
 libxslt
 lz4
 nettle
 p11-kit
Continue? [Y/n]: Y
--->  Fetching archive for lz4
--->  Attempting to fetch lz4-1.10.0_0.darwin_24.x86_64.tbz2 from https://packages.macports.org/lz4
--->  Attempting to fetch lz4-1.10.0_0.darwin_24.x86_64.tbz2 from https://nue.de.packages.macports.org/lz4
--->  Attempting to fetch lz4-1.10.0_0.darwin_24.x86_64.tbz2 from https://fra.de.packages.macports.org/lz4
--->  Building lz4
Error: Failed to build lz4: command execution failed     
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_archivers_lz4/lz4/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port openconnect failed
# 

Attachments (1)

main.log (18.1 KB) - added by fwKA-git 7 weeks ago.

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 weeks ago by fwKA-git

Description: modified (diff)

comment:2 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)

Keywords: sequoia added
Owner: set to ryandesign
Port: lz4 added; misc removed
Priority: HighNormal
Status: newaccepted
Summary: Several ports broken after upgrading to macOS 15lz4 @1.10.0: Build failure

Individual tickets are needed for each problem. Let's let this ticket be about the lz4 build problem. Please attach the main.log file so that we can begin investigating what the problem is.

comment:3 Changed 7 weeks ago by jmroot (Joshua Root)

It's likely this is at least mostly #70750.

Changed 7 weeks ago by fwKA-git

Attachment: main.log added

comment:4 Changed 7 weeks ago by fwKA-git

I attached the log file for lz4 but I also got the impression that the actual problem is quite similar for all failing ports. What's the current status? I need my environment back running ;) ...

comment:5 Changed 7 weeks ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: acceptedclosed

Josh was right. The log days:

fatal error: 'iostream' file not found

so this is a duplicate of #70750 and the solution at ProblemHotlist#clts16 should work for you.

macOS Sequoia is new. Many ports are not building on this OS version and need fixes. As always, file bug reports when you find something broken and we can try to investigate and fix it. If you need more stability than that, using an earlier OS version may provide it.

comment:6 Changed 7 weeks ago by fwKA-git

For safety's sake, I did mv .../c++ .../.c++ instead of removing it. And indeed, this seems to have fixed the problem. I've been using MacPorts for a couple of years now but I never had any issues after upgrading to a newer major version of macOS.

FWIW, I now took the opportunity and removed all ports and only re-installed the ones I really need with the newly working environment. All the stuff which I installed for tests or whatever else is now gone :) ...

Thanks for the assistance!

Version 0, edited 7 weeks ago by fwKA-git (next)
Note: See TracTickets for help on using tickets.