Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 104524 - freebsd-lib-5.4-r2 doesn't compile
Summary: freebsd-lib-5.4-r2 doesn't compile
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86 FreeBSD
: High normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-01 15:05 UTC by Luigi 'Comio' Mantellini
Modified: 2006-04-12 10:50 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 Luigi 'Comio' Mantellini 2005-09-01 15:05:42 UTC
I tried to emerge freebsd-lib (5.4-r2) and I have this error:

===> libsbuf
Warning: Object directory not changed from original /var/tmp/portage/freebsd-lib
-5.4-r2/work/lib/libsbuf
make: don't know how to make subr_sbuf.c. Stop
*** Error code 2

Stop in /var/tmp/portage/freebsd-lib-5.4-r2/work/lib.

!!! ERROR: sys-freebsd/freebsd-lib-5.4-r2 failed.
!!! Function bsdmk_src_compile, Line 59, Exitcode 1
!!! make failed
!!! If you need support, post the topmost build error, NOT this status message.

I use a qemu virtual machine to install my gentoo/freebsd (see the image at
link: www.comio.it/gfbsdSYNC.zip NON BOOTABLE! until emerge sync).

I don't know FreeBSD internals and I have some problem to understand the problem!

Some idea?

My emerge info (but gcc is in the path! I have used gcc-config 1)

!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Gentoo/FreeBSD: FreeBSD version 5.4-RELEASE; Gentoo base version 0.7
Portage 2.0.51.22
(!/usr/local/portage/gentoo-freebsd/profiles/default-bsd/fbsd/5.4/x86,
gcc-3.4.4, freebsd-lib-5.4-r2, 5.4-RELEASE i386)
=================================================================
System uname: 5.4-RELEASE i386 i386
dev-lang/python:     2.4.1-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  2.16.1
sys-devel/libtool:   [Not Present]
virtual/os-headers:  5.4
ACCEPT_KEYWORDS="x86 x86-fbsd ~x86 ~x86-fbsd"
AUTOCLEAN="yes"
CBUILD="i686-unknown-freebsd5.4"
CFLAGS="-mtune=i386 -O2 -pipe"
CHOST="i686-unknown-freebsd5.4"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/terminfo /etc/env.d"
CXXFLAGS="-mtune=i386 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="collision-protect distlocks noclean"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2 -s"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/gentoo-freebsd"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86-fbsd python readline ssl userland_BSD kernel_FreeBSD elibc_FreeBSD"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS

thanks 

luigi

Reproducible: Always
Steps to Reproduce:
1. make portage
2.
3.

Actual Results:  
freebsd-lib doesn't compile

Expected Results:  
freebsd-lib compiled

QEMU virtual machine with QVM86. 64 RAM and 10G HDD (emulated)
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2005-09-01 16:16:46 UTC
You have a non-supported CHOST/CBUILD, so you probably have problems with your 
profile. 
Also, you seems to have forgot to add /dev to your chroot. 
 
Please, the qemu image is not supported, the official installation guide is at 
http://www.gentoo.org/doc/en/gentoo-freebsd.xml . 
Drop by #gentoo-bsd to have help about that, but remember that you need to 
follow the guide.