First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 86959
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux High-Performance Clustering Team <hp-cluster@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Hans-Christian Armingeon <mog.johnny@gmx.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
pvmgetarch pvmgetarch text/plain Hans-Christian Armingeon 2005-03-29 13:56 0000 7.02 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 86959 depends on: Show dependency tree
Bug 86959 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: 2005-03-28 03:09 0000
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-cluster/pvm-3.4.5 to /
>>> md5 src_uri ;-) pvm3.4.5.tgz
>>> Unpacking source...
>>> Unpacking pvm3.4.5.tgz to /var/tmp/portage/pvm-3.4.5/work
 * Applying pvm-3.4.5-envvars.patch ...                                   [ ok ]
 * Applying pvm-3.4.5-strerror.patch ...                                  [ ok ]
 * Applying pvm-3.4.5-extra-arches.patch ...                              [ ok ]
 * Applying pvm-3.4.5-x86_64-segfault.patch ...                           [ ok ]
>>> Source unpacked.
./lib/aimk -here -f ./conf/`./lib/pvmtmparch`.def -f ./Makefile.aimk default
grep: /var/tmp/portage/pvm-3.4.5/work/pvm3/conf/LINUXI386.def: No such file or directory
making in . for LINUXI386
./lib/aimk: line 100: exec: PVM_ARCH=LINUXI386: not found
make: *** [default] Error 127

!!! ERROR: sys-cluster/pvm-3.4.5 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 mobile AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 13:00:21)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.9.5, 1.7.9-r1, 1.8.5-r3, 1.5, 1.6.3, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1, 2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/modules /opt/glftpd/etc /opt/openjms/config /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib/gcc/i686-pc-linux-gnu/3.4.3 /usr/lib/gcc/i686-pc-linux-gnu/3.4.4 /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-m32 -O3 -mtune=athlon-4 -fomit-frame-pointer -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.uni-muenster.de/pub/linux/distributions/gentoo http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 16bit 3dnow 3dnowex 3dnowext X X509 Xaw3d a52 aac aalib accessibility accounting acl acpi activefilter ada adns afs aim alsa ao apache2 apm arts artswrappersuid artworkextra asterisk async atm audiofile authdaemond avi bash-completion bcmath berkdb bidi bind-mysql bitmap-fonts blas blender-game bluetooth bmp bonobo bootsplash boundchecking boundschecking bri brltty buffysize bzip2 bzlib c++ cairo calendar camaelon caps cdda cddb cdio cdparanoia cdr cgi chasen chroot cle266 clearcase clearpasswd codecs cpdflib crypt cscope ctype cups curl curlwrappers dbase dbm dbx dedicated devfs26 devmap dga dhcp dio directfb divx4linux djbfft dlloader dmalloc dmx dpms drac dts dv dvb dvd dvdr dvdread edl eds emacs emboss encode esd ethereal evo exif f77 faac faad fam fame fastcgi fax fb fbcon fbdev ffmpeg fftw filepro firefox flac flash flatfile flexresp flood florz fltk fluidsynth font-server foomaticdb fortran fpx frascend freetype frlargefiles frxp ftp gb gcc-libffi gcj gd gd-external gdbm ggi gif gimpprint ginac glitz glut gmp gnokii gnome gnomedb gnustep gnutls gphoto2 gpm gps graphviz gsm gsnd gstreamer gtk gtk2 gtkhtml guile hal haskell hdf5 howl httpd hub iconv icq icu idea idled idn ieee1394 imagemagic imagemagick imap imlib imlib2 immqt immqt-bc inetd inifile inline innodb insecure-drivers intl ipalias ipv6 irda isdn jabber jack jack-tmpfs java javascript jbig jce jikes jit jks jms joystick jpeg jpeg2k junit jython kcal kde kdeenablefinal kdexdeltas kerberos koffice-plugin krb4 ladcca large-domain latex lcd lcms ldap leim lesstif libcaca libclamav libg++ libgda libsamplerate libwww lirc live lm_sensors logitech-mouse logrotate lua lynxkeymap lzo lzw-tiff mad maildir maildrop mailwrapper matroska matrox mbox mbrola mcal mcve md5sum mecab memlimit mhash mikmod mime ming mjpeg mmap mmx mmx2 mmxext mng modelock motif mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpeg2 mpeg4 mpi mppe-mppc msn multicall multislot multitarget mysql mysql41 mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses neXt netboot netcdf nethack network neural nis nls nntp non-flattened nptl nptlonly nvidia oav objc odbc offensive ogg oggvorbis openexr opengl oscar oss pam pam_chroot pam_console pam_timestamp pascal pcap pcmcia pcntl pcre pcsc-lite pda pdflib perforce perl pg-hier pg-intdatetime pg-vacuumdelay php pic plotutils png pnp portaudio posix postgres povray ppds prelude pri procmail profile pvm pwdb python qemu-fast qhull qt quicktime quotas radius rdesktop readline real resperl rhino rrdtool rtc ruby samba sample sasl sblive scanner sdk sdl sendfile serial server session sftplogging sguil shaper shared sharedmem silc simplexml skey slang slp smartcard smime sms smtp smux sndfile snmp snortsam soap sockets socks5 softmmu softquota soundtouch sox spamassassin speex spell spl sql sqlite sse ssl static-modules stats stencil-buffer stream streamzap subject-rewrite subversion svg svga sysvipc szip tcltk tcpd test tetex tga theora threads tidy tiff timidity tokenizer transcode transparent-proxy truetype truetype-fonts type1-fonts ucs2 underscores unicode usb userlocales utf8 v4l v4l2 vcd vchroot vda vdesktop vhosts vidix vim-with-x virus-scan visualization vlm vorbis vpopmail wddx wifi winbind wmf wxwindows x11vnc xanim xbase xfs xim xine xinerama xml xml2 xmlrpc xmms xosd xpm xprint xscreensaver xsl xv xvid xvmc yahoo yaz zaptel zeroconf zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

