You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Ricky Cormier (JIRA)" <ji...@apache.org> on 2013/05/31 01:43:20 UTC
[jira] [Created] (THRIFT-1988) When trying to build a debian
package it fails as the file NEWS doesn't exist
Ricky Cormier created THRIFT-1988:
-------------------------------------
Summary: When trying to build a debian package it fails as the file NEWS doesn't exist
Key: THRIFT-1988
URL: https://issues.apache.org/jira/browse/THRIFT-1988
Project: Thrift
Issue Type: Bug
Components: Build Process
Affects Versions: 0.9
Environment: Ubuntu 13.04
Reporter: Ricky Cormier
The debian packaging defines that a NEWS file should exist (debian/docs); however, no such file exists. This causes the packaging stage to fail with the following error:
{noformat}
dh_installdocs
cp: cannot stat `NEWS': No such file or directory
dh_installdocs: cp -a NEWS debian/thrift-compiler/usr/share/doc/thrift-compiler returned exit code 1
make[1]: *** [binary-common] Error 2
make[1]: Leaving directory `/home/ricky/development/git/thrift'
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
{noformat}
I checked to see if this file is meant to be auto-generated but could find no obvious mechanism for doing so. I can get the package to build in two ways:
1. just add a NEWS file (touch NEWS in the top-level folder works)
2. Remove the line containing NEWS from the debian/docs file
If this file isn't actually needed removing it from the debian/docs is probably the best solution.
--
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