Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 216588
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Printing Team <printing@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Mateusz <matiqing@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
a2ps-4.14.ebuild Updated app-text/a2ps-4.14 ebuild applying compile fix patches text/plain Colin Bennett 2008-04-14 18:33 0000 3.34 KB Details
a2ps-4.14-fix_mempcpy_check.patch [Patch 1 of 2] Patch eliminates mempcpy check patch Colin Bennett 2008-04-14 18:34 0000 497 bytes Details | Diff
a2ps-4.14-fix_stpcpy_proto.patch [Patch 2 of 2] Patch eliminates invalid stpcpy() prototype patch Colin Bennett 2008-04-14 18:35 0000 436 bytes Details | Diff
a2ps-4.14-check-mempcpy.patch Add check for mempcpy to configure.in patch Ulrich Müller 2008-04-16 06:56 0000 514 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 216588 depends on: Show dependency tree
Bug 216588 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-06 18:24 0000
emerging app-text/a2ps-4.14 failed, 

Reproducible: Always

Steps to Reproduce:
1. emerge -uND world / emerge a2ps


Actual Results:  
 * Running aclocal -I m4 ...                                              [ ok
]
 * Running autoconf ...                                                   [ ok
]
 * Running automake --add-missing --copy --foreign ...                    [ ok
]
 * Running eautoreconf in '/var/tmp/portage/app-text/a2ps-4.14/work/a2ps-4.14'
...
 * Running aclocal -I m4 ...                                              [ !!
]

 * Failed Running aclocal !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-text/a2ps-4.14/temp/aclocal-29395.out

 * 
 * ERROR: app-text/a2ps-4.14 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_unpack
 *             environment, line 2750:  Called eautoreconf
 *             environment, line  856:  Called eaclocal
 *             environment, line  795:  Called autotools_run_tool 'src_unpack'
'src_unpack' 'aclocal'
 *             environment, line  358:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *  The die message:
 *   Failed Running aclocal !
 * 
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/tmp/portage/app-text/a2ps-4.14/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/app-text/a2ps-4.14/temp/environment'.
 * 

 * GNU info directory index is up-to-date.
localhost mat # cat  /var/tmp/portage/app-text/a2ps-4.14/temp/aclocal-29395.out
***** aclocal *****
***** aclocal -I m4

configure.in:2: error: m4_defn: undefined macro: _m4_divert_diversion
configure.in:2: the top level
autom4te-2.61: /usr/bin/m4 failed with exit status: 1
aclocal-1.10: autom4te failed with exit status: 1


Expected Results:  
It should compile

Portage 2.1.5_rc2 (default-linux/x86/2007.0/desktop, gcc-4.2.3, glibc-2.7-r2,
2.6.24-gentoo-r4matiit i686)
=================================================================
System uname: 2.6.24-gentoo-r4matiit i686 AMD Sempron(tm) 2400+
Timestamp of tree: Sun, 06 Apr 2008 17:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo
/etc/udev/rules.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://src.gentoo.pl
http://gentoo.zie.pg.gda.pl "
LC_ALL="pl_PL.UTF-8"
LDFLAGS=""
LINGUAS="pl en"
MAKEOPTS="-j1"
PKGDIR="/home/mat/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/arcon-portage
/usr/portage/local/layman/custom-kernels /usr/portage/local/layman/arcon
/usr/portage/local/layman/initng /usr/portage/local/layman/einit
/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X a52 aac acpi alsa atm bash-completion berkdb bluetooth
branding bzip2 cairo cdparanoia cdr cdrom cli cracklib crypt cups dbus dhcp dri
dvd dvdr dvdread eds emboss encode esd evo expat fam ffmpeg firefox flac
fortran freetype gd gdbm gif glibc-omitfp glitz gnome gphoto2 gpm gstreamer gtk
hal iconv isdnlog jpeg kde kerberos lcms ldap mad mdnsresponder-compat midi
mikmod mmext mmx moznopango mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin
nvidia ogg oggvorbis opengl openmp pam pci pcmcia pcre pdf physfs png pppd
pulseaudio python qt qt3 qt3support qt4 quicktime rar readline reflection sdl
session spell spl ssl startup-notification svg symlink tcpd theora threads tiff
truetype udev unicode userlocales utf8 vcd vorbis win32codecs x86 xcomposite
xine xml xml2 xorg xulrunner xv zip zlib" ALSA_CARDS="via82xx"
ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias
authn_anon authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
dav_lock deflate dir disk_cache env expires ext_filter file_cache filter
headers include info log_config logio mem_cache mime mime_magic negotiation
rewrite setenvif speling status unique_id userdir usertrack vhost_alias"
ELIBC="glibc" INITNG_PLUGINS="also bash_launcher chdir chroot conflict cpout
critical ctrlaltdel daemon_clean debug_commands envparser find fmon fstat
history idleprobe initctl interactive iparser last limit lockfile logfile
netdev netprobe ngc4 ngcs nge pause provide reload renice rlparser
simple_launcher stcmd stdout suid syncron syslog sysreq unneeded usplash"
INPUT_DEVICES="nv" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk
hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl en" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG,
PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Greg Kroah-Hartman 2008-04-14 04:31:03 0000 -------
*** Bug 217437 has been marked as a duplicate of this bug. ***

------- Comment #2 From Colin Bennett 2008-04-14 18:33:02 0000 -------
Created an attachment (id=149714) [details]
Updated app-text/a2ps-4.14 ebuild applying compile fix patches

This updated ebuild applies two tiny patches that fix a2ps compilation on a
GNU/Linux (glibc) system.

------- Comment #3 From Colin Bennett 2008-04-14 18:34:34 0000 -------
Created an attachment (id=149715) [details]
[Patch 1 of 2] Patch eliminates mempcpy check

------- Comment #4 From Colin Bennett 2008-04-14 18:35:05 0000 -------
Created an attachment (id=149716) [details]
[Patch 2 of 2] Patch eliminates invalid stpcpy() prototype

------- Comment #5 From Ulrich Müller 2008-04-16 06:56:24 0000 -------
Created an attachment (id=149901) [details]
Add check for mempcpy to configure.in

(In reply to comment #3)
> Created an attachment (id=149715) [edit] [details]
> [Patch 1 of 2] Patch eliminates mempcpy check

I believe that this is not correct. There is nothing wrong with the conditional
for HAVE_MEMPCPY; only the check for it is missing in configure. Attached patch
adds it to AC_CHECK_FUNCS.

(In reply to comment #4)
> Created an attachment (id=149716) [edit] [details]
> [Patch 2 of 2] Patch eliminates invalid stpcpy() prototype

This is o.k.

------- Comment #6 From Ulrich Müller 2008-04-17 20:36:38 0000 -------
Fixed (with permission from genstef).

Thanks to Mateusz for reporting, and to Colin for providing the initial bugfix.

------- Comment #7 From Ulrich Müller 2008-05-26 06:41:39 0000 -------
a2ps-4.13c-r6 also fails (reported by Rick Harris in bug 212050 comment #9),
therefore reopening.

The patches from attachment 149901 [details] and attachment 149716 [details] can be applied to that
version, too.

------- Comment #8 From Ulrich Müller 2008-06-02 22:01:38 0000 -------
4.13c-r6 fixed too.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug