Re: make world error 9.0-RELEASE #0 i386

2012-04-14 Thread Janos Dohanics
On Sat, 14 Apr 2012 12:28:52 -0400
Janos Dohanics w...@3dresearch.com wrote:

 Hello All,
 
 I'm trying to build world after having csupped, but the build fails
 with:
 
 [...]
 c++ -O2 -pipe
 -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/include
 -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/include
 -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema
 -I.
 -I/usr/src/lib/clang/libclangsema/../../../contrib/llvm/../../lib/clang/include
 -DLLVM_ON_UNIX -DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS
 -D__STDC_CONSTANT_MACROS -DLLVM_HOSTTRIPLE=\i386-unknown-freebsd9.0
 \ -fstack-protector -fno-exceptions -fno-rtti
 -c 
 /usr/src/lib/clang/libclangsema/../../../contrib/llvm/tools/clang/lib/Sema/SemaChecking.cpp
 {standard input}: Assembler messages: {standard input}:57706:
 Warning: end of file not at end of a line; newline inserted {standard
 input}: Assembler messages: {standard input}:71548: Warning: end of
 file not at end of a line; newline inserted {standard input}:71876:
 Error: no such instruction: `su' {standard input}:58857: Error:
 suffix or operands invalid for `mov' c++: Internal error: Killed: 9
 (program cc1plus) Please submit a full bug report. See
 URL:http://gcc.gnu.org/bugs.html for instructions. *** Error code 1
 c++: Internal error: Killed: 9 (program cc1plus) Please submit a full
 bug report. See URL:http://gcc.gnu.org/bugs.html for instructions.
 *** Error code 1
 [...]

I wanted to note that the error occurred when I used make buildworld
with the -j8 switch. Without the -j8 switch the build completed
without errors. 

-- 
Janos Dohanics
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Make World Inside Jail

2008-08-29 Thread Greg Larkin
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jason C. Wells wrote:
 I currently use a separate machine to make world and to make and archive
 ports and packages.  I would like to retire that machine and move that
 functionality into a jail. I am due to switch to 7.1 from 6.3 soon.
 
 I understand that I cannot run divergent kernels in the jails.
 
 I could still make a 7.1-RELEASE world on a 6.3-RELEASE jail and
 installworld into the jail.  That would leave me with a very strange
 jail system with a new generation system (binaries / libs / includes /
 utils / ports) with an old generation kernel.
 
 The only purpose of the jails is compiling world and installing ports.
 The parent system on which the jails reside cannot be made unreliable
 due to running the mishmash old/new jails.
 
 I'll need to run NFS servers and telnet servers inside the jails.
 Systems on my network would mount the jail's /usr/obj, /usr/src and
 /usr/ports via NFS to facilitate installworld and port upgrades.
 
 Can I make this work? Am I asking for trouble?
 
 Thanks,
 Jason

Hi Jason,

You might want to have a look at Tinderbox: http://tinderbox.marcuscom.com/

This tool helps you build packages in a controlled environment, based on
your specified src tree, ports tree and port options.  I believe you'll
need to install it on at least a 7.1-RELEASE system if you want to build
packages for that OS version.

I am currently working on a VMware virtual machine that's preinstalled
with 8.0-STABLE and Tinderbox so anyone can very easily build packages
for 6.3, 7.x and 8.0-STABLE.  If you're interested in having a look at
that, let me know and I'll tell you when it's ready.

Regards,
Greg
- --
Greg Larkin

http://www.FreeBSD.org/   - The Power To Serve
http://www.sourcehosting.net/ - Ready. Set. Code.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIt/LF0sRouByUApARAjAlAJwIGh4nenz4FWS7BZ3KQjQOeNmrRwCfat0C
k3eGPiolwHiiv7kBpehrmEI=
=zd6A
-END PGP SIGNATURE-

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world for a jail

2006-12-22 Thread Fred Condo


On Dec 20, 2006, at 10:37 AM, Robin Becker wrote:

I'm trying to make world for a jail build following the recipe in  
http://www.onlamp.com/pub/a/bsd/2003/09/04/jails.html


First off I started by updating the src tree. I copied /usr/share/ 
examples/cvsup/stable-supfile edited the host name


then I ran

SERVER=`fastest_cvsup -q -c ca,us`
cvsup -L2 -h $SERVER /root/bin/stable-supfile

that seemd fine and stuff appeared in /usr/src as expected.

mkdir /usr/jails
mkdir /usr/jails/mailserver
cd /usr/src
make world DESTDIR=/usr/jails/mailserver


Now I get an error building sendmail

chmod 444 freebsd.cf
rm -f freebsd.submit.cf
m4 -D_CF_DIR_=/usr/src/etc/sendmail/../../contrib/sendmail/cf/ /usr/ 
src/etc/sendmail/../../contrib/sendmail/cf/m4/cf.m4 /usr/src/etc/ 
sendmail/freebsd.submit.mc  freebsd.submit.cf

chmod 444 freebsd.submit.cf
ERROR: Required audit group is missing, see /usr/src/UPDATING.
*** Error code 1

I'm not sure what this means. I looked in UPDATING and see  
references to FreeBSD 6.1-RELEASE; so am I trying to build a 6.1  
kernel with my 6.0 system?


I'm guessing that

*default release=cvs tag=RELENG_6

should have been

*default release=cvs tag=RELENG_6_0

One other thing is that during the build I saw sub makes going on  
that had a different DESTDIR.


Eg
make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp par-all

how do I get things built into my desired location or is the make  
world eventually going to put them in the right place?


I'd suggest not using make world. Use make buildworld followed by  
make installworld. Here is my very terse set of notes on building a  
fat jail: http://phryd.vox.com/library/post/freebsd-jail-howto-in-a- 
nutshell.html


Note that my experience was with RELENG_6_1

--
fred

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world for a jail

2006-12-21 Thread Giorgos Keramidas
On 2006-12-20 18:37, Robin Becker [EMAIL PROTECTED] wrote:
 I'm trying to make world for a jail build following the recipe in 
 http://www.onlamp.com/pub/a/bsd/2003/09/04/jails.html
 
 First off I started by updating the src tree. I copied 
 /usr/share/examples/cvsup/stable-supfile edited the host name
 
 then I ran
 
 SERVER=`fastest_cvsup -q -c ca,us`
 cvsup -L2 -h $SERVER /root/bin/stable-supfile
 
 that seemd fine and stuff appeared in /usr/src as expected.
 
 mkdir /usr/jails
 mkdir /usr/jails/mailserver
 cd /usr/src
 make world DESTDIR=/usr/jails/mailserver

That's not going to work, unless you have already run at least *once*
the commands:

# cd /usr/src
# make DESTDIR=/usr/jails/mailserver distribution

before running the installworld stage of make world.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world for a jail

2006-12-21 Thread Robin Becker

..
I fixed up my /usr/src tree to be latest RELENG_6_0 in line with my 
machine and ran


cd /usr/src
make world DESTDIR=/usr/jails/mailserver

however, this seems to produce a lot of stuff in /usr/obj (the normal 
make world destination). Eventually the make fails with this message


##
make: don't know how to make /usr/jails/mailserver/usr/lib/libc.a. Stop
*** Error code 2

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
##

In line with my earlier observation that the sub makes were being called 
 like this


make -f Makefile.inc1 DESTDIR=/usr/obj/usr/src/tmp par-all

is there some magic that's required to make world into a specified DESTDIR?
--
Robin Becker
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world fails..how to troubleshoot?

2005-03-01 Thread Lowell Gilbert
J.D. Bronson [EMAIL PROTECTED] writes:

 I am running:
 FreeBSD 5.3-STABLE-SNAP001 FreeBSD 5.3-STABLE-SNAP001 #0: Sun Jan 30
 03:57:47 UTC 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386
 
 and I cvs'd up using:
 *default release=cvs tag=RELENG_5
 
 (I first deleted /usr/src and then ran cvsup)
 
 Then following the normal way of building world, I went into
 /usr/src and issued:
 
 make buildworld
 
 After about 5-7mins I see this:
 
 building shared library libkrb5.so.7
 building static krb5 library
 ranlib libkrb5.a
 sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libkrb5.a
 /usr/obj/usr/src/i386/usr/lib
 sh /usr/src/tools/install.sh -s -o root -g wheel -m 444
 libkrb5.so.7 /usr/obj/usr/src/i386/usr/lib
 sh /usr/src/tools/install.sh -C -o root -g wheel -m 444  heim_err.h
 k524_err.h
 /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/krb5-protos.h
 /usr/src/kerberos5/lib/libkrb5/../../include/krb5-types.h
 /usr/src/kerberos5/lib/libkrb5/../../../crypto/heimdal/lib/krb5/krb5.h
 krb5_err.h /usr/obj/usr/src/i386/usr/include
 ln -fs libkrb5.so.7 /usr/obj/usr/src/i386/usr/lib/libkrb5.so
 1 error
 *** Error code 2
 1 error
 *** Error code 2
 1 error
 *** Error code 2
 1 error
 #
 
 And then it stops. I did a full make world using the same gear
 Saturday and it worked fine...this is another new identical
 machine...but I cannot get world to build and this error means little
 to me..
 
 Anyone shed some lite on this?

Are you using a -j option in the build?  
If so, try it again without, so that the error will show more clearly.

Also, try another cvsup, in case you had hit a transient build problem
(there apparently was one over the weekend -- I seem to recall it
being in a different area, but I may be remembering incorrectly).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world fails..how to troubleshoot?

