Red Hat Bugzilla – Bug 75879
strange commands in %prep section of spec-file
Last modified: 2008-05-01 11:38:04 EDT
Description of problem:
There are strange commands at the end of %prep-section of the spec-file
# Workaround for legacy auto* tools
[ -x /usr/bin/autoconf-2.5? ] && ln -s /usr/bin/autoconf-2.5? autoconf
[ -x /usr/bin/autoheader-2.5? ] && ln -s /usr/bin/autoheader-2.5? autoheader
[ -x /usr/bin/aclocal-1.5 ] && ln -s /usr/bin/aclocal-1.5 aclocal
[ -x /usr/bin/automake-1.5 ] && ln -s /usr/bin/automake-1.5 automake
# End workaround
make -f Makefile.cvs
Why variable PATH is being exported here ? RPM executes %prep- and %build-
sections separately. PATH doesn't keep its value at the beginning of %build-
All links to necessary versions of autoconf, automake etc. made above will be
inaccessible. Old versions of those tools will be used.
Because of this issue (?) configure generates wrong config.h (it's too short).
The package doesn't build.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Build the SRPM-package as usual
Actual Results: .....
cd . && /bin/sh /users/compiler/tc_4/WORK_DIR/BUILD/control-panel-
4.2.3/admin/missing --run autoheader
FATAL ERROR: Autoconf version 2.50 or higher is required for this script
cd . \
aboutimpl.cpp(34): error: identifier "VERSION" is undefined
title_l->setText( QString(i18n( "control panel %1")).arg(VERSION));
compilation aborted for aboutimpl.cpp (code 2)
make: *** [aboutimpl.o] Error 2
Expected Results: Here should be no any errors
Red Hat apologizes that these issues have not been resolved yet. We do want to
make sure that no important bugs slip through the cracks.
Red Hat Linux 7.3 and Red Hat Linux 9 are no longer supported by Red Hat, Inc.
They are maintained by the Fedora Legacy project (http://www.fedoralegacy.org/)
for security updates only. If this is a security issue, please reassign to the
'Fedora Legacy' product in bugzilla. Please note that Legacy security update
support for these products will stop on December 31st, 2006.
If this is not a security issue, please check if this issue is still present
in a current Fedora Core release. If so, please change the product and version
to match, and check the box indicating that the requested information has been
If you are currently still running Red Hat Linux 7.3 or 9, please note that
Fedora Legacy security update support for these products will stop on December
31st, 2006. You are strongly advised to upgrade to a current Fedora Core release
or Red Hat Enterprise Linux or comparable. Some information on which option may
be right for you is available at http://www.redhat.com/rhel/migrate/redhatlinux/.
Any bug still open against Red Hat Linux 7.3 or 9 at the end of 2006 will be
closed 'CANTFIX'. Again, if this bug still exists in a current release, or is a
security issue, please change the product as necessary. We thank you for your
help, and apologize again that we haven't handled these issues to this point.
Red Hat Linux is no longer supported by Red Hat, Inc. If you are still
running Red Hat Linux, you are strongly advised to upgrade to a
current Fedora Core release or Red Hat Enterprise Linux or comparable.
Some information on which option may be right for you is available at
Closing as CANTFIX.