[PC-BSD Testing] PC-BSD have not good FreeBSD Soruces

nemysis nemysis at gmx.ch
Thu Jul 4 02:36:21 PDT 2013


On Thu, 4 Jul 2013 11:31:33 +0300
Yuri Momotiuk <yurkis at gmail.com> wrote:

>  > I use STABLE branch for sources.  Maybe this will be helpful for you too.
> > >
> > > Just type (as root) for get STABLE branch:
> > > svn co svn://svn.freebsd.org/base/stable/9/ /usr/src
> > >
> > > (/usr/src should be empty)
> >
> > Yes i have this used but need CURRENT not STABLE Source, need ones which
> > are in sync with PC-BSD Rolling Release Kernel.
> >
> >
> No. CURRENT branch will be 10.0. Try to use STABLE (not RELEASE). See
> http://www.freebsdwiki.net/index.php/FreeBSD_Release_Branches for more
> details
>
> 
> Where your sources are (/usr/src/ or /usr/src/9/)?

ls /usr/src
.svn              Makefile          README            contrib           gnu               libexec           secure            usr.bin
COPYRIGHT         Makefile.inc1     UPDATING          crypto            include           release           share             usr.sbin
LOCKS             Makefile.mips     bin               etc               kerberos5         rescue            sys
MAINTAINERS       ObsoleteFiles.inc cddl              games             lib               sbin              tools


ls -l /sys
lrwxr-xr-x  1 root  wheel  11  3 Jul 13:03 /sys -> usr/src/sys


> Have you costom make.conf or src.conf?

Have custom make.conf and not /etc/src.conf

ls /etc/src.conf
ls: /etc/src.conf: No such file or directory

> Maybe you checkout sources to /usr/src/ but still have those lines in
> make.conf:
> SRC_BASE=/usr/src/9
> SYSDIR=${SRC_BASE}/sys

Have in /etc/make.conf

#SRC_BASE=/usr/src/9
#SYSDIR=${SRC_BASE}/sys

> 
> >
> >
> > Only Sources which i can use with PC-BSD Kernel are downloaded with
> >
> > svn co svn://svn.freebsd.org/base/releng/9.1 /usr/src
> >
> > but this is -p4 and not in sync with PC-BSD Rolling Release Kernel
> >
> >
> >
> Try to use STABLE.  svn://svn.freebsd.org/base/stable/9/
> 
> This branch will be 9.2 when it will be ready. It looks like rolling (or
> current if you wish) for FreeBSD 9.x
> But CURRENT branch
> svn://svn.freebsd.org/base/head/<http://svn.freebsd.org/base/stable/9/>
> will
> be 10.0
> 
> 

Thanks for information, but i need Sources from which is built this PC-BSD Rolling Release Kernel

9.1-RELEASE-p10 FreeBSD 9.1-RELEASE-p10 #0: Fri Jun 28 19:52:22 UTC 2013     root at amd64-builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

Not important if is STABLE, CURRENT or what ever Sources, only that are in sync with PC-BSD Roling Release Kernel 

From /usr/src/README

$FreeBSD: stable/9/README 250458 2013-05-10 16:16:33Z luigi $

From /usr/src/UPDATING

20130618:


Still get errors with linux.ko or nvidia-driver

/sys/modules/linux/ > make clean
"/usr/src/sys/modules/linux/../../conf/kmod.mk", line 76: Could not find bsd.compiler.mk
"/usr/src/sys/modules/linux/../../conf/kmod.mk", line 112: Malformed conditional (${COMPILER_TYPE} != "clang")
"/usr/src/sys/modules/linux/../../conf/kmod.mk", line 116: if-less endif
"/usr/src/sys/modules/linux/../../conf/kern.mk", line 18: Malformed conditional (${COMPILER_TYPE} == "clang")
"/usr/src/sys/modules/linux/../../conf/kern.mk", line 33: if-less endif
"/usr/src/sys/modules/linux/../../conf/kern.mk", line 103: Malformed conditional (${COMPILER_TYPE} == "clang")
"/usr/src/sys/modules/linux/../../conf/kern.mk", line 109: if-less endif
make: fatal errors encountered -- cannot continue


But this file exist

ls /usr/src/share/mk/bsd.compiler.mk 
/usr/src/share/mk/bsd.compiler.mk


Have reread

http://www.freebsd.org/doc/en/books/handbook/updating-upgrading.html


Best regards,
Rusmir Duško
nemysis


More information about the Testing mailing list