2005-03-01 Thread J.D. Bronson
At 08:49 AM 03/01/2005, Lowell Gilbert wrote:
J.D. Bronson [EMAIL PROTECTED] writes:
 I am running:
 FreeBSD 5.3-STABLE-SNAP001 FreeBSD 5.3-STABLE-SNAP001 #0: Sun Jan 30
 03:57:47 UTC 2005
 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  i386

 and I cvs'd up using:
 *default release=cvs tag=RELENG_5

 (I first deleted /usr/src and then ran cvsup)

 Then following the normal way of building world, I went into
 /usr/src and issued:

 make buildworld

 After about 5-7mins I see this:

 building shared library libkrb5.so.7
 building static krb5 library
 ranlib libkrb5.a
 sh /usr/src/tools/install.sh -C -o root -g wheel -m 444   libkrb5.a
 /usr/obj/usr/src/i386/usr/lib
 sh /usr/src/tools/install.sh -s -o root -g wheel -m 444
SNIP



 Anyone shed some lite on this?
Are you using a -j option in the build?
If so, try it again without, so that the error will show more clearly.
Also, try another cvsup, in case you had hit a transient build problem
(there apparently was one over the weekend -- I seem to recall it
being in a different area, but I may be remembering incorrectly).
Yes...I hit this bug...I was not using any -j in the build and still no 
clear errors...after someone else noticed this and cvs was updated..all is 
well

thanks-

--
J.D. Bronson
Aurora Health Care // Information Services // Milwaukee, WI USA
Office: 414.978.8282 // Email: [EMAIL PROTECTED] // Pager: 414.314.8282
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world: HOW CLEAN IS IT?

2005-02-12 Thread Chris
Fafa Diliha Romanova wrote:
hello
when i rebuild my system to stay up to date,
does it leave behind many obsolete files to clog up
my pure system?
i am *VERY* conscious on cleanliness;
does freebsd keep track of absolutely EVERY file
it creates?
also, do you guys have any tips/tricks on how to do
system cleanup chores? like scripts, commands etc.?
The best clean-up scripts are the ones you create yourself to do exactly 
what you want it to do. In any event, peruse /etc/periodic.

--
Best regards,
Chris
Old age is always fifteen years older than I am.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world: HOW CLEAN IS IT?

2005-02-12 Thread Erik Trulsson
On Sat, Feb 12, 2005 at 06:50:06AM -0500, Fafa Diliha Romanova wrote:
 hello
 
 when i rebuild my system to stay up to date,
 does it leave behind many obsolete files to clog up
 my pure system?

No, not normally.  Obsolete files are not removed by the normal
updating process, but there are normally very few (if any) such files.

 
 i am *VERY* conscious on cleanliness;
 
 does freebsd keep track of absolutely EVERY file
 it creates?

Nope, it mostly doesn't keep track of them at all.



-- 
Insert your favourite quote here.
Erik Trulsson
[EMAIL PROTECTED]
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world: HOW CLEAN IS IT?

2005-02-12 Thread Fafa Diliha Romanova

but in my mail i asked: what to do?

- Original Message -
From: Chris [EMAIL PROTECTED]
To: Fafa Diliha Romanova [EMAIL PROTECTED]
Subject: Re: make world: HOW CLEAN IS IT?
Date: Sat, 12 Feb 2005 05:54:10 -0600

 
 Fafa Diliha Romanova wrote:
  hello
 
  when i rebuild my system to stay up to date,
  does it leave behind many obsolete files to clog up
  my pure system?
 
  i am *VERY* conscious on cleanliness;
 
  does freebsd keep track of absolutely EVERY file
  it creates?
 
  also, do you guys have any tips/tricks on how to do
  system cleanup chores? like scripts, commands etc.?
 
 The best clean-up scripts are the ones you create yourself to do 
 exactly what you want it to do. In any event, peruse /etc/periodic.
 
 
 -- Best regards,
 Chris
 
 Old age is always fifteen years older than I am.

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world: HOW CLEAN IS IT?

2005-02-12 Thread Fafa Diliha Romanova

hey;

  i am *VERY* conscious on cleanliness;
 
  does freebsd keep track of absolutely EVERY file
  it creates?
 
 Nope, it mostly doesn't keep track of them at all.

that's *VERY* bad.

FUTURE FEATURE? ultimate control.

YES! YESS! YESSS!

Thanks,
fafa

-- 
___
Sign-up for Ads Free at Mail.com
http://promo.mail.com/adsfreejump.htm

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world: HOW CLEAN IS IT?

2005-02-12 Thread Colin J. Raven
On Feb 12 at 06:50, Fafa Diliha Romanova launched this into the bitstream:
when i rebuild my system to stay up to date,
does it leave behind many obsolete files to clog up
my pure system?
i am *VERY* conscious on cleanliness;
does freebsd keep track of absolutely EVERY file
it creates?
also, do you guys have any tips/tricks on how to do
system cleanup chores? like scripts, commands etc.?
A resource you may find to be helpful is: 
http://www.onlamp.com/pub/ct/13
Look for several articles on ports. There are - IIRC - three articles 
there which demystify the ports collection as well as some really great 
tips 'n tricks.

Also the FreeBSD handbook is helpful when read *in conjunction* with the 
OnLamp articles:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports.html

Regards  HTH,
-Colin
--
Colin J. Raven
FreeBSD 5.3-RELEASE - http://www.FreeBSD.org - There can be only One
Sat Feb 12 13:14:00 CET 2005
1:14PM  up 18:29, 6 users, load averages: 0.87, 0.98, 0.88
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world DESTDIR=/foo does not work under 5.3-RELEASE on i386 or amd64

2004-11-17 Thread Chad Leigh -- Shire.Net LLC
On Nov 8, 2004, at 3:52 PM, Giorgos Keramidas wrote:
On 2004-11-08 15:08, Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] 
wrote:
On Nov 8, 2004, at 10:11 AM, Giorgos Keramidas wrote:
I haven't tried make world in a long time, but I recently 
installed a
clean snapshot of CURRENT using a slightly different approach:

# cd /usr/src
# make buildworld buildkernel
# make DESTDIR=/mnt installkernel installworld
Unfortunately, I still get an error.  A different one.  I can do it
without DESTDIR= and update my actual system, but to make a jail,
which requires DESTDIR, I get this error (when splitting up buildworld
and installworld DESTDIR=)
Ah, sorry about that.  My fault for not mentioning all the details.
I did use the above sequence of commands, but only after recreating the
entire directory structure with mtree(8), i.e.:
# cd /mnt
# mtree -deU -f /etc/mtree/BSD.root.dist
# mtree -deU -f /etc/mtree/BSD.sendmail.dist
# cd /mnt/var
# mtree -deU -f /etc/mtree/BSD.var.dist
# cd /mnt/usr
# mtree -deU -f /etc/mtree/BSD.usr.dist
# cd /mnt/usr/include
# mtree -deU -f /etc/mtree/BSD.include.dist
# cd /mnt/usr/local
# mtree -deU -f /etc/mtree/BSD.local.dist
The error you see below is probably a result of the failure to locate a
${DESTDIR}/usr/include/bluetooth directory.
Hi.  I did go about trying this today.  However, after doing the above, 
I still get the same error as listed below.

best
Chad

