#1772 Debuginfo incorrectly handled on EPEL builders
Closed: Fixed None Opened 14 years ago by hubbitus.

Please see build log http://koji.fedoraproject.org/koji/getfile?taskID=1771869&name=build.log . Build failed with message:
Checking for unpackaged file(s): /usr/lib/rpm/check-files /var/tmp/x11vnc-0.9.8-14.el5-root-mockbuild
error:
RPM build errors:
Installed (but unpackaged) file(s) found:
/usr/lib/debug/usr/bin/x11vnc.debug

But debuginfo information extract automatically and work properly on F10-13 for this src.rpm


the epel builders are the same as the ones used to build fedora. they use mock to create target chroots. so this is either a shortcoming of something in HRLE or your usinga feature in rpm thats not supported on RHEL. If RHEL is plain doing the wrong thing then please file a RHLE bug if your using a newer feature you will need to implement a workaround in your spec file.

Either way there is nothing in the buildsystem that knows or handles rpm internels during the building of packages. Feel free to email the epel-devel list if you need some help to debug the cause of the problem.

You are sure?

Please, see http://koji.fedoraproject.org/koji/getfile?taskID=1774329&name=build.log '''exactly same''' (please note, not similar, just again request scratch build) package build failed with another message, another not found files list!

i manage the buildsystem i am positive that they are the same machines. if you look at koji.fedoraproject.org and go to the hosts tab it will show them all. they are all available for fedora and epel builds.

ppc does not have java-1.6.0-openjdk available it is x86_64 and i386 only. We can not make available what does not exist so you package needs to work around that limitation.

looking at the spec the issue is that you have a noarch sub-package EL-5 does not support them. rpm sees the BuildArch: noarch line and makes the whole package noarch which is why its not packaging up the debuginfo bits.

what you need to do is wrap that line in a %if macro like

%if 0%{?fedora} > 9 || 0%{?rhel} > 5
BuildArch: noarch
%endif

you also need to disable the javaviewers subpackage and its deps on ppc for rhel5 the javaviewers subpackage will ne arch specific on rhel5 there is no way around that.

but it is entirely a packaging issue and nothing to do with the buildsystem. so im reclosing as invalid.

ausil, I nothing known about real machines where it all work, and was not speak about that. What strange for me what I seen different errors on single source data.

And thank you very much for the detailed explanation. I make all by your suggestions.

Login to comment on this ticket.

Metadata