Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374373 - [patch] sys-freebsd/boot0-8.2 fails to compile with MAKEOPTS env on Gentoo/FBSD (AMD64?)
Summary: [patch] sys-freebsd/boot0-8.2 fails to compile with MAKEOPTS env on Gentoo/FB...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal minor
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-07 17:29 UTC by Yuta SATOH
Modified: 2011-07-25 10:53 UTC (History)
0 users

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


Attachments
patch for boot0-8.2.ebuild (boot0-8.2.ebuild.patch,293 bytes, patch)
2011-07-07 17:32 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2011-07-07 17:29:08 UTC
The following message is displayed and fails to compile on Gentoo/FBSD (AMD64).

===> i386/zfsboot (all)
Warning: Object directory not changed from original /var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot
cp /dev/null zfsboot.ldr
ln -sf /var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../../../i386/include machine
x86_64-gentoo-freebsd8.2-gcc -DBOOTPROG=\"zfsboot\"  -Os -g  -fno-guess-branch-probability  -fno-unit-at-a-time  -mrtd  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3  -DBOOT2  -DFLAGS=0x80  -DSIOPRT=0x3f8  -DSIOFMT=0x3  -DSIOSPD=9600  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../../common  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../common  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../../zfs  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../../../cddl/boot/zfs  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../btx/lib -I.  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../boot2  -Wall -Waggregate-return -Wbad-function-cast -Wcast-align  -Wmissing-declarations -Wmissing-prototypes -Wnested-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings  -Winline --param max-inline-insns-single=100 -ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -m32 -march=i386 -std=gnu99   -c zfsldr.S
x86_64-gentoo-freebsd8.2-gcc -DBOOTPROG=\"zfsboot\"  -Os -g  -fno-guess-branch-probability  -fno-unit-at-a-time  -mrtd  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3  -DBOOT2  -DFLAGS=0x80  -DSIOPRT=0x3f8  -DSIOFMT=0x3  -DSIOSPD=9600  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../../common  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../common  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../../zfs  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../../../cddl/boot/zfs  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../btx/lib -I.  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../boot2  -Wall -Waggregate-return -Wbad-function-cast -Wcast-align  -Wmissing-declarations -Wmissing-prototypes -Wnested-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings  -Winline --param max-inline-insns-single=100 -ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -m32 -march=i386 -std=gnu99   -c /var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../boot2/sio.S
x86_64-gentoo-freebsd8.2-gcc -DBOOTPROG=\"zfsboot\"  -Os -g  -fno-guess-branch-probability  -fno-unit-at-a-time  -mrtd  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3  -DBOOT2  -DFLAGS=0x80  -DSIOPRT=0x3f8  -DSIOFMT=0x3  -DSIOSPD=9600  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../../common  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../common  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../../zfs  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../../../cddl/boot/zfs  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../btx/lib -I.  -I/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../boot2  -Wall -Waggregate-return -Wbad-function-cast -Wcast-align  -Wmissing-declarations -Wmissing-prototypes -Wnested-externs  -Wpointer-arith -Wshadow -Wstrict-prototypes -Wwrite-strings  -Winline --param max-inline-insns-single=100 -ffreestanding -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -m32 -march=i386 -std=gnu99   -c /var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../common/drv.c
/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../common/drv.c:30:22: error: xreadorg.h: No such file or directory
/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../common/drv.c: In function 'drvread':
/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../common/drv.c:92: error: 'XREADORG' undeclared (first use in this function)
/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../common/drv.c:92: error: (Each undeclared identifier is reported only once
/var/tmp/portage/sys-freebsd/boot0-8.2/work/sys/boot/i386/zfsboot/../common/drv.c:92: error: for each function it appears in.)
*** Error code 1
1 error
*** Error code 2
1 error
*** Error code 2
1 error
 * ERROR: sys-freebsd/boot0-8.2 failed (compile phase):
 *   make failed
 *


Reproducible: Always

Steps to Reproduce:
1. MAKEOPTS="-j1" emerge sys-freebsd/boot0




# emerge --info
Portage 2.1.9.42 (default/bsd/fbsd/amd64/8.2, gcc-4.4.5, libc-0-r0, 8.2-RELEASE amd64)
=================================================================
System uname: FreeBSD-8.2-RELEASE-amd64-64bit-ELF
Timestamp of tree: Wed, 06 Jul 2011 20:15:01 +0000
app-shells/bash:     4.1_p9
dev-lang/python:     2.6.6-r2, 2.7.1-r1, 3.1.3-r1
dev-util/pkgconfig:  0.25-r2
sys-apps/baselayout: 2.0.2::amd64-fbsd
sys-apps/openrc:     0.8.2-r1::amd64-fbsd
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.65-r1
sys-devel/automake:  1.9.6-r3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.5
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.82
sys-freebsd/freebsd-lib: 8.2
virtual/os-headers:  0
ACCEPT_KEYWORDS="amd64-fbsd ~amd64-fbsd"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-gentoo-freebsd8.2"
CFLAGS="-O2 -pipe"
CHOST="x86_64-gentoo-freebsd8.2"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/tmp/distfiles"
FEATURES="assume-digests binpkg-logs chflags distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://ftp.iij.ad.jp/pub/linux/gentoo/ http://ftp.jaist.ac.jp/pub/Linux/Gentoo/"
LDFLAGS=""
LINGUAS="ja"
MAKEOPTS="-j3"
PKGDIR="/var/tmp/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl amd64-fbsd berkdb cli cracklib crypt cups cxx dri gdbm iconv ipv6 java5 java6 mmx modules multilib ncurses nls nptlonly oss pam pcre perl python readline session sse sse2 ssl tcpd unicode usb xorg zlib" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="FreeBSD" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse" KERNEL="FreeBSD" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ja" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="BSD" VIDEO_CARDS="apm ark chips cirrus cyrix dummy i128 intel mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis tga trident tseng vmware fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Yuta SATOH 2011-07-07 17:32:38 UTC
Created attachment 279351 [details, diff]
patch for boot0-8.2.ebuild
Comment 2 Alexis Ballier gentoo-dev 2011-07-07 18:06:45 UTC
isnt it a // make problem ?

i've hit this too, wanted to fix the makefile's dependencies later
Comment 3 Naohiro Aota gentoo-dev 2011-07-25 10:53:24 UTC
Added makefile patch in CVS.