hostname# make buildworld
[--- stuff ---]
hostname# make installworld DESTDIR=/local/jails/master
[--- stuff ---]
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444
ufs/ffs/*.h  /local/jails/master/usr/include/ufs/ffs
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444
ufs/ufs/*.h  /local/jails/master/usr/include/ufs/ufs
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444
netgraph/bluetooth/include/*.h
/local/jails/master/usr/include/netgraph/bluetooth/include
install:
/local/jails/master/usr/include/netgraph/bluetooth/include/
ng_bluetooth.h: No such file or directory
*** Error code 71

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world DESTDIR=/foo does not work under 5.3-RELEASE on i386 or amd64

2004-11-09 Thread Giorgos Keramidas
On 2004-11-08 15:08, Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote:
 On Nov 8, 2004, at 10:11 AM, Giorgos Keramidas wrote:
 I haven't tried make world in a long time, but I recently installed a
 clean snapshot of CURRENT using a slightly different approach:
 
  # cd /usr/src
  # make buildworld buildkernel
  # make DESTDIR=/mnt installkernel installworld

 Unfortunately, I still get an error.  A different one.  I can do it
 without DESTDIR= and update my actual system, but to make a jail,
 which requires DESTDIR, I get this error (when splitting up buildworld
 and installworld DESTDIR=)

Ah, sorry about that.  My fault for not mentioning all the details.

I did use the above sequence of commands, but only after recreating the
entire directory structure with mtree(8), i.e.:

# cd /mnt
# mtree -deU -f /etc/mtree/BSD.root.dist
# mtree -deU -f /etc/mtree/BSD.sendmail.dist
# cd /mnt/var
# mtree -deU -f /etc/mtree/BSD.var.dist
# cd /mnt/usr
# mtree -deU -f /etc/mtree/BSD.usr.dist
# cd /mnt/usr/include
# mtree -deU -f /etc/mtree/BSD.include.dist
# cd /mnt/usr/local
# mtree -deU -f /etc/mtree/BSD.local.dist

The error you see below is probably a result of the failure to locate a
${DESTDIR}/usr/include/bluetooth directory.

 hostname# make buildworld
 [--- stuff ---]
 hostname# make installworld DESTDIR=/local/jails/master
 [--- stuff ---]
 cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444
 ufs/ffs/*.h  /local/jails/master/usr/include/ufs/ffs
 cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444
 ufs/ufs/*.h  /local/jails/master/usr/include/ufs/ufs
 cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444
 netgraph/bluetooth/include/*.h
 /local/jails/master/usr/include/netgraph/bluetooth/include
 install:
 /local/jails/master/usr/include/netgraph/bluetooth/include/
 ng_bluetooth.h: No such file or directory
 *** Error code 71

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world DESTDIR=/foo does not work under 5.3-RELEASE on i386 or amd64

2004-11-08 Thread Giorgos Keramidas
On 2004-11-08 09:59, Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] wrote:
 make world DESTDIR=/foo
 or
 make buildworld DESTDIR=/foo

 does not work on either my i386 or amd64 systems after a cvsup to
 5.3-RELEASE and native build.  If you leave off the DESTDIR and build
 for the running machine, it works fine.  And the DESTDIR worked fine
 under beta7 (and possibly under RC1)

I haven't tried make world in a long time, but I recently installed a
clean snapshot of CURRENT using a slightly different approach:

# cd /usr/src
# make buildworld buildkernel
# make DESTDIR=/mnt installkernel installworld

HTH,

Giorgos

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world DESTDIR=/foo does not work under 5.3-RELEASE on i386 or amd64

2004-11-08 Thread Chad Leigh -- Shire.Net LLC
Hi
On Nov 8, 2004, at 10:11 AM, Giorgos Keramidas wrote:
On 2004-11-08 09:59, Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED] 
wrote:
make world DESTDIR=/foo
or
make buildworld DESTDIR=/foo
does not work on either my i386 or amd64 systems after a cvsup to
5.3-RELEASE and native build.  If you leave off the DESTDIR and build
for the running machine, it works fine.  And the DESTDIR worked fine
under beta7 (and possibly under RC1)
I haven't tried make world in a long time, but I recently installed a
clean snapshot of CURRENT using a slightly different approach:
# cd /usr/src
# make buildworld buildkernel
# make DESTDIR=/mnt installkernel installworld
I guess I will try this... Thanks.
make buildworld DESTDIR= shows the same problem btw.  This is for 
creating the jail system...

Thanks
Chad

HTH,
Giorgos
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world DESTDIR=/foo does not work under 5.3-RELEASE on i386 or amd64

2004-11-08 Thread Chad Leigh -- Shire.Net LLC
On Nov 8, 2004, at 10:11 AM, Giorgos Keramidas wrote:
On 2004-11-08 09:59, Chad Leigh -- Shire.Net LLC [EMAIL PROTECTED]  
wrote:
make world DESTDIR=/foo
or
make buildworld DESTDIR=/foo
does not work on either my i386 or amd64 systems after a cvsup to
5.3-RELEASE and native build.  If you leave off the DESTDIR and build
for the running machine, it works fine.  And the DESTDIR worked fine
under beta7 (and possibly under RC1)
I haven't tried make world in a long time, but I recently installed a
clean snapshot of CURRENT using a slightly different approach:
# cd /usr/src
# make buildworld buildkernel
# make DESTDIR=/mnt installkernel installworld
Unfortunately, I still get an error.  A different one.  I can do it  
without DESTDIR= and update my actual system, but to make a jail, which  
requires DESTDIR, I get this error (when splitting up buildworld and  
installworld DESTDIR=)

hostname# make buildworld
.
. stuff
.
hostname# make installworld DESTDIR=/local/jails/master
.
. stuff
.
.
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444  
ufs/ffs/*.h  /local/jails/master/usr/include/ufs/ffs
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444  
ufs/ufs/*.h  /local/jails/master/usr/include/ufs/ufs
cd /usr/src/include/../sys;  install -C -o root -g wheel -m 444  
netgraph/bluetooth/include/*.h   
/local/jails/master/usr/include/netgraph/bluetooth/include
install:  
/local/jails/master/usr/include/netgraph/bluetooth/include/ 
ng_bluetooth.h: No such file or directory
*** Error code 71

Stop in /usr/src/include.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
hostname#
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world again?

2004-09-22 Thread Omer Faruk Sen
I have found my own answer..
first buildworld
then 

make installworld DESTDIR=$JAIL1
make installworld DESTDIR=$JAIL2 

Omer Faruk Sen writes: 

Hi,  

I have searched Makefiles in /usr/src but couldn't able to find a solution 
for my problem. How can I install (e.g. for a jail system) 2 different 
world to different directories without compiling in the second world?  

What I want to do is this:  

make world DESTDIR=/var/jail/1
make world DESTDIR=/var/jail/2  (This jail must be installed without 
compiling everything since it takes time)  

REGARDS.  

---
Omer Faruk Sen
http://www.EnderUNIX.ORG
Software Development Team @ Turkey
http://www.Faruk.NET
For Public key: http://www.enderunix.org/ofsen/ofsen.asc
  

First Turkish FreeBSD book is out! Go check it.
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php  

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

---
Omer Faruk Sen
http://www.EnderUNIX.ORG
Software Development Team @ Turkey
http://www.Faruk.NET
For Public key: http://www.enderunix.org/ofsen/ofsen.asc
 

First Turkish FreeBSD book is out! Go check it.
Duydunuz mu! Turkiye'nin ilk FreeBSD kitabi cikti.
http://www.acikkod.com/freebsd.php 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world problem

2004-06-18 Thread Kris Kennaway
On Sat, Jun 19, 2004 at 12:45:13PM +0800, John Lee wrote:
 Dear All,
 
 I installed a clean 4.10-RC2 and CVSUP to the latest,
 while makeing world, I encountered this error
 and tried a few times but same error. Please advise.
 I'm using a P4 2.8Ghz 1U server system.

 === usr.bin/yacc
 cd: can't cd to /usr/src/usr.bin/yacc

Well, does that directory exist?  If not, you don't have a complete
source tree, so you should check your cvsupfile against the samples,
or post it here if you need further help.

Kris


pgpkcckDXgYk2.pgp
Description: PGP signature


RE: make world : did it fail?

2004-05-11 Thread Dan MacMillan
Hi.

I'd still like to hear from anyone with insight into this (whether an actual
problem occurred or not), but here's what I've decided to do:

I know from the script output that the buildworld and buildkernel succeeded.
The only step that is suspect is the installkernel.  So:

In case something did screw up, I want to make sure I still have the known
good kernel available:

rm -rf /boot/kernel
mv /boot/kernel.old /boot/kernel

Then I booted into single-user mode and ran:

uname -a

It reported the unpatched kernel (good).  So:

cd /usr/src
script /root/mw/mw-200405111844.out
make installkernel KERNCONF=GOLLUM

This time I sat around and waited for it to finish.  Finally, it did, with
no errors or other suspect output.  Satisfied, I rebooted.  No problems, so
back into single-user-mode to installworld:

cd /usr/src
script /root/mw/mw-200405111852.out
make installworld  echo sleeping now  sleep 600  reboot

I would have waited around for this to complete but I wanted to go home.  I
reasoned that 10 minutes should surely be enough for script to flush output
to disk (man 1 script says it flushes, by default, every 30 seconds).  By
rebooting I would then be able to continue setting up the server through an
SSH session from home (I established and tested SSH settings on the company
firewall before beginning the make world).  Sure enough, I just logged in
and:

 tail mw-200405111852.out
=== etc/sendmail

--
 Rebuilding man page indices
--
cd /usr/src/share/man; make makedb
makewhatis /usr/share/man
makewhatis /usr/share/openssl/man
rm -rf /tmp/install.8m808LpI
sleeping now


So it looks like everything's good.

Is there any flaw in my reasoning?  In particular, even though it appeared
to work, is it a bad idea to delete the active kernel?  I've done it before
and I haven't had any problems, but I always feel like I'm playing Russian
Roulette when I do it.

-Dan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Dan MacMillan
Sent: May 11, 2004 18:11
To: [EMAIL PROTECTED]
Subject: make world : did it fail?


Hi.

I just ran the make world procedure on a freshly installed FreeBSD system.
After dropping to single user mode, I ran:

cd /usr/src
script /root/mw/mw-200405111310.out
make buildworld  make buildkernel KERNCONF=GOLLUM  make installkernel
KERNCONF=GOLLUM  reboot

I do things this way because I don't want to babysit the machine waiting to
proceed to the next step.  When I heard the computer reboot (it's sitting
right next to me), I logged in and ran:

tail /root/mw.out

To see if anything untoward had happened.  The result looks like this:

 tail /root/mw/mw-200405111310.out
install -o root -g wheel -m 555   safe.ko /boot/kernel
=== sbni
install -o root -g wheel -m 555   if_sbni.ko /boot/kernel
=== scsi_low
install -o root -g wheel -m 555   scsi_low.ko /boot/kernel
=== smbfs
install -o root -g wheel -m 555   smbfs.ko /boot/kernel
=== sound
=== sound/pcm
install -o root -g wheel -m 555   snd_

Doesn't look so good, does it?  Now I'm not sure if it rebooted because of
the ' reboot' or because it ran into some terrible no good awful bad
problem.  I checked the timestamps on all the files in /boot/kernel and they
all look good (all .ko files dated today within 1 minute of each other, the
kernel a few minutes older).  The number of files in /boot/kernel matches
the number in /boot/kernel.old.  I ran (from my home directory):

ls /boot/kernel  kernel
ls /boot/kernel.old  kernel.old
diff kernel kernel.old

And there are no differences.

uname -a now reports 5.2.1-RELEASE-p6.

I'm thinking that probably what happened is that the machine rebooted
without the remaining script output being flushed to disk.  Is there any way
to tell for sure?  And should this even be possible?  I've followed this
technique on my home machines several times and never got the script output
truncated like this.

I'm now cursing myself for putting the  reboot on there.  I can re-run the
make world procedure, but unless I figure out for sure what happened here
I'm afraid it's indicative of a more significant problem.

Thanks in advance.

--
Danny MacMillan


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world question on remote dedicated server

2004-03-02 Thread Kevin D. Kinsey, DaleCo, S.P.
Mark Sams wrote:

Hi,

I am thinking of getting a FreeBSD dedicated server
that I will only have ssh access to.  What is the
normal procedure of keeping up to date with kernel
changes when you do not have console access? 

Is it possible to drop into single user mode remotely?
 

No.  At least, not from very far away, not
with only one box.
Or is single user mode not necessary for make
installkernel and the like? Does:
buildworld / buildkernel / installkernel
reboot then 
installworld / mergemaster 

work while connected through ssh?

 

Yes.  Quid pro quo ... this is more dangerous
if the server is relatively highly trafficked.  Also,
if the kernel won't boot, you're up a creek.
Hasn't happened to me ever, though.  Now, there
was that time when I forgot to tell BIOS to ignore
the fact that no keyboard was attached . :-)
Thank you in advance.

Mark
 

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world question on remote dedicated server

2004-03-02 Thread Matthew Seaman
On Wed, Mar 03, 2004 at 05:46:54PM +1100, Mark Sams wrote:

 I am thinking of getting a FreeBSD dedicated server
 that I will only have ssh access to.  What is the
 normal procedure of keeping up to date with kernel
 changes when you do not have console access? 

The usual procedure is to get console access.  The cheapest and
easiest way of doing that is to use a null-modem cable to connect the
serial port to a neighbouring machine and run tip(1) or some other
terminal emulator there.  If you haven't got another machine handy,
you might be able to use a modem to provide yourself with a remote
console -- shades of the days of big-iron mainframe type systems.
 
 Is it possible to drop into single user mode remotely?
 Or is single user mode not necessary for make
 installkernel and the like? Does:

Getting into single user mode remotely is easy.  It's the getting out
that's hard.
 
 buildworld / buildkernel / installkernel
 reboot then 
 installworld / mergemaster 

If you're going to do this at all, it's probably better to save the
reboot until after all of the installworld/installkernel/mergemaster
steps.
 
 work while connected through ssh?

You certainly can do this, and the vast majority of the time it will
work OK.  However, if things don't go smoothly you're going to be left
up a gum tree with a non-working server and no way to recover or
back-out changes.  Whether that's an acceptable risk is a judgement
call you'll have to make.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: make world

2004-02-25 Thread Jonathan Chen
On Wed, Feb 25, 2004 at 02:16:45AM -0700, RYAN vAN GINNEKEN wrote:

[...]
 when i try to ping google.ca i get
 cannot resolve google.ca  :host name lookup failure
 
 doing an ifconfig i get no inet or subnet just the active status
 
 my firewall stuff in dmesg looks like this
 
 IP packet filtering initialized, divert enabled, rule-based forwarding 
 enabled, default to deny, logging limited to 100 packets/entry by default
 
 seems like a firewall problem not getting anything unusual in my 
 /var/log/messages

What's the contents of /etc/resolv.conf? Have you got named running?
What's the output of ipfw show? You haven't given us enough
information to help us help you.
-- 
Jonathan Chen [EMAIL PROTECTED]

We laugh in the face of danger, we drop icecubes down the vest of fear
 - Edmond Blackadder III
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world

2004-02-25 Thread Peter Risdon
On Wed, Feb 25, 2004 at 02:16:45AM -0700, RYAN vAN GINNEKEN wrote:

[...]
 

when i try to ping google.ca i get
cannot resolve google.ca  :host name lookup failure
   

Can you ping a numeric ip address on the internet? If you can, it's a 
nameserver (/etc/resolv.conf) issue. If not, it's a networking problem.

doing an ifconfig i get no inet or subnet just the active status
   

I'm not aware how you could network without an ip address and subnet 
mask. What's the exact output of ifconfig? What is your /etc/rc.conf? 
Specifically, what lines are there of the form:

ifconfig_[interface name]=inet [ip address] netmask [subnet mask]

and

defaultrouter=[router address]

Have you tried using ifconfig to give an ip address to your interface(s)?

PWR

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world

2004-02-25 Thread Peter Risdon
RYAN vAN GINNEKEN wrote:

when i ping i get no route to host

OK...

the ifconfig does not give me any ipadresses that is what puzzles me.

Me too. Until you have an interface address, the firewall is surely 
irrelevant.

I gather you're using dhcp.

The rc.conf stuff is ok too,

So what dmesg output is generated when the dhcp client invoked by your 
entry in rc.conf tries to obtain a lease at boot time?

PWR.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world

2004-02-25 Thread Ruben de Groot
On Wed, Feb 25, 2004 at 11:24:27AM +, Peter Risdon typed:
 
 So what dmesg output is generated when the dhcp client invoked by your 
 entry in rc.conf tries to obtain a lease at boot time?
 
The dhcp client will never get an IP address. He has deny all as only 
rule in his firewall. 

 PWR.
 
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world

2004-02-25 Thread Peter Risdon
Ruben de Groot wrote:

On Wed, Feb 25, 2004 at 11:24:27AM +, Peter Risdon typed:
 

So what dmesg output is generated when the dhcp client invoked by your 
entry in rc.conf tries to obtain a lease at boot time?
   

The dhcp client will never get an IP address. He has deny all as only 
rule in his firewall. 
 

True... brain-dead this morning. Sorry to waste bandwidth.

PWR.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make world problems from 4.9 to 5.1

2003-11-29 Thread Aaron Myles Landwehr
What exactly does make world do?...i know sometimes i accidently type it
instead of buildworld
 On Nov 26, 2003, at 8:25 PM, Lowell Gilbert wrote:
 make world?  Really?  You don't mean make buildworld?
 I guess the world target really does need to be removed.

 Yes.  Or fixed to do something more reasonable...?

 --- Makefile~   Sat Nov 29 00:02:13 2003
 +++ MakefileSat Nov 29 00:18:07 2003
 @@ -143,6 +143,13 @@
  @cd ${.CURDIR}; ${MAKE} pre-world
   .endif
  @cd ${.CURDIR}; ${MAKE} buildworld
 +   @cd ${.CURDIR}; ${MAKE} buildkernel
 +   @echo
 --
 +   @echo  About to run mergemaster  'make install*' targets
 +   @echo
 --
 +   @echo 
 +   @/usr/src/usr.sbin/mergemaster/mergemaster.sh -p
 +   @cd ${.CURDIR}; ${MAKE} -B installkernel
  @cd ${.CURDIR}; ${MAKE} -B installworld
   .if target(post-world)
  @echo


 --
 -Chuck

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make world problems from 4.9 to 5.1

2003-11-29 Thread Lee Mx



From: Aaron Myles Landwehr [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: Charles Swiger [EMAIL PROTECTED]
CC: [EMAIL PROTECTED]
Subject: Re: Make world problems from 4.9 to 5.1
Date: Sat, 29 Nov 2003 05:04:40 - (GMT)
What exactly does make world do?...i know sometimes i accidently type it
instead of buildworld
It will do both the make buildworld and the make installworld without the 
break in between that is
often/sometimes needed as in the  recient Current upgrade.

hope this helps.


 On Nov 26, 2003, at 8:25 PM, Lowell Gilbert wrote:
 make world?  Really?  You don't mean make buildworld?
 I guess the world target really does need to be removed.

 Yes.  Or fixed to do something more reasonable...?

 --- Makefile~   Sat Nov 29 00:02:13 2003
 +++ MakefileSat Nov 29 00:18:07 2003
 @@ -143,6 +143,13 @@
  @cd ${.CURDIR}; ${MAKE} pre-world
   .endif
  @cd ${.CURDIR}; ${MAKE} buildworld
 +   @cd ${.CURDIR}; ${MAKE} buildkernel
 +   @echo
 --
 +   @echo  About to run mergemaster  'make install*' targets
 +   @echo
 --
 +   @echo 
 +   @/usr/src/usr.sbin/mergemaster/mergemaster.sh -p
 +   @cd ${.CURDIR}; ${MAKE} -B installkernel
  @cd ${.CURDIR}; ${MAKE} -B installworld
   .if target(post-world)
  @echo


 --
 -Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]
_
From the hottest toys to tips on keeping fit this winter, you’ll find a 
range of helpful holiday info here.  
http://special.msn.com/network/happyholidays.armx

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make world problems from 4.9 to 5.1

2003-11-29 Thread Aaron Myles Landwehr
Is that the reason why make installworld produces errors sometimes
during its execution in 5.1. And afterwards many commands coredump.
Needless to say requiring a complete reinstall.
should I do make world in such cases instead of make buildworld 
make installworld?
-thanx
-aaron[EMAIL PROTECTED]




What exactly does make world do?...i know sometimes i accidently type
 it
instead of buildworld

 It will do both the make buildworld and the make installworld without the
 break in between that is
 often/sometimes needed as in the  recient Current upgrade.

 hope this helps.


  On Nov 26, 2003, at 8:25 PM, Lowell Gilbert wrote:
  make world?  Really?  You don't mean make buildworld?
  I guess the world target really does need to be removed.
 
  Yes.  Or fixed to do something more reasonable...?
 
  --- Makefile~   Sat Nov 29 00:02:13 2003
  +++ MakefileSat Nov 29 00:18:07 2003
  @@ -143,6 +143,13 @@
   @cd ${.CURDIR}; ${MAKE} pre-world
.endif
   @cd ${.CURDIR}; ${MAKE} buildworld
  +   @cd ${.CURDIR}; ${MAKE} buildkernel
  +   @echo
  --
  +   @echo  About to run mergemaster  'make install*' targets
  +   @echo
  --
  +   @echo 
  +   @/usr/src/usr.sbin/mergemaster/mergemaster.sh -p
  +   @cd ${.CURDIR}; ${MAKE} -B installkernel
   @cd ${.CURDIR}; ${MAKE} -B installworld
.if target(post-world)
   @echo
 
 
  --
  -Chuck


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make world problems from 4.9 to 5.1

2003-11-28 Thread Charles Swiger
On Nov 26, 2003, at 8:25 PM, Lowell Gilbert wrote:
make world?  Really?  You don't mean make buildworld?
I guess the world target really does need to be removed.
Yes.  Or fixed to do something more reasonable...?

--- Makefile~   Sat Nov 29 00:02:13 2003
+++ MakefileSat Nov 29 00:18:07 2003
@@ -143,6 +143,13 @@
@cd ${.CURDIR}; ${MAKE} pre-world
 .endif
@cd ${.CURDIR}; ${MAKE} buildworld
+   @cd ${.CURDIR}; ${MAKE} buildkernel
+   @echo 
--
+   @echo  About to run mergemaster  'make install*' targets
+   @echo 
--
+   @echo 
+   @/usr/src/usr.sbin/mergemaster/mergemaster.sh -p
+   @cd ${.CURDIR}; ${MAKE} -B installkernel
@cd ${.CURDIR}; ${MAKE} -B installworld
 .if target(post-world)
@echo

--
-Chuck
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make world problems from 4.9 to 5.1

2003-11-27 Thread Kent Stewart
On Wednesday 26 November 2003 07:33 pm, Eric Crist wrote:
 Ok,

 Read through that.  Now I'm getting the following after running the make
 buildworld:

 [[snip]]
 cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DPTHREAD_KERNEL
 -I/usr/src/lib/libpthread/../libc/include
 -I/usr/src/lib/libpthread/thread
 -I/usr/src/lib/libpthread/../../include
 -I/usr/src/lib/libpthread/arch/i386/include
 -I/usr/src/lib/libpthread/sys
 -I/usr/src/lib/libpthread/../../libexec/rtld-elf -fno-builtin
 -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS -Wall
 -I/usr/src/lib/libpthread/../libc/i386 -I/usr/src/lib/libpthread/thread
 -c /usr/src/lib/libpthread/arch/i386/i386/thr_switch.S  -o thr_switch.So
 cc -fpic -DPIC -O -pipe -mcpu=pentiumpro -DPTHREAD_KERNEL
 -I/usr/src/lib/libpthread/../libc/include
 -I/usr/src/lib/libpthread/thread
 -I/usr/src/lib/libpthread/../../include
 -I/usr/src/lib/libpthread/arch/i386/include
 -I/usr/src/lib/libpthread/sys
 -I/usr/src/lib/libpthread/../../libexec/rtld-elf -fno-builtin
 -D_LOCK_DEBUG -D_PTHREADS_INVARIANTS -Wall  -c
 /usr/src/lib/libpthread/sys/lock.c -o lock.So
 building shared library libkse.so.1
 *** Error code 1

 Stop in /usr/src/lib/libpthread.

The one fix I found in the archives is what I was talking about but couldn't 
find in UPDATING. It involved

make NOLIBPTHREAD=true buildworld
...
make NOLIBPTHREAD=true installworld

and then redoing everything with out the NOLIBPTHREAD. According to the 
comments, it was supposed to be fixed in -current but was not added to 
RELENG_5_1 because it wasn't a security problem. I would search on the 
variable and see if you find the message(s) and a patch. I thought it was by 
Ruslan but that didn't produce anything in a search. I've run out of search 
engine choices.

FWIW, there are a few people that have bumped into it. ANy messages from them 
have been expired and deleted for a long time.

Kent
 *** Error code 1

 Stop in /usr/src/lib.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.
 *** Error code 1

 Stop in /usr/src.

 [[end snip]]

 Please help.

 TIA

 Eric F Crist
 AdTech Integrated Systems, Inc
 (952) 403-9000

 -Original Message-
 From: Kent Stewart [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, November 26, 2003 8:02 PM
 To: Eric Crist
 Subject: Re: Make world problems from 4.9 to 5.1

 On Wednesday 26 November 2003 05:45 pm, you wrote:
  Are you referring to the:
 
  To get around the installworld problem, do:
  #cd /usr/src/usr.bin/sed
  #make install
  #cd /usr/src
  #make installworld
  If that doesn't work, then try:
  # make -k installworld
  # make installworld

 There is a sequence that starts

 To upgrade in-place from 4.x-stable to current
 --
 # 5.x uses more space than 4.x.  Also, the location of kernel
 # modules has changed.  If you are installing 5.0 onto a 4.x
 # system, you'll need about 30MB of free disk space on your /
 # partition.  If you have less than this, you may encounter
 difficult
 # to back out of problems with this procedure.  If /tmp is on
 # the / partition, you may want to completely remove all its
 content
 # before upgrading, as this can be a common source of shortage
 of
 # space on /.

 But I remember having a sequence where you had to do a -d and that isn't
 there
 any more. BTW, when they changed statfs on 5-current not too long ago, a
 make
 world would have rendered your system unbootable.

 I have a machine that is running 4-stable and because of the increased
 usage,
 I will do a clean install. Coral has a / with around 60-80 MB used and
 5.x
 needs about 2x more and I have /var and /tmp as 1.5GB systems because I
 log
 everything from cvsup to make index and store the logs on
 /var/log/build. I
 have either /usr/src or /usr/obj 49% used on 1.5GB partitions. I suspect
 it
 is /usr/obj but it is running XP right now. I like more freespace and
 will
 have a 500MB /. I have /usr/src and /usr/obj on different controllers
 (IDE)
 so that I have concurrent I/O. If you use scsi, it doesn't matter as
 much.

 Kent

  Eric F Crist
  AdTech Integrated Systems, Inc
  (952) 403-9000
 
  -Original Message-
  From: Kent Stewart [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, November 26, 2003 7:24 PM
  To: Eric Crist
  Subject: Re: Make world problems from 4.9 to 5.1
 
  On Wednesday 26 November 2003 04:44 pm, Eric Crist wrote:
   Hey all,
  
   I've got a Compaq Presario laptop with everything working great,
   except my wifi card.  I've decided that I've been using 5.1 for a
   long
  
   time on my desktop without issue, so I want to upgrade my laptop.  I
  
   can cvsup the sources fine, but when I enter into /usr/src and type
   make world, I get an error about checking the kernel to see if it's
   fresh enough and it dumps the core and exits.  Is anyone else having
  
   this problem?  I have

Re: Make world problems from 4.9 to 5.1

2003-11-26 Thread Lowell Gilbert
Eric Crist [EMAIL PROTECTED] writes:

 I've got a Compaq Presario laptop with everything working great, except
 my wifi card.  I've decided that I've been using 5.1 for a long time on
 my desktop without issue, so I want to upgrade my laptop.  I can cvsup
 the sources fine, but when I enter into /usr/src and type make world, I
 get an error about checking the kernel to see if it's fresh enough and
 it dumps the core and exits.  Is anyone else having this problem?  I
 have tried doing a cd /usr/src; rm -rf * to delete everything in the
 /usr/src directory and rm -rf the /usr/obj directory.  This has always
 worked for me in the past.
 
 Any enlightenment would be appreciated, even a point to the correct FM.

make world?  Really?  You don't mean make buildworld?
I guess the world target really does need to be removed.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
and also see /usr/src/UPDATING
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


RE: Make world problems from 4.9 to 5.1

2003-11-26 Thread Minnesota Slinky
Yeah, the make world.  I've been doing this since 3.4.  Even on my
5.1-current desktop system, and I've never had any problems.  

In lieu of your email, though, I'm trying the make buildworld, make
kernel, make installkernel, and make installworld.

Eric F Crist
AdTech Integrated Systems, Inc
(952) 403-9000 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Lowell Gilbert
Sent: Wednesday, November 26, 2003 7:26 PM
To: Eric Crist
Cc: [EMAIL PROTECTED]
Subject: Re: Make world problems from 4.9 to 5.1


Eric Crist [EMAIL PROTECTED] writes:

 I've got a Compaq Presario laptop with everything working great, 
 except my wifi card.  I've decided that I've been using 5.1 for a long

 time on my desktop without issue, so I want to upgrade my laptop.  I 
 can cvsup the sources fine, but when I enter into /usr/src and type 
 make world, I get an error about checking the kernel to see if it's 
 fresh enough and it dumps the core and exits.  Is anyone else having 
 this problem?  I have tried doing a cd /usr/src; rm -rf * to delete 
 everything in the /usr/src directory and rm -rf the /usr/obj 
 directory.  This has always worked for me in the past.
 
 Any enlightenment would be appreciated, even a point to the correct 
 FM.

make world?  Really?  You don't mean make buildworld?
I guess the world target really does need to be removed.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html
and also see /usr/src/UPDATING
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to
[EMAIL PROTECTED]


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make World and Sound Help

2003-10-07 Thread Kris Kennaway
On Tue, Oct 07, 2003 at 09:34:32AM -0400, rodrique heron wrote:

 I have been trying to update my system using make world for the last
 5 days and I am getting no where. All my searches for an answer
 comes up short.

You seem to be using FreeBSD-CURRENT, when you probably shouldn't be -
in general if you want to run -CURRENT you're expected to read the cvs
commit logs, and the freebsd-current mailing list, and to deal with
this kind of problem yourself when it occurs.

Please see the example cvsupfiles and read the FreeBSD Handbook
section on how to track -STABLE or a release branch instead.

Kris


pgp0.pgp
Description: PGP signature


Re: make world error

2003-10-06 Thread Kris Kennaway
On Mon, Oct 06, 2003 at 11:37:47AM -0500, [EMAIL PROTECTED] wrote:

 I waited a day did a new cvsup, thinking it was a new code errror,  but I get the 
 same 
 msg.
 
 Any ideas??

FAQ (every few days).  See the archives and handbook for extensive discussion.

Kris

pgp0.pgp
Description: PGP signature


Re: make world error

2003-10-06 Thread jason
Sometimes it hard to find the cause, but most problems I have had have 
been with the make.conf file.  Keep relaxing the settings in it(02-0 or 
no 0 at all, and remove extra stuff) until it works.  Or just subtistute 
the default in place of your regular make.conf and try a build.



[EMAIL PROTECTED] wrote:

On a make world on a 4.8 box, this is the error msg

=== gnu/usr.bin/cc/cccp
cc -O -pipe  -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\/usr/obj/usr/src/i386/usr\ 
-I/usr/obj/usr/src/i386/usr/src/gnu/usr.bin/cc/cccp/../cc_tools -
I/usr/src/gnu/usr.bin/cc/cccp/../cc_tools -
I/usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc -
I/usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc/config-D__FBSDID=__RCSID -c 
/usr/src/gnu/usr.bin/cc/cccp/../../../../contrib/gcc/cccp.c
{standard input}: cc: Assembler messages:
{standard input}:7083: Warning: end of file not at end of a line; newline inserted
Internal compiler error: program cc1 got fatal signal 11
*** Error code 1

Stop in /usr/src/gnu/usr.bin/cc/cccp.
*** Error code 1
Stop in /usr/src/gnu/usr.bin/cc.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.

#end error

I waited a day did a new cvsup, thinking it was a new code errror,  but I get the same 
msg.

Any ideas??



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]
 



___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make world but not make kernel?

2003-09-28 Thread Daniel Hawton
It's better to go:
make buildworld
make buildkernel KERNCONF=(Kernel Config name)
make installkernel KERNCONF=(Kernel Config name)
make installworld
Basically, if you're upgrading from 4.6 to 4.7 for example, you need to 
upgrade your kernel to match your userland.

-Daniel

Dragoncrest wrote:
Just curious.  If I wanted to upgrade all my sources, could I do a 
Make World without having to do a Make Kernel or are the two 
intertwined where if I do the one I have to do the other?  Just curious.

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make world but not make kernel?

2003-09-28 Thread Drew Tomlinson
- Original Message - 
From: Dragoncrest [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Sunday, September 28, 2003 6:00 PM
Subject: Make world but not make kernel?


 Just curious.  If I wanted to upgrade all my sources, could I do a
Make
 World without having to do a Make Kernel or are the two intertwined
 where if I do the one I have to do the other?  Just curious.

Sources are updated using cvsup.

make world builds the userland, i.e. all of the programs that are part
of the OS but not in the kernel.

make kernel builds the actual kernel.

World and kernel should be in sync or you will have strange problems and
some stuff won't work.

Read about this in the handbook.

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make world question

2003-08-18 Thread Matthew Seaman
On Mon, Aug 18, 2003 at 01:53:55PM -0500, Charles Howse wrote:
 Hi,
 I haven't done this before, and even though I have FreeBSD Unleashed,
 and have read several articles from bsdvault.net and the relevant
 section of the handbook, I still have a simple question.
 
 I want to stay at a 'production' version of FreeBSD.  I'm currently
 running 4.8-RELEASE, which I installed via ftp over the Internet perhaps
 2 weeks ago.
 
 All I want to do is have the latest ports, bugfixes and source code.
 I'm not interested in being on the 'bleeding edge'.
 
 I have used cvsupit to update my ports and base cources.  Here is my
 /etc/cvsupfile:
 
 *default  host=cvsup11.FreeBSD.org
 *default  base=/usr
 *default  prefix=/usr
 *default  release=cvs
 *default  tag=RELENG_4

RELENG_4 gets you 4.8-STABLE.  From what you say above, you probably
want RELENG_4_8 which gets you 4.8-RELEASE-p3 at the moment.

 *default  delete use-rel-suffix
 
 src-base
 *default tag=.
 ports-all
 doc-all
 
 The question is: How can I determine if it is necessary to do a 'make
 world'?

If you're tracking 4.8-STABLE, then the sources are updated
continuously, so you just do a cvsup and make world cycle at
appropriate intervals in order to pick up any changes.

If you're tracking 4.8-RELEASE-px, then subscribe to
[EMAIL PROTECTED] where any new patches to that branch will be
announced, usually in the form of a security advisory.  Or you can
just run cvsup at intervals, and do a make world if there are any
source changes or if /usr/src/UPDATING gains any new entries.

Ports and doc are continually updated, and the only good ways to track
updates to any ports you have installed are either to keep running
cvsup at intervals, and look for modifications to the ports you've
installed, or to subscribe at http://www.freshports.org/.

If you cvsup your ports regularly, you can get everything up to date
fairly automatically just by running:

# cd /usr/ports
# make index   ( -or- portsdb -uU)
# portupgrade -Nia

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


RE: Make world question

2003-08-18 Thread Charles Howse
  *default  host=cvsup11.FreeBSD.org
  *default  base=/usr
  *default  prefix=/usr
  *default  release=cvs
  *default  tag=RELENG_4
 
 RELENG_4 gets you 4.8-STABLE.  From what you say above, you probably
 want RELENG_4_8 which gets you 4.8-RELEASE-p3 at the moment.

Thanks for a very informative reply!

For clarity, would it be fair to say:
4.8-RELEASE-p3 is to 4.8-RELEASE as
Windows 2000 Service Pack 3 is to Windows 2000?

If so, then I would edit /etc/cvsupfile *before* running cvsup, and
after that I would *definitly* 'make world'...?


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make world question

2003-08-18 Thread Matthew Seaman
On Mon, Aug 18, 2003 at 04:10:58PM -0500, Charles Howse wrote:
   *default  host=cvsup11.FreeBSD.org
   *default  base=/usr
   *default  prefix=/usr
   *default  release=cvs
   *default  tag=RELENG_4
  
  RELENG_4 gets you 4.8-STABLE.  From what you say above, you probably
  want RELENG_4_8 which gets you 4.8-RELEASE-p3 at the moment.
 
 Thanks for a very informative reply!
 
 For clarity, would it be fair to say:
 4.8-RELEASE-p3 is to 4.8-RELEASE as
 Windows 2000 Service Pack 3 is to Windows 2000?

Something like that, yes.
 
 If so, then I would edit /etc/cvsupfile *before* running cvsup, and
 after that I would *definitly* 'make world'...?

Yes.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   26 The Paddocks
  Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey Marlow
Tel: +44 1628 476614  Bucks., SL7 1TH UK


pgp0.pgp
Description: PGP signature


Re: make world aborts with Operation not permitted

2003-07-23 Thread oremanj
On Wed, Jul 23, 2003 at 10:36:56AM -0700 or thereabouts, David Benfell wrote:
 Hello all,
 
 I've been playing with the bleeding edge stuff.  And so, of course,
 I'm bleeding.
 
 System is FREEBSD 5.1-CURRENT.  make world aborts at:
 
 install -s -o root -g wheel -m 444   -fschg  libcrypt.so.2 /usr/lib
 install: /usr/lib/libcrypt.so.2: Operation not permitted
 *** Error code 71
 
 Stop in /usr/src/lib/libcrypt.
 *** Error code 1
 
 Stop in /usr/src/lib.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 *** Error code 1
 
 Stop in /usr/src.
 
 (apologies if I mistyped something.)
 
 This is off of updates from last night and this morning.

Your securelevel is set higher than 0. Please reboot into single-user mode for the
installworld. (You won't have to rebuild anything. Hopefully. As long as you make
installworld not just world.)

-- Josh

 
 -- 
 David Benfell, LCP
 [EMAIL PROTECTED]
 ---
 Resume available at http://www.parts-unknown.org/resume.html


___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: make world issue

2003-07-05 Thread Joshua Oreman
On Sat, Jul 05, 2003 at 01:49:22AM -0800 or thereabouts, Thanjee Neefam wrote:
 I was playing around with one of my machines (non mission-critical -
 mainly used for experimenting) and I decided to try updating my sources.
 I am running 5.0r. I didn't have any sources on my machine (other than
 kernel) so I used /stand/sysinstall to add all sources. I then used cvsup
 with the standard-supfile to update all sources. I then did a make world,
 make kernel and rebooted.
 
 When I logged back in again, root no longer had a password, my users were
 gone, and other settings were reset such as the ppp.conf and ttys. Other
 settings like X11/XF86Config were fine. Now I can slowly fix all the
 mixing parts and reedit conf files, but I would just like to know why
 most of them were reset? 
 I think the reason it broke was because /stand/sysinstall overwrote my
 config files when I added all sources. Is this assumption correct?

NO. /stand/sysinstall is quite careful about not overwriting your config
files.

 Or did
 I perhaps lose them at a later stage? Is there someway for this not to
 happen in the future?

You did not read /usr/src/UPDATING. Read the procedure, ALL of it. I think
you forgot to run `mergemaster', or you just said overwrite everything.

-- Josh

 
 Cheers,
 Thanjee
 
 /// [EMAIL PROTECTED] \\\
 AAFE Audio, Amiga and FreeBSD Enthusiast :p
 \ http://www.fastmail.fm //
 /// [EMAIL PROTECTED] \\\
 AAFE Audio, Amiga and FreeBSD Enthusiast :p
 \ http://www.fastmail.fm //
 ___
 [EMAIL PROTECTED] mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make world for 5.1 fails in gdb

2003-06-10 Thread Adam
On Wed, 2003-06-11 at 00:53, Nicolas Galler wrote:
 I am trying to upgrade from 5.0-RELEASE to 5.1-RELEASE. I just cvsupped but
 trying make buildworld in /usr/src fails (in gdb), some error messages when
 linking about xre_comp not defined (I have included the actual error messages
 below). I dont think Ive actually run make world since I installed 5.0 from CD
 a couple months ago. 
 
 Well tracing down the problem the closest I could get is that a file xregex.h
 is included, which defines re_comp etc to xre_comp. Also a strange thing is
 the following line in config.h (in the gdb directory):
 /* Define if gnu-regex.c included with GDB should be used. */
 #define USE_INCLUDED_REGEX 1
 yet gnu-regex.c doesn't get compiled (or linked, as you can see below).
 
 Well it all sound like Im doing something really stupid so I hope someone can
 help :)

