Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 41914 - ppp-2.4.2 emerge fails
Summary: ppp-2.4.2 emerge fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-17 09:10 UTC by Ed Wood
Modified: 2004-02-21 17:36 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
fixed ebuild (ppp-2.4.2.ebuild.fixed,3.82 KB, text/plain)
2004-02-18 12:02 UTC, Ed Wood
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Wood 2004-02-17 09:10:49 UTC
.....
.....
creating include/Makefile
creating lib/Makefile
creating src/Makefile
creating man/Makefile
creating etc/Makefile
creating doc/Makefile
creating patches/Makefile
creating login.radius/Makefile
creating login.radius/migs/Makefile
creating config.h
cd . && autoheader
autoheader-2.58: WARNING: Using auxiliary files such as `acconfig.h', `config.h.bot'
autoheader-2.58: WARNING: and `config.h.top', to define templates for `config.h.in'
autoheader-2.58: WARNING: is deprecated and discouraged.
autoheader-2.58:
autoheader-2.58: WARNING: Using the third argument of `AC_DEFINE' and
autoheader-2.58: WARNING: `AC_DEFINE_UNQUOTED' allows to define a template without
autoheader-2.58: WARNING: `acconfig.h':
autoheader-2.58:
autoheader-2.58: WARNING:   AC_DEFINE([NEED_FUNC_MAIN], 1,
autoheader-2.58:                [Define if a function `main' is needed.])
autoheader-2.58:
autoheader-2.58: WARNING: More sophisticated templates can also be produced, see the
autoheader-2.58: WARNING: documentation.
aclocal.m4:49: error: m4_defn: undefined macro: _m4_divert_diversion
autoconf/oldnames.m4:113: AM_PROG_INSTALL is expanded from...
aclocal.m4:49: the top level
autom4te-2.58: /usr/bin/m4 failed with exit status: 1
autoheader-2.58: /usr/bin/autom4te failed with exit status: 1
make: *** [stamp-h.in] Error 1

!!! ERROR: net-dialup/ppp-2.4.2 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! (no error message)



Reproducible: Always
Steps to Reproduce:
1. ACCEPT_KEYWORDS="~x86"
2. emerge ppp
3.




Portage 2.0.50-r1 (hardened-x86-2004.0, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 
2.6.1-gentoo)
=================================================================
System uname: 2.6.1-gentoo i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms strict"
GENTOO_MIRRORS="http://212.219.247.10/sites/www.ibiblio.org/gentoo/ 
http://212.219.56.131/sites/www.ibiblio.org/gentoo/ 
http://212.219.247.11/sites/www.ibiblio.org/gentoo/ 
http://212.219.56.162/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acpi apache2 berkdb crypt cups gd gdbm gtk java libwww matrox mmx mysql 
nls opengl pam pdflib perl pic python readline samba ssl tcpd threads usb x86 
zlib"
Comment 1 Todor Zviskov 2004-02-17 20:01:14 UTC
Yep, same error here; even tried:

CFLAGS="-mcpu=i686 -O2" USE="" emerge  net-dialup/ppp -u
Comment 2 Hector E. Gomez Morales 2004-02-17 20:47:34 UTC
I am in the same boot but with gentoo-sources-2.4.22-r4 kernel, with ccache not enabled, autoconf-2.59.
Comment 3 Peter Leugner 2004-02-18 01:00:10 UTC
Same here
Comment 4 Hector E. Gomez Morales 2004-02-18 01:58:28 UTC
A tip from Merlin-TC in the forums suggested this
export WANT_AUTOCONF=2.1 (needs a old autoconf)
emerge ppp

I had sucess with this to emerge ppp
Comment 5 Ed Wood 2004-02-18 12:02:02 UTC
Created attachment 25870 [details]
fixed ebuild

sets the WANT_AUTOCONF="2.1" flag and removes it after the emerge
cp to /usr/portage/net-dialup/ppp/ and remove the .fixed from the filename
Comment 6 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-18 12:07:04 UTC
comment #4 have the correct fix, please apply.
Comment 7 Martin Schlemmer (RETIRED) gentoo-dev 2004-02-18 12:07:45 UTC
Ed, you do not have to unset it, as its local to the merge (or portage
environment rather).
Comment 8 Scott Taylor (RETIRED) gentoo-dev 2004-02-21 16:22:03 UTC
That does the trick here too. Can someone check that into portage?
Comment 9 Heinrich Wendel (RETIRED) gentoo-dev 2004-02-21 17:36:28 UTC
added