Opened 10 years ago
Closed 10 years ago
#46112 closed defect (fixed)
thrift 0.9.0_0 build failure
Reported by: | arie.ratinov@… | Owned by: | blair (Blair Zajac) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | mojca (Mojca Miklavec), michaelld (Michael Dickens) | |
Port: | thrift |
Description (last modified by larryv (Lawrence Velázquez))
I'm trying to (clean + install) Apache Thrift, and I've getting a very quick failure below. I'm also attaching the file /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_thrift/thrift/main.log
Please let me know what steps I can do to help debug this.
$ port version Version: 2.3.3 $ sudo port clean thrift ---> Cleaning thrift $ sudo port install thrift ---> Computing dependencies for thrift ---> Fetching archive for thrift ---> Attempting to fetch thrift-0.9.0_0.darwin_13.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/thrift ---> Attempting to fetch thrift-0.9.0_0.darwin_13.x86_64.tbz2 from http://lil.fr.packages.macports.org/thrift ---> Attempting to fetch thrift-0.9.0_0.darwin_13.x86_64.tbz2 from http://nue.de.packages.macports.org/macports/packages/thrift ---> Fetching distfiles for thrift ---> Verifying checksums for thrift ---> Extracting thrift ---> Applying patches to thrift ---> Configuring thrift ---> Building thrift Error: org.macports.build for port thrift returned: command execution failed Please see the log file for port thrift for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_thrift/thrift/main.log
The log file is attached.
Attachments (4)
Change History (14)
comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)
Cc: | naoya.n@… added |
---|---|
Description: | modified (diff) |
Keywords: | build failure removed |
Owner: | changed from macports-tickets@… to blair@… |
comment:3 Changed 10 years ago by blair (Blair Zajac)
This looks similar to https://issues.apache.org/jira/browse/THRIFT-2229. Can you find out which patch it'll take to fix the compile and I can add it to the Portfile.
comment:5 Changed 10 years ago by jul_bsd@…
- update to 0.9.2
- build fails
cd ../../.. && /bin/sh /Users/julien/.macports/opt/local/var/macports/build/_Users_julien_tmp_myports_devel_thrift/thrift/work/thrift-0.9.2/missing automake-1.14 --foreign lib/cpp/test/Makefile /Users/julien/.macports/opt/local/var/macports/build/_Users_julien_tmp_myports_devel_thrift/thrift/work/thrift-0.9.2/missing: line 81: automake-1.14: command not found WARNING: 'automake-1.14' is missing on your system. You should only need it if you modified 'Makefile.am' or 'configure.ac' or m4 files included by 'configure.ac'. The 'automake' program is part of the GNU Automake package: <http://www.gnu.org/software/automake> It also requires GNU Autoconf, GNU m4 and Perl in order to run: <http://www.gnu.org/software/autoconf> <http://www.gnu.org/software/m4/> <http://www.perl.org/>
how to force a more current automake version? (current 1.15)
- few upstream patch
- homebrew has it working https://github.com/Homebrew/homebrew/blob/master/Library/Formula/thrift.rb/ cxx11? seems correct on our side
- dependency for osquery
comment:6 Changed 10 years ago by jul_bsd@…
got a Trac Error when trying to attach a file here ...
http://hastebin.com/opekewarat.diff http://hastebin.com/ejofurahir.diff http://hastebin.com/ahawenajeh.diff
Changed 10 years ago by jul_bsd@…
Attachment: | patch-thrift-Portfile.diff added |
---|
Changed 10 years ago by jul_bsd@…
Attachment: | patch-remove-tr1-dependency.diff added |
---|
Changed 10 years ago by jul_bsd@…
Attachment: | patch-0001-THRIFT-2799-C-Fix-build-on-OS-X.diff added |
---|
comment:7 Changed 10 years ago by jul_bsd@…
managed to upload patch this time. automake issue still pending
comment:9 Changed 10 years ago by blair (Blair Zajac)
I didn't see your patch and re-duplicated some of the work.
Please let me know if the 0.9.2 release I updated to works.
comment:10 Changed 10 years ago by blair (Blair Zajac)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Actually, I'm closing this now, reopen if it doesn't work for you. See #46745.