Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 151774 - app-arch/rpm-4.4.7 failed running automake
Summary: app-arch/rpm-4.4.7 failed running automake
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-17 20:08 UTC by Willard Dawson
Modified: 2006-10-18 12:14 UTC (History)
5 users (show)

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


Attachments
Fix for the problem. (rpm-4.4.7.patch,741 bytes, patch)
2006-10-18 07:11 UTC, Peter Volkov (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Willard Dawson 2006-10-17 20:08:04 UTC
>>> Emerging (2 of 2) app-arch/rpm-4.4.7 to /
>>> Downloading 'http://distfiles.gentoo.org/distfiles/rpm-4.4.7.tar.gz'
--22:41:49--  http://distfiles.gentoo.org/distfiles/rpm-4.4.7.tar.gz
           => `/usr/portage/distfiles/rpm-4.4.7.tar.gz'
Resolving distfiles.gentoo.org... 64.50.236.52, 64.50.238.52, 216.165.129.135, ...
Connecting to distfiles.gentoo.org|64.50.236.52|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 14,125,623 (13M) [application/x-gzip]

100%[====================================>] 14,125,623    18.57K/s    ETA 00:00

22:47:54 (37.92 KB/s) - `/usr/portage/distfiles/rpm-4.4.7.tar.gz' saved [14125623/14125623]

 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking rpm-4.4.7.tar.gz ;-) ...                                      [ ok ]
>>> Unpacking source...
>>> Unpacking rpm-4.4.7.tar.gz to /var/tmp/portage/app-arch/rpm-4.4.7/work
 * Applying rpm-4.4.6-with-sqlite.patch ...                               [ ok ]
 * Applying rpm-4.4.7-stupidness.patch ...                                [ ok ]
 * Running eautoreconf in '/var/tmp/portage/app-arch/rpm-4.4.7/work/rpm-4.4.7' ...
 * Requested autoconf 2.5
 * Using autoconf (GNU Autoconf) 2.60
 * Using autoheader (GNU Autoconf) 2.60
 * Requested automake 1.10
 * Using automake (GNU automake) 1.10
 * Using aclocal (GNU automake) 1.10
 * Running aclocal ...                                                    [ ok ]
 * Running libtoolize --copy --force --automake ...                       [ ok ]
 * Running aclocal ...                                                    [ ok ]
 * Running autoconf ...                                                   [ ok ]
 * Running autoheader ...                                                 [ ok ]
 * Running automake --add-missing --copy --foreign ...                    [ !! ]

 * Failed Running automake !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-arch/rpm-4.4.7/temp/automake-18596.out


!!! ERROR: app-arch/rpm-4.4.7 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  rpm-4.4.7.ebuild, line 48:   Called eautoreconf
  autotools.eclass, line 87:   Called eautomake
  autotools.eclass, line 188:   Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign'
  autotools.eclass, line 239:   Called die

!!! Failed Running automake !
!!! If you need support, post the topmost build error, and the call stack if relevant.

WDAWSONLT ~ # cat /var/tmp/portage/app-arch/rpm-4.4.7/temp/automake-18596.out
***** automake *****

