Opened 15 months ago

Closed 15 months ago

Last modified 14 months ago

#68110 closed defect (fixed)

gpredict @202120807-0f3beb6a: command execution failed

Reported by: OZ1SEJ (Steen Eiler Jørgensen) Owned by: Schamschula (Marius Schamschula)
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: ra1nb0w
Port: gpredict

Description

$ sudo port install gpredict
--->  Configuring gpredict
Error: Failed to configure gpredict: autoreconf failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gpredict/gpredict/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port gpredict failed

Attachments (1)

main.log (243.8 KB) - added by OZ1SEJ (Steen Eiler Jørgensen) 15 months ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gpredict/gpredict/main.log

Download all attachments as: .zip

Change History (12)

comment:1 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)

Cc: ra1nb0w added
Owner: set to Schamschula
Status: newassigned
Summary: Gpredict 202120807-0f3beb6a command execution failedgpredict @202120807-0f3beb6a: command execution failed

Please attach the main.log and (if one was created in port work gpredict) the config.log. "command execution failed" unfortunately tells us nothing more specific than "an error occurred" which is not enough to diagnose the problem.

Changed 15 months ago by OZ1SEJ (Steen Eiler Jørgensen)

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_gpredict/gpredict/main.log

comment:2 Changed 15 months ago by OZ1SEJ (Steen Eiler Jørgensen)

main.log found and attached.

comment:3 Changed 15 months ago by Schamschula (Marius Schamschula)

On the same platform (macOS Ventura 13.5.1; Darwin Kernel Version 22.6.0; Xcode CLI 14.3.1.0.1.1683849156) I cannot replicate this error.

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

The log says:

configure:4758: error: possibly undefined macro: AM_NLS

"NLS" is natural language support, a.k.a. gettext. This suggests that port:gettext should be added to depends_build. If the port links with gettext libraries, then port:gettext-runtime should also be added to depends_lib.

comment:5 Changed 15 months ago by OZ1SEJ (Steen Eiler Jørgensen)

So - is there something I need to do install Gpredict?

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

You can try installing the gettext port. (sudo port install gettext). If that allows you to build gpredict from source, that confirms that Marius should add the dependencies as I indicated.

comment:7 Changed 15 months ago by OZ1SEJ (Steen Eiler Jørgensen)

So, sudo port install gettext, and then sudo port install gpredict - that should work?

Last edited 15 months ago by OZ1SEJ (Steen Eiler Jørgensen) (previous) (diff)

comment:8 Changed 15 months ago by Schamschula (Marius Schamschula)

Good catch Ryan! I'll add the dependency to the Portfile.

comment:9 Changed 15 months ago by Marius Schamschula <mschamschula@…>

Resolution: fixed
Status: assignedclosed

In 2237b81f0c0d106ff9857ba0a291048668b2fee4/macports-ports (master):

gpredict: add gettext dependency, reorder depends_lib

Closes: #68110

comment:10 Changed 15 months ago by ra1nb0w

Thank you very much @mschamschula and @ryandesign!

comment:11 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

Hmm, you added gettext to depends_lib. gettext belongs in depends_build, and gettext-runtime, if needed, belongs in depends_lib. See https://lists.macports.org/pipermail/macports-dev/2021-December/044041.html.

Note: See TracTickets for help on using tickets.