Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#43567 closed defect (fixed)

trunk base doesn't correctly handle parameters with spaces

Reported by: mf2k (Frank Schima) Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: base Version: 2.2.99
Keywords: Cc: neverpanic (Clemens Lang)
Port: gtk3

Description

I'm seeing a strange failure when upgrading gtk3.

main.log says:

:info:configure checking whether the C compiler works... no
:info:configure configure: error: in `/opt/local/var/macports/build/_opt_mports_trunk_dports_gnome_gtk3/gtk3/work/gtk+-3.12.1-x86_64':
:info:configure configure: error: C compiler cannot create executables

I do, of course, have the latest Xcode CLT installed. config.log reveals this:

configure:4237: /usr/bin/clang {-arch x86_64} -pipe -Os -fstrict-aliasing {-arch x86_64} -I/opt/local/include -DX_LOCALE -L/opt/local/lib -Wl,-headerpad_max_install_names {-arch x86_64} conftest.c  >&5
clang: error: no such file or directory: '{-arch'
clang: error: no such file or directory: 'x86_64}'
clang: error: no such file or directory: '{-arch'
clang: error: no such file or directory: 'x86_64}'
clang: error: no such file or directory: '{-arch'
clang: error: no such file or directory: 'x86_64}'

Maybe this is an issue with the latest base? I updated it today from svn.

Attachments (2)

main.log (15.9 KB) - added by mf2k (Frank Schima) 10 years ago.
config.log (17.4 KB) - added by mf2k (Frank Schima) 10 years ago.

Download all attachments as: .zip

Change History (7)

Changed 10 years ago by mf2k (Frank Schima)

Attachment: main.log added

Changed 10 years ago by mf2k (Frank Schima)

Attachment: config.log added

comment:1 Changed 10 years ago by neverpanic (Clemens Lang)

Component: portsbase
Status: newassigned
Summary: gtk3 upgrade failuretrunk base doesn't correctly handle parameters with spaces

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

Cc: snc@… added

I would suspect line 705 in r119618?

comment:3 Changed 10 years ago by neverpanic (Clemens Lang)

Cc: cal@… added; snc@… removed
Owner: changed from cal@… to snc@…
Status: assignednew

Yeah, that looks like it needs a {*} for $value.

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

Resolution: fixed
Status: newclosed

expand added in r119859.

comment:5 Changed 10 years ago by neverpanic (Clemens Lang)

Confirmed fixed.

Note: See TracTickets for help on using tickets.