configure.ac:676: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:335: AC_GNU_SOURCE is expanded from...
aclocal.m4:8669: gl_LOCK_BODY is expanded from...
aclocal.m4:8463: gl_LOCK is expanded from...
aclocal.m4:609: gt_INTL_SUBDIR_CORE is expanded from...
aclocal.m4:511: AM_INTL_SUBDIR is expanded from...
aclocal.m4:387: AM_GNU_GETTEXT is expanded from...
configure.ac:676: the top level
configure.ac:676: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:676: required file `./config.rpath' not found
configure.ac: installing `./ylwrap'
Makefile.am:19: AM_GNU_GETTEXT used but `intl' not in SUBDIRS

# emerge --info
Portage 2.1.2_pre3-r4 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.5-r0, 2.6.18-gentoo-r1 i686)
=================================================================
System uname: 2.6.18-gentoo-r1 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.12.5
Last Sync: Wed, 18 Oct 2006 02:30:08 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=i686 -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/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bluetooth bzip2 cairo cardbus cdr cli cracklib crypt ctype cups dba dlloader dri eds elibc_glibc emboss encode esd ethereal exif expat fastbuild foomaticdb force-cgi-redirect fortran ftp gamin gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml guile iconv idn imlib input_devices_evdev input_devices_keyboard input_devices_mouse ipv6 isdnlog jpeg kde kernel_linux lcms libg++ libwww lm_sensors mad madwifi memlimit mhash mikmod mmx mng motif mozilla mp3 mpeg mysql ncurses nforce2 nls nptl nptlonly nvidia ogg opengl oss pam pcre pdf pdflib pear perl pmu png posix pppd python qt qt3 qt4 qtmt quicktime readline reflection samba sdl session simplexml slang soap sockets spell spl ssl tcl tcltk tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_apm video_cards_ark video_cards_ati video_cards_chips video_cards_cirrus video_cards_cyrix video_cards_dummy video_cards_fbdev video_cards_glint video_cards_i128 video_cards_i740 video_cards_i810 video_cards_imstt video_cards_mga video_cards_neomagic video_cards_nsc video_cards_nv video_cards_rendition video_cards_s3 video_cards_s3virge video_cards_savage video_cards_siliconmotion video_cards_sis video_cards_sisusb video_cards_tdfx video_cards_tga video_cards_trident video_cards_tseng video_cards_v4l video_cards_vesa video_cards_vga video_cards_via video_cards_vmware video_cards_voodoo vorbis x86 xml xml2 xmlrpc xmms xorg xsl xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Peter Volkov (RETIRED) gentoo-dev 2006-10-18 01:23:47 UTC
Thank you for report, Willard. While I'm trying to reproduce your bug can you test 4.4.6-r2?
Comment 2 Willard Dawson 2006-10-18 06:02:10 UTC
Hi Peter,

I tried emerging 'world' this morning and found rpm-4.4.7.  It also shows the same basic error as the one I reported via bugzilla.

>>> Emerging (1 of 1) app-arch/rpm-4.4.7 to /
 * rpm-4.4.7.tar.gz MD5 ;-) ...                                           [ ok ]
 * rpm-4.4.7.tar.gz RMD160 ;-) ...                                        [ ok ]
 * rpm-4.4.7.tar.gz SHA1 ;-) ...                                          [ ok ]
 * rpm-4.4.7.tar.gz SHA256 ;-) ...                                        [ ok ]
 * rpm-4.4.7.tar.gz size ;-) ...                                          [ ok ]
 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking rpm-4.4.7.tar.gz ;-) ...                                      [ ok ]
>>> Unpacking source...
>>> Unpacking rpm-4.4.7.tar.gz to /var/tmp/portage/app-arch/rpm-4.4.7/work
 * Applying rpm-4.4.6-with-sqlite.patch ...                               [ ok ]
 * Applying rpm-4.4.7-stupidness.patch ...                                [ ok ]
 * Running eautoreconf in '/var/tmp/portage/app-arch/rpm-4.4.7/work/rpm-4.4.7' ...
 * Requested autoconf 2.5
 * Using autoconf (GNU Autoconf) 2.60
 * Using autoheader (GNU Autoconf) 2.60
 * Requested automake 1.10
 * Using automake (GNU automake) 1.10
 * Using aclocal (GNU automake) 1.10
 * Running aclocal ...                                                    [ ok ]
 * Running libtoolize --copy --force --automake ...                       [ ok ]
 * Running aclocal ...                                                    [ ok ]
 * Running autoconf ...                                                   [ ok ]
 * Running autoheader ...                                                 [ ok ]
 * Running automake --add-missing --copy --foreign ...                    [ !! ]

 * Failed Running automake !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/app-arch/rpm-4.4.7/temp/automake-12408.out


!!! ERROR: app-arch/rpm-4.4.7 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  rpm-4.4.7.ebuild, line 48:   Called eautoreconf
  autotools.eclass, line 87:   Called eautomake
  autotools.eclass, line 188:   Called autotools_run_tool 'automake' '--add-missing' '--copy' '--foreign'
  autotools.eclass, line 239:   Called die

!!! Failed Running automake !
!!! If you need support, post the topmost build error, and the call stack if relevant.

WDAWSONLT ~ # cat /var/tmp/portage/app-arch/rpm-4.4.7/temp/automake-12408.out
***** automake *****

configure.ac:676: warning: AC_COMPILE_IFELSE was called before AC_GNU_SOURCE
../../lib/autoconf/specific.m4:335: AC_GNU_SOURCE is expanded from...
aclocal.m4:8669: gl_LOCK_BODY is expanded from...
aclocal.m4:8463: gl_LOCK is expanded from...
aclocal.m4:609: gt_INTL_SUBDIR_CORE is expanded from...
aclocal.m4:511: AM_INTL_SUBDIR is expanded from...
aclocal.m4:387: AM_GNU_GETTEXT is expanded from...
configure.ac:676: the top level
configure.ac:676: warning: AC_RUN_IFELSE was called before AC_GNU_SOURCE
configure.ac:676: required file `./config.rpath' not found
configure.ac: installing `./ylwrap'
Makefile.am:19: AM_GNU_GETTEXT used but `intl' not in SUBDIRS
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2006-10-18 06:16:53 UTC
CC vapier.

