[MacPorts] #38157: Boost will not complete installation
#38157: Boost will not complete installation -----------------------+-------------------------------- Reporter: iwerris@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Keywords: boost | Port: boost -----------------------+-------------------------------- After trying for a few hours I can't figure out why this isn't working. I'm running OS X 10.8.2. The farthest I've been able to get is running : sudo port clean boost sudo port selfupdate sudo port -d install boost Which results in a failure and the attached log file... -- Ticket URL: <https://trac.macports.org/ticket/38157> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38157: boost @1.52.0_1+no_single+no_static+python27: Build failure ------------------------+--------------------------- Reporter: iwerris@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: boost | ------------------------+--------------------------- Changes (by larryv@…): * keywords: boost => * owner: macports-tickets@… => adfernandes@… Old description:
After trying for a few hours I can't figure out why this isn't working. I'm running OS X 10.8.2.
The farthest I've been able to get is running :
sudo port clean boost sudo port selfupdate sudo port -d install boost
Which results in a failure and the attached log file...
New description: After trying for a few hours I can't figure out why this isn't working. I'm running OS X 10.8.2. The farthest I've been able to get is running : {{{ sudo port clean boost sudo port selfupdate sudo port -d install boost }}} Which results in a failure and the attached log file... -- Comment: Thanks for the ticket. In the future, please Cc relevant port maintainers and use [[WikiFormatting]] in your ticket descriptions and comments. -- Ticket URL: <https://trac.macports.org/ticket/38157#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38157: boost @1.52.0_1+no_single+no_static+python27: Build failure ------------------------+--------------------------- Reporter: iwerris@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: boost | ------------------------+--------------------------- Comment (by adfernandes@…): There is an important thing to remember when debugging `boost build`s... and that is to swear loud and long. :-) I went over your attached log file (thanks for attaching!) and could not find anything obvious. As you probably noticed, no error is given by the boost build system as to what failed, or why. I do have one thing to suggest, though. I noticed that you are using a 32-bit build of MacPorts, even on 10.8.2. Boost has a history of failing on 32-bit Mac (#35172). That ticket was closed since gcc seemed to respect the `-march` flag. My guess is that `clang` does not, and something is getting messed up there. Unfortunately, this is one of those "technically boost supports 32-bit builds on OS X", but given the number of bugs that have been reported, it's clear that they are never seriously tested (or in some cases, even built!) on 32-bit systems. I realize that if you adjust your MacPorts arch flags to go to a 64-bit build it may entail a lot of port builds and reinstallations... but I can't see or think of anything else that might be the problem... sorry. I'd appreciate if you replied either way (if you install 64-bit or not) so I can update this ticket, either way. Thanks! -- Ticket URL: <https://trac.macports.org/ticket/38157#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38157: boost @1.52.0_1+no_single+no_static+python27: Build failure ------------------------+--------------------------- Reporter: iwerris@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: boost | ------------------------+--------------------------- Comment (by larryv@…): Replying to [comment:2 adfernandes@…]:
That ticket was closed since gcc seemed to respect the `-march` flag. My guess is that `clang` does not, and something is getting messed up there.
Clang does support `-march` (see its man page). Who’s to say that it does what you think it does, though. :P -- Ticket URL: <https://trac.macports.org/ticket/38157#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38157: boost @1.52.0_1+no_single+no_static+python27: Build failure ------------------------+--------------------------- Reporter: iwerris@… | Owner: adfernandes@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: boost | ------------------------+--------------------------- Comment (by iwerris@…): Thanks for the speedy reply (as well as your work). Commenting out the line 'build_arch i386' in /opt/local/etc/macports/macports.conf completely resolved the issue. After sitting through a massive recompilation I was able to successfully build boost. Thanks again guys. -- Ticket URL: <https://trac.macports.org/ticket/38157#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#38157: boost @1.52.0_1+no_single+no_static+python27: Build failure ------------------------+--------------------------- Reporter: iwerris@… | Owner: adfernandes@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: wontfix | Keywords: Port: boost | ------------------------+--------------------------- Changes (by adfernandes@…): * status: new => closed * resolution: => wontfix Comment: Thanks for the report! r103433. -- Ticket URL: <https://trac.macports.org/ticket/38157#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts