Opened 12 years ago

Closed 12 years ago

#34059 closed defect (fixed)

Coin build failure with clang: the clang compiler does not support '-fno-for-scope'

Reported by: macports@… Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: clang Cc:
Port: Coin

Description (last modified by ryandesign (Ryan Carsten Schmidt))

suggero:~ root# port install -s Coin
--->  Computing dependencies for Coin
--->  Fetching Coin
--->  Verifying checksum(s) for Coin
--->  Extracting Coin
--->  Configuring Coin
--->  Building Coin
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for Coin is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_Coin/Coin/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
suggero:~ root# port clean Coin
--->  Cleaning Coin
suggero:~ root# port install -s Coin configure.compiler=llvm-gcc-4.2
--->  Computing dependencies for Coin
--->  Fetching Coin
--->  Verifying checksum(s) for Coin
--->  Extracting Coin
--->  Configuring Coin
--->  Building Coin
--->  Staging Coin into destroot
--->  Installing Coin @3.1.3_1
--->  Activating Coin @3.1.3_1
--->  Cleaning Coin
suggero:~ root# 

Attachments (1)

Coin_main.log (143.4 KB) - added by macports@… 12 years ago.

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by macports@…

Attachment: Coin_main.log added

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

Description: modified (diff)
Keywords: clang added
Owner: changed from macports-tickets@… to css@…
Summary: Coin fails to build without 'configure.compiler=llvm-gcc-4.2'Coin build failure with clang: the clang compiler does not support '-fno-for-scope'

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

Workaround of using llvm-gcc-4.2 was added in r95703.

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

There's a configure check but it doesn't use the right name for the option; the check says -fno-for-scoping (which doesn't exist) but later it adds the correct-for-gcc -fno-for-scope to the actual flags.

comment:4 Changed 12 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

r96473 - this should be reported upstream as well.

Note: See TracTickets for help on using tickets.