1ad10 Can't update Freebsd 7.1 either make buildworld or freebsd-update - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Installing & Upgrading

Installing & Upgrading Installing and upgrading FreeBSD.

Reply
 
Thread Tools Display Modes
  #1  
Old March 25th, 2009, 16:03
MaximNM MaximNM is offline
Junior Member
 
Join Date: Jan 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Unhappy Can't update Freebsd 7.1 either make buildworld or freebsd-update

Hi,

I need help!

I can't make buildworld as I'm always getting following error:
Code:
cc -O2 -pipe -fomit-frame-pointer -I. -I/usr/src/usr.sbin/config  -I/usr/obj/usr/src/tmp/legacy/usr/include  -static -L/usr/obj/usr/src/tmp/legacy/usr/lib -o config config.o main.o lang.o mkmakefile.o mkheaders.o mkoptions.o kernconf.o -ll -lsbuf -legacy
sh /usr/src/tools/install.sh -s -o root -g wheel -m 555   config /usr/obj/usr/src/tmp/legacy/usr/sbin
: wrong number or types of arguments
usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 file2
       install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
               [-o owner] file1 ... fileN directory
       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
*** Error code 64

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

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

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

Stop in /usr/src.
cvs updated
When I'm trying to do update by freebsd-update -r 7.1 update command I get this:

Code:
Fetching metadata signature for 7.1 from update2.FreeBSD.org... failed.
Fetching metadata signature for 7.1 from update1.FreeBSD.org... failed.
No mirrors remaining, giving up.
So, What can I do?

Last edited by DutchDaemon; March 25th, 2009 at 22:09. Reason: added code tags
Reply With Quote
  #2  
Old March 25th, 2009, 16:07
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,848
Thanks: 30
Thanked 1,889 Times in 1,334 Posts
Default

You cannot use freebsd-update for anything other than updating a -RELEASE (like an ISO install) to another -RELEASE, or to a patch level within a -RELEASE. It is a binary-only update system used to keep -RELEASEs updated with security patches. Do not use freebsd-update together with csup/cvsup, they're mutually exclusive.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #3  
Old March 25th, 2009, 16:11
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,848
Thanks: 30
Thanked 1,889 Times in 1,334 Posts
Default

I advise you to clear /usr/src (save any kernel configs you may have in /usr/src/sys/[arch]/conf) and /usr/obj, and run a full csup before starting the build process again (as outlined here).

P.S.: always post system output in CODE tags.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #4  
Old March 25th, 2009, 16:21
MaximNM MaximNM is offline
Junior Member
 
Join Date: Jan 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by DutchDaemon View Post
I advise you to clear /usr/src (save any kernel configs you may have in /usr/src/sys/[arch]/conf) and /usr/obj, and run a full csup before starting the build process again (as outlined here).

P.S.: always post system output in CODE tags.
I have already done it but it isn't help.
What else?

Thanks in advance,
Maxim
Reply With Quote
  #5  
Old March 25th, 2009, 16:24
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

What version are you currently running?
Reply With Quote
  #6  
Old March 25th, 2009, 16:28
MaximNM MaximNM is offline
Junior Member
 
Join Date: Jan 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

7.1 p2 all updates have been done by csup and without problem for more than two years.
Reply With Quote
  #7  
Old March 25th, 2009, 16:47
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,848
Thanks: 30
Thanked 1,889 Times in 1,334 Posts
Default

So you're tracking RELENG_7_1 in your supfile? That branch should contain no problems, as it's frozen due to the 7.2 release cycle.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #8  
Old March 25th, 2009, 17:22
tangram's Avatar
tangram tangram is offline
Member
 
Join Date: Nov 2008
Location: Portugal
Posts: 524
Thanks: 13
Thanked 65 Times in 56 Posts
Default

Consider:

Code:
# cd /usr/src
# make clean
# rm -rf /usr/obj
Disable ccache or don't use -jX at builworld. Sometimes ccache acts up.

Last edited by tangram; March 25th, 2009 at 17:23. Reason: Code tags were missing.
Reply With Quote
  #9  
Old March 25th, 2009, 21:51
MaximNM MaximNM is offline
Junior Member
 
Join Date: Jan 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Status changed
After I copyed /bin /sbin /lib/usr /lib from Install FreeBSD CD I managed to compile either world and kernel but next after I install kernel and started to make installworld I got following

