Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#15671 closed defect (fixed)

boost 1.35_2 will not build : no files matched glob pattern "*-1_35_0.dylib"

Reported by: neric27@… Owned by: sanchom (Sancho McCann)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: sanchom (Sancho McCann), MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: boost

Description

I can't upgrade from boost@1.35_0 to 1.35_2 (couldn't either with 1.35_1)

The error message is :

Target org.macports.destroot returned: no files matched glob pattern "*-1_35_0.dylib"

See complete log attached

config : Mac OS X 1.4.11 ibook g4

Attachments (2)

begin.log (9.9 KB) - added by neric27@… 16 years ago.
start of the log file
end.log (27.7 KB) - added by neric27@… 16 years ago.
last 150 lines

Download all attachments as: .zip

Change History (15)

Changed 16 years ago by neric27@…

Attachment: begin.log added

start of the log file

Changed 16 years ago by neric27@…

Attachment: end.log added

last 150 lines

comment:1 Changed 16 years ago by jmroot (Joshua Root)

Cc: sanchom@… added

Cc maintainer. Your gcc doesn't like -no-cpp-precomp, but the port doesn't add this flag. Apparently it does nothing in GCC >= 3.3 and has been removed from FSF's GCC source. Maybe Apple made their GCC 4 accept it again at some point? If your XCode is older than 2.4.1, maybe you need to upgrade.

comment:2 Changed 16 years ago by neric27@…

Hi,

here is my version of gcc :

$ /usr/bin/gcc -v
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)

Indeed I have XCode 2.4.1 installed. Should I try XCode 2.5 (I'm downloading it anyway) ?

Cheers,

comment:3 Changed 16 years ago by neric27@…

OK, my mistake : I had gcc43 port installed and it somehow prevented boost libraries from building.

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

Owner: changed from macports-tickets@… to sanchom@…

A port will not use gcc43 or any other gcc port unless instructed by the portfile to do so, so I don't see how that could have been interfering.

comment:5 Changed 16 years ago by neo.lee@…

I tried to install 1.35_0 (the default one) and get this error during destroot stage:

Error: Target org.macports.destroot returned: no files matched glob pattern "*-1_35.a"

Obviously there is no *.a out there.

Is there any workaround about this? Seems all libs have been successfully compiled already and something went wrong in the build script.

comment:6 Changed 16 years ago by blb@…

Port: boost added

So it appears to be failing at

darwin.compile.c++ bin.v2/libs/serialization/build/darwin/release/macosx-version-10.4/threading-multi/xml_oarchive.o
g++: unrecognized option '-no-cpp-precomp'
cc1plus: error: unrecognized command line option "-Wno-long-double"

then happily continuing as if nothing were wrong. It makes sense then that the dylibs weren't found, as they failed to build.

What does which g++ say? gcc_select could have been used to get g++ (and gcc, etc) to point to a MacPorts-installed version, and since ${prefix}/bin is first in PATH when port runs, it sees that one.

comment:7 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Cc: mcalhoun@… added

Cc Me!

comment:8 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Previously, boost did not ensure that /usr/bin/g++ was the C++ compiler.
This was changed in r43281.

Does this fix this problem?

comment:9 Changed 15 years ago by neric27@…

Well, it definitely should; gcc43 will be rebuilt during the night and I'll attempt to upgrade boost to this new version later on.

comment:10 Changed 15 years ago by neric27@…

boost 1.37 installs just fine with gcc43. You can close the ticket !

comment:11 Changed 15 years ago by neric27@…

I mean "even if gcc43 is active"

comment:12 Changed 15 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)

Resolution: fixed
Status: newclosed

Good to hear.

comment:13 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.