Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81887 - openmotif-2.2.3 fails to compile
Summary: openmotif-2.2.3 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Heinrich Wendel (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-13 11:02 UTC by Marcin Kryczek (RETIRED)
Modified: 2005-02-21 10:38 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcin Kryczek (RETIRED) gentoo-dev 2005-02-13 11:02:24 UTC
i've got an error:
>>> md5 src_uri ;-) openMotif-2.2.3.tar.gz
>>> Unpacking source...
>>> Unpacking openMotif-2.2.3.tar.gz to /var/portage/tmp/portage/openmotif-2.2.3/work
 * Applying openmotif-2.2.3-mwm-configdir.patch ...                       [ ok ] * Applying openmotif-2.2.3-CAN-2004-0687-0688.patch.bz2 ...              [ ok ] * Applying openmotif-2.2.3-CAN-2004-0914.patch.bz2 ...                   [ ok ] * Applying openmotif-2.2.3-CAN-2004-0914_sec8.patch ...                  [ ok ] * Applying openmotif-2.2.3-char_not_supported.patch ...                  [ ok ] * Applying openmotif-2.2.3-pixel_length.patch ...                        [ ok ] * Applying openmotif-2.2.3-popup_timeout.patch ...                       [ ok ] * Applying openmotif-2.2.3-XmResizeHashTable.patch ...                   [ ok ] * Applying openmotif-2.2.3-utf8.patch ...                                [ ok ] * Applying openmotif-2.2.3-no_demos.patch ...                            [ ok ]You should update your `aclocal.m4' by running aclocal.
aclocal: configure.in: 17: macro `AM_INIT_AUTOMAKE' not found in library

!!! ERROR: x11-libs/openmotif-2.2.3 failed.
!!! Function src_unpack, Line 59, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

my emerge info:
Portage 2.0.51-r15 (default-linux/x86/2004.2/gcc34/2.6, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10 i686)
=================================================================
System uname: 2.6.10 i686 AMD Athlon(tm) XP 1700+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb  8 2005, 13:30:59)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
dev-lang/python:     2.3.4-r1
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.4, 1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -mfpmath=sse -pipe -ffast-math -DNDEBUG -DG_DISABLE_ASSERT -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -mfpmath=sse -pipe -ffast-math -DNDEBUG -DG_DISABLE_ASSERT -fno-rtti"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distcc distlocks sandbox sfperms spinner"
GENTOO_MIRRORS="http://gentoo.zie.pg.gda.pl/ http://gentoo.prz.rzeszow.pl http://src.gentoo.pl/distfiles http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.easynet.nl/mirror/gentoo/ #http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.inode.at/ ftp://ftp.rhnet.is/pub/gentoo/ http://www.ibiblio.org/gentoo/"
LANG="en_US"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/portage/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local"
SYNC="rsync://rsync.gentoo.pl/gentoo-portage"
USE="x86 3dnow X aalib apache2 arts avi bash-completion bitmap-fonts cdr crypt cups divx4linux dvd encode f77 fam fbcon fla flac font-server fortran gd gif glut gphoto2 gpm gstreamer gtk gtk2 imagemagick imlib imlib2 java javascript jikes jpeg junit lcms libwww mailwrapper mbox memlimit mikmod mmx motif mpeg mysql ncurses nls nocardbus nptl nvidia oggvorbis opengl oss pam pda perl png ppds python qt quicktime readline samba sasl scanner sdl serial slang sqlite sse ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales v4l v4l2 videos vim-with-x wmf xv xvid zlib linguas_pl"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Marcin Kryczek (RETIRED) gentoo-dev 2005-02-13 11:03:54 UTC
argh - sorry about this ugly pasting;/
Comment 2 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2005-02-13 17:43:56 UTC
lanius: please put yourself in metadata.xml
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-15 08:08:17 UTC
emerge sync; remerge your autotools and try again please
Comment 4 Marcin Kryczek (RETIRED) gentoo-dev 2005-02-15 10:09:26 UTC
i'm not sure what do you mean by 'autotools', so i've reemerged:

