Bug 224143 - rebuild fails on rawhide
rebuild fails on rawhide
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: amanda (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Radek Brich
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2007-01-24 08:22 EST by Karsten Hopp
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2007-06-22 09:54:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Karsten Hopp 2007-01-24 08:22:23 EST
Description of problem:
current automake expects to find ylwrap in the working directory:

+ automake
changer-src/Makefile.am:47: compiling `chg-scsi.c' with per-target flags
requires `AM_PROG_CC_C_O' in `configure.in'
man/Makefile.am:91: `%'-style pattern rules are a GNU make extension
man/Makefile.am:94: `%'-style pattern rules are a GNU make extension
configure.in: required file `config/ylwrap' not found
configure.in:   `automake --add-missing' can install `ylwrap'
´error: Bad exit status from /var/tmp/amanda-2.5.0p2-4.src.rpm/rpm-tmp.99995 (%prep)
Comment 1 Radek Brich 2007-06-21 06:55:24 EDT
Build is now successful on rawhide, but it's not okay.

The older PIE patch isn't now used at all--it modifies configure.in/Makefile.am
 but autoconf/automake isn't run.

In older RPMs there is always something like this in spec's %prep section:
libtoolize --copy --force
aclocal
automake
autoconf

In rawhide's version these are gone and configure script is generated by
nonavailable autotools1.9 so it cannot regenerate Makefile.in's at its own.

Posible solution is to add ./autogen to %prep section and modify it so it
installs ylwrap automaticaly--by adding --install parameter to autoreconf line.
Comment 2 Radek Brich 2007-06-22 10:01:48 EDT
fixed in 2.5.2p1-2.fc8

Note You need to log in before you can comment on or make changes to this bug.