Bug 32163 - a2ps-4.13b-r5 fails to configure
|
Bug#:
32163
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: usata@gentoo.org
|
Reported By: gullevek@gullevek.org
|
|
Component: Applications
|
|
|
URL:
|
|
Summary: a2ps-4.13b-r5 fails to configure
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-10-27 20:44 0000
|
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
./configure: line 3245: syntax error near unexpected token `('
./configure: line 3245: `AC_CHECK_MEMBERS((struct passwd.pw_gecos),,,'
make: *** [config.status] Error 2
!!! ERROR: app-text/a2ps-4.13b-r5 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! emake failed
Reproducible: Always
Steps to Reproduce:
1. emerge a2ps
2.
3.
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1,
2.6.0-test9-20031027-1)
=================================================================
System uname: 2.6.0-test9-20031027-1 i686 Celeron (Coppermine)
Gentoo Base System version 1.4.3.10p1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache userpriv usersandbox"
GENTOO_MIRRORS="http://gentoo.gg3.net/ http://mirror.gentoo.gr.jp/
http://gentoo.oregonstate.edu/
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="oss apm encode foomaticdb mad mikmod pdflib spell xml2 esd aalib acl alsa
apache2 arts avi berkdb bonobo canna cjk crypt cscope cups curl dga directfb
ethereal fbcon freetds freewnn gd gdbm gif gnome gpm gtk gtk2 gtkhtml imap
imlib innodb ipv6 java jpeg kde kerberos krb4 lcms libg++ libwww maildir mbox
mcal mmx motif mozilla mpeg mysql ncurses nls odbc oggvorbis opengl pam perl
png postgres ppds python qt quicktime readline ruby samba sasl sdl slang snmp
sse ssl svga tcltk tcpd tetex tiff truetype usb wmf X xml xml3 xmms xv zlib
x86"
Hi, I modified a patch to stop the check. Please run `emerge sync` and remerge
a2ps, and tell me whether you still get the error or not.
I synced, he applies an autoconf.gentoo patch, but the bug moves down a bit
;)
checking for mbrlen... (cached) yes
checking for limits.h... (cached) yes
./configure: line 4743: AC_FUNC_MKTIME: command not found
checking whether closedir returns void... (cached) no
checking for vprintf... (cached) yes
checking for obstacks... (cached) yes
checking for working alloca.h... yes
checking for alloca... (cached) yes
checking for error_at_line... (cached) yes
checking for working malloc... (cached) yes
checking for working realloc... (cached) yes
checking for isascii... (cached) yes
checking for mbrtowc... (cached) yes
checking for limits.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for wchar.h... (cached) yes
checking for ANSI C header files... (cached) yes
checking whether backslash-a works in strings... (cached) yes
checking for function prototypes... yes
checking for working fnmatch... (cached) yes
checking POSIX termios... (cached) yes
checking whether use of TIOCGWINSZ requires sys/ioctl.h... (cached) yes
checking for termios.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for limits.h... (cached) yes
./configure: line 5881: syntax error near unexpected token `('
./configure: line 5881: `AC_CHECK_DECLS((fputs, strlen, strtoul, strtoull))'
make: *** [config.status] Error 2
Thanks for testing. I updated autoconf patch. Please do emerge sync,
try again, and report it back. I hope it will bring you further ;)
well, the bug moved back tot he original one. this is evil somehow ... and
I just wanted to compile xfce4 actually ...
checking for size_t... (cached) yes
checking for pid_t... (cached) yes
checking return type of signal handlers... (cached) void
checking whether struct tm is in sys/time.h or time.h... (cached) time.h
./configure: line 3245: syntax error near unexpected token `struct'
./configure: line 3245: `AC_CHECK_MEMBERS(struct passwd.pw_gecos, , ,'
make: *** [config.status] Error 2
!!! ERROR: app-text/a2ps-4.13b-r5 failed.
!!! Function src_compile, Line 50, Exitcode 2
!!! emake failed
My bad :-( I forced autoconf version to 2.5, so please emerge sync and
try again. If you are in hurry, you may test a2ps-4.13c which doesn't
have these autoconf issue (it is still ~x86 though).
okay, it now passes the configure part :) thought I prints out some errors
at the begining which do not stop the configure ...
before the first configure run:
aclocal.m4:61: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/c.m4:853: AC_C_BACKSLASH_A is expanded from...
aclocal.m4:61: the top level
autom4te-2.57: /usr/bin/m4 failed with exit status: 1
aclocal.m4:61: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/c.m4:853: AC_C_BACKSLASH_A is expanded from...
aclocal.m4:61: the top level
autom4te-2.57: /usr/bin/m4 failed with exit status: 1
before the second configure run:
cd . && /bin/sh /var/tmp/portage/a2ps-4.13b-r5/work/a2ps-4.13/auxdir/missing
--run automake --gnu Makefile
Makefile.am:19: require version 1.4a, but have 1.4-p6
WARNING: `automake' is missing on your system. You should only need it if
you modified `Makefile.am', `acinclude.m4' or `configure.in'.
You might want to install the `Automake' and `Perl' packages.
Grab them from any GNU archive site.
cd . && /bin/sh /var/tmp/portage/a2ps-4.13b-r5/work/a2ps-4.13/auxdir/missing
--run autoconf
aclocal.m4:61: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/c.m4:853: AC_C_BACKSLASH_A is expanded from...
aclocal.m4:61: the top level
autom4te-2.57: /usr/bin/m4 failed with exit status: 1
WARNING: `autoconf' is missing on your system. You should only need it if
you modified `configure.in'. You might want to install the
`Autoconf' and `GNU m4' packages. Grab them from any GNU
archive site.
but beside from that everything configures fine.
Thanks for testing. I'll try to reduce those warnings as less as
possible. I can reproduce the same warnings, so it will be much
easier to solve ;)
I close this bug since it now only prints warnings.