Bug 175073 - rpmbuild -bp fails to unpack all source files from SRPM
rpmbuild -bp fails to unpack all source files from SRPM
Product: Fedora
Classification: Fedora
Component: kde-i18n (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Ngo Than
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2005-12-06 04:40 EST by Roozbeh Pournader
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:
Last Closed: 2005-12-06 09:16:08 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch to fix the problem (444 bytes, patch)
2005-12-06 09:09 EST, Roozbeh Pournader
no flags Details | Diff

  None (edit)
Description Roozbeh Pournader 2005-12-06 04:40:27 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050922 Fedora/1.0.7-1.1.fc3 Firefox/1.0.7

Description of problem:
When 'rpmbuild -bp' is run on the spec file from the kde-i18n SRPM, only Arabic translations are unpacked, instead of translations from all languages.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. rpm -Uvh kde-i18n-3.4.2-0.fc4.1.src.rpm
2. rpmbuild -bp kde-i18n.spec

Actual Results:  Only the Arabic translations are unpacked.

Expected Results:  All translations should have been unpacked.

Additional info:

This is the output of the rpmbuild command:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.41830
+ umask 022
+ cd /home/roozbeh/rpmbuild/BUILD
+ export LANG
+ unset DISPLAY
+ cd /home/roozbeh/rpmbuild/BUILD
+ rm -rf kde-i18n-3.4.2
+ /bin/mkdir -p kde-i18n-3.4.2
+ cd kde-i18n-3.4.2
+ /usr/bin/bzip2 -dc /home/roozbeh/rpmbuild/SOURCES/kde-i18n-ar-3.4.2.tar.bz2
+ tar -xf -
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 501 = 0 ']'
++ /usr/bin/id -u
+ '[' 501 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
+ exit 0
Comment 1 Ngo Than 2005-12-06 06:08:30 EST
i'm pretty sure that you have not used the correct specfile, The output seems

Please try to rebuild with rpmbuild --rebuild kde-i18n-3.4.2-0.fc4.1.src.rpm
Comment 2 Roozbeh Pournader 2005-12-06 07:07:20 EST
The bug is not about the "%build" stage, it's about the "%prep" stage: Both
"rpmbuild --rebuild" (on the SRPM) and "rpmbuild -ba" (on the spec) work fine.
It is "rpmbuild -bp" that fails to unpack all the sources.
Comment 3 Roozbeh Pournader 2005-12-06 09:09:57 EST
Created attachment 121907 [details]
patch to fix the problem

Attached a patch to fix the problem. It may not be the best solution, but it's
good enough, I believe.
Comment 4 Ngo Than 2005-12-06 09:16:08 EST
it's already fixed in CVS. Thanks for your report.

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