#68690 closed defect (worksforme)

libiconv @1.17_0 build failure on macOS 14 arm64

Reported by: bongserrano Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: libiconv

Description (last modified by ryandesign (Ryan Carsten Schmidt))

I went as far as completing the following steps in my attempt to install gimp-resynthesizer, but got this error upon running sudo port install gimp from Terminal.

  1. sudo port install MacPorts
  2. sudo port -v selfupdate
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libiconv/libiconv/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port gimp failed

Please help me troubleshoot and resolve this issue.

Thanks in advance for your assistance!

Attachments (1)

main.log (43.1 KB) - added by bongserrano 10 months ago.
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libiconv/libiconv/main.log for details.

Download all attachments as: .zip

Change History (7)

Changed 10 months ago by bongserrano

Attachment: main.log added

Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_textproc_libiconv/libiconv/main.log for details.

comment:1 Changed 10 months ago by bongserrano

Priority: HighNormal

comment:2 Changed 10 months ago by jmroot (Joshua Root)

Keywords: gimp removed
Owner: set to ryandesign
Port: libiconv added
Status: newassigned
Summary: Error: Processing of port gimp failedlibiconv @1.17_0 build failure on macOS 14 arm64

I'm not quite sure what's going on in this log, but this at least is a problem:

:warn:clean configured user/group macports does not exist, will build as root

The macports user is supposed to be created by the installer. Maybe try running it again, and take note if it produces any errors?

If running id -p macports doesn't give you a "no such user" error after doing that, run sudo port clean libiconv and then try the installation again.

comment:3 in reply to:  description Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to bongserrano:

  1. sudo port install MacPorts

You should not attempt to install the MacPorts port. That port only exists for Josh to use to create the installer packages. Attempting to install that port should print an error message to that effect.

Replying to jmroot:

:warn:clean configured user/group macports does not exist, will build as root

Well it says that in the first attempt in the log, but subsequent attempts in the log say:

:debug:main dropping privileges: euid changed to 502, egid changed to 501.

That should be the macports uid/gid.

I concur that retrying after sudo port clean libiconv is a good thing to try.

Version 0, edited 10 months ago by ryandesign (Ryan Carsten Schmidt) (next)

comment:4 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)

comment:5 Changed 10 months ago by bongserrano

I ran

sudo port clean libiconv

and installation is running again.

Thanks for the help, guys!

comment:6 Changed 10 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: worksforme
Status: assignedclosed
Note: See TracTickets for help on using tickets.