Code:
install -s -o root -g wheel -m 555   sync /bin
install -o root -g wheel -m 444 sync.8.gz  /usr/share/man/man8
===> bin/test (install)
install -s -o root -g wheel -m 555   test /bin
install -o root -g wheel -m 444 test.1.gz  /usr/share/man/man1
*** Signal 11

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

Stop in /usr/src/bin.
*** 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.

Last edited by DutchDaemon; March 25th, 2009 at 22:07. Reason: fixed code tags
Reply With Quote
  #10  
Old March 25th, 2009, 21:55
MaximNM MaximNM is offline
Junior Member
 
Join Date: Jan 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

So what can I do now with signal 11?

Any idea?
Code:
install -o root -g wheel -m 444 test.1.gz /usr/share/man/man1
*** Signal 11

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

Last edited by DutchDaemon; March 25th, 2009 at 22:08. Reason: fixed code tags
Reply With Quote
  #11  
Old March 25th, 2009, 22:06
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,848
Thanks: 30
Thanked 1,889 Times in 1,334 Posts
Default

( code tags are in brackets [ ] not angle brackets < > )
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #12  
Old March 25th, 2009, 23:06
MaximNM MaximNM is offline
Junior Member
 
Join Date: Jan 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks for info concerning design but how solve that issue?

test
Code:
install -o root -g wheel -m 444 test.1.gz /usr/share/man/man1
*** Signal 11

Stop in /usr/src/bin/test.
*** Error code 1
Reply With Quote
  #13  
Old March 25th, 2009, 23:12
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,848
Thanks: 30
Thanked 1,889 Times in 1,334 Posts
Default

I'm not your personal problem solver. There's an entire forum for that. I don't recognise your problem, and if no one else does, you'll have to start anew, I'm afraid.
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
  #14  
Old March 26th, 2009, 14:39
SirDice's Avatar
SirDice SirDice is offline
Moderator
 
Join Date: Nov 2008
Location: Rotterdam, Netherlands
Posts: 13,725
Thanks: 47
Thanked 2,023 Times in 1,862 Posts
Default

Quote:
Originally Posted by MaximNM View Post
So what can I do now with signal 11?
It means something is core dumping aka crashing severly. Quite possibly due to the copying of the files from the release cd.

I'm afraid your system is pretty screwed up right now and I'm not sure this is fixable.
Reply With Quote
  #15  
Old March 26th, 2009, 21:16
MaximNM MaximNM is offline
Junior Member
 
Join Date: Jan 2009
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Cool

So after 4 days of researches I have found the problem and repaired my system ....
Problem was in make.conf. Someone in a freebsd related forum recommended to set a key (forgot it name) into COPTFLAGS. It's really very simple but I did a mouth ago and forgot about it.
I just had to remove it and recompile world and kernel to back system in normal state.

In any case thanks everybody for support and advices!
BR,
Maxim
Reply With Quote
  #16  
Old March 26th, 2009, 21:32
DutchDaemon's Avatar
DutchDaemon DutchDaemon is offline
Administrator
 
Join Date: Nov 2008
Location: Rotterdam, the Netherlands
Posts: 9,848
Thanks: 30
Thanked 1,889 Times in 1,334 Posts
Default

Had you been a member of this forum longer you would have come across dozens of 'don't mess with COPTFLAGS' messages ...
__________________
FreeBSD Forums: Information for New Members | FreeBSD Forums Rules
FreeBSD Resources: The FreeBSD Handbook | Manuals | FAQ | Wiki
Before you post: How to ask questions the smart way
If you must know .. So, what does an Administrator/Moderator do?
---> Do not PM me with FreeBSD questions. I do not work here. <---
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
freebsd-update 7.0 to 7.1 formaltux Installing & Upgrading 4 March 26th, 2009 11:42
freebsd update juve_inferno Installing & Upgrading 6 March 21st, 2009 01:12
freebsd-update 7.0 to 7.1 dave Installing & Upgrading 3 February 4th, 2009 06:44
make update errors on amd64 Xaenn Installing & Upgrading 2 January 21st, 2009 17:35
System down after freebsd-update noobster Installing & Upgrading 9 December 2nd, 2008 14:43


All times are GMT +1. The time now is 17:40.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0