------- Comment #1 From Donnie Berkholz 2005-03-28 23:05:13 0000 -------
What happens if you unset PVM_ARCH in the shell before emerging? I have a
feeling this is coming from an environment file in an older version.

------- Comment #2 From Hans-Christian Armingeon 2005-03-28 23:47:16 0000 -------
# unset PVM_ARCH ; emerge pvm --oneshot
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-cluster/pvm-3.4.5 to /
>>> Downloading ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/distfiles/pvm3.4.5.tgz
--09:43:08--  ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/distfiles/pvm3.4.5.tgz
           => `/usr/portage/distfiles/pvm3.4.5.tgz'
Resolving ftp-stud.fht-esslingen.de... 129.143.116.10
Connecting to ftp-stud.fht-esslingen.de[129.143.116.10]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done.    ==> PWD ... done.
==> TYPE I ... done.  ==> CWD /pub/Mirrors/gentoo/distfiles ... done.
==> PASV ... done.    ==> RETR pvm3.4.5.tgz ... done.
Length: 979,201 (unauthoritative)

100%[====================================>] 979,201      346.80K/s

09:43:11 (345.86 KB/s) - `/usr/portage/distfiles/pvm3.4.5.tgz' saved [979201]

>>> md5 src_uri ;-) pvm3.4.5.tgz
>>> Unpacking source...
>>> Unpacking pvm3.4.5.tgz to /var/tmp/portage/pvm-3.4.5/work
 * Applying pvm-3.4.5-envvars.patch ...                                   [ ok ]
 * Applying pvm-3.4.5-strerror.patch ...                                  [ ok ]
 * Applying pvm-3.4.5-extra-arches.patch ...                              [ ok ]
 * Applying pvm-3.4.5-x86_64-segfault.patch ...                           [ ok ]
