Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72067 - docbook2man requires perl components to be re-emerged (causes module-init-tools to fail)
Summary: docbook2man requires perl components to be re-emerged (causes module-init-too...
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
: 72114 72245 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-22 06:06 UTC by Dan A. Dickey
Modified: 2004-11-23 10:57 UTC (History)
5 users (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 Dan A. Dickey 2004-11-22 06:06:33 UTC
The emerge is failing, something not right with modprobe.conf.5, this portion
of the emerge output looks very odd:
if [ "docbook2man" = "docbook2man" ]; then                     \
    docbook2man doc/modprobe.conf.sgml > /dev/null 2>&1;                       \
else                                                               \
    docbook2man doc/modprobe.conf.sgml 2>&1 > modprobe.conf.5 | sed 's/^[^:]*://';              \
fi



Reproducible: Always
Steps to Reproduce:
1. emerge module-init-tools
2.
3.

Actual Results:  
end portion of emerge output: 
... 
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" 
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" 
-DVERSION=\"3.1\" -DCONFIG_USE_ZLIB=1  -I. -I.     -march=pentium3 -O3 -pipe 
-Wunused -Wall -c `test -f 'modinfo.c' || echo './'`modinfo.c 
gcc  -march=pentium3 -O3 -pipe -Wunused -Wall   -o insmod.static -static 
insmod.o 
if [ "docbook2man" = "docbook2man" ]; then                     \ 
    docbook2man doc/modprobe.conf.sgml > /dev/null 2>&1;                       
\ 
else                                                               \ 
    docbook2man doc/modprobe.conf.sgml 2>&1 > modprobe.conf.5 | sed 
's/^[^:]*://';              \ 
fi 
gcc  -march=pentium3 -O3 -pipe -Wunused -Wall   -o lsmod  lsmod.o -Wl,-Bstatic 
-lz -Wl,-Bdynamic 
gcc  -march=pentium3 -O3 -pipe -Wunused -Wall   -o insmod  insmod.o 
-Wl,-Bstatic -lz -Wl,-Bdynamic 
gcc  -march=pentium3 -O3 -pipe -Wunused -Wall   -o modprobe  modprobe.o 
zlibsupport.o -Wl,-Bstatic -lz -Wl,-Bdynamic 
gcc  -march=pentium3 -O3 -pipe -Wunused -Wall   -o rmmod  rmmod.o -Wl,-Bstatic 
-lz -Wl,-Bdynamic 
gcc  -march=pentium3 -O3 -pipe -Wunused -Wall   -o depmod  depmod.o 
moduleops.otables.o zlibsupport.o -Wl,-Bstatic -lz -Wl,-Bdynamic 
gcc  -march=pentium3 -O3 -pipe -Wunused -Wall   -o modinfo  modinfo.o 
zlibsupport.o -Wl,-Bstatic -lz -Wl,-Bdynamic 
make: *** [modprobe.conf.5] Error 8 
 
!!! ERROR: sys-apps/module-init-tools-3.1 failed. 
!!! Function src_compile, Line 88, Exitcode 2 
!!! emake module-init-tools failed 
!!! If you need support, post the topmost build error, NOT this status message. 
 
 

Expected Results:  
successful emerge 
 

hydra ~ # emerge info 
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.4.3, 
glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r3 i686) 
================================================================= 
System uname: 2.6.9-gentoo-r3 i686 Pentium III (Coppermine) 
Gentoo Base System version 1.6.6 
Autoconf: sys-devel/autoconf-2.59-r5 
Automake: sys-devel/automake-1.8.5-r1 
Binutils: sys-devel/binutils-2.15.92.0.2-r1 
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1 
Libtools: sys-devel/libtool-1.5.2-r7 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-march=pentium3 -O3 -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="" 
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/bind /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-march=pentium3 -O3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" 
GENTOO_MIRRORS="http://mirrors.tds.net/gentoo http://gentoo.netnitco.net 
ftp://ftp.tu-clausthal.de/pub/linux/gentoo/" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" 
USE="X acpi alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr crypt 
cscope cups dba divx4linux doc dvd dvdr encode esd f77 fam flac foomaticdb 
fortran gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile imagemagick imlib ipv6 
java jpeg junit kde kerberos ldap libg++ libwww mad mikmod motif mozilla mpeg 
mysql ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt 
quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd tetex tiff 
truetype usb x86 xml xml2 xmms xv zlib"
Comment 1 Patrick Fourniols 2004-11-22 06:13:39 UTC
missing dependency docbook-sgml-utils ?
Comment 2 nicolasm 2004-11-22 06:22:17 UTC
  emerge SGMLSpm docbook-sgml-utils 
... solved this problem for me.
Comment 3 Patrick Fourniols 2004-11-22 06:44:57 UTC
Yeah! emerge docbook-sgml-utils solved this for me too
Comment 4 Dan A. Dickey 2004-11-22 06:47:47 UTC
Are you suggesting I need to re-emerge SGMLSpm and docbook-sgml-utils?
As:
hydra ~ # esearch SGMLSpm docbook-sgml-utils
[ Results for search key : SGMLSpm ]
[ Applications found : 1 ]

*  dev-perl/SGMLSpm
      Latest version available: 1.03-r5
      Latest version installed: 1.03-r5
      Size of downloaded files: 91 kB
      Homepage:    http://search.cpan.org/author/DMEGG/SGMLSpm-1.03ii/
      Description: Perl library for parsing the output of nsgmls
      License:     GPL-2


[ Results for search key : docbook-sgml-utils ]
[ Applications found : 1 ]

*  app-text/docbook-sgml-utils
      Latest version available: 0.6.14
      Latest version installed: 0.6.14
      Size of downloaded files: 122 kB
      Homepage:    http://sources.redhat.com/docbook-tools/
      Description: Shell scripts to manage DocBook documents
      License:     GPL-2
Comment 5 Dan A. Dickey 2004-11-22 07:13:20 UTC
Sure enough, re-emerging SGMLSpm and docbook-sgml-utils then allows
the emerge of module-init-tools-3.1 to succeed.  Strange.
Comment 6 SpanKY gentoo-dev 2004-11-22 10:33:37 UTC
you need to re-emerge dev-perl/SGMLSpm

this isnt a bug in module-init-tools

if you run the docbook2man command yourself and not pipe the errors to /dev/null, you'll see it fail with a perl error (unable to locate SGMLS/Output.pm or something)
Comment 7 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2004-11-22 10:43:31 UTC
Hi,

I'm also affected by this error but I currently have no sgml package installed. So shouldn't module-init-tools ebuild also contain a depenency on SGMLSpm?

Poly
Comment 8 Daniel Karlsson 2004-11-22 12:17:16 UTC
hmm..

In my case docbook2man spits out this:

Using catalogs: /etc/sgml/sgml-docbook-4.1.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.14/docbook-utils.dsl#print
Working on: /var/tmp/portage/module-init-tools-3.1/work/module-init-tools-3.1/doc/modprobe.conf.sgml
nsgmls:E: cannot find "docbook.dcl"; tried "/usr/share/sgml/docbook/sgml-dtd-4.1/docbook.dcl", "/usr/share/sgml/docbook.dcl"

Thus (re)emerging docbook-sgml-dtd makes it work for me..
Comment 9 Daniel Webert 2004-11-22 18:30:46 UTC
same overhere - missing app-text/docbook-sgml-utils for emerging module-init-tools-3.1
Comment 10 SpanKY gentoo-dev 2004-11-22 20:46:31 UTC
*** Bug 72114 has been marked as a duplicate of this bug. ***
Comment 11 SpanKY gentoo-dev 2004-11-22 20:46:55 UTC
i fixed the ebuild already to not run `docbook2man`

that should be good enough
Comment 12 SpanKY gentoo-dev 2004-11-23 10:57:45 UTC
*** Bug 72245 has been marked as a duplicate of this bug. ***