Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
cups 1.2.7 man
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
dragonlinux
n00b
n00b


Joined: 21 Nov 2006
Posts: 16

PostPosted: Thu Jan 25, 2007 6:23 pm    Post subject: cups 1.2.7 man Reply with quote

after I installed cups 1.2.7, all of the man pages of cups are
./man1/cupstestdsc.1.gz.bz2
./man1/cupstestppd.1.gz.bz2
./man1/lp.1.gz.bz2
./man1/lpoptions.1.gz.bz2
./man1/lppasswd.1.gz.bz2
./man1/lpq.1.gz.bz2
./man1/lpr.1.gz.bz2
./man1/lpstat.1.gz.bz2
./man1/cancel.1.gz.bz2
./man1/cups-config.1.gz.bz2
./man1/lprm.1.gz.bz2
./man7/backend.7.gz.bz2
./man7/filter.7.gz.bz2
./man8/reject.8.gz.bz2
./man8/cupsdisable.8.gz.bz2
./man8/cups-deviced.8.gz.bz2
./man8/cups-driverd.8.gz.bz2
./man8/cups-lpd.8.gz.bz2
./man8/cups-polld.8.gz.bz2
./man8/cupsd.8.gz.bz2
./man8/lpadmin.8.gz.bz2
./man8/lpinfo.8.gz.bz2
./man8/lpmove.8.gz.bz2
./man8/lpc.8.gz.bz2
./man8/accept.8.gz.bz2
./man8/cupsaddsmb.8.gz.bz2
./man8/cupsenable.8.gz.bz2
./man5/client.conf.5.gz.bz2
./man5/cupsd.conf.5.gz.bz2
./man5/mailto.conf.5.gz.bz2
./man5/mime.convs.5.gz.bz2
./man5/mime.types.5.gz.bz2
./man5/printers.conf.5.gz.bz2
./man5/classes.conf.5.gz.bz2
./man5/cups-snmp.conf.5.gz.bz2
./man5/subscriptions.conf.5.gz.bz2

I can't man it because it is .gz.bz2, it is supposed to run bzip + unzip to see the info and I modify /etc/man.conf it can't recognize the suffix: .gz.bz2.
what is the problem?

19035 pts/4 S+ 0:00 man lpinfo
19050 pts/4 S+ 0:00 sh -c /bin/bzip2 -c -d /var/cache/man/cat8/lpinfo.8.gz.bz2 | /usr/bin/less

Is it a bug?
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1217
Location: Motown

PostPosted: Thu Jan 25, 2007 6:41 pm    Post subject: Reply with quote

Same problem here. It's some kind of bug. And there are other .gz.bz2 man files (not cups related) that can't be man'd as well.

Chris
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
darkphader
Veteran
Veteran


Joined: 09 May 2002
Posts: 1217
Location: Motown

PostPosted: Thu Jan 25, 2007 7:15 pm    Post subject: Reply with quote

Looks like the ebuild install process needs to not bzip2 a man file already gzip'd by the compiling stage of the application. Or man must be taught how to deal with a file twice compressed - I played around a little with /etc/man.conf but couldn't discover a way.

As a workaround the following will eliminate the extra bz2 process:
Code:
find /usr/share/man/ -type f -iname '*.gz.bz2' -execdir bunzip2 -d '{}' \;


Before running the above do:
Code:
find /usr/share/man/ -type f -iname '*.gz.bz2' > ~/badmanlist
as you will probably have to manually remove the resulting files (minus the .bz2 extention) once you file your bugreport and the problem gets resolved (updates and unmerges will probably not delete files it didn't install).

Chris
_________________
WYSIWYG - What You See Is What You Grep
Back to top
View user's profile Send private message
tobr
Guru
Guru


Joined: 29 May 2006
Posts: 330

PostPosted: Thu Jan 25, 2007 8:25 pm    Post subject: Reply with quote

To me this is clearly a bug. Compressing the man page twice seems stupid. Either gzip or bzip2, not both. Best report it on https://bugs.gentoo.org/.
Back to top
View user's profile Send private message
dragonlinux
n00b
n00b


Joined: 21 Nov 2006
Posts: 16

PostPosted: Thu Jan 25, 2007 10:29 pm    Post subject: ok. I submited a bug to gentoo bugzilla. Reply with quote

tobr wrote:
To me this is clearly a bug. Compressing the man page twice seems stupid. Either gzip or bzip2, not both. Best report it on https://bugs.gentoo.org/.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum