Bug 492252

Summary: Review Request: libdwarf - Library to access the DWARF Debugging file format
Product: [Fedora] Fedora Reporter: Suravee Suthikulpanit <suravee.suthikulpanit>
Component: Package ReviewAssignee: Parag AN(पराग) <panemade>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: fedora-package-review, notting, orion, panemade, tom
Target Milestone: ---Flags: panemade: fedora-review+
kevin: fedora-cvs+
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.20090324-4.fc10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-04-01 17:09:00 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 Flags
Fix some issues none

Description Suravee Suthikulpanit 2009-03-26 05:15:35 UTC
Spec URL: http://ftp-developer.amd.com/user/ssuthiku/libdwarf-20090324-1/libdwarf.spec

SRPM URL: http://ftp-developer.amd.com/user/ssuthiku/libdwarf-20090324-1/libdwarf-20090324-1.fc9.src.rpm

Description: Library to access the DWARF debugging file format which supports
source level debugging of a number of procedural languages, such as C, C++,
and Fortran.  Please see http://www.dwarfstd.org for DWARF specification.
Authors: David Anderson <davea42>

Comment 1 Suravee Suthikulpanit 2009-03-26 05:31:11 UTC
NOTE:

- The libdwarf package has 3 sub-packages (libdwarf-devel, libdwarf-tools, libdwarf-doc).

- "rpmlint -iv" outputs are quiets on all RPMs.

Comment 2 Parag AN(पराग) 2009-03-26 06:25:08 UTC
Created attachment 336756 [details]
Fix some issues

This is modified SPEC based on preliminary review. Can you also drop either one utility dwarfdump or dwarfdump2? I see both are same in functionality.

Modified SPEC fixes
- package version number
- removed -doc subpackage
- drop libdward.a file as we generally don't ship static files.
- Fix Requires

Comment 3 Suravee Suthikulpanit 2009-03-30 19:26:05 UTC
SPEC: http://suravee.fedorapeople.org/libdwarf-0.20090324-2/libdwarf.spec

SRPM: http://suravee.fedorapeople.org/libdwarf-0.20090324-2/libdwarf-0.20090324-2.fc10.src.rpm

Koji Build: http://koji.fedoraproject.org/koji/taskinfo?taskID=1266188

NOTE:
- "rpmlint -iv" is quiet on all packages.

Concerns:
- "AutoreqProv: no" in libdwarf-tools package helps the installation issue below.

[root@localhost rpmbuild]# rpm -Uvh
/root/rpmbuild/RPMS/x86_64/libdwarf-0.20090324-2.fc10.x86_64.rpm
Preparing... ########################################### [100%]
  1:libdwarf ########################################### [100%]
[root@localhost rpmbuild]# rpm -Uvh
/root/rpmbuild/RPMS/x86_64/libdwarf-tools-0.20090324-2.fc10.x86_64.rpm
error: Failed dependencies:
 libdwarf.so()(64bit) is needed by
libdwarf-tools-0.20090324-2.fc10.x86_64

Comment 4 Parag AN(पराग) 2009-03-31 04:03:12 UTC
Look at usage of AutoreqProv at http://docs.fedoraproject.org/drafts/rpm-guide-en/ch03s02.html#id2932808

To install dependencies, you need to list all rpms and then install.
like in this case you should
rpm -Uvh /root/rpmbuild/RPMS/x86_64/libdwarf-0.20090324-2.fc10.x86_64.rpm /root/rpmbuild/RPMS/x86_64/libdwarf-tools-0.20090324-2.fc10.x86_64.rpm

Comment 7 Parag AN(पराग) 2009-04-01 07:08:05 UTC
Review:
+ package builds in mock (rawhide i386).
koji build => http://koji.fedoraproject.org/koji/taskinfo?taskID=1269499
+ rpmlint is silent for SRPM and for RPM.
+ source files match upstream url
4e603955797a1d5d314a9489a4342c24  libdwarf-20090324.tar.gz
+ package meets naming and packaging guidelines.
+ specfile is properly named, is cleanly written
+ Spec file is written in American English.
+ Spec file is legible.
+ dist tag is present.
+ build root is correct.
+ license is open source-compatible.
+ License text is included in package.
+ BuildRequires are proper.
+ Compiler flags used correctly.
+ defattr usage is correct.
+ %clean is present.
+ package installed properly.
+ Macro use appears rather consistent.
+ Package contains code, not content.
+ no static libraries.
+ no .pc file present.
+ -devel subpackage exists.
+ no .la files.
+ no translations are available.
+ Does owns the directories it creates.
+ ldconfig scriptlets present.
+ no duplicates in %files.
+ file permissions are appropriate.
+ Package libdwarf-0.20090324-4.fc11.i586 =>
  Provides: libdwarf.so.0.0
  Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.4) libdwarf.so.0.0 rtld(GNU_HASH)
+ Package libdwarf-devel-0.20090324-4.fc11.i586 =>
  Requires: libdwarf.so.0.0

APPROVED.

Comment 8 Suravee Suthikulpanit 2009-04-01 08:43:28 UTC
Thank you for your approval.

Comment 9 Suravee Suthikulpanit 2009-04-01 08:47:34 UTC
New Package CVS Request
=======================
Package Name: libdwarf
Short Descriptions: Library to access the DWARF Debugging file format
Owners: suravee
Branches: F-10
InitialCC: paragn

Comment 10 Dennis Gilmore 2009-04-01 16:40:32 UTC
CVS Done

Comment 11 Fedora Update System 2009-04-01 17:36:23 UTC
libdwarf-0.20090324-4.fc10 has been submitted as an update for Fedora 10.
http://admin.fedoraproject.org/updates/libdwarf-0.20090324-4.fc10

Comment 12 Fedora Update System 2009-04-02 17:12:44 UTC
libdwarf-0.20090324-4.fc10 has been pushed to the Fedora 10 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 13 Suravee Suthikulpanit 2009-07-08 16:00:37 UTC
Package Change Request
======================
Package Name: libdwarf
New Branches: F-11
Owners: suravee

Comment 14 Jason Tibbitts 2009-07-08 16:08:21 UTC
There is already a populated F-11 branch.  Don't forget to use "cvs update -d".

Comment 15 Orion Poplawski 2013-09-26 03:19:44 UTC
I would like to see this in EPEL6.  It appears to build fine there.  Tom/Parag - do you want to maintain it there or shall I?

Comment 16 Parag AN(पराग) 2013-09-26 04:27:46 UTC
You can maintain this in EPEL6.

Comment 17 Tom Hughes 2013-09-26 08:41:13 UTC
I'm happy for you to do it Orion.

Comment 18 Orion Poplawski 2013-09-26 15:43:21 UTC
Will do.  Thanks for the response.

Package Change Request
======================
Package Name: libdwarf
New Branches: el6
Owners: orion
InitialCC:

Comment 19 Kevin Fenzi 2013-09-27 18:20:20 UTC
Git done (by process-git-requests).