Opened 9 years ago
Closed 9 years ago
#48556 closed defect (fixed)
sparsehash: build error on 10.11 El Capitan
Reported by: | macports@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | elcapitan | Cc: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), humem (humem), ryandesign (Ryan Carsten Schmidt) |
Port: | sparsehash |
Description
Building sparsehash fails under OS X 10.11 Beta (15A243d), Xcode Version 7.0 beta 5 (7A176x) — current latest public beta of each
build log attached
Possibly related/useful Homebrew issue: https://github.com/Homebrew/homebrew/issues/41087
Not sure if sparsehash is still under development? Homebrew issue says to report upstream, but I can't find an active project for it, and Homebrew has since marked the issue closed
Attachments (1)
Change History (8)
Changed 9 years ago by macports@…
comment:1 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | elcapitan added |
---|
I saw this problem as well.
Please report the problem to the developers of sparsehash at (as far as I know) https://code.google.com/p/sparsehash/issues/list
comment:2 Changed 9 years ago by macports@…
comment:4 Changed 9 years ago by hardwhack
Wanted to get sparsehash working as textmate2 depends on it. I tried applying the fix mentioned in https://github.com/Homebrew/homebrew/issues/41087
I did this manually by editing /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/sparsehash/hashtable_test.cc near line 900
#ifdef _MSC_VER other_ht.swap(this->ht_); #else swap(this->ht_, other_ht); #endif
to just
other_ht.swap(this->ht_);
Then I ran "sudo port install sparsehash" and it builds and installs correctly. Still can't get textmate2 to build however.
comment:5 Changed 9 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Cc: | mcalhoun@… added |
---|
Cc Me!
comment:6 Changed 9 years ago by MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
r140743 fixed the problem for me.
Does it work for others?
comment:7 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | hum@… ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Yes, thanks!
build log