Bug 127945

Summary: ethereal update package broken
Product: [Fedora] Fedora Reporter: Matthew Miller <mattdm>
Component: etherealAssignee: Phil Knirsch <pknirsch>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: rvokal
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-07-16 13:16:14 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:

Description Matthew Miller 2004-07-15 15:51:43 UTC
When I rebuild the ethereal-0.10.5-0.2.1.src.rpm, the resulting
packages won't install, complaining about a missing dependency
'libethereal.so.0'. 

A bit more investigation reveals this interesting difference:

Original FC2 package:

$ rpm -qlp ethereal-0.10.3-2.i386.rpm |grep libethereal
/usr/lib/libethereal.so
/usr/lib/libethereal.so.0
/usr/lib/libethereal.so.0.0.1   

Update package:

$ rpm -qlp ethereal-0.10.5-0.2.1.i386.rpm |grep libethereal
/usr/lib/libethereal
/usr/lib/libethereal.0
/usr/lib/libethereal.0.0.1

Hey! What happened to the .so? This is the case with both my rebuilt
package
and the distributed update binary.

But there's more -- 


Original FC2 package:

$ rpm -qlp ethereal-0.10.3-2.i386.rpm |grep ethereal/plugins
/usr/lib/ethereal/plugins
/usr/lib/ethereal/plugins/0.10.3
/usr/lib/ethereal/plugins/0.10.3/acn.so
/usr/lib/ethereal/plugins/0.10.3/artnet.so
/usr/lib/ethereal/plugins/0.10.3/asn1.so
/usr/lib/ethereal/plugins/0.10.3/ciscosm.so
/usr/lib/ethereal/plugins/0.10.3/coseventcomm.so
/usr/lib/ethereal/plugins/0.10.3/cosnaming.so
/usr/lib/ethereal/plugins/0.10.3/docsis.so   
/usr/lib/ethereal/plugins/0.10.3/enttec.so
/usr/lib/ethereal/plugins/0.10.3/gryphon.so
/usr/lib/ethereal/plugins/0.10.3/irda.so
/usr/lib/ethereal/plugins/0.10.3/lwres.so
/usr/lib/ethereal/plugins/0.10.3/megaco.so
/usr/lib/ethereal/plugins/0.10.3/mgcp.so
/usr/lib/ethereal/plugins/0.10.3/pcli.so
/usr/lib/ethereal/plugins/0.10.3/rdm.so 
/usr/lib/ethereal/plugins/0.10.3/rlm.so
/usr/lib/ethereal/plugins/0.10.3/rtnet.so
/usr/lib/ethereal/plugins/0.10.3/rudp.so
/usr/lib/ethereal/plugins/0.10.3/v5ua.so


Update package:

$ rpm -qlp ethereal-0.10.5-0.2.1.i386.rpm | grep ethereal/plugins
/usr/lib/ethereal/plugins
/usr/lib/ethereal/plugins/0.10.5


My rebuilt version of the update package:

$ rpm -qlp ethereal-0.10.5-0.2.1bu40.1.i386.rpm | grep ethereal/plugins
/usr/lib/ethereal/plugins
/usr/lib/ethereal/plugins/0.10.5
/usr/lib/ethereal/plugins/0.10.5/acn.so 
/usr/lib/ethereal/plugins/0.10.5/artnet.so
/usr/lib/ethereal/plugins/0.10.5/asn1.so  
/usr/lib/ethereal/plugins/0.10.5/ciscosm.so
/usr/lib/ethereal/plugins/0.10.5/coseventcomm.so
/usr/lib/ethereal/plugins/0.10.5/cosnaming.so
/usr/lib/ethereal/plugins/0.10.5/docsis.so
/usr/lib/ethereal/plugins/0.10.5/enttec.so
/usr/lib/ethereal/plugins/0.10.5/gryphon.so
/usr/lib/ethereal/plugins/0.10.5/irda.so
/usr/lib/ethereal/plugins/0.10.5/lwres.so
/usr/lib/ethereal/plugins/0.10.5/megaco.so
/usr/lib/ethereal/plugins/0.10.5/mgcp.so
/usr/lib/ethereal/plugins/0.10.5/pcli.so
/usr/lib/ethereal/plugins/0.10.5/rdm.so  
/usr/lib/ethereal/plugins/0.10.5/rlm.so
/usr/lib/ethereal/plugins/0.10.5/rtnet.so
/usr/lib/ethereal/plugins/0.10.5/rudp.so 
/usr/lib/ethereal/plugins/0.10.5/v5ua.so


And, it turns out that these plugins are the ones that are linked
against the missing libethereal.so.0 -- the update binary only works
because it's missing all of its plugins.

Comment 1 Matthew Miller 2004-07-15 16:06:08 UTC
This also appears to be the case in the FC3 test package.

Comment 2 Phil Knirsch 2004-07-15 16:06:55 UTC
Jup, checking...

Read ya, Phil

Comment 3 Matthew Miller 2004-07-15 18:07:03 UTC
Adding 'libtoolize --force' to before aclocal, automake, etc., in the
%prep section of the spec file seems to fix the problem. I don't know
if this is the right thing to do, though.

Comment 4 Phil Knirsch 2004-07-16 13:16:14 UTC
Jup, just checked, that works. I'll include that fix and will make new
rpms for FC1 and FC2, too.

And in think it's the right fix, we oftentimes had to use libtoolize
in the past (so a know source of problems).

Read ya, Phil