Opened 11 years ago

Closed 11 years ago

#42349 closed defect (fixed)

dnsmasq @2.68_0 - build failure

Reported by: grrr@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc:
Port: dnsmasq

Description

The previous version (2.67_1) builds and installs fine, but 2.68_0 fails for me using OS X 10.9.1:

--->  Configuring dnsmasq
--->  Building dnsmasq
/Applications/Xcode.app/Contents/Developer/usr/bin/make: invalid option -- D
/Applications/Xcode.app/Contents/Developer/usr/bin/make: invalid option -- D
Usage: make [options] [target] ...

and later...

Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_dnsmasq/dnsmasq/work/dnsmasq-2.68" && /usr/bin/make -j8 -w all -DNO_DHCP -DNO_TFTP 
Exit code: 2

Attachments (1)

main.log (13.0 KB) - added by grrr@… 11 years ago.

Download all attachments as: .zip

Change History (7)

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

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

Could you attach the full main.log file from a clean build, please?

comment:2 Changed 11 years ago by nerdling (Jeremy Lavergne)

Complete logs are definitely needed: this built fine on the buildbots so there isn't an obvious way to replicate the failure.

Changed 11 years ago by grrr@…

Attachment: main.log added

comment:3 Changed 11 years ago by grrr@…

Log attached, after cleaning and attempting to build.

comment:4 Changed 11 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

comment:5 Changed 11 years ago by nerdling (Jeremy Lavergne)

The -D options should be assigned to the COPTS build.arg, rather than as their own build args.

MacPorts' build.args-delete won't work with values inside quotes, however. This will need to be refactored a bit.

comment:6 Changed 11 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Fixed in r116654 and r116658.

Note: See TracTickets for help on using tickets.