>>> Source unpacked.
./lib/aimk -here -f ./conf/`./lib/pvmtmparch`.def -f ./Makefile.aimk default
grep: /var/tmp/portage/pvm-3.4.5/work/pvm3/conf/LINUXI386.def: No such file or directory
making in . for LINUXI386
./lib/aimk: line 100: exec: PVM_ARCH=LINUXI386: not found
make: *** [default] Error 127

!!! ERROR: sys-cluster/pvm-3.4.5 failed.
!!! Function src_compile, Line 42, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.

------- Comment #3 From Donnie Berkholz 2005-03-29 10:59:56 0000 -------
At the top of src_compile() in the ebuild, could you add something like this?

echo "PVM_ARCH=${PVM_ARCH}"
unset PVM_ARCH

Also please attach pvm3/lib/pvmgetarch.

------- Comment #4 From Hans-Christian Armingeon 2005-03-29 13:56:36 0000 -------
Created an attachment (id=54791) [details]
pvmgetarch

------- Comment #5 From Hans-Christian Armingeon 2005-03-29 13:57:27 0000 -------
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-cluster/pvm-3.4.5 to /
>>> md5 src_uri ;-) pvm3.4.5.tgz
>>> Unpacking source...
>>> Unpacking pvm3.4.5.tgz to /var/tmp/portage/pvm-3.4.5/work
 * Applying pvm-3.4.5-envvars.patch ...                                   [ ok ]
 * Applying pvm-3.4.5-strerror.patch ...                                  [ ok ]
 * Applying pvm-3.4.5-extra-arches.patch ...                              [ ok ]
 * Applying pvm-3.4.5-x86_64-segfault.patch ...                           [ ok ]
PVM_ARCH=LINUXI386
>>> Source unpacked.
./lib/aimk -here -f ./conf/`./lib/pvmtmparch`.def -f ./Makefile.aimk default
grep: /var/tmp/portage/pvm-3.4.5/work/pvm3/conf/LINUXI386.def: No such file or directory
making in . for LINUXI386
./lib/aimk: line 100: exec: PVM_ARCH=LINUXI386: not found
make: *** [default] Error 127

!!! ERROR: sys-cluster/pvm-3.4.5 failed.
!!! Function src_compile, Line 44, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


src_unpack() {
    unpack ${A}
    cd ${S}
    # Patches from Red Hat
    epatch ${FILESDIR}/${P}-envvars.patch || die
    epatch ${FILESDIR}/${P}-strerror.patch || die
    epatch ${FILESDIR}/${P}-extra-arches.patch || die
    epatch ${FILESDIR}/${P}-x86_64-segfault.patch || die
    echo "PVM_ARCH=${PVM_ARCH}"
    unset PVM_ARCH

# setup def files for other archs
    cp conf/LINUX64.def conf/LINUXPPC64.def
    cp conf/LINUX64.m4 conf/LINUXPPC64.m4

------- Comment #6 From Donnie Berkholz 2005-03-31 11:45:31 0000 -------
This definitely appears to be happening because of the old pvm's environment
file.

Could you please add the two lines from comment #3 to the top of src_compile()
rather than the bottom of src_unpack()?

And tag another repeat of the first line afterwards to make sure PVM_ARCH got
unset.

------- Comment #7 From Donnie Berkholz 2005-05-24 16:07:20 0000 -------
I tried adding a fix for this to 3.4.5. Please test and reopen if it's still
broken.

------- Comment #8 From M. Edward Borasky 2005-06-05 20:23:53 0000 -------
It works here with 3.4.5 (~x86). Note that 3.4.4, which is the "stable"
version,
does NOT work -- missing the same file as the original poster of the bug. So
...
fixed in 3.4.5; can we mark 3.4.5 stable yet?

------- Comment #9 From Donnie Berkholz 2005-06-06 09:32:32 0000 -------
Done.

First Last Prev Next    No search results available      Search page      Enter new bug