Opened 9 years ago

Closed 9 years ago

#46067 closed defect (duplicate)

flac @1.3.1_0 fails to build with macports 2.3.3 and OS X 10.7 lion

Reported by: andrew.long@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: flac

Description

flac fails to build with undefined symbols for architecture x86_64

Attachments (1)

build.log (83.5 KB) - added by andrew.long@… 9 years ago.
Build log for flac-1.3.1

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by andrew.long@…

Attachment: build.log added

Build log for flac-1.3.1

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

It's missing __cpuid, which is a macro defined in cpuid.h. Configure checks for the header and picks it up correctly, but somehow the macro ends up not being expanded, causing this problem.

comment:2 Changed 9 years ago by neverpanic (Clemens Lang)

I cannot reproduce the problem in a local build, FWIW. Do you have the cpuid.h header?

comment:3 in reply to:  2 Changed 9 years ago by andrew.long@…

Replying to cal@…:

I cannot reproduce the problem in a local build, FWIW. Do you have the cpuid.h header?

several copies...

Saganami-Island-2:~ andy$ locate cpuid.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/i386/cpuid.h
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/i386/cpuid.h
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator4.3.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/i386/cpuid.h
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/i386/cpuid.h
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/i386/cpuid.h
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/4.2/include/cpuid.h
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/i386/cpuid.h
/Developer/SDKs/MacOSX10.6.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/i386/cpuid.h
/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/i386/cpuid.h
/usr/lib/clang/4.1/include/cpuid.h
/usr/lib/clang/4.2/include/cpuid.h

This is obviously as of the most recent updatedb call (which I'm not sure when it happened), although a 'find /opt/local ...' did not find anything right now.

Regards, Andy

comment:4 Changed 9 years ago by larryv (Lawrence Velázquez)

Keywords: x86-64 removed
Port: flac added; flac-1.3.1 removed
Resolution: duplicate
Status: newclosed
Summary: flac-1.3.1 fails to build with macports 2.3.3 and OS X 10.7 lionflac @1.3.1_0 fails to build with macports 2.3.3 and OS X 10.7 lion

Duplicate of #46038.

Note: See TracTickets for help on using tickets.