Bug 145460 - Does not build as non-root
Summary: Does not build as non-root
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: wireless-tools
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-01-18 18:05 UTC by Enrico Scholz
Modified: 2014-03-17 02:51 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-01-18 18:16:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Enrico Scholz 2005-01-18 18:05:39 UTC
Description of problem:

The src.rpm can not be rebuilt as an ordinary user:

| [pkgbuild@kosh rawhide]$ rpmbuild --rebuild wireless-tools-28-0.pre4.3.src.rpm
| ln -sfn libiw.so.28 /var/tmp/wireless-tools-28-0.pre4.3-root/lib/libiw.so
| *** Don't forget to add /var/tmp/wireless-tools-28-0.pre4.3-root/lib to /etc/ld.so.conf, and run ldconfig as root. ***
| /bin/sh: ldconfig: command not found
| *** Could not run ldconfig ! ***
| install -m 755 -d /var/tmp/wireless-tools-28-0.pre4.3-root/sbin
| ...
| Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
|     File not found by glob: /var/tmp/wireless-tools-28-0.pre4.3-root/usr/lib/*.so

Adding /sbin to $PATH does not help:

| [pkgbuild@kosh rawhide]$ PATH=$PATH:/sbin rpmbuild --rebuild wireless-tools-28-0.pre4.3.src.rpm
| ...
| ln -sfn libiw.so.28 /var/tmp/wireless-tools-28-0.pre4.3-root/lib/libiw.so
| *** Don't forget to add /var/tmp/wireless-tools-28-0.pre4.3-root/lib to /etc/ld.so.conf, and run ldconfig as root. ***
| ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
| *** Could not run ldconfig ! ***
| install -m 755 -d /var/tmp/wireless-tools-28-0.pre4.3-root/sbin
| ...
| Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1
|     File not found by glob: /var/tmp/wireless-tools-28-0.pre4.3-root/usr/lib/*.so



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

wireless-tools-28-0.pre4.3

Comment 1 Enrico Scholz 2005-01-18 18:16:23 UTC
sorry... was caused by the bad globbing of old rpm with new glibc.


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