Bug 119523 - debug files packaged in non-debug lam package
debug files packaged in non-debug lam package
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: lam (Show other bugs)
rawhide
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Lon Hohberger
Brian Brock
:
Depends On:
Blocks: FC2Target
  Show dependency treegraph
 
Reported: 2004-03-30 21:34 EST by Alexandre Oliva
Modified: 2007-11-30 17:10 EST (History)
0 users

See Also:
Fixed In Version: 7.0.3-6.4
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2004-04-17 15:12:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Alexandre Oliva 2004-03-30 21:34:19 EST
# rpm -qf /usr/lib/debug/usr/bin/mpirun.debug
lam-7.0.3-6.1
# rpm -qf /usr/lib/debug/usr/lib/lam/liblam_totalview.so.0.0.0.debug
lam-7.0.3-6.1
Comment 1 Lon Hohberger 2004-03-31 09:03:03 EST
The changelog documents why they're there.  Basically, either we
include these or we remove TotalView support again; TotalView depends
on the debugging information.

The upstream packages include a tarball with unstripped versions of
mpirun and liblam_totalview.so which is untarred in the %post phase of
the RPM install.  I figured it was cleaner to have debuginfo in the
main RPM rather than having it do what the upstream RPM does
(basically, the upstream rpm breaks rpmverify...).
Comment 2 Alexandre Oliva 2004-03-31 11:01:47 EST
How about splitting them into a separate binary package, and having
TotalView depend on that?  I don't see why TotalView, that's not even
part of the distro AFAICT, should cause /usr/lib/debug to contain junk
as far as pretty much everybody is concerned.  IMHO, this
lam-totalview-debug package shouldn't even be installed in an
everything install, but should be available for TotalView users.
Comment 3 Lon Hohberger 2004-03-31 11:04:37 EST
Sounds very reasonable.  I'll get it in ASAP
Comment 4 Lon Hohberger 2004-04-05 14:09:01 EDT
Afterthoughts - It's 2 .debug files.  These 2 files are also included
in the lam-debuginfo package (with no trickery or cleverness), so
lam-totalview-debuginfo has to conflict with lam-debuginfo.  At this
point, it doesn't make sense to separate them, and is probably more
work than it's worth to maintain the separation.

Furthermore, it probably won't hurt to have the extra debugging
information around when debugging MPI programs.

So, I'm reverting to the normal "debug info in -debuginfo"; users
wishing to debug using TotalView will have to install the -debuginfo RPM.
Comment 5 Alexandre Oliva 2004-04-05 15:03:04 EDT
Err...  No need for conflict; as long as the files have the same
contents and permissions, rpm should cope well with the duplication.
Comment 6 Lon Hohberger 2004-04-15 13:12:08 EDT
Debug files relocated to -debug package in 7.0.3-6.4
Comment 7 Alexandre Oliva 2004-04-17 15:12:37 EDT
Confirmed, thanks.  Oddly, /usr/lib/debug/usr/bin and
/usr/lib/debug/usr/lib/lam were not removed by up2date, but they're
not owned by any packages.  Not a problem in lam, though, so I'm
closing this.

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