vapier: The problem is because now ebuild calls eautorconf instead of proposed in 4.4.7 eautoconf && eautomake. eautoreconf calls aclocal and regenerates aclocal.m4. This cause problems on new systems. The package itself does not provide m4 macroses thus solution is not to call aclocal at all. Would you like to fix this? Or if you want I can do that.

Also I would like to keep automake version close to upstream and use version 1.9 (see autogen.sh) and personally I do not like "latest" in WANT_* variables as "latest" may change.

And I take bug to avoid bugspam on maintainer-needed@gentoo.org.
Comment 4 Peter Volkov (RETIRED) gentoo-dev 2006-10-18 06:19:01 UTC
And I just checked. rpm-4.4.6-r2 also have this problem.
Comment 5 Peter Volkov (RETIRED) gentoo-dev 2006-10-18 07:11:31 UTC
Created attachment 99939 [details, diff]
Fix for the problem.

Proposed patch should fix the problem. I'll wait for vapier's opinion on the issue before commit.
Comment 6 konrad okurowski 2006-10-18 09:52:08 UTC
Same problem here
Comment 7 konrad okurowski 2006-10-18 09:57:50 UTC
* A dry-run of patch command succeeded, but actually
 * applying the patch failed!

 * Failed Patch: rpm-4.4.7.patch !
 *  ( /usr/local/portage/app-arch/rpm/files/rpm-4.4.7.patch )
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/app-arch/rpm-4.4.7/temp/rpm-4.4.7.patch-1155.out


!!! ERROR: app-arch/rpm-4.4.7 failed.
Call stack:
  ebuild.sh, line 1568:   Called dyn_unpack
  ebuild.sh, line 708:   Called src_unpack
  rpm-4.4.7.ebuild, line 40:   Called epatch '/usr/local/portage/app-arch/rpm/files/rpm-4.4.7.patch'
  eutils.eclass, line 341:   Called die

!!! Failed Patch: rpm-4.4.7.patch!
!!! If you need support, post the topmost build error, and the call stack if relevant.

--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/var/log/sandbox/sandbox-app-arch_-_rpm-4.4.7-1154.log"

rename:    /usr/portage/app-arch/rpm/rpm-4.4.7.ebuild
--------------------------------------------------------------------------------
!!! This ebuild is from an overlay: '/usr/local/portage'

***** rpm-4.4.7.patch *****

===========================

PATCH COMMAND:  patch -p0 -g0 -E --no-backup-if-mismatch < /usr/portage/app-arch/rpm/files/rpm-4.4.7.patch

===========================
patching file /usr/portage/app-arch/rpm/rpm-4.4.7.ebuild
===========================

ACTUALLY APPLYING rpm-4.4.7.patch ...

===========================
patching file /usr/portage/app-arch/rpm/rpm-4.4.7.ebuild
ACCESS DENIED  rename:    /usr/portage/app-arch/rpm/rpm-4.4.7.ebuild
patch: **** Can't rename file /var/tmp/portage/app-arch/rpm-4.4.7/temp/po8CHNoX to /usr/portage/app-arch/rpm/rpm-4.4.7.ebuild : Permission denied


Comment 8 Peter Volkov (RETIRED) gentoo-dev 2006-10-18 10:10:15 UTC
konrad: That was patch for ebuild ;)
Comment 9 konrad okurowski 2006-10-18 11:47:52 UTC
oh:/ sorry :(
Comment 10 konrad okurowski 2006-10-18 11:54:40 UTC
works perfectly now:)
How could I get rid of sandbox violation any way?
Comment 11 konrad okurowski 2006-10-18 11:55:34 UTC
works perfectly now:)
How could I get rid of sandbox violation any way? I mean with other packages when sth like this occur?
Comment 12 SpanKY gentoo-dev 2006-10-18 12:14:00 UTC
there was a bug in the autotool.eclass that was causing this problem

the code in portage at the moment for rpm is fine