Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 321975 - dev-libs/zziplib-0.13.58-r1 installs man files as unknown user
Summary: dev-libs/zziplib-0.13.58-r1 installs man files as unknown user
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: SpanKY
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-29 10:53 UTC by Sven Wehner
Modified: 2010-06-07 10:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Wehner 2010-05-29 10:53:49 UTC
Today I checked my filesystem using "find / -nouser" (and also "find / -nogroup"). There were a large set of files, which don't have a valid user/owner set. They say the owner is "1001", which doesn't exist. It seems like they are blindly copied to the installation directory.

The related files:
-- snip --
/usr/share/man/man3/zzip_disk_findfirst.3.bz2
/usr/share/man/man3/zzip_dirfd.3.bz2
/usr/share/man/man3/zzip_entry_fopen.3.bz2
/usr/share/man/man3/zzip_disk_fread.3.bz2
/usr/share/man/man3/zzip_open_ext_io.3.bz2
/usr/share/man/man3/zzip_init_io.3.bz2
/usr/share/man/man3/zzip_opendir.3.bz2
/usr/share/man/man3/zzip_closedir.3.bz2
/usr/share/man/man3/zzip_disk_feof.3.bz2
... (the rest is in the same folder!)
-- snap --

An "equery belongs ..." showed that these belong to the dev-libs/zziplib package. Which I reinstalled to check whether the error still exists with the current ebuild. It does! I didn't check the current unstable version (0.13.59), but the ebuild files didn't change significantly, thus I guess the problem is still there.

I unpacked the package, grep'ed for the string "1001" but couldn't find anything. Even after executing "./configure" there were no clues.
Then I deleted one of these files, and re-emerged the package. The file reappeared with the same 1001-owner.

In the end I found in the "doc" folder a tar-archive "zziplib-manpages.tar", which contains all the man pages with the invalid user.
Thus could you please add an chown or something like that in the ebuild?

Reproducible: Always
Comment 1 Sven Wehner 2010-05-29 11:02:48 UTC
Just checked the Changelog of the ebuild, which didn't mention anything related to this.
Then I checked the current X.59 version: The doc/zziplib-manpages.tar contains the man pages that are owned by the user "guidod".
The Changelog http://zziplib.sourceforge.net/changes.html seems to not mention anything related.
Comment 2 Michael Weber (RETIRED) gentoo-dev 2010-06-07 09:56:21 UTC
`fowners -R root.root /` ?
Comment 3 SpanKY gentoo-dev 2010-06-07 10:20:43 UTC
using the dot as a delimiter is long deprecated

zziplib-0.13.59-r1 tweaks the ownership to root for all man pages now