[email protected]
Subject: Re: avr-libc manpages override libc manpages if PATH contains (for
 example) /usr/lib/ccache
Reply-To: 
In-Reply-To: <[email protected]>

severity 678584 serious
tags 678584 +patch
thanks

Hallo,
* Sami Liedes [Sat, Jun 23 2012, 01:04:22AM]:

> Steps to reproduce (MANPATH is not set and /etc/manpath.config has not
> been modified from the default):
> 
> 1. export PATH=/usr/lib/ccache:/usr/bin:/bin
> 2. man 3 printf
> 
> Expected result:
> 
> 2. man page for printf(3) from libc is shown
> 
> Actual result:
> 
> 2. man page for avr_stdio(3) from avr-libc is shown instead

Which might justify a reason for severity serious - breaks unrelated
software.

And it's even worse. The avr-man command which AFAICS was supposed to
get the right manpages from the alternative path, is NOT WORKING!

$ avr-man errno
No manual entry for errno

Looking at the script, I see that it refers to
/usr/share/doc/avr-libc/man and not to /usr/lib/share... so it looks for
me like the root cause is the wrong installation path of the manpages.

Unless the maintainer reacts, I plan to NMU this package in a couple of
days. Patch is attached, however untested because the build is FTBFSing
on my workstation system. Will be investigated ASAP.

This is pdfTeX, Version 3.1415926-2.4-1.40.13 (TeX Live 2012/Debian)
 restricted \write18 enabled.
---! /home/ed/.texmf-var/web2c/pdftex/pdflatex.fmt doesn't match pdftex.pool
(Fatal format file error; I'm stymied)
make[5]: [refman.pdf] Fehler 1 (ignoriert)
makeindex refman.idx
Input index file refman.idx not found.
Usage: makeindex [-ilqrcgLT] [-s sty] [-o ind] [-t log] [-p num] [idx0 idx1 ...]
make[5]: *** [refman.pdf] Fehler 1

-- 
"Lassen Sie sich 'Sklaventreiber' auf die Stirn tätowieren. Das ist
ehrlich, da wissen wir alle woran wir sind".
                                                    -- Volker Pispers
--- avr-libc-1.8.0/debian/changelog
+++ avr-libc-1.8.0/debian/changelog
@@ -1,3 +1,11 @@
+avr-libc (1:1.8.0-2.1) unstable; urgency=low
+
+  * Non-maintainer upload
+  * Move manpages into correct location to make avr-man work again and stop
+    breaking regular access to normal manpages (closes: #678584)
+
+ -- Eduard Bloch <[email protected]>  Wed, 25 Jul 2012 11:08:59 +0200
+
 avr-libc (1:1.8.0-2) unstable; urgency=low
 
   * New upstream release
--- avr-libc-1.8.0/debian/rules
+++ avr-libc-1.8.0/debian/rules
@@ -58,6 +58,7 @@
        dh_installdocs
        dh_installman 
        dh_compress
+       mv debian/avr-libc/usr/lib/share/man 
debian/avr-libc/usr/share/doc/avr-libc/man
        dh_fixperms
        dh_installdeb
 

Reply via email to