Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 78045 - libgnomecanvas binary rpm doesn't build
libgnomecanvas binary rpm doesn't build
Product: Red Hat Linux
Classification: Retired
Component: libgnomecanvas (Show other bugs)
All Linux
medium Severity low
: ---
: ---
Assigned To: Alexander Larsson
Jay Turner
: EasyFix, Triaged
Depends On:
Blocks: 79579
  Show dependency treegraph
Reported: 2002-11-18 07:35 EST by Bernd Kischnick
Modified: 2015-01-07 19:01 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-01-16 08:59:32 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 the spec file (484 bytes, patch)
2002-11-18 07:36 EST, Bernd Kischnick
no flags Details | Diff

  None (edit)
Description Bernd Kischnick 2002-11-18 07:35:48 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:0.9.8) Gecko/20020310

Description of problem:
Building a binary RPM from the source RPM fails, unless an old version of the
binary RPM is already installed on the build host.

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

How reproducible:

Steps to Reproduce:
rpm -e libgnomecanvas libgnomecanvas-devel
rpm -ivh libgnomecanvas-2.0.2-1.src.rpm
rpmbuild -bb SPECS/libgnomecanvas.spec

Actual Results:  rpmbuild fails in %install:
libtool doesn't find libcanvas-2.so to re-link libglade/2.0/libcanvas.so

Expected Results:  binary RPM should be built.

Additional info:

libtool wants to perform a re-link step to install libglade/2.0/libcanvas.so to
the build root. libtool assumes that libcanvas-2.so has already been installed
to its final destination, /usr/lib, but it's in the build root instead.

This can be fixed by pointing the environment var LIBRARY_PATH into the build
root while %installing.
Comment 1 Bernd Kischnick 2002-11-18 07:36:42 EST
Created attachment 85404 [details]
patch to the spec file
Comment 2 Havoc Pennington 2002-12-13 21:19:17 EST
Hmm, I thought we'd fixed libtool not to do this.
Comment 3 Jens Petersen 2002-12-16 02:46:41 EST
We have, but it looks like the "ltmain.sh" in libgnomecanvas
wasn't generated with it...

(The relink patch is not upstream yet.)
Comment 4 Havoc Pennington 2003-01-02 18:19:45 EST
Just need to run libtoolize in libgnomecanvas spec file I guess.
Comment 5 Alexander Larsson 2003-01-16 08:59:32 EST
Fixed in libgnomecanvas-2.1.90-2. (I just added libtoolize -f to %build)

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