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

Bug 182730

Summary: xmlto-0.0.18 failed to compile (stable version)
Product: Gentoo Linux Reporter: Ihar Hrachyshka <ihar.hrachyshka>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description Ihar Hrachyshka 2007-06-20 20:49:09 UTC
>>> Emerging (1 of 159) app-text/xmlto-0.0.18 to /
>>> checking ebuild checksums ;-)
>>> checking auxfile checksums ;-)
>>> checking miscfile checksums ;-)
>>> checking 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.
>>> Compiling source in /var/tmp/portage/xmlto-0.0.18/work/xmlto-0.0.18 ...
./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.     -O2 -march=pentium4 -pipe -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  -O2 -march=pentium4 -pipe   -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: line 379: 17709 Illegal instruction     xsltproc $XSLTOPTS -o "$XSLT_PROCESSED" "$STYLESHEET" "$INPUT_FILE"
./xmlto: line 379: 17740 Illegal instruction     xsltproc $XSLTOPTS -o "$XSLT_PROCESSED" "$STYLESHEET" "$INPUT_FILE"

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 1
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.
Call stack:, line 1539:   Called dyn_compile, line 939:   Called src_compile
  xmlto-0.0.18.ebuild, line 32:   Called die

Reproducible: Always

(chroot) sun init.d # emerge --info
Portage 2.1-r2 (default-linux/x86/2007.0/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.21-gentoo-r1 i686)
System uname: 2.6.21-gentoo-r1 i686 Unknow CPU Type
Gentoo Base System version 1.12.1
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
CFLAGS="-O2 -march=pentium4 -pipe"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
USE="x86 X acl acpi alsa arts bash-completion berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus doc dri dvd dvdr dvdread eds emacs emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer gtk hal iconv isdnlog jpeg kerberos ldap libg++ mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs xml xorg xv zlib alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1 alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text userland_GNU video_cards_i810 video_cards_vesa"
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-20 20:55:50 UTC
(In reply to comment #0)
> ./xmlto: line 379: 17709 Illegal instruction     xsltproc $XSLTOPTS -o
> ./xmlto: line 379: 17740 Illegal instruction     xsltproc $XSLTOPTS -o

Well, your C[XX]FLAGS obviously don't match your 'Unknow CPU Type'
Comment 2 Ihar Hrachyshka 2007-06-20 21:17:11 UTC
I didn't understand what you mean but:
booxter@sun /mnt/video/gentoo $ cat /proc/cpuinfo 
processor       : 0
vendor_id       : AuthenticAMD
cpu family      : 6
model           : 8
model name      : Unknow CPU Type
stepping        : 1
cpu MHz         : 1462.625
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 1
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow ts
bogomips        : 2927.08
clflush size    : 32
It is not the problem with my processor. Or should you say that I can't cross-compile pentium4 gentoo on AMD processor?:/
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-06-20 21:24:33 UTC
(In reply to comment #2)
> vendor_id       : AuthenticAMD

Is obviously not pentium4, is it?

> Or should you say that I can't
> cross-compile pentium4 gentoo on AMD processor?:/

Definitely not in this way; that's what sys-devel/crossdev is for.