a) Did you try using -jN (eg, -j4) when you buildworld? If so, try
without. I had problems going from 5.0-RELEASE to 5.1-RELEASE using -j4.

b) Did you clear /usr/obj/* before buildworld?

-- 
Adam [EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Make World

2003-01-17 Thread DoubleF
Recently, Doron Shmaryahu wrote:

 This time there were no errors but when the
 machine rebooted it just says btx halted and a whole lot of other stuff. It
 sits there and does not boot.

If it's not the kernel, then let me give it a try. I can think
of one (1) way of BTX being loaded but panicking. If BTX is
not entirely in the area accessible by BIOS (~8G on my old one),
and the BIOS lies to the boot0 loader that it has loaded it (while
it hasn't) then BTX will be half-loaded and will panic as soon as
it reaches the not loaded code.

It is `perfectly' possible to have a kernel be loadable but not BTX
(i have such a monster). I have obsereved the same situation when
trying to get BTX loaded using packet interface to the disk.
You could try using boot0cfg(8) with -o nopacket.

Mind,
  Use of the `packet' option may cause `boot0' to fail,
  depending on the nature of BIOS support.
(boot0cfg(8))

By the way, your old 4.5 system could be `immune' to this as f.e. my
4.4-R doesn't absolutely require BTX to run properly. And yes,
when you interrupt your boot, BTX is skipped.

Could it be just a broken BTX binary?

Good luck,
DoubleF

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Make World

2003-01-17 Thread Doron Shmaryahu
Hi,

thanks for the advice - do you think I could just install the btx loader by
itself ? Also why would top and ps not work ??

thanks again for all the help

Doron
- Original Message -
From: DoubleF [EMAIL PROTECTED]
To: FreeBSD-questions [EMAIL PROTECTED]
Sent: Friday, January 17, 2003 11:18 AM
Subject: Re: Make World


 Recently, Doron Shmaryahu wrote:

  This time there were no errors but when the
  machine rebooted it just says btx halted and a whole lot of other stuff.
It
  sits there and does not boot.

 If it's not the kernel, then let me give it a try. I can think
 of one (1) way of BTX being loaded but panicking. If BTX is
 not entirely in the area accessible by BIOS (~8G on my old one),
 and the BIOS lies to the boot0 loader that it has loaded it (while
 it hasn't) then BTX will be half-loaded and will panic as soon as
 it reaches the not loaded code.

 It is `perfectly' possible to have a kernel be loadable but not BTX
 (i have such a monster). I have obsereved the same situation when
 trying to get BTX loaded using packet interface to the disk.
 You could try using boot0cfg(8) with -o nopacket.

 Mind,
  Use of the `packet' option may cause `boot0' to fail,
  depending on the nature of BIOS support.
 (boot0cfg(8))

 By the way, your old 4.5 system could be `immune' to this as f.e. my
 4.4-R doesn't absolutely require BTX to run properly. And yes,
 when you interrupt your boot, BTX is skipped.

 Could it be just a broken BTX binary?

 Good luck,
 DoubleF

 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Make World

2003-01-17 Thread DoubleF
Recently, Doron Shmaryahu wrote:

 thanks for the advice - do you think I could just install the btx loader by
 itself ? Also why would top and ps not work ??

Personally I don't have top running in your situation (BTW, how
exactly does it fail for you?). As for ps... I guess things are a
bit different between 4.4 and 4.7. The absence of BTX is bad anyway...
The process of installing boot tools like BTX is in make world,
isn't it? It has been done for you, then.

Someone around here (possibly Jason Morgan) has some problems with
pstop which he believes not to be update-related. Check his postings.

Still - could BTX not be in the 8G area? If it is outside, it would be
nontrivial to make it come back... and reinstalling BTX would not help
you either.

Hacking boot1 source to load the kernel instead of BTX directly and
making world could solve the `typing' problem, but not pstop problem.
But running without BTX is not good (personally I don't care, though;).

Good luck,
DoubleF

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Make World

2003-01-17 Thread DoubleF
Recently, I (DoubleF) wrote:

Hacking boot1 source to load the kernel instead of BTX directly and

Sorry. I was on drugs;). boot2 not boot1. Here's the code:
/usr/src/sys/boot/i386/boot2/boot2.c--
#define RBX_MASK0x
#define PATH_CONFIG /boot.config
#define PATH_BOOT3  /boot/loader
#define PATH_KERNEL /kernel
--
A quick hack would be to substitute /boot/loader with /kernel
or whatever you wish. I haven't tested it by myself, though.
Slippery when wet.

DoubleF

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Make World

2003-01-17 Thread Ian Watkinson
On Thu, 2003-01-16 at 23:28, Doron Shmaryahu wrote:
 Hi,
 
 I did a make world upgrade from 4.5 to 4.7 stable. I have done this a couple
 of times with no problems. This time there were no errors but when the
 machine rebooted it just says btx halted and a whole lot of other stuff. It
 sits there and does not boot. If I interrupt the boot process and load the
 kernel.GENERIC manually it boots fine. the only command's that seem to give
 errors are ps and top. The machine runs fine but I would obviously like to
 get rid of this problem.
 
 I have tried reinstalling the kernel, also the generic kernel. I tried doing
 a make world again still the same thing !! Any suggestions would help
 

You've done.

cvsup your-ports-cvsup-file
cvsup your=stable-cvsup-file

init 1

cd /usr/src
make buildworld.
make buildkernel KERNCONF=GENRIC
make installkernel KERNCONF=GENRIC
make installworld


and it still doesn't work.

I'd not do mergemaster, as it tends to be more of a hindrance than help,
although it does mean you need to read the release notes to see if the
format of anything has changed, which is no bad thing anyway.


-- 

Ian Watkinson


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Make World

2003-01-16 Thread Andrew Y Ng
have you rebuilt your kernel?  it sounds like your kernel is outdated.

also look into mergemaster(8), it's a nice tool when updating your system.

/ayn

On  0, Doron Shmaryahu [EMAIL PROTECTED] wrote:
 Hi,
 
 I did a make world upgrade from 4.5 to 4.7 stable. I have done this a couple
 of times with no problems. This time there were no errors but when the
 machine rebooted it just says btx halted and a whole lot of other stuff. It
 sits there and does not boot. If I interrupt the boot process and load the
 kernel.GENERIC manually it boots fine. the only command's that seem to give
 errors are ps and top. The machine runs fine but I would obviously like to
 get rid of this problem.
 
 I have tried reinstalling the kernel, also the generic kernel. I tried doing
 a make world again still the same thing !! Any suggestions would help
 
 thanks
 
 Doron Shmaryahu
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
andrew y ng  [EMAIL PROTECTED]  http://andrewng.com
independent computer consultants http://aynassociates.com




msg15710/pgp0.pgp
Description: PGP signature


Re: Make World

2003-01-16 Thread Doron Shmaryahu
Hi,

I have rebuilt the kernel several times but still no luck.

Thanks


Doron
- Original Message - 
From: Andrew Y Ng [EMAIL PROTECTED]
To: Doron Shmaryahu [EMAIL PROTECTED]
Cc: FreeBSD-questions [EMAIL PROTECTED]
Sent: Friday, January 17, 2003 1:41 AM
Subject: Re: Make World




To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Make World

2003-01-16 Thread Kent Stewart
On Thursday 16 January 2003 03:28 pm, Doron Shmaryahu wrote:
 Hi,

 I did a make world upgrade from 4.5 to 4.7 stable. I have done this a
 couple of times with no problems. This time there were no errors but
 when the machine rebooted it just says btx halted and a whole lot of
 other stuff. It sits there and does not boot. If I interrupt the boot
 process and load the kernel.GENERIC manually it boots fine. the only
 command's that seem to give errors are ps and top. The machine runs
 fine but I would obviously like to get rid of this problem.

 I have tried reinstalling the kernel, also the generic kernel. I
 tried doing a make world again still the same thing !! Any
 suggestions would help

Did you do a make kernel to update your kernel? Make world doesn't do 
that. 

If you do a make world instead of the sequence in /usr/src/UPDATING, you 
can get into serious trouble on upgrades.

Kent


 thanks

 Doron Shmaryahu



 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Make World Steps

2003-01-16 Thread Mike Meyer
In 021201c2bdba$19a55eb0$0801a8c0@dman, Doron Shmaryahu [EMAIL PROTECTED] typed:
This sequence

   make buildworld; 
 make buildkernel KERNCONF=KERNEL
 make installkernel KERNCONF=KERNEL
  mergemaster -p
 make installworld
 mergemaster 
 reboot

leaves out the very important step of doing a reboot between the make
installkernel and the make installworld. You've just found out
why. Your new kernel isn't booting for some reason. If you had found
that out before doing the installworld, backing out the kernel would
be trivial and you'd have your old system back to work on the problems
presented by the new kernel.

The one thing that isn't clear from your messages is what the kernels
you have rebuilt are doing. If they are going to btx halted, then
try building a kernel with debugging built in, and follow the steps in
the writeup on freebsd.org for debugging kernel problems with kdb.

If your new kernels are booting fine but ps and top are failing, then
you're managing to boot without going through the full boot loader
sequence, as that loads the kernel module and sets some symbols. I
don't think this is the case, but if it is, how are you booting the
system?

mike
-- 
Mike Meyer [EMAIL PROTECTED]  http://www.mired.org/consulting.html
Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Make World Steps

2003-01-16 Thread Doron Shmaryahu
Hi,

I boot the system by manually loading the kernel. I have used the upgrade
procedure at least 20 times with no problems. Can anyone suggest a route to
go that would redo the upgrade ??

thanks

Doron
- Original Message -
From: Mike Meyer [EMAIL PROTECTED]
To: Doron Shmaryahu [EMAIL PROTECTED]
Cc: FreeBSD-questions [EMAIL PROTECTED]
Sent: Friday, January 17, 2003 4:35 AM
Subject: Re: Make World Steps


 In 021201c2bdba$19a55eb0$0801a8c0@dman, Doron Shmaryahu
[EMAIL PROTECTED] typed:
 This sequence

make buildworld;
  make buildkernel KERNCONF=KERNEL
  make installkernel KERNCONF=KERNEL
   mergemaster -p
  make installworld
  mergemaster
  reboot

 leaves out the very important step of doing a reboot between the make
 installkernel and the make installworld. You've just found out
 why. Your new kernel isn't booting for some reason. If you had found
 that out before doing the installworld, backing out the kernel would
 be trivial and you'd have your old system back to work on the problems
 presented by the new kernel.

 The one thing that isn't clear from your messages is what the kernels
 you have rebuilt are doing. If they are going to btx halted, then
 try building a kernel with debugging built in, and follow the steps in
 the writeup on freebsd.org for debugging kernel problems with kdb.

 If your new kernels are booting fine but ps and top are failing, then
 you're managing to boot without going through the full boot loader
 sequence, as that loads the kernel module and sets some symbols. I
 don't think this is the case, but if it is, how are you booting the
 system?

 mike
 --
 Mike Meyer [EMAIL PROTECTED] http://www.mired.org/consulting.html
 Independent WWW/Perforce/FreeBSD/Unix consultant, email for more
information.





To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: make world

2003-01-16 Thread Greg 'groggy' Lehey
On Friday, 17 January 2003 at  8:48:19 +0200, Doron Shmaryahu wrote:
 Hi,

 does anyone recommend I just do a make world in the /usr/src/  dir ? 

Well, that's the normal place.

 Would this sort my problems out. ??

That depends on your problems.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: make world script

2002-10-09 Thread Giorgos Keramidas

On 2002-10-08 22:16, Lowell Gilbert [EMAIL PROTECTED] wrote:
 Giorgos Keramidas [EMAIL PROTECTED] writes:
  You could also hack something around the make release target, if you

 make update is specifically for this purpose, actually.

No, make update will run cvsup to update the source tree.  It isn't
similar to make release.  Reading through /usr/src/Makefile.inc1
shows exactly what make update runs.  No build commands in there.
Unless you mean something different which I missed.

PS: Please when replying to posts keep my address in, since I might
otherwise miss the reply in the daily flood of incoming messages.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: make world script

2002-10-09 Thread Lowell Gilbert

Giorgos Keramidas [EMAIL PROTECTED] writes:

 On 2002-10-08 22:16, Lowell Gilbert [EMAIL PROTECTED] 
wrote:
  Giorgos Keramidas [EMAIL PROTECTED] writes:
   You could also hack something around the make release target, if you
 
  make update is specifically for this purpose, actually.
 
 No, make update will run cvsup to update the source tree.  It isn't
 similar to make release.  Reading through /usr/src/Makefile.inc1
 shows exactly what make update runs.  No build commands in there.
 Unless you mean something different which I missed.

I was a little brief; sorry about that.  The original poster wanted to
update his whole system in one shot.  make release isn't really
intended for that, although it does build everything.  It does a fair
amount of extra work too, although if the original poster is leaving the
machine alone while its chugs through the build procedure, that probably
isn't very important.  For those purposes, your 'hack something around
make release' approach is fairly similar to make update world.  [If
the intent was to use the built release to install on a *different*
machine, that would obviously require make release, but I don't see
any messages indicating that was a goal in this case.]

It's important to reiterate for the sake of newcomers that both
approaches (any unattended approach, in fact) have the same shortcoming;
they don't update /etc or /dev.  The majority of the time, this can be
done after the the upgrade, but sometimes it will leave the system
unusable.  The one-shot upgrade, as requested by the original poster, is
neither supported nor recommended, although lots of people understand and
are willing to take the risk.

 - Lowell

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: make world script

2002-10-09 Thread parv

in message [EMAIL PROTECTED],
wrote George Vagner thusly...

 I am looking for a script that I can run a cron on that will
 update my sources and ports,

i do these two steps y hand occasionally; shouldn't be too hard to
come up w/ something yourself.


 build world, kernel and install everything without touching my
 network settings so i can get back in later.

below is the script which builds world, then kernel, and then
installs the kernel; it saves the log of the three processes in
three files...

  http://www103.pair.com/parv/comp/unix/bin/cleanbw

...make changes as appropriate for your situation.


  - parv

-- 


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: make world script

2002-10-08 Thread Giorgos Keramidas

On 2002-10-08 15:51, George Vagner [EMAIL PROTECTED] wrote:
 I am looking for a script that I can run a cron on that will
 update my sources and ports, build world, kernel and install everything
 without touching my network settings so i can get back in later.

I have a script in my crontab that does the following:

* Create a lockfile to make sure that cron doesn't spawn the same
  script twice.
* Check that a cvsup server is available.
* Update /home/ncvs (a local CVS mirror).

Find it at http://www.freebsd.org/~keramida/files/cvs-update

You could probably tweak this to suit your needs, and then run a
buildworld/buildkernel just before exiting.  I don't recommend adding
the proper shell commands to also installworld/installkernel
automagically.  This is asking for trouble, as someone else has
already posted.  The safest thing to do is probably to attempt an
installworld in a scratch area, like /usr/testworld and manually do
a real installworld only if it succeeds.

You could also hack something around the make release target, if you
have enough disk space.  More information on the release building
process can be found at the following articles:
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng/
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/releng-packages/

Giorgos.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: make world script

2002-10-08 Thread Lowell Gilbert

Giorgos Keramidas [EMAIL PROTECTED] writes:

 You could also hack something around the make release target, if you

make update is specifically for this purpose, actually.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: make world

2002-07-14 Thread Kent Stewart



Alexey Privalov wrote:

 hi all.
 
 i`m using 4.6-stable.
 
 if i do `make world` then i`ll see folloing message:
 building shared library pam_ssh.so
 /usr/obj/usr/src/i386/usr/libexec/elf/ld: cannot find -lssh
 *** Error code 1
 
 Stop in /usr/src/lib/libpam/modules/pam_ssh.
 *** Error code 1
 
 Stop in /usr/src/lib/libpam/modules.
 *** Error code 1
 
 Stop in /usr/src/lib/libpam.
 *** Error code 1
 
 Stop in /usr/src/lib.
 *** Error code 1
 
 
 why?
 
 but `make world` will work with `-DNOCRYPT` option.
 
 what i must do if i want to build system with crypt part of system.


Are you using src-all in your cvsup. If you use anything less, you end 
up with problems like this. I have a buildworld running just in case 
it is something else.

Kent


 
 thanks for all.
 
 
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message
 
 .
 
 


-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message