Bug 139460
Summary: | RPM fails to package soft links. | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Sam Varshavchik <mrsam> | ||||
Component: | rpm | Assignee: | Jeff Johnson <jbj> | ||||
Status: | CLOSED WORKSFORME | QA Contact: | |||||
Severity: | medium | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | 2 | CC: | nobody+pnasrat, redhatbugs, tim.nelson | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2004-11-16 13:05:53 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Sam Varshavchik
2004-11-16 03:22:04 UTC
Created attachment 106782 [details]
SPEC file to demonstrate the bug.
rpmbuild -bb barf.spec
glibc has changed glob in order to fix a problem. Unfortunately, that breaks rpm. You need a vrsion of rpm that is compiled with internal glob. Recent (like last 2 months) builds of rpm have internal glob. Alternatively, you need to specify symlinks explicitly, not with a glob. Your spec file builds for me: $ rpm -qlvp barf-1-1.i386.rpm lrwxrwxrwx 1 root root 14 Nov 16 08:03 /usr/bin/foo -> /usr/share/foo -rwxr-xr-x 1 root root 18 Nov 16 08:03 /usr/share/foo After U4 I am now seeing the same problem on RHEL3. The two topmost entries in the FC2 rpm-4.3.1-0.4.1 .spec would probably fix this for RHEL too. Will the bug owner please change the product and version of the bug and reopen it? I'm also still seeing this issue trying to build RPMs on an rhel3 update 4 machine. I'm seeing this too. Can we at least get the changes made to the bug so that other people with this problem will be able to find it? Since no-one else mentioned it, see bug #144587 Internal glob will be in U5 - see bug #134362 I don't think an internal glob is needed. Set the GLOB_ALTDIRFUNC flag, then set both gl_stat and gl_lstat to invoke lstat(). They already have an internal glob function that they're using for other things; this just means that they're using it everywhere. |