You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Pavlin Radoslavov (JIRA)" <ji...@apache.org> on 2013/07/04 18:49:50 UTC

[jira] [Updated] (THRIFT-2082) Executing "gmake clean" is broken

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

Pavlin Radoslavov updated THRIFT-2082:
--------------------------------------

    Description: 
Executing "gmake clean" doesn't work, because of the following error:


username@hostname[43] gmake clean
Making clean in compiler/cpp
gmake[1]: Entering directory `/usr/home/username/thrift/thrift-git/compiler/cpp'
 rm -f thrift
rm -rf .libs _libs
rm -f thriftl.cc thrifty.cc thrifty.h thrifty.hh version.h windows/version.h
echo '#include "thrifty.h"' > compiler/cpp/thrifty.hh
cannot create compiler/cpp/thrifty.hh: No such file or directory
gmake[1]: *** [clean-local] Error 2
gmake[1]: Leaving directory `/usr/home/username/thrift/thrift-git/compiler/cpp'
gmake: *** [clean-recursive] Error 1
Exit 2
username@hostname[44] 

The fix is trivial: file compiler/cpp/Makefile.am needs to be edited
and the bogus "compiler/cpp/" prefix removed, because the "echo ..."
command is executed in the local directory.
See attached patch. Don't forget to run "./bootstrap.sh" and "./configure"
after the patch is applied.


  was:
Executing "gmake clean" doesn't work, because of the following error:


username@hostname[43] gmake clean
Making clean in compiler/cpp
gmake[1]: Entering directory `/usr/home/username/thrift/thrift-git/compiler/cpp'
 rm -f thrift
rm -rf .libs _libs
rm -f thriftl.cc thrifty.cc thrifty.h thrifty.hh version.h windows/version.h
echo '#include "thrifty.h"' > compiler/cpp/thrifty.hh
cannot create compiler/cpp/thrifty.hh: No such file or directory
gmake[1]: *** [clean-local] Error 2
gmake[1]: Leaving directory `/usr/home/username/thrift/thrift-git/compiler/cpp'
gmake: *** [clean-recursive] Error 1
Exit 2
username@hostname[44] 

The fix is trivial: file compiler/cpp/Makefile.am needs to be edited
and the bogus "compiler/cpp/" prefix removed, because the "echo ..."
command is executed in the local directory.
See attached patch. Don't forget to run "./bootstrap" and "./configure"
after the patch is applied.


    
> Executing "gmake clean" is broken
> ---------------------------------
>
>                 Key: THRIFT-2082
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2082
>             Project: Thrift
>          Issue Type: Bug
>         Environment: FreeBSD-9.1-RELEASE
>            Reporter: Pavlin Radoslavov
>         Attachments: thrift-jira-2082-gmake-clean-fix.patch
>
>   Original Estimate: 10m
>  Remaining Estimate: 10m
>
> Executing "gmake clean" doesn't work, because of the following error:
> username@hostname[43] gmake clean
> Making clean in compiler/cpp
> gmake[1]: Entering directory `/usr/home/username/thrift/thrift-git/compiler/cpp'
>  rm -f thrift
> rm -rf .libs _libs
> rm -f thriftl.cc thrifty.cc thrifty.h thrifty.hh version.h windows/version.h
> echo '#include "thrifty.h"' > compiler/cpp/thrifty.hh
> cannot create compiler/cpp/thrifty.hh: No such file or directory
> gmake[1]: *** [clean-local] Error 2
> gmake[1]: Leaving directory `/usr/home/username/thrift/thrift-git/compiler/cpp'
> gmake: *** [clean-recursive] Error 1
> Exit 2
> username@hostname[44] 
> The fix is trivial: file compiler/cpp/Makefile.am needs to be edited
> and the bogus "compiler/cpp/" prefix removed, because the "echo ..."
> command is executed in the local directory.
> See attached patch. Don't forget to run "./bootstrap.sh" and "./configure"
> after the patch is applied.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira