Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#63256 closed defect (fixed)

libftdi1 @1.5_1 configure failure: CMake Error: Unknown argument -stdlib=libc++

Reported by: gbudny Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.7.99
Keywords: Cc:
Port: libftdi1

Description (last modified by jmroot (Joshua Root))

Hi

I tried to install audacious on Mac OS X 10.13, and I have some dependency issues with libftdi1-1.5_1.

Xcode 10.0

sudo port install audacious
Password:
--->  Computing dependencies for audacious
The following dependencies will be installed: 
 audacious-plugins
 libftdi1
 lirc
Continue? [Y/n]: y
--->  Fetching archive for libftdi1
--->  Attempting to fetch libftdi1-1.5_1.darwin_17.x86_64.tbz2 from https://packages.macports.org/libftdi1
--->  Attempting to fetch libftdi1-1.5_1.darwin_17.x86_64.tbz2 from https://nue.de.packages.macports.org/libftdi1
--->  Attempting to fetch libftdi1-1.5_1.darwin_17.x86_64.tbz2 from https://cph.dk.packages.macports.org/libftdi1
--->  Configuring libftdi1
Error: Failed to configure libftdi1: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_libftdi/libftdi1/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
Error: Processing of port audacious failed

Can you help me?

Grzegorz Budny

Attachments (1)

main.log (932.1 KB) - added by gbudny 3 years ago.

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by gbudny

Attachment: main.log added

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Cc: nerdling removed
Description: modified (diff)
Keywords: nerdling removed
Milestone: MacPorts Future
Port: libftdi1 added; libftdi1-1.5_1 removed
Summary: libftdi1-1.5_1 Failed to configure libftdi1: configure failure: command execution failedlibftdi1 @1.5_1 configure failure: CMake Error: Unknown argument -stdlib=libc++

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

Looks like configure.cxxflags (and also configure.cflags) isn't quoted properly when used in configure.args.

comment:3 Changed 3 years ago by gbudny

Hi

Thank you for the answer.

I installed Xcode 10.1, but I still have this issue.

Do you know any temporary workaround that will allow me to install this library?

Last edited 3 years ago by gbudny (previous) (diff)

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

Yes, the port is quoting the arguments wrong (i.e. not at all). We have successful builds of this port from our build system, but that was with older cmake versions. Starting in cmake 3.20.0, unknown cmake arguments are an error rather than being silently ignored as before.

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

Resolution: fixed
Status: assignedclosed

In 8eafa9b934a3f5ab37f3afb0f57fb48e5a2c89f4/macports-ports (master):

libftdi1: Quote cflags/cxxflags

Closes: #63256

comment:6 Changed 3 years ago by gbudny

Thank you!

Now, I can use my favorite music player on the Mac.

Note: See TracTickets for help on using tickets.