Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#45463 closed defect (fixed)

sparsehash @2.0.2_0: build fails on Yosemite

Reported by: wenjiejia405@… Owned by: humem (humem)
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: yosemite Cc: mamoll (Mark Moll)
Port: sparsehash

Description (last modified by larryv (Lawrence Velázquez))

The port 'sparsehash' is a dependence for graph-tool. After I updated OS X to Yosemite and installed Xcode 6.1, I uninstalled the graph-tool, and then reinstalled it. But 'sparsehash' can not be builded. Please help me fix it. Thx.

wenjies-MacBook-Pro:/ wenjiejia$ sudo port install sparsehash
--->  Fetching archive for sparsehash
--->  Attempting to fetch sparsehash-2.0.2_0.darwin_14.x86_64.tbz2 from http://packages.macports.org/sparsehash
--->  Attempting to fetch sparsehash-2.0.2_0.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/sparsehash
--->  Attempting to fetch sparsehash-2.0.2_0.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/sparsehash
--->  Fetching distfiles for sparsehash
--->  Verifying checksums for sparsehash
--->  Extracting sparsehash
--->  Configuring sparsehash
--->  Building sparsehash
Error: org.macports.build for port sparsehash returned: command execution failed
Please see the log file for port sparsehash for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_sparsehash/sparsehash/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port sparsehash failed

Attachments (2)

main.log (75.9 KB) - added by wenjiejia405@… 9 years ago.
main 1.log (75.9 KB) - added by wenjiejia405@… 9 years ago.
New log.

Download all attachments as: .zip

Change History (13)

Changed 9 years ago by wenjiejia405@…

Attachment: main.log added

comment:1 Changed 9 years ago by wenjiejia405@…

Cc: wenjiejia405@… added

Cc Me!

comment:2 Changed 9 years ago by wenjiejia405@…

Cc: wenjiejia405@… removed

Cc Me!

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

Description: modified (diff)
Keywords: yosemite added; graph-tool Yosemite removed
Owner: changed from macports-tickets@… to hum@…
Summary: Failed to reinstall 'sparsehash', after os updated to Yosemitesparsehash @2.0.2_0: build fails on Yosemite

There are a great many C++ compile errors.

comment:4 Changed 9 years ago by daviemontes@…

Cc: daviemontes@… added

Cc Me!

comment:5 Changed 9 years ago by daviemontes@…

Cc: daviemontes@… removed

Cc Me!

comment:6 Changed 9 years ago by mamoll (Mark Moll)

Cc: mmoll@… added

Cc Me!

comment:7 Changed 9 years ago by mamoll (Mark Moll)

Resolution: fixed
Status: newclosed

Fixed in r127035.

comment:8 in reply to:  7 ; Changed 9 years ago by wenjiejia405@…

Resolution: fixed
Status: closedreopened

Replying to mmoll@…:

Fixed in r127035. Failed again.


Wenjies-MacBook-Pro:~ wenjiejia$ sudo port install sparsehash
--->  Fetching archive for sparsehash
--->  Attempting to fetch sparsehash-2.0.2_0.darwin_14.x86_64.tbz2 from http://packages.macports.org/sparsehash
--->  Attempting to fetch sparsehash-2.0.2_0.darwin_14.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/sparsehash
--->  Attempting to fetch sparsehash-2.0.2_0.darwin_14.x86_64.tbz2 from http://lil.fr.packages.macports.org/sparsehash
--->  Fetching distfiles for sparsehash
--->  Verifying checksums for sparsehash
--->  Extracting sparsehash
--->  Configuring sparsehash
--->  Building sparsehash
Error: org.macports.build for port sparsehash returned: command execution failed
Please see the log file for port sparsehash for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_sparsehash/sparsehash/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port sparsehash failed

Changed 9 years ago by wenjiejia405@…

Attachment: main 1.log added

New log.

comment:9 in reply to:  8 ; Changed 9 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: reopenedclosed

Replying to wenjiejia405@…:

--->  Attempting to fetch sparsehash-2.0.2_0.darwin_14.x86_64.tbz2 from http://packages.macports.org/sparsehash

You’re still trying to fetch 2.0.2 revision 0, which means that you don’t have the latest port. Please run sudo port selfupdate && sudo port clean sparsehash and then install again.

comment:10 in reply to:  9 ; Changed 9 years ago by wenjiejia405@…

Replying to larryv@…:

Replying to wenjiejia405@…:

--->  Attempting to fetch sparsehash-2.0.2_0.darwin_14.x86_64.tbz2 from http://packages.macports.org/sparsehash

You’re still trying to fetch 2.0.2 revision 0, which means that you don’t have the latest port. Please run sudo port selfupdate && sudo port clean sparsehash and then install again.

It works! Thanks!

comment:11 in reply to:  10 Changed 9 years ago by larryv (Lawrence Velázquez)

Great to hear.

Note: See TracTickets for help on using tickets.