Opened 9 years ago

Closed 9 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)

main.log (75.1 KB) - added by arie.ratinov@… 9 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_thrift/thrift/main.log
patch-thrift-Portfile.diff (2.0 KB) - added by jul_bsd@… 9 years ago.
patch-remove-tr1-dependency.diff (331 bytes) - added by jul_bsd@… 9 years ago.
patch-0001-THRIFT-2799-C-Fix-build-on-OS-X.diff (1.6 KB) - added by jul_bsd@… 9 years ago.

Download all attachments as: .zip

Change History (14)

Changed 9 years ago by arie.ratinov@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_thrift/thrift/main.log

comment:1 Changed 9 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:2 Changed 9 years ago by n0ts (Naoya Nakazawa)

Cc: naoya.n@… removed

Cc Me!

comment:3 Changed 9 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:4 Changed 9 years ago by mojca (Mojca Miklavec)

Cc: mojca@… added

Cc Me!

comment:5 Changed 9 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)

Changed 9 years ago by jul_bsd@…

Attachment: patch-thrift-Portfile.diff added

Changed 9 years ago by jul_bsd@…

Changed 9 years ago by jul_bsd@…

comment:7 Changed 9 years ago by jul_bsd@…

managed to upload patch this time. automake issue still pending

comment:8 Changed 9 years ago by michaelld (Michael Dickens)

Cc: michaelld@… added

Cc Me!

comment:9 Changed 9 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 9 years ago by blair (Blair Zajac)

Resolution: fixed
Status: newclosed

Actually, I'm closing this now, reopen if it doesn't work for you. See #46745.

Note: See TracTickets for help on using tickets.