[Bug 1992] New: RPM build fails using Red Hat spec file
bugzilla-daemon at bugzilla.mindrot.org
bugzilla-daemon at bugzilla.mindrot.org
Sat Mar 24 07:07:38 EST 2012
https://bugzilla.mindrot.org/show_bug.cgi?id=1992
Bug #: 1992
Summary: RPM build fails using Red Hat spec file
Classification: Unclassified
Product: Portable OpenSSH
Version: 5.9p1
Platform: ix86
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: Build system
AssignedTo: unassigned-bugs at mindrot.org
ReportedBy: crighter at nuclioss.com
When attempting to build the Red Hat RPM's the compiler throws the
following error:
Processing files: openssh-debuginfo-5.9p1-1
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/openssh-5.9p1-buildroot
RPM build error:
Bad exit status from /var/tmp/rpm-tmp.98925 (%doc)
----begin rpm-tmp.98925----
#!/bin/sh
RPM_SOURCE_DIR="/home/pkg_builder/rpmbuild/SOURCES"
RPM_BUILD_DIR="/home/pkg_builder/rpmbuild/BUILD"
RPM_OPT_FLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic"
RPM_ARCH="x86_64"
RPM_OS="linux"
export RPM_SOURCE_DIR RPM_BUILD_DIR RPM_OPT_FLAGS RPM_ARCH RPM_OS
RPM_DOC_DIR="/usr/share/doc"
export RPM_DOC_DIR
RPM_PACKAGE_NAME="openssh"
RPM_PACKAGE_VERSION="5.9p1"
RPM_PACKAGE_RELEASE="1"
export RPM_PACKAGE_NAME RPM_PACKAGE_VERSION RPM_PACKAGE_RELEASE
RPM_BUILD_ROOT="/var/tmp/openssh-5.9p1-buildroot"
export RPM_BUILD_ROOT
PKG_CONFIG_PATH="/usr/lib64/pkgconfig:/usr/share/pkgconfig"
export PKG_CONFIG_PATH
set -x
umask 022
cd /home/pkg_builder/rpmbuild/BUILD
cd 'openssh-5.9p1'
DOCDIR=$RPM_BUILD_ROOT/usr/share/doc/openssh-5.9p1
export DOCDIR
rm -rf $DOCDIR
/bin/mkdir -p $DOCDIR
cp -pr CREDITS ChangeLog INSTALL LICENCE OVERVIEW README* PROTOCOL*
TODO WARNING* $DOCDIR
----end rpm-tmp.98925----
Upon review of file rpm-tmp.98925 and %doc section of spec file, it
appears that the WARNING* file(s) referenced in the spec do not exist
in the src location.
Removing WARNING* from the spec allows the build to complete.
--
Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.
More information about the openssh-bugs
mailing list