[ 
https://issues.apache.org/jira/browse/THRIFT-1614?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Geyer reopened THRIFT-1614:
--------------------------------


Again, {{make dist}} fails on openSUSE and Ubuntu. This is what I get:

{code}
$> make dist
make  dist-gzip am__post_remove_distdir='@:'
make[1]: Entering directory `/home/jens/Arbeitsfläche/Thrift/thrift1'
if test -d "thrift-1.0.0-dev"; then find "thrift-1.0.0-dev" -type d ! -perm 
-200 -exec chmod u+w {} ';' && rm -rf "thrift-1.0.0-dev" || { sleep 5 && rm -rf 
"thrift-1.0.0-dev"; }; else :; fi
test -d "thrift-1.0.0-dev" || mkdir "thrift-1.0.0-dev"
 (cd compiler/cpp && make  top_distdir=../../thrift-1.0.0-dev 
distdir=../../thrift-1.0.0-dev/compiler/cpp \
     am__remove_distdir=: am__skip_length_check=: am__skip_mode_fix=: distdir)
make[2]: Entering directory 
`/home/jens/Arbeitsfläche/Thrift/thrift1/compiler/cpp'
\
 \
/bin/sh ../../ylwrap `test -f 'src/thrifty.yy' || echo './'`src/thrifty.yy 
y.tab.c thrifty.cc y.tab.h `echo thrifty.cc | sed -e s/cc$/h/ -e s/cpp$/hpp/ -e 
s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output thrifty.output -- bison -y -d 
updating thrifty.h
make[3]: Entering directory 
`/home/jens/Arbeitsfläche/Thrift/thrift1/compiler/cpp'
\
 \
/bin/sh ../../ylwrap `test -f 'src/thrifty.yy' || echo './'`src/thrifty.yy 
y.tab.c thrifty.cc y.tab.h `echo thrifty.cc | sed -e s/cc$/h/ -e s/cpp$/hpp/ -e 
s/cxx$/hxx/ -e s/c++$/h++/ -e s/c$/h/` y.output thrifty.output -- bison -y -d 
thrifty.h is unchanged
make[3]: Leaving directory 
`/home/jens/Arbeitsfläche/Thrift/thrift1/compiler/cpp'
\
 \
/bin/sh ../../ylwrap `test -f 'src/thriftl.ll' || echo './'`src/thriftl.ll 
lex.yy.c thriftl.cc -- flex  
cp: der Aufruf von stat für „./thrifty.hh“ ist nicht möglich: Datei oder 
Verzeichnis nicht gefunden
make[2]: *** [distdir] Fehler 1
make[2]: Leaving directory 
`/home/jens/Arbeitsfläche/Thrift/thrift1/compiler/cpp'
make[1]: *** [distdir] Fehler 1
make[1]: Leaving directory `/home/jens/Arbeitsfläche/Thrift/thrift1'
make: *** [dist] Fehler 2
{code}

The error above translates to sth. like "cp: calling stat for „./thrifty.hh“ is 
not possible: File or directory not found.

Henrique gets a similar message on Ubuntu 13.10.


> Thrift build from svn repo sources fails with automake-1.12
> -----------------------------------------------------------
>
>                 Key: THRIFT-1614
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1614
>             Project: Thrift
>          Issue Type: Bug
>          Components: Build Process
>    Affects Versions: 0.9
>         Environment: Reproduced on OS X 10.7 with homebrew automake-1.12
>            Reporter: Andrew Cox
>            Assignee: Jake Farrell
>             Fix For: 0.9.1
>
>         Attachments: thrift-1614-automake-yacc-naming.patch
>
>
> The yacc.am included in automake-1.12 creates the file "thrifty.hh" instead 
> of "thrifty.h", but the generated file "thriftl.cc" includes "thrifty.h".
> Problem goes away when I downgrade automake to 1.11.5



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to