Opened 14 years ago

Closed 14 years ago

#25083 closed defect (invalid)

cppunit build fails: /usr/lib/system/libmathCommon.la

Reported by: macports@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: cppunit

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

Hello,

I am unable to build cppunit (a dependency for ffmpeg) on my system. I get an error:

grep: /usr/lib/system/libmathCommon.la: No such file or directory
sed: /usr/lib/system/libmathCommon.la: No such file or directory
libtool: link: `/usr/lib/system/libmathCommon.la' is not a valid libtool archive

I understand that this is related to the absence of *.la files on Snow Leopard, but I have not been able to find any workarounds or fixes to this problem. I have attempted uninstalling / cleaning / selfupdate / reinstalling, but no luck. I have also attempted to reinstall macports wholly (mv /opt/local /opt/local-2010.05.31, then re-installing from macports.org) but also had no luck.

This appears to be a general issue affecting macports on Snow Leopard. I also saw similar errors trying to compile the macports version of libtool, for example.

Are there any workaround for this problem?

Attachments (1)

cppunit-2010.06.07.log.gz (4.7 KB) - added by macports@… 14 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 14 years ago by macports@…

Cc: macports@… removed

Cc Me!

comment:2 Changed 14 years ago by macports@…

Cc: macports@… added

Cc Me!

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

Cc: macports@… removed
Keywords: /usr/lib/system/libmathCommon.la libtool removed
Owner: changed from macports-tickets@… to mww@…
Summary: build fails: /usr/lib/system/libmathCommon.la (cppunit, dependency for ffmpeg)cppunit build fails: /usr/lib/system/libmathCommon.la

Please remember to cc the maintainer, and note that you do not need to be in cc when you are the reporter.

Changed 14 years ago by macports@…

Attachment: cppunit-2010.06.07.log.gz added

comment:4 Changed 14 years ago by macports@…

uninstalled ports, reinstalled Snow Leopard, reinstalled XCode, patched OS up, and reinstalled Macports from svn. still receiving error, log attached.

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

Cc: ryandesign@… added
Description: modified (diff)

We also have the report from you about this problem with gettext: #25159

I don't know why this is happening for you. I cannot reproduce the issue. I do not have the file /usr/lib/system/libmathCommon.la either; not sure why this file's absence is being considered a problem on your system.

comment:6 Changed 14 years ago by macports@…

Found fix, most conversation is on the gettext ticket. Posting fix data:

The difference was the presence of .la archives in /usr/lib confusing libtool. These were created with a modified version of fix-x11-lib.sh pulled from http://article.gmane.org/gmane.os.macosx.fink.devel/17289. I ran this sometime ago trying to get fink to work, and as we can tell it didn't work out. Removing the .la archives has caused gettext to build properly.

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

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.