You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@aurora.apache.org by "John Sirois (JIRA)" <ji...@apache.org> on 2015/11/25 04:05:11 UTC

[jira] [Created] (AURORA-1545) rpm build fails compiling thrift

John Sirois created AURORA-1545:
-----------------------------------

             Summary: rpm build fails compiling thrift
                 Key: AURORA-1545
                 URL: https://issues.apache.org/jira/browse/AURORA-1545
             Project: Aurora
          Issue Type: Bug
          Components: Build, Packaging
            Reporter: John Sirois
            Assignee: John Sirois


Various issues encountered:

# Failure during thrift compile due to {{make clean}}
   From #aurora IRC:
   {noformat}
(02:24:08 PM) wfarner: jsirois: when you re-jiggered thrift bootstrapping, did you come across an error like this?
(02:24:11 PM) wfarner: src/generate/t_oop_generator.h:28:21: fatal error: version.h: No such file or directory
(02:24:11 PM) wfarner:  #include "version.h"
(02:24:33 PM) wfarner: encountering that when trying to build on centos-7
   {noformat}
   Fixed here: https://reviews.apache.org/r/40675/
# Failure during compile due to missing rpm deps
   From #aurora IRC:
   {noformat}
(03:22:50 PM) wfarner: so on centos-7 build, that made progress but still not fixed
(03:22:53 PM) wfarner: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../lib/cpp/src/thrift  -I./src   -g -O2 -c -o thrift-md5.o `test -f 'src/md5.c' || echo './'`src/md5.c
(03:22:54 PM) wfarner: ../../ylwrap: line 113: yacc: command not found
(03:22:54 PM) wfarner: make[5]: *** [thrifty.cc] Error 1
(03:22:54 PM) wfarner: make[5]: *** Waiting for unfinished jobs....
(03:22:54 PM) wfarner: /dist/rpmbuild/BUILD/apache-aurora-0.11.0snapshot.2015.11.24/build-support/thrift/thrift-0.9.1/missing: line 52: flex: command not found
(03:22:54 PM) wfarner: WARNING: `flex' is missing on your system.  You should only need it if
(03:22:55 PM) wfarner:          you modified a `.l' file.  You may need the `Flex' package
(03:22:55 PM) wfarner:          in order for those modifications to take effect.  You can get
(03:22:55 PM) wfarner:          `Flex' from any GNU archive site.
(03:22:57 PM) wfarner: make[5]: *** [thriftl.cc] Error 1
   {noformat}
   Fix out for review here: https://reviews.apache.org/r/40680



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)