Bug 47886 - gal-0.8-4 only builds when a previous version is present
Summary: gal-0.8-4 only builds when a previous version is present
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gal (Show other bugs)
(Show other bugs)
Version: 7.1
Hardware: All Linux
Target Milestone: ---
Assignee: Jonathan Blandford
QA Contact:
Depends On:
TreeView+ depends on / blocked
Reported: 2001-07-08 22:31 UTC by Christian Hechelmann
Modified: 2013-04-02 04:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2001-07-12 14:27:57 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Fix for locale file install, possible fix for linking problem (4.33 KB, patch)
2001-07-08 22:33 UTC, Christian Hechelmann
no flags Details | Diff
modified spec file (2.03 KB, text/plain)
2001-07-08 22:35 UTC, Christian Hechelmann
no flags Details

Description Christian Hechelmann 2001-07-08 22:31:24 UTC
Description of Problem:

gal-0.8-4 from rawhide fails to build when no previous version of gal is
installed. This comes from a patch in this version (libgal-borken.patch)
which resolves some dependency problems but introduces others.
The patch adds $(GAL_LIBS) to the link command for libgal.(a|so). When 
doing a fresh, pristine build there is no libgal present in the system, so
the link will fail, but when there is a leftover libgal from a previous 
install is present the new one is linked against the old code, which may 
introduce some interesting effects.

Also, po/Makefile is broken (doesn't use $(DESTDIR)), so locale files
do not make it to $RPM_BUILD_ROOT, instead they end up und 
/usr/share/locale on the build system (when built as root), or aren't 
installed at all due to permission problems (non-root build).

[drdisk@junkyard rawhide]$ ls -l gal-0.8-4.src.rpm 
-rw-rw-r--    1 drdisk   drdisk     985662 Jun 25 02:04 gal-0.8-4.src.rpm
[drdisk@junkyard rawhide]$ rpm -qip gal-0.8-4.src.rpm 
Name        : gal                          Relocations: (not relocateable)
Version     : 0.8                               Vendor: Red Hat, Inc.
Release     : 4                             Build Date: Mon 25 Jun 2001 
08:04:00 CEST
Install date: (not installed)               Build Host: 
Group       : System Environment/Libraries   Source RPM: (none)
Size        : 987862                           License: GPL
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://www.helixcode.com/tech/
Summary     : The GNOME Application Library
Description :
A collection of GNOME widgets and utility functions.

How Reproducible:

Steps to Reproduce:
1. rpm --force -e gal gal-devel libgal
2. rpm --rebuild rawhide/gal-0.8-4.src.rpm

Actual Results:

Expected Results:

Additional Information:

Comment 1 Christian Hechelmann 2001-07-08 22:33:02 UTC
Created attachment 23008 [details]
Fix for locale file install, possible fix for linking problem

Comment 2 Christian Hechelmann 2001-07-08 22:35:05 UTC
Created attachment 23009 [details]
modified spec file

Comment 3 Jonathan Blandford 2001-08-16 17:50:25 UTC
The current version of gal seems to work.

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