Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77368 - sys-apps/memtest86-3.1a: build fails in src_test
Summary: sys-apps/memtest86-3.1a: build fails in src_test
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-10 06:15 UTC by Sascha Silbe
Modified: 2005-01-10 17:48 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 Sascha Silbe 2005-01-10 06:15:30 UTC
Building sys-apps/memtest86-3.1a fails during the maketest phase. See below for details.



Reproducible: Always
Steps to Reproduce:
1. emerge -uv --nospinner --oneshot sys-apps/memtest86

Actual Results:  
root@caravan:~# emerge -uv --nospinner --oneshot sys-apps/memtest86                                                                          Calculating dependencies  ...done!
>>> emerge (1 of 1) sys-apps/memtest86-3.1a to /
[...]
ld --warn-constructors --warn-common -static -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o linuxbios.o memsize.o pci.o controller.o && \
ld -shared -Bsymbolic -T memtest_shared.lds -o memtest_shared head.o reloc.o main.o test.o init.o lib.o patn.o screen_buffer.o config.o linuxbios.o memsize.o pci.o controller.o
objcopy -O binary memtest_shared memtest_shared.bin
ld -T memtest.bin.lds bootsect.o setup.o -b binary memtest_shared.bin -o memtest.bin
ld -s -T memtest.lds -b binary memtest_shared.bin -o memtest
>>> Test phase [test]: sys-apps/memtest86-3.1a
gcc   test.o   -o test
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/../../../crt1.o(.text+0x18): In function `_start':
: undefined reference to `main'
test.o(.text+0x11): In function `addr_tst1':
: undefined reference to `p1'
test.o(.text+0x1b): In function `addr_tst1':
: undefined reference to `p1'
test.o(.text+0x24): In function `addr_tst1':
: undefined reference to `hprint'
test.o(.text+0x2a): In function `addr_tst1':
: undefined reference to `v'
[...]
test.o(.text+0x1468): In function `print_ecc_err':
: undefined reference to `dprint'
test.o(.text+0x174c): In function `do_tick':
: undefined reference to `poll_errors'
collect2: ld returned 1 exit status
make: *** [test] Error 1

!!! ERROR: sys-apps/memtest86-3.1a failed.
!!! Function src_test, Line 526, Exitcode 0
!!! Make test failed. See above for details.
!!! If you need support, post the topmost build error, NOT this status message.

root@caravan:~# 



Expected Results:  
Successfully build and run the test suite and install memtest86.



Gentoo Base System version 1.4.16
Portage 2.0.51-r3 (default-linux/x86/2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-infra-skas3-v7-cube-1 i686)
=================================================================
System uname: 2.6.9-infra-skas3-v7-cube-1 i686 AMD Athlon(tm) XP 1700+
distcc 2.16 i586-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe"
CHOST="i586-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /usr/vice/etc /var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/afs/modload /etc/gconf /etc/make.globals /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium -mcpu=athlon-tbird -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks maketest sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp.easynet.nl/mirror/gentoo/ http://gentoo.inode.at/ ftp://gentoo.inode.at/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-local--main--1.0"
SYNC="rsync://hybrid.sascha.silbe.org/gentoo-portage"
USE="x86 3dnow X acl afs alsa apm avi berkdb bitmap-fonts blas bzlib cdr crypt doc dvd dvdr encode fam flac foomaticdb fortran gdbm gif gimpprint gtk gtk2 gtkhtml guile hbci imagemagick imap imlib ipv6 j-noaim j-nomsn j-noyahoo jabber jpeg krb4 lapack lcms libwww lvm1 mad maildir makecheck mbox mikmod mmx monitor mpeg mysql nas ncurses nls oggvorbis opengl oss pam pdflib plotutils png postgres python qt qtmt quicktime readline samba scanner sdl skey spell sqlite sse ssl tetex tiff truetype unicode xml xml2 xv xvid zlib linguas_en,de"
Comment 1 SpanKY gentoo-dev 2005-01-10 17:48:28 UTC
there is no test target so ive added RESTRICT=maketest to the ebuild