<root@CogES>/usr/portage/packages/All: qpkg -I -v -nc |grep -E 'auto(conf|make)' sys-devel/automake-1.9.4
sys-devel/autoconf-2.13
sys-devel/automake-1.7.9-r1
sys-devel/automake-1.5
sys-devel/autoconf-wrapper-2-r1
sys-devel/autoconf-2.59-r6
sys-devel/automake-1.6.3
sys-devel/automake-1.4_p6
sys-devel/automake-1.8.5-r3
sys-devel/automake-wrapper-1-r1

and additionally m4 (version: 1.4.2-r1). i still get the same error;/
Comment 5 Daevid Vincent 2005-02-15 23:32:47 UTC
>>> emerge (1 of 1) x11-libs/openmotif-2.2.3 to /
>>> md5 src_uri ;-) openMotif-2.2.3.tar.gz
>>> Unpacking source...
>>> Unpacking openMotif-2.2.3.tar.gz to /var/tmp/portage/openmotif-2.2.3/work
 * Applying openmotif-2.2.3-mwm-configdir.patch ...                                                                             [ ok ]
 * Applying openmotif-2.2.3-CAN-2004-0687-0688.patch.bz2 ...                                                                    [ ok ]
 * Applying openmotif-2.2.3-CAN-2004-0914.patch.bz2 ...                                                                         [ ok ]
 * Applying openmotif-2.2.3-CAN-2004-0914_sec8.patch ...                                                                        [ ok ]
 * Applying openmotif-2.2.3-char_not_supported.patch ...                                                                        [ ok ]
 * Applying openmotif-2.2.3-pixel_length.patch ...                                                                              [ ok ]
 * Applying openmotif-2.2.3-popup_timeout.patch ...                                                                             [ ok ]
 * Applying openmotif-2.2.3-XmResizeHashTable.patch ...                                                                         [ ok ]
 * Applying openmotif-2.2.3-utf8.patch ...                                                                                      [ ok ]
 * Applying openmotif-2.2.3-no_demos.patch ...                                                                                  [ ok ]
You should update your `aclocal.m4' by running aclocal.
am-wrapper: /usr/bin/aclocal-1.4 is missing or not executable.
            Please try emerging the correct version of automake.

!!! ERROR: x11-libs/openmotif-2.2.3 failed.
!!! Function src_unpack, Line 59, Exitcode 1
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.
Comment 6 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-16 06:07:07 UTC
Daevid: you are missing automake-1.4, please emerge sync, it should be a dependency now

Spanky: any idea on the first error?
Comment 7 SpanKY gentoo-dev 2005-02-18 19:48:51 UTC
only thing i can think of is that perhaps your automake install is slightly broke ... does re-emerging automake-1.4 help ?
Comment 8 Gudleik Rasch 2005-02-21 09:21:56 UTC
I had the same problem with openmotif.
Reemerging automake-1.4 solves it:
; emerge "=sys-devel/automake-1.4_p6"
Comment 9 Marcin Kryczek (RETIRED) gentoo-dev 2005-02-21 09:56:50 UTC
ok -i've take a look at automake one more time and in fact - its merge wasn't clean. i had 2 directories named like automake files (i had serious fs corruption some time ago - i though i fixed all inconsistencies till now;/), so automake's files weren't installed - emerge doesn't fail in such situation - just prints '!!!' at front of file and continue instalation, so i havn't noticed that earlier;/

now i've got warning:
You should update your `aclocal.m4' by running aclocal.
configure.in:39: warning: AC_PROG_LEX invoked multiple times
autoconf/programs.m4:438: AC_DECL_YYTEXT is expanded from...
aclocal.m4:7244: AM_PROG_LEX is expanded from...
configure.in:39: the top level

just after applying patch (can it be due to some problems in other packages? which packages should i check?), but openmotif is built succesfully
Comment 10 Heinrich Wendel (RETIRED) gentoo-dev 2005-02-21 10:38:12 UTC
this warning is normal, it was a bug in automake then