Skip to contentSkip to conversation

reiserfsprogs spec file bug report

DISCUSSION Dan Pritts 2 participants 2 messages Oct 4, 2005 – Oct 5, 2005

lore
Share & tools
lore

Dan Pritts

author
#0 lore raw

Hi,

I just downloaded & built reiserfsprogs-3.6.19 on Red Hat EL 4.

This has a newer version of RPM than you've designed your SPEC file for, and suffers from problems described in these two URLs:

1) http://www.rpm.org/hintskinks/debuginfo/
2) http://www.rpm.org/hintskinks/unpackaged-files/

1) Before anything happens, I get:
error: Package already exists: %package debuginfo

This is easily addressed by changing "%install" in a comment to "% install"

2) At the end of the build process, i get:

RPM build errors:
Installed (but unpackaged) file(s) found:
/rpm-filelist

It looks like you're using this rpm-filelist file as a temporary file to show what should go into the RPM. Not clear why you store that information in a temp file instead of the spec file but i'm sure you have your reasons.

The rpm.org site suggests removing any such non-packaged files at the end of the %install phase, which would probably not work given what this file is for. Perhaps moving this a file to /tmp is a better way to go but there may be reasons not to do this, either.

i downloaded the equivalent SRPM from fedora core 4 and it "just built" using their spec file so i didn't put much more effort into fixing the problem myself, but i thought you'd be interested to know about this.

thanks,
danno
--
dan pritts - systems administrator - internet2
734/352-4953 office 734/834-7224 mobile

#1 lore raw
Quoted 1 line · Dan Pritts

Hi,

Hello!

Quoted 30 lines

I just downloaded & built reiserfsprogs-3.6.19 on Red Hat EL 4.

This has a newer version of RPM than you've designed your SPEC file for, and suffers from problems described in these two URLs:

1) http://www.rpm.org/hintskinks/debuginfo/
2) http://www.rpm.org/hintskinks/unpackaged-files/

1) Before anything happens, I get:
error: Package already exists: %package debuginfo

This is easily addressed by changing "%install" in a comment to "% install"

2) At the end of the build process, i get:

RPM build errors:
Installed (but unpackaged) file(s) found:
/rpm-filelist

It looks like you're using this rpm-filelist file as a temporary file to show what should go into the RPM. Not clear why you store that information in a temp file instead of the spec file but i'm sure you have your reasons.

The rpm.org site suggests removing any such non-packaged files at the end of the %install phase, which would probably not work given what this file is for. Perhaps moving this a file to /tmp is a better way to go but there may be reasons not to do this, either.

Quoted 3 lines

i downloaded the equivalent SRPM from fedora core 4 and it "just built" using their spec file so i didn't put much more effort into fixing the problem myself, but i thought you'd be interested to know about this.

yes, thank you, I will check it.

Signature · 1 line
Vitaly