Opened 3 years ago

Last modified 3 years ago

#64077 closed defect

advancemame build fail on Mountain Lion — at Version 3

Reported by: chillin- Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.0
Keywords: mountainlion lion snowleopard Cc: mascguy (Christopher Nielsen)
Port: advancemame

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

I'm not really sure what the trouble is, but Ryan took a look at the log and said:

On Mac OS X 10.6-10.8, the default C++ stdlib is libstdc++ but MacPorts enforces the use of libc++ for greater compatibility with newer software. Successful enforcement requires the build system to use the CXXFLAGS MacPorts tells it to use. Evidently advancemame's build system has a bug where it does not do that. We'll need to find where and fix it. This problem would not be seen on OS X 10.9 or later which default to libc++ already.

Change History (4)

Changed 3 years ago by chillin-

Attachment: advancemame_buildfail.txt added

this is output of port -d -t rev-upgrade |tee advancemame_buildfail.txt

comment:1 Changed 3 years ago by chillin-

Note: advancemame built successfully initially... the fail occurs on update. when output of port outdated is

  advancemame                    3.9_0 < 3.9_0  (C++ stdlib libstdc++ != libc++)
Last edited 3 years ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:2 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: mascguy added

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

Description: modified (diff)
Keywords: mountainlion lion snowleopard added; advancemame 10.8 libstdc++ libc++ removed

So you're reporting two separate unrelated things:

  1. When the port used to build, it used the wrong C++ stdlib on 10.6-10.8
  2. The port now doesn't build because configure: error: no video library found. If you have the SDL library installed somewhere try using the --with-sdl-prefix or --with-sdl2-prefix options
Note: See TracTickets for help on using tickets.