Bug 483469 - netcdf : Unowned directories
Summary: netcdf : Unowned directories
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: netcdf
Version: 11
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Ed Hill
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 483765
Blocks: 483465 483466 483472
TreeView+ depends on / blocked
 
Reported: 2009-02-01 15:58 UTC by Michael Schwendt
Modified: 2009-10-27 18:17 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-10-27 17:55:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Michael Schwendt 2009-02-01 15:58:51 UTC
One or more directories are not included within this
package and/or its sub-packages:

=> netcdf-4.0.0-1.fc10.src.rpm
=> netcdf-devel-4.0.0-1.fc10.i386 (rawhide-development-i386)
/usr/lib/gfortran
/usr/lib/gfortran/modules

No other packages provides these either!
Perhaps gcc-gfortran should provide them?

[...]

Further information:

https://fedoraproject.org/wiki/Packaging/ReviewGuidelines

MUST: A package must own all directories that it creates. If it does not
create a directory that it uses, then it should require a package which
does create that directory.

https://fedoraproject.org/wiki/Packaging/Guidelines#FileAndDirectoryOwnership
https://fedoraproject.org/wiki/Packaging/UnownedDirectories

The script to find unowned directories is not complete yet, but
still quite usable: http://mschwendt.fedorapeople.org/dircheck-remote.py
$ ./dircheck-remote.py -r rawhide -n ^netcdf

Comment 1 Patrice Dumas 2009-02-01 19:38:16 UTC
(In reply to comment #0)
> /usr/lib/gfortran
> /usr/lib/gfortran/modules
> 
> No other packages provides these either!
> Perhaps gcc-gfortran should provide them?

No, since they are needed at runtime. Also libgfortran could have been a the right package if it was required, but it isn't the case, at least for netcdf. I guess that libgfortran is linked statically.

So maybe filesystem is all that remains.

Comment 2 Michael Schwendt 2009-02-02 08:41:37 UTC
Yeah, s/gcc-gfortran/whatever-pkg-that-provides-fortran-runtime/ ;)

Comment 3 Patrice Dumas 2009-02-02 11:47:23 UTC
Hum, excerpts of
# ldd -u -r /usr/lib/libnetcdff.so.4

undefined symbol: nc_inq_atttype        (/usr/lib/libnetcdff.so.4)
undefined symbol: _gfortran_string_trim (/usr/lib/libnetcdff.so.4)

so there are linking issues here, and libgfortran is a therefore a missing dependency.




Ok, when linked dynamically, there is a dependency on libgfortran, but not when linking statically. When linking statically, the dependency is brought in by gcc-gfortran.

Comment 4 Bug Zapper 2009-06-09 11:01:21 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 5 Orion Poplawski 2009-10-27 17:55:58 UTC
Fixed in netcdf-4.0.1-3.fc12

Comment 6 Fedora Update System 2009-10-27 18:17:27 UTC
netcdf-4.0.1-2.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/netcdf-4.0.1-2.fc11


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