Re: make distribution fails
but the PR database is busy, I cannot read the details. What am I doing wrong? What version are you trying to install? On 5.X you gotta be in /usr/src/etc, but on 6.X this changed to /usr/src. Cheers, Erik I'm using 6.1 RELEASE. I upgraded yesterday with cvsup. It does not work from /usr/src either. :-( See below Laszlo messias# cd /usr/src messias# make distribution DESTDIR=/usr/local/diskless KERNCONF=DISKLESS cd /usr/src/etc; MAKEOBJDIRPREFIX=/usr/obj MACHINE_ARCH=i386 MACHINE=i386 CPUTYPE= GROFF_BIN_PATH=/usr/obj/usr/src/tmp/legacy/usr/bin GROFF_FONT_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/groff_font GROFF_TMAC_PATH=/usr/obj/usr/src/tmp/legacy/usr/share/tmac PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/usr/obj/usr/src/tmp/usr/sbin:/usr/obj/usr/src/tmp/usr/bin:/usr/obj/usr/src/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin make distribution cd /usr/src/etc; install -o root -g wheel -m 644 amd.map apmd.conf auth.conf crontab csh.cshrc csh.login csh.logout devd.conf devfs.conf dhclient.conf disktab fbtab ftpusers gettytab group hosts hosts.allow hosts.equiv hosts.lpd inetd.conf login.access login.conf mac.conf motd netconfig network.subr networks newsyslog.conf portsnap.conf pf.conf pf.os phones profile protocols rc rc.bsdextended rc.firewall rc.firewall6 rc.initdiskless rc.sendmail rc.shutdown rc.subr remote rpc services shells snmpd.config sysctl.conf syslog.conf usbd.conf etc.i386/ttys /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config /usr/src/etc/../usr.bin/mail/misc/mail.rc /usr/src/etc/../usr.bin/locate/locate/locate.rc printcap /usr/local/diskless/etc; cap_mkdb -l /usr/local/diskless/etc/login.conf; install -o root -g wheel -m 755 netstart pccard_ether rc.suspend rc.resume /usr/local/diskless/etc; install -o root -g wheel -m 600 master.passwd nsmb.conf opieaccess /usr/local/diskless/etc; pwd_mkdb -L -i -p -d /usr/local/diskless/etc /usr/local/diskless/etc/master.passwd install: 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/etc. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. messias# ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make distribution fails
Nagy László Zsolt wrote: but the PR database is busy, I cannot read the details. What am I doing wrong? What version are you trying to install? On 5.X you gotta be in /usr/src/etc, but on 6.X this changed to /usr/src. Cheers, Erik I'm using 6.1 RELEASE. I upgraded yesterday with cvsup. It does not work from /usr/src either. :-( See below I do: # cd /usr/src # make buildworld # make KERNCONF=DISKLESS buildkernel # mkdir /var/diskless/FreeBSD # make DESTDIR=/var/diskless/FreeBSD installworld # make DESTDIR=/var/diskless/FreeBSD distribution # make DESTDIR=/var/diskless/FreeBSD KERNCONF=DISKLESS installkernel You have to build/install world before distribution. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 smime.p7s Description: S/MIME Cryptographic Signature
Re: make distribution fails
I do: # cd /usr/src # make buildworld # make KERNCONF=DISKLESS buildkernel # mkdir /var/diskless/FreeBSD # make DESTDIR=/var/diskless/FreeBSD installworld # make DESTDIR=/var/diskless/FreeBSD distribution # make DESTDIR=/var/diskless/FreeBSD KERNCONF=DISKLESS installkernel You have to build/install world before distribution. Thanks, this was the problem. I created this for testing. Now I cannot remove it. messias# cd /var messias# chown -R root:wheel diskless chown: diskless/usr/sbin/sliplogin: Operation not permitted I cannot change owner or change permission for some files. Is it possible to delete this directory somehow? Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make distribution fails
Nagy László Zsolt wrote: I do: # cd /usr/src # make buildworld # make KERNCONF=DISKLESS buildkernel # mkdir /var/diskless/FreeBSD # make DESTDIR=/var/diskless/FreeBSD installworld # make DESTDIR=/var/diskless/FreeBSD distribution # make DESTDIR=/var/diskless/FreeBSD KERNCONF=DISKLESS installkernel You have to build/install world before distribution. Thanks, this was the problem. I created this for testing. Now I cannot remove it. messias# cd /var messias# chown -R root:wheel diskless chown: diskless/usr/sbin/sliplogin: Operation not permitted I cannot change owner or change permission for some files. Is it possible to delete this directory somehow? # chflags -R noschg /path/to/distribution then remove Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 smime.p7s Description: S/MIME Cryptographic Signature
Re: make distribution fails
I cannot change owner or change permission for some files. Is it possible to delete this directory somehow? # chflags -R noschg /path/to/distribution then remove You are a true guru. :-) Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make distribution fails
I was following the handbook: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/network-diskless.html I got this: messias# pwd /usr/src/etc messias# make distribution DESTDIR=/usr/local/diskless cd /usr/src/etc; install -o root -g wheel -m 644 amd.map apmd.conf auth.conf crontab csh.cshrc csh.login csh.logout devd.conf devfs.conf dhclient.conf disktab fbtab ftpusers gettytab group hosts hosts.allow hosts.equiv hosts.lpd inetd.conf login.access login.conf mac.conf motd netconfig network.subr networks newsyslog.conf portsnap.conf pf.conf pf.os phones profile protocols rc rc.bsdextended rc.firewall rc.firewall6 rc.initdiskless rc.sendmail rc.shutdown rc.subr remote rpc services shells snmpd.config sysctl.conf syslog.conf usbd.conf etc.i386/ttys /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config /usr/src/etc/../usr.bin/mail/misc/mail.rc /usr/src/etc/../usr.bin/locate/locate/locate.rc printcap /usr/local/diskless/etc; cap_mkdb -l /usr/local/diskless/etc/login.conf; install -o root -g wheel -m 755 netstart pccard_ether rc.suspend rc.resume /usr/local/diskless/etc; install -o root -g wheel -m 600 master.passwd nsmb.conf opieaccess /usr/local/diskless/etc; pwd_mkdb -L -i -p -d /usr/local/diskless/etc /usr/local/diskless/etc/master.passwd install: 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/etc. messias# I found the same problem here: http://lists.freebsd.org/pipermail/freebsd-bugs/2006-April/018001.html but the PR database is busy, I cannot read the details. What am I doing wrong? Thanks, Laszlo ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make distribution fails
Nagy László Zsolt wrote: I got this: messias# pwd /usr/src/etc messias# make distribution DESTDIR=/usr/local/diskless cd /usr/src/etc; install -o root -g wheel -m 644 amd.map apmd.conf auth.conf crontab csh.cshrc csh.login csh.logout devd.conf devfs.conf dhclient.conf disktab fbtab ftpusers gettytab group hosts hosts.allow hosts.equiv hosts.lpd inetd.conf login.access login.conf mac.conf motd netconfig network.subr networks newsyslog.conf portsnap.conf pf.conf pf.os phones profile protocols rc rc.bsdextended rc.firewall rc.firewall6 rc.initdiskless rc.sendmail rc.shutdown rc.subr remote rpc services shells snmpd.config sysctl.conf syslog.conf usbd.conf etc.i386/ttys /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config /usr/src/etc/../usr.bin/mail/misc/mail.rc /usr/src/etc/../usr.bin/locate/locate/locate.rc printcap /usr/local/diskless/etc; cap_mkdb -l /usr/local/diskless/etc/login.conf; install -o root -g wheel -m 755 netstart pccard_ether rc.suspend rc.resume /usr/local/diskless/etc; install -o root -g wheel -m 600 master.passwd nsmb.conf opieaccess /usr/local/diskless/etc; pwd_mkdb -L -i -p -d /usr/local/diskless/etc /usr/local/diskless/etc/master.passwd install: 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/etc. messias# I found the same problem here: http://lists.freebsd.org/pipermail/freebsd-bugs/2006-April/018001.html but the PR database is busy, I cannot read the details. What am I doing wrong? What version are you trying to install? On 5.X you gotta be in /usr/src/etc, but on 6.X this changed to /usr/src. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org X.509 Certificate: http://www.locolomo.org/crt/8D03551FFCE04F0C.crt Key ID: 69:79:B8:2C:E3:8F:E7:BE:5D:C3:C3:B1:74:62:B8:3F:9F:1F:69:B9 smime.p7s Description: S/MIME Cryptographic Signature
make distribution fails with call to cap_mkdb
Trying to rebuild a jail and am getting an error on `make distribution` I was able to do this when the server was at 5.3-RELEASE without error, but since upgrading to 5.4-RELEASE it continusiously fails. The error is: cap_mkdb: illegal option -- l usage: cap_mkdb [-v] [-f outfile] file [file ...] which seems to originate from the command: cap_mkdb -l /slaves/jail/master/etc/login.conf Did this command ever or recently take a -l option? Could this be a bug in make? Thanks for any assistance/guidance. Jeff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make distribution fails with call to cap_mkdb
On Wed, Jul 06, 2005 at 12:33:35PM +, jdyke wrote: Trying to rebuild a jail and am getting an error on `make distribution` I was able to do this when the server was at 5.3-RELEASE without error, but since upgrading to 5.4-RELEASE it continusiously fails. The error is: cap_mkdb: illegal option -- l usage: cap_mkdb [-v] [-f outfile] file [file ...] which seems to originate from the command: cap_mkdb -l /slaves/jail/master/etc/login.conf Did this command ever or recently take a -l option? It does on 6.0, so it looks like you've somehow updated your sources to FreeBSD-CURRENT. Kris pgphssKIE3Y3l.pgp Description: PGP signature
Re: make distribution fails with call to cap_mkdb
Kris Kennaway wrote: On Wed, Jul 06, 2005 at 12:33:35PM +, jdyke wrote: Trying to rebuild a jail and am getting an error on `make distribution` I was able to do this when the server was at 5.3-RELEASE without error, but since upgrading to 5.4-RELEASE it continusiously fails. The error is: cap_mkdb: illegal option -- l usage: cap_mkdb [-v] [-f outfile] file [file ...] which seems to originate from the command: cap_mkdb -l /slaves/jail/master/etc/login.conf Did this command ever or recently take a -l option? It does on 6.0, so it looks like you've somehow updated your sources to FreeBSD-CURRENT. h. sweet. thanks. i'll check that out. my cvs-supfile is *default release=cvs tag=. and my uname -r is 5.4-RELEASE-p2 did i mess that i up? Thanks Jeff Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make distribution fails with call to cap_mkdb
On Wed, Jul 06, 2005 at 04:06:45PM +, jdyke wrote: Kris Kennaway wrote: On Wed, Jul 06, 2005 at 12:33:35PM +, jdyke wrote: Trying to rebuild a jail and am getting an error on `make distribution` I was able to do this when the server was at 5.3-RELEASE without error, but since upgrading to 5.4-RELEASE it continusiously fails. The error is: cap_mkdb: illegal option -- l usage: cap_mkdb [-v] [-f outfile] file [file ...] which seems to originate from the command: cap_mkdb -l /slaves/jail/master/etc/login.conf Did this command ever or recently take a -l option? It does on 6.0, so it looks like you've somehow updated your sources to FreeBSD-CURRENT. h. sweet. thanks. i'll check that out. my cvs-supfile is *default release=cvs tag=. Yep, that'll do it. and my uname -r is 5.4-RELEASE-p2 did i mess that i up? Not yet, but you would have done if you'd built and installed a new world or kernel from those sources. Kris pgpnDnHJYNl6t.pgp Description: PGP signature
Re: make distribution fails with call to cap_mkdb
jdyke wrote: h. sweet. thanks. i'll check that out. my cvs-supfile is *default release=cvs tag=. *default release=cvs tag=RELENG_5_4 --Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: make distribution fails with call to cap_mkdb
Alex Zbyslaw wrote: jdyke wrote: h. sweet. thanks. i'll check that out. my cvs-supfile is *default release=cvs tag=. *default release=cvs tag=RELENG_5_4 --Alex thanks all. will re-up. was thinking `.` equated to my release, guess i should have read closer. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
make distribution fails on 5.2.1-p9
(...) defined In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59, from /usr/src/crypto/heimdal/lib/roken/vis.c:43: /usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the location of the previous definition In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77, from /usr/src/crypto/heimdal/lib/roken/warnerr.c:39: /usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning: EAI_NODATA redefined In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59, from /usr/src/crypto/heimdal/lib/roken/warnerr.c:39: /usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the location of the previous definition In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77, from /usr/src/crypto/heimdal/lib/roken/write_pid.c:42: /usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning: EAI_NODATA redefined In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59, from /usr/src/crypto/heimdal/lib/roken/write_pid.c:42: /usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the location of the previous definition In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77, from /usr/src/crypto/heimdal/lib/roken/copyhostent.c:39: /usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning: EAI_NODATA redefined In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59, from /usr/src/crypto/heimdal/lib/roken/copyhostent.c:39: /usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the location of the previous definition In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77, from /usr/src/crypto/heimdal/lib/roken/strlwr.c:41: /usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning: EAI_NODATA redefined In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59, from /usr/src/crypto/heimdal/lib/roken/strlwr.c:41: /usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the location of the previous definition In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77, from /usr/src/crypto/heimdal/lib/roken/strndup.c:41: /usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning: EAI_NODATA redefined In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59, from /usr/src/crypto/heimdal/lib/roken/strndup.c:41: /usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the location of the previous definition In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77, from /usr/src/crypto/heimdal/lib/roken/strnlen.c:39: /usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning: EAI_NODATA redefined In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59, from /usr/src/crypto/heimdal/lib/roken/strnlen.c:39: /usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the location of the previous definition In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77, from /usr/src/crypto/heimdal/lib/roken/strsep_copy.c:41: /usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning: EAI_NODATA redefined In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59, from /usr/src/crypto/heimdal/lib/roken/strsep_copy.c:41: /usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the location of the previous definition In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:77, from /usr/src/crypto/heimdal/lib/roken/strupr.c:41: /usr/src/crypto/heimdal/lib/roken/roken-common.h:183:1: warning: EAI_NODATA redefined In file included from /usr/obj/usr/src/kerberos5/lib/libroken/roken.h:59, from /usr/src/crypto/heimdal/lib/roken/strupr.c:41: /usr/obj/usr/src/i386/usr/include/netdb.h:166:1: warning: this is the location of the previous definition shift: can't shift that many shift: can't shift that many /usr/src/lib/libpam/modules/pam_echo/pam_echo.c: In function `_pam_echo': /usr/src/lib/libpam/modules/pam_echo/pam_echo.c:92: warning: dereferencing type-punned pointer will break strict-aliasing rules cd /usr/src/etc; install -o root -g wheel -m 644 amd.map apmd.conf auth.conf crontab csh.cshrc csh.login csh.logout devd.conf devfs.conf dhclient.conf disktab fbtab ftpusers gettytab group hosts hosts.allow hosts.equiv hosts.lpd inetd.conf login.access login.conf mac.conf motd netconfig network.subr networks newsyslog.conf phones profile protocols rc rc.firewall rc.firewall6 rc.sendmail rc.shutdown rc.subr remote rpc services shells sysctl.conf syslog.conf usbd.conf etc.i386/ttys /usr/src/etc/../gnu/usr.bin/man/manpath/manpath.config /usr/src/etc/../usr.bin/mail/misc/mail.rc