Opened 12 years ago

Closed 14 months ago

Last modified 14 months ago

#34702 closed defect (fixed)

nagios-plugins +universal fails: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags

Reported by: devinb@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: nagios-plugins

Description

Using: MacPorts 2.1.1

Attempting to get nagios installed via MacPorts and keep running into this problem

$ sudo port install nagios
--->  Computing dependencies for nagios
--->  Dependencies to be installed: nagios-plugins
--->  Building nagios-plugins
Error: org.macports.build for port nagios-plugins returned: command execution failed
Error: Failed to install nagios-plugins
Please see the log file for port nagios-plugins for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_nagios-plugins/nagios-plugins/main.log
Error: The following dependencies were not installed: nagios-plugins
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port nagios failed

Attachments (1)

main.log (7.0 KB) - added by devinb@… 12 years ago.
Log file

Download all attachments as: .zip

Change History (6)

comment:1 Changed 12 years ago by devinb@…

Cc: devinb@… added

Cc Me!

Changed 12 years ago by devinb@…

Attachment: main.log added

Log file

comment:2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added; devinb@… removed
Owner: changed from macports-tickets@… to mww@…
Port: nagios-plugins added
Summary: Failed to install nagios-pluginsnagios-plugins +universal fails: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags

The log says:

gcc-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags

I can reproduce that problem when building universal. Apparently the universal variant does not work for this port it should be disabled (or it might work if we used the muniversal portgroup). Clean and try again without the universal variant.

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

Owner: changed from mww@… to markd@…

comment:4 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from markd@… to macports-tickets@…

markd has retired. See #44782.

comment:5 Changed 14 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Current version builds OK with +universal.

Last edited 14 months ago by jmroot (Joshua Root) (previous) (diff)
Note: See TracTickets for help on using tickets.