New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #34059 (closed defect: fixed)

Opened 13 months ago

Last modified 9 months ago

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

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

Description (last modified by ryandesign@…) (diff)

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

Coin_main.log (143.4 KB) - added by macports@… 13 months ago.

Change History

Changed 13 months ago by macports@…

comment:1 Changed 13 months ago by ryandesign@…

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

comment:2 Changed 9 months ago by jmr@…

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

comment:3 Changed 9 months ago by jmr@…

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 9 months ago by jmr@…

  • Status changed from new to closed
  • Resolution set to fixed

r96473 - this should be reported upstream as well.

Note: See TracTickets for help on using tickets.