FS#10092 - man-page for "find" is corrupt

Attached to Project: Arch Linux
Opened by Jeroen Maris (jealma) - Sunday, 06 April 2008, 12:22 GMT
Last edited by Greg (dolby) - Saturday, 17 May 2008, 15:21 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture i686
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
man find does not work. All manpages I've tried work correctly, including but not limited to cp, dd, cat and some other commands that came to mind, but the manpage for "find" does not work. The error is:

[root@arch-usb man1]# man find

gzip: /usr/share/man/man1/find.1.gz: not in gzip format
fgets: No such file or directory
Error reading man page /usr/share/man/man1/find.1.gz
No manual entry for find

Then I tried to determine what kind of file it was:
[root@arch-usb man1]# file /usr/share/man/man1/find.1.gz
/usr/share/man/man1/find.1.gz: data

Then trying to look inside it:
[root@arch-usb man1]# less /usr/share/man/man1/find.1.gz
el;
struct dentry *frequency;
struct dentry *antenna_sel_tx;
struct dentry *antenna_sel_rx;
struct dentry *bridge_packets;
struct dentry *rts_threshold;
struct dentry *fragmentation_threshold;
struct dentry *short_retry_limit;
struct dentry *long_retry_limit;
struct dentry *total_ps_buffered;
struct dentry *mode;
struct dentry *wep_iv;
struct dentry *modes;
struct dentry *statistics;
struct local_debugfsdentries_statsdentries {
struct dentry *transmitted_fragment_count;
struct dentry *multicast_transmitted_frame_count;
struct dentry *failed_count;
struct dentry *retry_count;
struct dentry *multiple_retry_count;
struct dentry *frame_duplicate_count;
struct dentry *received_fragment_count;
<some stuff I left out>
static inline struct ieee80211_local *hw_to_local(
struct ieee80211_hw *hw)
{
return container_of(hw, struct ieee80211_local, hw);
}

static inline struct ieee80211_hw *local_to_hw(
struct ieee80211_local *local)
{
return &local->hw;
}

enum ieee80211_link_state_t {
IEEE80211_LINK_STATE_XOFF = 0,
IEEE80211_LINK_STATE_PENDING,
};
<more stuff left out>
void mac80211_ev_michael_mic_failure(struct net_device *dev, int keyidx,
struct ieee80211_hdr *hdr);

#endif /* IEEE80211_I_H */
^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^

It looks like someome added something before the actual manpage. It is corrupt.
I've tried reinstalling the manpages by issuing pacman -S man-pages (version core/man-pages 2.79-1 (base)), but that didn't work either.

Additional info:
* package version(s): man-pages 2.79-1

Steps to reproduce:
man find
This task depends upon

Closed by  Greg (dolby)
Saturday, 17 May 2008, 15:21 GMT
Reason for closing:  Works for me
Comment by Greg (dolby) - Sunday, 06 April 2008, 19:15 GMT
works perfectly fine here
Comment by Simo Leone (neotuli) - Monday, 07 April 2008, 02:57 GMT
man-pages doesn't own this file.
man-pages owns /usr/share/man/man1p/find.1p.gz
findutils owns /usr/share/man/man1/find.1.gz

And for what it's worth, looking at the actual package files on the mirrors shows that this is not the way these files were shipped. Something on your system must have modified it.

Loading...