Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 114914

Summary: app-text/xmlto-0.0.18 requires (sys-libs/readline) to configure
Product: Gentoo Linux Reporter: Talamona Francesco <ti.liame>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Package list:
Runtime testing required: ---

Description Talamona Francesco 2005-12-08 14:32:31 UTC
Xmlto emerge dies during configure, because it can't find
If I emerge readline 4.3-r5, the problem is solved, and xmlto compiles, but
readline isn't slotted an nothig prevents an upgrade of readline to 5.0-r2, but
then xmlto can be emerged no more.
Note: I'm experiencing this bug in a 32bit chroot that I'm finishing to build on
top of a amd64 system, emerge --info provided is the chroot one.
Chroot environment was built up following
is not the first I make, and works flawlessly. Just after unpacking
stage3-athlon-xp-2005.0.tar.bz2 I masked gcc and glibc in order to stick with
the version from the tarball, modified /etc/make.conf adding some USE flags,
then issued emerge -aDuvN world.

Reproducible: Always
Steps to Reproduce:
1. try to emerge xmlto when readline-5 is installed -> fail
2. downgrade readline to version 4, then emerge xmlto -> success
3. emerge -u world update readline. At this point xmlto is installed, but can be
recompiled no more.

Actual Results:  
bash-2.05b# emerge xmlto
Calculating dependencies  ...done!
>>> emerge (1 of 1) app-text/xmlto-0.0.18 to /
>>> md5 files   ;-) xmlto-0.0.17.ebuild
>>> md5 files   ;-) xmlto-0.0.18.ebuild
>>> md5 files   ;-) files/xmlto-head-fix.patch
>>> md5 files   ;-) files/digest-xmlto-0.0.17
>>> md5 files   ;-) files/digest-xmlto-0.0.18
>>> md5 src_uri ;-) xmlto-0.0.18.tar.bz2
>>> Unpacking source...
>>> Unpacking xmlto-0.0.18.tar.bz2 to /var/tmp/portage/xmlto-0.0.18/work
>>> Source unpacked.
./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man
--infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc
--localstatedir=/var/lib --build=i686-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pc-linux-gnu-gcc accepts -g... yes
checking for i686-pc-linux-gnu-gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pc-linux-gnu-gcc... gcc3
checking whether i686-pc-linux-gnu-gcc and cc understand -c and -o together... yes
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking for mktemp program... mktemp
checking for GNU find program... find
checking for bash... bash
checking for getopt program... getopt
checking whether getopt handles long options... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating xmlto
config.status: creating xmlto.spec
config.status: creating config.h
config.status: executing depfiles commands
make  all-am
make[1]: Entering directory `/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18'
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.     -march=athlon-xp -O2
-pipe -fomit-frame-pointer -MT xmlif/xmlif.o -MD -MP -MF "xmlif/.deps/xmlif.Tpo"
-c -o xmlif/xmlif.o `test -f 'xmlif/xmlif.c' || echo './'`xmlif/xmlif.c; \
then mv -f "xmlif/.deps/xmlif.Tpo" "xmlif/.deps/xmlif.Po"; else rm -f
"xmlif/.deps/xmlif.Tpo"; exit 1; fi
i686-pc-linux-gnu-gcc  -march=athlon-xp -O2 -pipe -fomit-frame-pointer   -o
xmlif/xmlif  xmlif/xmlif.o
for xml in xmlif.xml xmlto.xml; do \
  FORMAT_DIR=./format XSL_DIR=./xsl \
   bash ./xmlto -o man/man1 man ./doc/$xml ; \
done || ( RC=$?; cat ./FAQ; exit $RC )
xmlto: input does not validate (status 127)
xmllint: error while loading shared libraries: cannot open
shared object file: No such file or directory
xmlto: input does not validate (status 127)
xmllint: error while loading shared libraries: cannot open
shared object file: No such file or directory

Q: I'm trying to build xmlto on my Debian box, but it doesn't work.

A: If you get `Attempt to load network entity' errors when building
   xmlto, your system does not have the required support for XML
   In particular, Debian has no support for these.  Try the Fedora
   Project <>.
make[1]: *** [man/man1/xmlto.1] Error 127
make[1]: Leaving directory `/var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18'
make: *** [all] Error 2

!!! ERROR: app-text/xmlto-0.0.18 failed.
!!! Function src_compile, Line 27, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

Expected Results:  
Differentiate DEPEND and RDEPEND, and/or find a way to have and coexist on the same system.

# emerge --info
Portage (default-linux/x86/2005.0, gcc-3.3.5,
glibc-, 2.6.12-gentoo-r9 i686)
System uname: 2.6.12-gentoo-r9 i686 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.4-r1, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /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/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
FEATURES="autoconfig buildpkg candy ccache distlocks fixpackages sfperms strict"
USE="x86 X X509 a52 aac acl alsa apache2 apm arts artswrappersuid audiofile avi
berkdb bitmap-fonts blas bzip2 ccache cddb cdparanoia crypt cups dba dbm dbx
devmap dga doc dts dv dvd dvdr dvdread edl eds emboss encode expat fbcon ffmpeg
fmod foomaticdb fortran freetype ftp gcj gd gdbm gif gnome gnutls gpm graphviz
gs gstreamer gtk gtk2 imlib java jpeg kde kdeenablefinal lcms ldap libcaca
libg++ libwww live lm_sensors lzo mad mikmod mng motif mozcalendar moznoirc
moznomail mp3 mpeg mpeg2 mpeg4 mplayer msn mssql mysql mysqli mythtv ncurses
network nls nvidia oci8 odbc ogg oggvorbis opengl oracle oss pam pdflib perl php
png povray python qt quicktime readline real rtc sdl spell ssl stats t1lib tcpd
tga theora tidy tiff truetype truetype-fonts type1 type1-fonts udev unicode v4l
v4l2 vlm vorbis winbind wxgtk1 xanim xgetdefault xml2 xmms xscreensaver xv xvid
xvmc zlib userland_GNU kernel_linux elibc_glibc"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-12-08 14:39:02 UTC
Comment 2 Talamona Francesco 2005-12-08 14:53:13 UTC
It seems I spoke too fast

Checking dynamic linking consistency...
  broken /usr/lib/python2.3/lib-dynload/ (requires
  broken /usr/lib/ (requires
  broken /usr/bin/xmllint (requires
  broken /usr/bin/xmlcatalog (requires
  broken /usr/bin/mysql (requires
  broken /usr/bin/orbit-idl-2 (requires
  broken /usr/X11R6/lib/python2.3/lib-dynload/ (requires
  broken /usr/X11R6/lib/ (requires
  broken /usr/X11R6/bin/xmllint (requires
  broken /usr/X11R6/bin/xmlcatalog (requires
  broken /usr/X11R6/bin/mysql (requires
  broken /usr/X11R6/bin/orbit-idl-2 (requires

Assigning files to ebuilds... done.

Evaluating package order... done.

All prepared. Starting rebuild...
emerge --oneshot --nodeps  =dev-libs/libxml2-2.6.22 =dev-db/mysql-4.1.14
=dev-lang/python-2.3.4-r1 =gnome-base/orbit-2.12.3

Thanks, sorry for the noise :-)
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2005-12-08 14:56:04 UTC
readline-5 ebuild points out that it's really important to run revdep-rebuild
after upgrading from 4.x ;)

Thanks for reporting back, closing.