Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 116696 - app-arch/sharutils-4.6 fails test due to missing uudecode
Summary: app-arch/sharutils-4.6 fails test due to missing uudecode
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-25 07:16 UTC by Sandro Bonazzola (RETIRED)
Modified: 2006-01-14 05:29 UTC (History)
0 users

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 Sandro Bonazzola (RETIRED) gentoo-dev 2005-12-25 07:16:05 UTC
This is quite different from bug #108513 and probably related to bug #111608.
I've the same result on ~amd64 and ~x86.

>>> Test phase [check]: app-arch/sharutils-4.6
Making check in intl
make[1]: Entering directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/intl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/intl'
Making check in lib
make[1]: Entering directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/lib'
make  check-am
make[2]: Entering directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/lib'
if x86_64-pc-linux-gnu-gcc -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I. -I../intl   -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow  -MT error.o -MD -MP -MF ".deps/error.Tpo" -c -o error.o error.c; \
then mv -f ".deps/error.Tpo" ".deps/error.Po"; else rm -f ".deps/error.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-gcc -DLIBDIR=\"/usr/lib64\" -DHAVE_CONFIG_H -I. -I. -I..  -I.. -I. -I../intl   -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow  -MT md5.o -MD -MP -MF ".deps/md5.Tpo" -c -o md5.o md5.c; \
then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo"; exit 1; fi
rm -f libshar.a
ar cru libshar.a basename.o error.o getopt.o getopt1.o md5.o offtostr.o whoami.o xgetcwd.o xmalloc.o xstrdup.o
x86_64-pc-linux-gnu-ranlib libshar.a
make[2]: Leaving directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/lib'
make[1]: Leaving directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/lib'
Making check in src
make[1]: Entering directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/src'
x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow    -o shar  shar.o encode.o ../lib/libshar.a  ../lib/libshar.a
x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow    -o unshar  unshar.o encode.o ../lib/libshar.a  ../lib/libshar.a
x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow    -o uuencode  uuencode.o ../lib/libshar.a  ../lib/libshar.a
x86_64-pc-linux-gnu-gcc  -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow    -o uudecode  uudecode.o ../lib/libshar.a  ../lib/libshar.a
make[1]: Leaving directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/src'
Making check in doc
make[1]: Entering directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/doc'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/doc'
Making check in po
make[1]: Entering directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/po'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/po'
Making check in contrib
make[1]: Entering directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/contrib'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/contrib'
Making check in tests
make[1]: Entering directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/tests'
make  check-TESTS
make[2]: Entering directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/tests'
PASS: uutest-1
PASS: uude-1
PASS: shar-1
x - lock directory `_sh_PID_': created
x - extracting second (binary)
sh: line 86: uudecode: command not found
restore of second failed
second: MD5 check failed
x - extracting first (text)
x - two:
created
x - extracting two/second (binary)
sh: line 139: uudecode: command not found
restore of two/second failed
two/second: MD5 check failed
x - extracting two/first (text)
x - one:
created
x - extracting one/second (binary)
sh: line 196: uudecode: command not found
restore of one/second failed
one/second: MD5 check failed
x - extracting one/first (text)
x - lock directory `_sh_PID_': removed
/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/tests/shar-2-13717.dir/../shar-2-13717.shar:
Only in shar-2-13717.d/one: second
Only in shar-2-13717.d: second
Only in shar-2-13717.d/two: second
FAIL: shar-2
======================================
1 of 4 tests failed
Please report to bug-gnu-utils@gnu.org
======================================
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/tests'
make[1]: *** [check-am] Error 2
make[1]: Leaving directory `/var/tmp/portage/sharutils-4.6/work/sharutils-4.6/tests'
make: *** [check-recursive] Error 1



for ~amd64 here is my emerge --info:

Portage 2.1_pre2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r3, 2.6.14-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.14-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.12.0_pre12
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS=" -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS=" -march=athlon64 -O2 -pipe -fforce-addr -ffast-math -msse2 -ftracer -m3dnow "
DISTDIR="/home/ftp/distfiles"
FEATURES="autoconfig ccache collision-protect confcache cvs distlocks elog multilib-strict parallel-fetching sandbox sfperms strict stricter test userpriv"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/ http://gentoo.osuosl.org/ http://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.heanet.ie/pub/gentoo/ http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp.unina.it/pub/linux/distributions/gentoo http://gentoo.ngi.it http://mirror.switch.ch/ftp/mirror/gentoo/ ftp://mirror.switch.ch/mirror/gentoo/ "
LANG="it_IT.utf8"
LINGUAS="it"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac aalib acl acpi alsa apache2 arts asf audiofile avi berkdb bitmap-fonts bzip2 cairo canvas cdb cdparanoia cdr chroot cpudetection crypt cups curl dba dbus directfb dlloader dri dts dv dvd dvdr dynagraph emboss encode erandom esd exif expat fam ffmpeg firefox flac foomaticdb gd gdbm ggi gif gimp gimpprint glibc-omitfp glut gmp gnome gnutls gphoto2 gpm graphviz gstreamer gtk gtk2 guile hal idn ieee1394 imagemagick imlib ipv6 ithreads java jbig jikes jpeg jpeg2k junit justify kde kdeenablefinal lcms ldap libcaca libwww linuxthreads-tls lm_sensors logitech-mouse logrotate lzo lzw lzw-tiff mad mailwrapper mbox mdb mhash mikmod mmap mng motif mozsvg mp3 mpeg mpm-worker musicbrainz mysql ncurses nls nptl nptlonly numeric nvidia odbc offensive ogg openal openexr opengl oss pam pcre pcsc-lite pdflib perl php png ppds python qt quicktime readline rtc samba scanner sdl slang smp snmp speex spell ssl subversion svg sysfs tcltk tcpd test tetex tga theora threads tiff timidity truetype truetype-fonts type1-fonts udev unicode usb userlocales utf8 vcd vda vorbis wmf xine xinerama xml2 xmms xpm xv xvid zlib elibc_glibc kernel_linux linguas_it userland_GNU"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, MAKEOPTS
Comment 1 Daniel Black (RETIRED) gentoo-dev 2006-01-04 13:35:23 UTC
reported upstream. just a path issue in the self test.

Looks like 4.6.1 is going to be released soon.

Thank Sandro
Comment 2 Daniel Black (RETIRED) gentoo-dev 2006-01-05 03:16:57 UTC
Upstream patched within 2 hours:
Daniel wrote:
> As per https://bugs.gentoo.org/show_bug.cgi?id=111608 and revalidated in 
> sharutils-4.6.1-pre3 the self tests fail if no previous sharutils is 
> installed. Furthermore, if a previous sharutils is installed the uudecode on 
> the previous version is tested rather than the version just built.
> 
> Solution:
> some setting of the path in tests/shar-2 to ../src so the just compiled 
> uudecode can be used in the self test.

Hi Daniel,

Humph!  Adding "../src" to the path was already done, but is inadequate.
In order to test certain features, I needed a shar archive that recursed,
so I placed it in a temp directory (favoring $TMPDIR, but otherwise /tmp).
Once the script does a "cd" over there, "../src" does not work very well.
So:

      PATH=`cd ..;pwd`/src:$PATH

Yummy.  Thanks for the report.  Regards, Bruce

awaiting release before including.
Comment 3 Daniel Black (RETIRED) gentoo-dev 2006-01-06 00:19:51 UTC
sharutils-4.6.1_pre4 added to fix problem. Thanks.
Comment 4 Sandro Bonazzola (RETIRED) gentoo-dev 2006-01-14 05:29:54 UTC
Closing, the solution works fine for me.