Bugzilla – Bug 766927
rpmbuild -ba fails with 'error: Package already exists: %package debuginfo' on Fedora
Last modified: 2012-06-26 14:20:23 UTC
User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:10.0.2) Gecko/20100101 Firefox/10.0.2 This only occurs on the Fedora 15 build servers, but works on RHEL5 & RHEL6. It fails on Fedora 15 i386 & x86_64. I can build the same package natively on a Fedora 15 server ok with this spec and tarball, and all of the other builds worked. What is wrong here? Is there an odd spec file issue or is it the Fedora 15 environment? Reproducible: Always Steps to Reproduce: 1. Use the ipmiutil-2.8.4.tar.gz and current ipmiutil.spec For more details, see https://build.opensuse.org/package/show?package=ipmiutil&project=systemsmanagement 2. On Fedora 15, run rpmbuild -ba Actual Results: ----------------------------------------------------------------- + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define 'disturl obs://build.opensuse.org/systemsmanagement/Fedora_15/493b626ace31c047049d1a137b3179c6-ipmiutil' /home/abuild/rpmbuild/SOURCES/ipmiutil.spec error: Package already exists: %package debuginfo Expected Results: + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define 'disturl obs://build.opensuse.org/systemsmanagement/RedHat_RHEL-5/493b626ace31c047049d1a137b3179c6-ipmiutil' /usr/src/redhat/SOURCES/ipmiutil.spec Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.3218 + umask 022 + cd /usr/src/redhat/BUILD + cd /usr/src/redhat/BUILD + rm -rf ipmiutil-2.8.4 + /usr/bin/gzip -dc /usr/src/redhat/SOURCES/ipmiutil-2.8.4.tar.gz + tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd ipmiutil-2.8.4 ++ /usr/bin/id -u + '[' 399 = 0 ']' [...]
OK, the Fedora 15 environment builds now, so it must have been resolved on the build server(s).