devexp-db / xmlto

Simple shell script for converting XML files to various formats
GNU General Public License v2.0
0 stars 0 forks source link

rel 0.0.29 does not build with rpm build script for 0.0.28 #1

Closed freakout42 closed 4 days ago

freakout42 commented 1 week ago

my rpm build script does not build 0.0.29 - did work with 0.0.28

Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.22568
+ umask 022
+ cd /home/axel/p/rpm/BUILD
+ cd xmlto-0.0.29
+ autoreconf --force --install --verbose
autoreconf: export WARNINGS=
autoreconf: Entering directory '.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force 
autoreconf: configure.ac: tracing
autoreconf: configure.ac: not using Libtool
autoreconf: configure.ac: not using Intltool
autoreconf: configure.ac: not using Gtkdoc
autoreconf: running: /opt/autoconf/bin/autoconf --force
configure.ac:8: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete
./lib/autoconf/programs.m4:743: _AC_PROG_LEX is expanded from...
./lib/autoconf/programs.m4:736: AC_PROG_LEX is expanded from...
aclocal.m4:630: AM_PROG_LEX is expanded from...
configure.ac:8: the top level
autoreconf: running: /opt/autoconf/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:6: installing './compile'
configure.ac:3: installing './install-sh'
configure.ac:3: installing './missing'
Makefile.am: installing './depcomp'
configure.ac: installing './ylwrap'
parallel-tests: installing './test-driver'
autoreconf: Leaving directory '.'
+ ./configure --prefix=/opt/xmlto --datarootdir=/opt/xmlto
checking for a BSD-compatible install... /usr/bin/install -c
checking whether sleep supports fractional seconds... no
checking filesystem timestamp resolution... 2
checking whether build environment is sane... yes
checking for a race-free mkdir -p... mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking xargs -n works... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... unsupported
checking for gcc option to enable C99 features... unsupported
checking for gcc option to enable C89 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc
checking for flex... flex
checking for lex output file root... lex.yy
checking for lex library... none needed
checking for library containing yywrap... -lfl
checking whether yytext is a pointer... yes
checking for mktemp... mktemp
checking for find... find 
checking for bash... /bin/bash
checking for getopt... getopt
checking for long options support in getopt... yes
checking for paperconf... paperconf
checking for locale... /usr/bin/locale
checking for xmllint... /opt/xml/bin/xmllint
checking for xsltproc... /opt/xml/bin/xsltproc
checking for dblatex... dblatex
checking for fop... fop
checking for xmltex... xmltex
checking for pdfxmltex... pdfxmltex
checking for default backend... DEFAULT
checking for lynx... /usr/bin/lynx
checking for elinks... elinks
checking for w3m... w3m
checking for tail... /usr/bin/tail
checking for grep... /bin/grep
checking for sed... /bin/sed
checking for cp... /bin/cp
checking for zip... /opt/zip/bin/zip
checking for default web browser... w3m
checking that generated files are newer than configure... done
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
make  all-am
make[1]: Entering directory '/usr/src/rpm/BUILD/xmlto-0.0.29'
source='xmlif/xmlif.c' object='xmlif/xmlif.o' libtool=no \
DEPDIR=.deps depmode=gcc /bin/sh ./depcomp \
gcc -DHAVE_CONFIG_H -I.     -g -O2 -c -o xmlif/xmlif.o xmlif/xmlif.c
gcc  -g -O2   -o xmlif/xmlif xmlif/xmlif.o  
FORMAT_DIR=./format /bin/bash ./xmlto --skip-validation -o man/man1 man doc/xmlto.xml
warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
compilation error: file /tmp/xmlto-xsl.DO7770 line 4 element import
xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl
make[1]: *** [Makefile:1417: man/man1/xmlto.1] Error 5
make[1]: Leaving directory '/usr/src/rpm/BUILD/xmlto-0.0.29'
make: *** [Makefile:610: all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.22568 (%build)
SlouchyButton commented 5 days ago

Hi! I have tried reproducing your issue by modifying the official spec file used in Fedora based on your log - so that the same commands are used, but I wasn't able to replicate this using any of the provided release archives with version 0.0.29.

Would you mind sharing your spec file, so I could try further to replicate this issue? Also, feel free to look at the Fedora spec file as a reference for your custom spec file. I have tried it and the Fedora spec file builds successfully, so using it as a reference should definitely yield a working custom spec file on your end. https://src.fedoraproject.org/rpms/xmlto/blob/rawhide/f/xmlto.spec

freakout42 commented 4 days ago

Ok thank you for help - i will try to sync my build script with the fedore one.

SlouchyButton commented 4 days ago

Ok thank you for help - i will try to sync my build script with the fedore one.

Great, feel free to reopen this issue if you need further help.