Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 197108

Summary: app-admin/mbr fails compilation
Product: Gentoo Linux Reporter: Alexander Krivács Schrøder <alexschrod>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alexander Krivács Schrøder 2007-10-26 06:18:32 UTC
When doing "emerge app-admin/mbr", I get the following output:

vm86.c:15: error: expected declaration specifiers or ‘...’ before ‘vm86’
vm86.c:15: error: expected declaration specifiers or ‘...’ before ‘fn’
vm86.c:15: error: expected declaration specifiers or ‘...’ before ‘v86’
vm86.c:15: warning: type defaults to ‘int’ in declaration of ‘_syscall2’
vm86.c: In function ‘vm86_run’:
vm86.c:77: warning: implicit declaration of function ‘vm86’
make[1]: *** [vm86.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-admin/mbr-1.1.5/work/mbr-1.1.5/harness'
make: *** [all-recursive] Error 1
 *
 * ERROR: app-admin/mbr-1.1.5 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 662:   Called die
 *
 * emake failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-admin/mbr-1.1.5/temp/build.log'.
 *

 * Messages for package app-admin/mbr-1.1.5:

 *
 * ERROR: app-admin/mbr-1.1.5 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   ebuild.sh, line 662:   Called die
 *
 * emake failed
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/app-admin/mbr-1.1.5/temp/build.log'.
 *


Reproducible: Always

Steps to Reproduce:
1. emerge app-admin/mbr

Actual Results:  
It fails with an error

Expected Results:  
It should compile fine

Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r4, 2.6.22-gentoo-r5 i686)
=================================================================
System uname: 2.6.22-gentoo-r5 i686 Mobile AMD Sempron(tm) Processor 2800+
Timestamp of tree: Mon, 17 Sep 2007 06:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -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/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="nb_NO.utf8"
MAKEOPTS="-j4"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/gnome-experimental /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl acpi alsa arts berkdb bitmap-fonts bluetooth bzip2 cli cracklib crypt css cups dbus dri dvd dvdnav dvdr dvdread encode ffmpeg flac foomaticdb fortran ftp gdbm gif gimpprint gpm hal iconv ieee1394 imagemagick ipod ipv6 irda isdnlog java jpeg jpeg2k kde lame logitech-mouse midi mmext mmx mmxext mng mp2 mp3 mp4 mpeg mplayer mudflap musepack musicbrainz ncurses nls nptl nptlonly ogg openmp pam pcmcia pcre perl png ppds pppd python qt quicktime rar readline real reflection sdl session spell spl sse sse2 ssl svg tcpd tiff timidity truetype truetype-fonts type1-fonts unicode usb vcd visualization vorbis win32codecs wmf x86 xml xorg xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="sis vga vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-10-26 08:25:02 UTC

*** This bug has been marked as a duplicate of bug 167707 ***