Re: issue with libthr?

2013-06-04 Thread Kubilay Kocak
On 4/06/2013 2:54 AM, Waitman Gobble wrote:
> On Mon, 3 Jun 2013 07:55:54 -0700, Marcel Moolenaar  wrote:
> 
>>
>>
>> On Jun 2, 2013, at 8:08 AM, Waitman Gobble  =
>> wrote:
>>
>>> On Sun, 2 Jun 2013 10:43:35 -0400, Mark Johnston  =
>> wrote:=20
 =20
 On Sat, Jun 01, 2013 at 12:54:14AM -0700, Waitman Gobble wrote:
> =20
> Hi,
> =20
> I'm getting a ton of core dumps from Python and any software that =
>> uses
>>> Python,
> ie has USE_PYTHON_BUILD=3Dyes in Makefile.
> =20
> hundreds of msgs in dmesg:
> pid 36637 (seamonkey), uid 1001: exited on signal 11 (core dumped)
> pid 36986 (seamonkey), uid 1001: exited on signal 11 (core dumped)
> pid 37054 (seamonkey), uid 1001: exited on signal 11 (core dumped)
> pid 51780 (seamonkey), uid 1001: exited on signal 11 (core dumped)
> pid 83350 (python2.7), uid 0: exited on signal 6 (core dumped)
> =20
> from gdb it seems to me to be libthr related? I've noticed a couple =
>> updates
>>> in
> May.. wonder if it's related? I've only noticed this issue in the =
>> past
>>> week,
> after a complete rebuild and updated.
 =20
 I've been running into this issue too - python 2.7 would crash when
 trying to rebuild databases/tdb and databases/py-sqlite3 with =
>> backtraces
 similar to what you have below. The python port itself hasn't changed =
>> in
 a while.
 =20
 Reverting r250991 and rebuilding libc solves the issue for me:
 http://svnweb.freebsd.org/base?view=3Drevision&revision=3D250991
 =20
> =20
>>> =20
>>> Thanks for the info, I appreciate it. I had a heck of a time getting
>>> database/py-sqlite3 to build as well.=20
>>> My workaround to get it installed was to change the Makefile in WRKSRC
>>
>>
>> Can you apply the following patch to /usr/ports/lang/python27, rebuild
>> python, re-install and then try to build databases/py-sqlite3 again?
>>
>> Index: files/patch-Modules-_ctypes-libffi-fficonfig.py.in
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>> --- files/patch-Modules-_ctypes-libffi-fficonfig.py.in   (revision 0)
>> +++ files/patch-Modules-_ctypes-libffi-fficonfig.py.in   (working copy)
>> @@ -0,0 +1,10 @@
>> +--- Modules/_ctypes/libffi/fficonfig.py.in.orig 2013-06-03 =
>> 07:16:44.0 -0700
>>  Modules/_ctypes/libffi/fficonfig.py.in  2013-06-03 =
>> 07:17:03.0 -0700
>> +@@ -1,7 +1,6 @@
>> + ffi_sources =3D """
>> + src/prep_cif.c
>> + src/closures.c
>> +-src/dlmalloc.c
>> + """.split()
>> +=20
>> + ffi_platforms =3D {
>>
>>
>> It seems the root cause is a broken python build that accidentally
>> defines malloc(), free(), at al in _ctypes.so. A longer explanation
>> was sent to svn-src-head@ and svn-src-all@
>>
>> I expect that the patch also fixes the other problems mentioned in
>> this thread. It would be great if people can verify this.
>>
>> FYI,
>>
>> --=20
>> Marcel Moolenaar
>> mar...@xcllnt.net
>>
>>
>>
> 
> 
> yes, that patch seems to work on my machine. After rebuilding Python with the
> patch, I was able to install databases/py-sqlite3 without error, also the
> www/midori port now builds and installs without crashing. I'll let you know if
> I see any problems.
> 
> Thank you,
> 

Great work Marcel :)

What needs to be done to get this upstreamed?

Koobs


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


[head tinderbox] failure on i386/i386

2013-06-04 Thread FreeBSD Tinderbox
TB --- 2013-06-04 04:10:19 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-06-04 04:10:19 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-06-04 04:10:19 - starting HEAD tinderbox run for i386/i386
TB --- 2013-06-04 04:10:19 - cleaning the object tree
TB --- 2013-06-04 04:18:59 - /usr/local/bin/svn stat /src
TB --- 2013-06-04 04:19:03 - At svn revision 251364
TB --- 2013-06-04 04:19:04 - building world
TB --- 2013-06-04 04:19:04 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 04:19:04 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 04:19:04 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 04:19:04 - SRCCONF=/dev/null
TB --- 2013-06-04 04:19:04 - TARGET=i386
TB --- 2013-06-04 04:19:04 - TARGET_ARCH=i386
TB --- 2013-06-04 04:19:04 - TZ=UTC
TB --- 2013-06-04 04:19:04 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 04:19:04 - cd /src
TB --- 2013-06-04 04:19:04 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Tue Jun  4 04:19:10 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Tue Jun  4 07:29:19 UTC 2013
TB --- 2013-06-04 07:29:20 - generating LINT kernel config
TB --- 2013-06-04 07:29:20 - cd /src/sys/i386/conf
TB --- 2013-06-04 07:29:20 - /usr/bin/make -B LINT
TB --- 2013-06-04 07:29:20 - cd /src/sys/i386/conf
TB --- 2013-06-04 07:29:20 - /usr/sbin/config -m LINT
TB --- 2013-06-04 07:29:20 - building LINT kernel
TB --- 2013-06-04 07:29:20 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 07:29:20 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 07:29:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 07:29:20 - SRCCONF=/dev/null
TB --- 2013-06-04 07:29:20 - TARGET=i386
TB --- 2013-06-04 07:29:20 - TARGET_ARCH=i386
TB --- 2013-06-04 07:29:20 - TZ=UTC
TB --- 2013-06-04 07:29:20 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 07:29:20 - cd /src
TB --- 2013-06-04 07:29:20 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Tue Jun  4 07:29:20 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for LINT completed on Tue Jun  4 08:03:59 UTC 2013
TB --- 2013-06-04 08:03:59 - cd /src/sys/i386/conf
TB --- 2013-06-04 08:03:59 - /usr/sbin/config -m LINT-NOINET
TB --- 2013-06-04 08:03:59 - building LINT-NOINET kernel
TB --- 2013-06-04 08:03:59 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 08:03:59 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 08:03:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 08:03:59 - SRCCONF=/dev/null
TB --- 2013-06-04 08:03:59 - TARGET=i386
TB --- 2013-06-04 08:03:59 - TARGET_ARCH=i386
TB --- 2013-06-04 08:03:59 - TZ=UTC
TB --- 2013-06-04 08:03:59 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 08:03:59 - cd /src
TB --- 2013-06-04 08:03:59 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET
>>> Kernel build for LINT-NOINET started on Tue Jun  4 08:03:59 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for LINT-NOINET completed on Tue Jun  4 08:35:16 UTC 2013
TB --- 2013-06-04 08:35:16 - cd /src/sys/i386/conf
TB --- 2013-06-04 08:35:16 - /usr/sbin/config -m LINT-NOINET6
TB --- 2013-06-04 08:35:16 - building LINT-NOINET6 kernel
TB --- 2013-06-04 08:35:16 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 08:35:16 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 08:35:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 08:35:16 - SRCCONF=/dev/null
TB --- 2013-06-04 08:35:16 - TARGET=i386
TB --- 2013-06-04 08:35:16 - TARGET_ARCH=i386
TB --- 2013-06-04 08:35:16 - TZ=UTC
TB --- 2013-06-04 08:35:16 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 08:35:16 - cd /src
TB --- 2013-06-04 08:35:16 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET6
>>> Kernel build for LINT-NOINET6 started on Tue Jun  4 08:35:16 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for LINT-NOINET6 completed on Tue Jun  4 09:06:13 UTC 2013
TB --- 2013-06-04 09:06:13 - cd /src/sys/i386/conf
TB --- 2013-06-04 09:06:13 - /usr/sbin/config -m LINT-NOIP
TB --- 2013-06-04 09:06:13 - building LINT-NOI

[head tinderbox] failure on amd64/amd64

2013-06-04 Thread FreeBSD Tinderbox
TB --- 2013-06-04 04:10:19 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-06-04 04:10:19 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-06-04 04:10:19 - starting HEAD tinderbox run for amd64/amd64
TB --- 2013-06-04 04:10:19 - cleaning the object tree
TB --- 2013-06-04 04:19:18 - /usr/local/bin/svn stat /src
TB --- 2013-06-04 04:19:21 - At svn revision 251364
TB --- 2013-06-04 04:19:22 - building world
TB --- 2013-06-04 04:19:22 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 04:19:22 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 04:19:22 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 04:19:22 - SRCCONF=/dev/null
TB --- 2013-06-04 04:19:22 - TARGET=amd64
TB --- 2013-06-04 04:19:22 - TARGET_ARCH=amd64
TB --- 2013-06-04 04:19:22 - TZ=UTC
TB --- 2013-06-04 04:19:22 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 04:19:22 - cd /src
TB --- 2013-06-04 04:19:22 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Tue Jun  4 04:19:29 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> stage 5.1: building 32 bit shim libraries
>>> World build completed on Tue Jun  4 08:05:59 UTC 2013
TB --- 2013-06-04 08:05:59 - generating LINT kernel config
TB --- 2013-06-04 08:05:59 - cd /src/sys/amd64/conf
TB --- 2013-06-04 08:05:59 - /usr/bin/make -B LINT
TB --- 2013-06-04 08:05:59 - cd /src/sys/amd64/conf
TB --- 2013-06-04 08:05:59 - /usr/sbin/config -m LINT
TB --- 2013-06-04 08:05:59 - building LINT kernel
TB --- 2013-06-04 08:05:59 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 08:05:59 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 08:05:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 08:05:59 - SRCCONF=/dev/null
TB --- 2013-06-04 08:05:59 - TARGET=amd64
TB --- 2013-06-04 08:05:59 - TARGET_ARCH=amd64
TB --- 2013-06-04 08:05:59 - TZ=UTC
TB --- 2013-06-04 08:05:59 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 08:05:59 - cd /src
TB --- 2013-06-04 08:05:59 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Tue Jun  4 08:05:59 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for LINT completed on Tue Jun  4 08:37:48 UTC 2013
TB --- 2013-06-04 08:37:48 - cd /src/sys/amd64/conf
TB --- 2013-06-04 08:37:48 - /usr/sbin/config -m LINT-NOINET
TB --- 2013-06-04 08:37:48 - building LINT-NOINET kernel
TB --- 2013-06-04 08:37:48 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 08:37:48 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 08:37:48 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 08:37:48 - SRCCONF=/dev/null
TB --- 2013-06-04 08:37:48 - TARGET=amd64
TB --- 2013-06-04 08:37:48 - TARGET_ARCH=amd64
TB --- 2013-06-04 08:37:48 - TZ=UTC
TB --- 2013-06-04 08:37:48 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 08:37:48 - cd /src
TB --- 2013-06-04 08:37:48 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET
>>> Kernel build for LINT-NOINET started on Tue Jun  4 08:37:48 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for LINT-NOINET completed on Tue Jun  4 09:07:01 UTC 2013
TB --- 2013-06-04 09:07:01 - cd /src/sys/amd64/conf
TB --- 2013-06-04 09:07:01 - /usr/sbin/config -m LINT-NOINET6
TB --- 2013-06-04 09:07:01 - building LINT-NOINET6 kernel
TB --- 2013-06-04 09:07:01 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 09:07:01 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 09:07:01 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 09:07:01 - SRCCONF=/dev/null
TB --- 2013-06-04 09:07:01 - TARGET=amd64
TB --- 2013-06-04 09:07:01 - TARGET_ARCH=amd64
TB --- 2013-06-04 09:07:01 - TZ=UTC
TB --- 2013-06-04 09:07:01 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 09:07:01 - cd /src
TB --- 2013-06-04 09:07:01 - /usr/bin/make -B buildkernel KERNCONF=LINT-NOINET6
>>> Kernel build for LINT-NOINET6 started on Tue Jun  4 09:07:01 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
>>> Kernel build for LINT-NOINET6 completed on Tue Jun  4 09:37:25 UTC 2013
TB --- 2013-06-04 09:37:25 - cd /src/sys/amd64/conf
TB --- 2013-06-04 09:37:25 - /usr/sbin/confi

Re: mounting root from NFS via ROOTDEVNAME

2013-06-04 Thread Aleksandr Rybalko
On Mon, 3 Jun 2013 00:06:44 -0700
Craig Rodrigues  wrote:

> On Tue, May 28, 2013 at 8:13 AM, Eggert, Lars  wrote:
> 
> > Hi,
> >
> > to conclude this thread, the patch below allows one to specify an nfs
> > rootfs via the ROOTDEVNAME kernel option, which will be mounted when BOOTP
> > does not return a root-path option.
> >
> > Lars
> >
> >
> > diff --git a/sys/nfs/bootp_subr.c b/sys/nfs/bootp_subr.c
> > index 2c57a91..972fb12 100644
> > --- a/sys/nfs/bootp_subr.c
> > +++ b/sys/nfs/bootp_subr.c
> > @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$");
> >
> >  #include "opt_bootp.h"
> >  #include "opt_nfs.h"
> > +#include "opt_rootdevname.h"
> >
> >  #include 
> >  #include 
> > @@ -870,8 +871,20 @@ bootpc_call(struct bootpc_globalcontext *gctx, struct
> > thread *td)
> > rtimo = time_second +
> > BOOTP_SETTLE_DELAY;
> > printf(" (got root path)");
> > -   } else
> > +   } else {
> > printf(" (no root path)");
> > +#ifdef ROOTDEVNAME
> > +   /*
> > +* If we'll mount rootfs from
> > +* ROOTDEVNAME, we can accept
> > +* offers without root paths.
> > +*/
> > +   gotrootpath = 1;
> > +   rtimo = time_second +
> > +   BOOTP_SETTLE_DELAY;
> > +   printf(" (ROOTDEVNAME)");
> > +#endif
> > +   }
> > printf("\n");
> > }
> > } /* while secs */
> > @@ -1440,6 +1453,16 @@ bootpc_decode_reply(struct nfsv3_diskless *nd,
> > struct bootpc_ifcontext *ifctx,
> >
> > p = bootpc_tag(&gctx->tag, &ifctx->reply, ifctx->replylen,
> >TAG_ROOT);
> > +#ifdef ROOTDEVNAME
> > +   /*
> > +* If there was no root path in BOOTP, use the one in ROOTDEVNAME.
> > +*/
> > +   if (p == NULL) {
> > +   p = strdup(ROOTDEVNAME, M_TEMP);
> > +   if (strcmp(strsep(&p, ":"), "nfs") != 0)
> > +   panic("ROOTDEVNAME is not an NFS mount point");
> > +   }
> > +#endif
> > if (p != NULL) {
> > if (gctx->setrootfs != NULL) {
> > printf("rootfs %s (ignored) ", p);
> >
> 
> 
> Sorry for not responding, I've been busy for the past few days.
> 
> Thank you for persisting with this, and trying to clean this up.
> This is  relatively old code that hasn't been touched in about 15 years,
> so not that many people have worked on it.
> 
> I don't like things like ROOTDEVNAME which need to be specified in
> the kernel config and are not part of the GENERIC kernel.
> This usually ends up where code which is behind #ifdef ROOTDEVNAME
> will bitrot because not everyone uses it.
> 
> I would like to see the ROOTDEVNAME kernel option go away,
> in favor of a variable that can be specified in loader.conf.

Please don't do that. We still have some amount of systems for which we
can't get boot device name and we can't modify boot process, very
often situation is a embedded system with U-Boot on board and no sources
published anywhere for it. So if we want to be able to continue work
with such systems - we must have, at least similar way to specify
rootdev.

Thanks!

> 
> If I search the code via Opengrok, I with this:
> http://bxr.su/s?n=25&start=25&sort=relevancy&q=ROOTDEVNAME&project=FreeBSD
> 
> there already seems to be a variable "rootdev" that is checked in a bunch
> of places in the loader, so it would be nice if we could use that.
> 
> My personal preference  would be to delete ROOTDEVNAME from all the kernel
> configs
> and deprecate the kernel option, and instead use a tunable variable
> which could be set in loader.conf.
> 
> This may not be practical.  Do you think it would be doable if
> we can have something like this in the kernel code:
> 
> const char *rootdevname =
> #ifdef ROOTDEVNAME
> rootdevname = ROOTDEVNAME;
> #else
> rootdevname = NULL
> #endif
> 
> if (rootdevname == NULL) {
> rootdevname = getenv("rootdev");
> }
> 
> 
> or something like that?
> -- 
> Craig
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


-- 
Aleksandr Rybalko 
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


rebuilding world fail

2013-06-04 Thread Rodrigo OSORIO

Hi,

Rebuilding world for current, I found two blocking errors:

make installkernel retrun "1: Invalid argument"
and when I try to execute mergemaster, the system
claims he's out of file descriptors. Other commands
also fail with the same message.

I have no clues about this issue, and the system log
didn't help.

- rodrigo
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: mounting root from NFS via ROOTDEVNAME

2013-06-04 Thread Ian Lepore
On Mon, 2013-06-03 at 00:06 -0700, Craig Rodrigues wrote:
> On Tue, May 28, 2013 at 8:13 AM, Eggert, Lars  wrote:
> 
> > Hi,
> >
> > to conclude this thread, the patch below allows one to specify an nfs
> > rootfs via the ROOTDEVNAME kernel option, which will be mounted when BOOTP
> > does not return a root-path option.
> >
> > Lars
> >
> >
> > diff --git a/sys/nfs/bootp_subr.c b/sys/nfs/bootp_subr.c
> > index 2c57a91..972fb12 100644
> > --- a/sys/nfs/bootp_subr.c
> > +++ b/sys/nfs/bootp_subr.c
> > @@ -45,6 +45,7 @@ __FBSDID("$FreeBSD$");
> >
> >  #include "opt_bootp.h"
> >  #include "opt_nfs.h"
> > +#include "opt_rootdevname.h"
> >
> >  #include 
> >  #include 
> > @@ -870,8 +871,20 @@ bootpc_call(struct bootpc_globalcontext *gctx, struct
> > thread *td)
> > rtimo = time_second +
> > BOOTP_SETTLE_DELAY;
> > printf(" (got root path)");
> > -   } else
> > +   } else {
> > printf(" (no root path)");
> > +#ifdef ROOTDEVNAME
> > +   /*
> > +* If we'll mount rootfs from
> > +* ROOTDEVNAME, we can accept
> > +* offers without root paths.
> > +*/
> > +   gotrootpath = 1;
> > +   rtimo = time_second +
> > +   BOOTP_SETTLE_DELAY;
> > +   printf(" (ROOTDEVNAME)");
> > +#endif
> > +   }
> > printf("\n");
> > }
> > } /* while secs */
> > @@ -1440,6 +1453,16 @@ bootpc_decode_reply(struct nfsv3_diskless *nd,
> > struct bootpc_ifcontext *ifctx,
> >
> > p = bootpc_tag(&gctx->tag, &ifctx->reply, ifctx->replylen,
> >TAG_ROOT);
> > +#ifdef ROOTDEVNAME
> > +   /*
> > +* If there was no root path in BOOTP, use the one in ROOTDEVNAME.
> > +*/
> > +   if (p == NULL) {
> > +   p = strdup(ROOTDEVNAME, M_TEMP);
> > +   if (strcmp(strsep(&p, ":"), "nfs") != 0)
> > +   panic("ROOTDEVNAME is not an NFS mount point");
> > +   }
> > +#endif
> > if (p != NULL) {
> > if (gctx->setrootfs != NULL) {
> > printf("rootfs %s (ignored) ", p);
> >
> 
> 
> Sorry for not responding, I've been busy for the past few days.
> 
> Thank you for persisting with this, and trying to clean this up.
> This is  relatively old code that hasn't been touched in about 15 years,
> so not that many people have worked on it.
> 
> I don't like things like ROOTDEVNAME which need to be specified in
> the kernel config and are not part of the GENERIC kernel.
> This usually ends up where code which is behind #ifdef ROOTDEVNAME
> will bitrot because not everyone uses it.
> 
> I would like to see the ROOTDEVNAME kernel option go away,
> in favor of a variable that can be specified in loader.conf.
> 
> If I search the code via Opengrok, I with this:
> http://bxr.su/s?n=25&start=25&sort=relevancy&q=ROOTDEVNAME&project=FreeBSD
> 
> there already seems to be a variable "rootdev" that is checked in a bunch
> of places in the loader, so it would be nice if we could use that.
> 
> My personal preference  would be to delete ROOTDEVNAME from all the kernel
> configs
> and deprecate the kernel option, and instead use a tunable variable
> which could be set in loader.conf.
> 
> This may not be practical.  Do you think it would be doable if
> we can have something like this in the kernel code:
> 
> const char *rootdevname =
> #ifdef ROOTDEVNAME
> rootdevname = ROOTDEVNAME;
> #else
> rootdevname = NULL
> #endif
> 
> if (rootdevname == NULL) {
> rootdevname = getenv("rootdev");
> }
> 
> 
> or something like that?

I'm strongly opposed to removing the ROOTDEVNAME config option, for the
simple reason that loader(8) is optional so there has to be a way to set
certain basic runtime options at compile time, and ROOTDEVNAME is one of
them.

There is already a loader tunable for the root dev, vfs.root.mountfrom.
Also, there is already a mechanism similar to your proposal above (but a
bit more complex) in kern/vfs_mountroot.c.  It sets up a list of
potential roots based on the flags passed in from the boot(8) stage;
ROOTDEVNAME will be near the beginning of the list of the RB_DFLTROOT
option (-r at the boot: prompt) is used, and near the end of the list if
it isn't.  I vaguely remember that this mechanism doesn't work for nfs
mounts, but I forget why (hopefully I'll rediscover it as I test Lars'
patch this morning).

-- Ian


___
freebs

Re: bmake prevent to cross-compile 9/stable from a -current host

2013-06-04 Thread Brooks Davis
On Mon, Jun 03, 2013 at 01:16:33PM +0200, Olivier Cochard-Labb? wrote:
> Hi,
> 
> I can't build 9-stable (or 9.0, 9.1) from my -current host machine
> since the switch to bmake.
> I've solved this problem by rebuilding my -current host with
> WITHOUT_BMAKE, but I would to know if it's a known bug or a new
> expected behavior ?

You will need to provide more information about your build environment.
I'm successfully building head on a 9.0-STABLE box.  If you haven't
already tried it, removing /usr/obj or equivalent may help resolve
bootstrapping issues.

-- Brooks


pgpD9yYlv35h1.pgp
Description: PGP signature


Re: rebuilding world fail

2013-06-04 Thread Florent Peterschmitt

Le 04/06/2013 18:08, Rodrigo OSORIO a écrit :

Hi,

Rebuilding world for current, I found two blocking errors:

make installkernel retrun "1: Invalid argument"
and when I try to execute mergemaster, the system
claims he's out of file descriptors. Other commands
also fail with the same message.

I have no clues about this issue, and the system log
didn't help.

- rodrigo


Hi,

What are values of sysctl kern.openfiles and kern.maxfiles ?

Have a look with fstat for this problem of file descriptors.

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


Re: rebuilding world fail

2013-06-04 Thread Rodrigo OSORIO

Le 04/06/2013 18:08, Rodrigo OSORIO a écrit :
>/  Hi,
/>/
/>/  Rebuilding world for current, I found two blocking errors:
/>/
/>/  make installkernel retrun "1: Invalid argument"
/>/  and when I try to execute mergemaster, the system
/>/  claims he's out of file descriptors. Other commands
/>/  also fail with the same message.
/>/
/>/  I have no clues about this issue, and the system log
/>/  didn't help.
/>/
/>/  - rodrigo
/
Hi,

What are values of sysctl kern.openfiles and kern.maxfiles ?

Have a look with fstat for this problem of file descriptors.

Hi,

After reboot, cause my system was locked
kern.openfiles = 42 and kern.maxfiles = 15258.

Now I move with my pending work on 10, but I
think I can reproduce the behavior later, and
post the live values.

regards,
- rodrigo


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


Re: bmake prevent to cross-compile 9/stable from a -current host

2013-06-04 Thread Brooks Davis
On Tue, Jun 04, 2013 at 11:47:20AM -0500, Brooks Davis wrote:
> On Mon, Jun 03, 2013 at 01:16:33PM +0200, Olivier Cochard-Labb? wrote:
> > Hi,
> > 
> > I can't build 9-stable (or 9.0, 9.1) from my -current host machine
> > since the switch to bmake.
> > I've solved this problem by rebuilding my -current host with
> > WITHOUT_BMAKE, but I would to know if it's a known bug or a new
> > expected behavior ?
> 
> You will need to provide more information about your build environment.
> I'm successfully building head on a 9.0-STABLE box.  If you haven't
> already tried it, removing /usr/obj or equivalent may help resolve
> bootstrapping issues.

It's been pointed out to me that you're building 9 on HEAD, not the
other way around.  We typically try not to break this, but it has
historically been allowed.  You might try setting MAKE=fmake when
building 9.

-- Brooks


pgpNXIaaYRIIW.pgp
Description: PGP signature


Re: Unable to set root's password during install of FreeBSD-10.0-CURRENT-i386-20130601-r251213-release.iso

2013-06-04 Thread Trond Endrestøl
On Mon, 3 Jun 2013 09:49+0200, Trond Endrestøl wrote:

> On Mon, 3 Jun 2013 08:55+0200, Trond Endrestøl wrote:
> 
> > Hi,
> > 
> > I'm unable to get past the rootpass step using the 
> > FreeBSD-10.0-CURRENT-i386-20130601-r251213-release.iso snapshot.
> > 
> > The error message:
> > 
> > passwd: pam_chauthtok(): error in service module
> > 
> > is briefly shown, leaving behind a core file named /pwd_mkdb.core. 
> > 
> > pwd_mkdb does not contain any debugging symbols and this makes it a 
> > bit hard to guess what went wrong. Anyway, here's the backtrace as 
> > provided by gdb:
> > 
> > Script started on Mon Jun  3 06:50:44 2013
> > command: gdb /usr/sbin/pwd_mkdb /pwd_mkdb.core
> > GNU gdb 6.1.1 [FreeBSD]
> > Copyright 2004 Free Software Foundation, Inc.
> > GDB is free software, covered by the GNU General Public License, and you are
> > welcome to change it and/or distribute copies of it under certain 
> > conditions.
> > Type "show copying" to see the conditions.
> > There is absolutely no warranty for GDB.  Type "show warranty" for details.
> > This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols 
> > found)...
> > Core was generated by `pwd_mkdb'.
> > Program terminated with signal 11, Segmentation fault.
> > #0  0x in ?? ()
> > (gdb) bt
> > #0  0x in ?? ()
> > #1  0x0804acf2 in __pw_scan ()
> > #2  0x0804976a in __pw_scan ()
> > #3  0x08048e6a in ?? ()
> > #4  0x0007 in ?? ()
> > #5  0xbfbfdd18 in ?? ()
> > #6  0xbfbfdd38 in ?? ()
> > #7  0xbfbfdd38 in ?? ()
> > #8  0xbfbfdd14 in ?? ()
> > #9  0x in ?? ()
> > (gdb) q
> > 
> > Script done on Mon Jun  3 06:50:49 2013
> > 
> > Has anyone else tried recently to change user passwords on -CURRENT?
> 
> FYI: The FreeBSD-10.0-CURRENT-amd64-20130601-r251213-release.iso 
> snapshot does not exhibit the above behaviour. Maybe this issue is 
> specific to the i386 arch.

Nope. I was dead wrong again. It seems there's an issue with the 
physical memory of my desktop computer at work.

I tried at home the 10.0-CURRENT 20130601 r251213 snapshot for both 
i386 and amd64, and everything went smoothly. Two VirtualBox VMs are 
currently running in the background competing over who will first 
finish buildworld + buildkernel for r251390. So far the amd64 VM is 
the fastest of them.

Sorry for the noise, and please keep up the very good work.

-- 
+---++
| Vennlig hilsen,   | Best regards,  |
| Trond Endrestøl,  | Trond Endrestøl,   |
| IT-ansvarlig, | System administrator,  |
| Fagskolen Innlandet,  | Gjøvik Technical College, Norway,  |
| tlf. mob.   952 62 567,   | Cellular...: +47 952 62 567,   |
| sentralbord 61 14 54 00.  | Switchboard: +47 61 14 54 00.  |
+---++___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

[head tinderbox] failure on i386/i386

2013-06-04 Thread FreeBSD Tinderbox
TB --- 2013-06-04 15:10:18 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-06-04 15:10:18 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-06-04 15:10:18 - starting HEAD tinderbox run for i386/i386
TB --- 2013-06-04 15:10:18 - cleaning the object tree
TB --- 2013-06-04 15:15:55 - /usr/local/bin/svn stat /src
TB --- 2013-06-04 15:15:58 - At svn revision 251378
TB --- 2013-06-04 15:15:59 - building world
TB --- 2013-06-04 15:15:59 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 15:15:59 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 15:15:59 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 15:15:59 - SRCCONF=/dev/null
TB --- 2013-06-04 15:15:59 - TARGET=i386
TB --- 2013-06-04 15:15:59 - TARGET_ARCH=i386
TB --- 2013-06-04 15:15:59 - TZ=UTC
TB --- 2013-06-04 15:15:59 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 15:15:59 - cd /src
TB --- 2013-06-04 15:15:59 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Tue Jun  4 15:16:06 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Tue Jun  4 18:23:17 UTC 2013
TB --- 2013-06-04 18:23:17 - generating LINT kernel config
TB --- 2013-06-04 18:23:17 - cd /src/sys/i386/conf
TB --- 2013-06-04 18:23:17 - /usr/bin/make -B LINT
TB --- 2013-06-04 18:23:17 - cd /src/sys/i386/conf
TB --- 2013-06-04 18:23:17 - /usr/sbin/config -m LINT
TB --- 2013-06-04 18:23:17 - building LINT kernel
TB --- 2013-06-04 18:23:17 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 18:23:17 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 18:23:17 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 18:23:17 - SRCCONF=/dev/null
TB --- 2013-06-04 18:23:17 - TARGET=i386
TB --- 2013-06-04 18:23:17 - TARGET_ARCH=i386
TB --- 2013-06-04 18:23:17 - TZ=UTC
TB --- 2013-06-04 18:23:17 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 18:23:17 - cd /src
TB --- 2013-06-04 18:23:17 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Tue Jun  4 18:23:18 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
*** Error code 1

Stop.
make: stopped in /obj/i386.i386/src/sys/LINT
*** Error code 1

Stop.
make: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-06-04 18:48:03 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-06-04 18:48:03 - ERROR: failed to build LINT kernel
TB --- 2013-06-04 18:48:03 - 10254.83 user 1793.52 system 13064.76 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-i386-i386.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on amd64/amd64

2013-06-04 Thread FreeBSD Tinderbox
TB --- 2013-06-04 15:10:18 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-06-04 15:10:18 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-06-04 15:10:18 - starting HEAD tinderbox run for amd64/amd64
TB --- 2013-06-04 15:10:18 - cleaning the object tree
TB --- 2013-06-04 15:16:21 - /usr/local/bin/svn stat /src
TB --- 2013-06-04 15:16:25 - At svn revision 251378
TB --- 2013-06-04 15:16:26 - building world
TB --- 2013-06-04 15:16:26 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 15:16:26 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 15:16:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 15:16:26 - SRCCONF=/dev/null
TB --- 2013-06-04 15:16:26 - TARGET=amd64
TB --- 2013-06-04 15:16:26 - TARGET_ARCH=amd64
TB --- 2013-06-04 15:16:26 - TZ=UTC
TB --- 2013-06-04 15:16:26 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 15:16:26 - cd /src
TB --- 2013-06-04 15:16:26 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Tue Jun  4 15:16:33 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> stage 5.1: building 32 bit shim libraries
>>> World build completed on Tue Jun  4 18:59:47 UTC 2013
TB --- 2013-06-04 18:59:47 - generating LINT kernel config
TB --- 2013-06-04 18:59:47 - cd /src/sys/amd64/conf
TB --- 2013-06-04 18:59:47 - /usr/bin/make -B LINT
TB --- 2013-06-04 18:59:47 - cd /src/sys/amd64/conf
TB --- 2013-06-04 18:59:47 - /usr/sbin/config -m LINT
TB --- 2013-06-04 18:59:47 - building LINT kernel
TB --- 2013-06-04 18:59:47 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 18:59:47 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 18:59:47 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 18:59:47 - SRCCONF=/dev/null
TB --- 2013-06-04 18:59:47 - TARGET=amd64
TB --- 2013-06-04 18:59:47 - TARGET_ARCH=amd64
TB --- 2013-06-04 18:59:47 - TZ=UTC
TB --- 2013-06-04 18:59:47 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 18:59:47 - cd /src
TB --- 2013-06-04 18:59:47 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Tue Jun  4 18:59:47 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
*** Error code 1

Stop.
make: stopped in /obj/amd64.amd64/src/sys/LINT
*** Error code 1

Stop.
make: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-06-04 19:22:25 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-06-04 19:22:25 - ERROR: failed to build LINT kernel
TB --- 2013-06-04 19:22:25 - 11646.84 user 2190.48 system 15126.83 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Can't compile databases/py-sqlite3

2013-06-04 Thread Walter Hurry
I'm running 10.0-CORRENT on amd64. Ports and source are both up to date.

When I try a 'make install' in /usr/ports/databases/py-sqlite3 I get this 
very early on:

===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-
sqlite3/work/Python-2.7.5/configure
running config
: /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/
internal/arena.h:547: Failed assertion: "binind < NBINS || binind == 
BININD_INVALID"
*** Signal 6

Stop.
make: stopped in /usr/ports/databases/py-sqlite3

I'm afraid this binind business doesn't mean much to me. Is there 
anything I can do?

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


Re: Can't compile databases/py-sqlite3

2013-06-04 Thread Dimitry Andric
On Jun 4, 2013, at 21:15, Walter Hurry  wrote:
> I'm running 10.0-CORRENT on amd64. Ports and source are both up to date.
> 
> When I try a 'make install' in /usr/ports/databases/py-sqlite3 I get this 
> very early on:
> 
> ===>   FreeBSD 10 autotools fix applied to /usr/ports/databases/py-
> sqlite3/work/Python-2.7.5/configure
> running config
> : /usr/src/lib/libc/../../contrib/jemalloc/include/jemalloc/
> internal/arena.h:547: Failed assertion: "binind < NBINS || binind == 
> BININD_INVALID"
> *** Signal 6
> 
> Stop.
> make: stopped in /usr/ports/databases/py-sqlite3
> 
> I'm afraid this binind business doesn't mean much to me. Is there 
> anything I can do?

Please try the patch from this very recent post (on this very list ;-):
http://lists.freebsd.org/pipermail/freebsd-current/2013-June/042230.html

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


Cannot build ports on fresh 10.0

2013-06-04 Thread mdf
I installed a new VM with 10.0 today from this .iso:

ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/amd64/10.0/FreeBSD-10.0-CURRENT-amd64-20130601-r251213-release.iso

And I'm behind a firewall and I'm not sure I can use pkg(1); my one attempt
failed:

# pkg install m4
Updating repository catalogue
Repository catalogue is up-to-date, no need to fetch fresh copy
pkg: Package 'm4' was not found in the repositories

So I'm building from source.  But the configure step of various ports fails
like so:

checking whether make sets $(MAKE)... yes
checking build system type... Invalid configuration
`amd64-portbld-freebsd10.0': machine `amd64-portbld' not recognized
configure: error: /bin/sh libltdl/config/config.sub
amd64-portbld-freebsd10.0 failed
===>  Script "configure" failed unexpectedly.
Please report the problem to autoto...@freebsd.org [maintainer] and attach
the "/usr/ports/devel/libtool/work/libtool-2.4.2/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Any ideas what could be wrong?  It's a fresh install with default options,
so it seems hard to believe I managed to screw something up already.
Posting on -current since this happens to many of the ports when I try to
build them.

Thanks,
matthew
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Cannot build ports on fresh 10.0

2013-06-04 Thread hiren panchasara
On Tue, Jun 4, 2013 at 2:42 PM,   wrote:
> I installed a new VM with 10.0 today from this .iso:
>
> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/amd64/10.0/FreeBSD-10.0-CURRENT-amd64-20130601-r251213-release.iso
>
> And I'm behind a firewall and I'm not sure I can use pkg(1); my one attempt
> failed:
>
> # pkg install m4
> Updating repository catalogue
> Repository catalogue is up-to-date, no need to fetch fresh copy
> pkg: Package 'm4' was not found in the repositories
>
> So I'm building from source.  But the configure step of various ports fails
> like so:
>
> checking whether make sets $(MAKE)... yes
> checking build system type... Invalid configuration
> `amd64-portbld-freebsd10.0': machine `amd64-portbld' not recognized
> configure: error: /bin/sh libltdl/config/config.sub
> amd64-portbld-freebsd10.0 failed
> ===>  Script "configure" failed unexpectedly.
> Please report the problem to autoto...@freebsd.org [maintainer] and attach
> the "/usr/ports/devel/libtool/work/libtool-2.4.2/config.log" including the
> output of the failure of your make command. Also, it might be a good idea to
> provide an overview of all packages installed on your system (e.g. a
> /usr/local/sbin/pkg-static info -g -Ea).
> *** Error code 1

_Probably_ similar to this?
http://lists.freebsd.org/pipermail/freebsd-ports/2013-June/084040.html

cheers,
Hiren
>
> Any ideas what could be wrong?  It's a fresh install with default options,
> so it seems hard to believe I managed to screw something up already.
> Posting on -current since this happens to many of the ports when I try to
> build them.
>
> Thanks,
> matthew
> ___
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Cannot build ports on fresh 10.0

2013-06-04 Thread mdf
On Tue, Jun 4, 2013 at 3:07 PM, hiren panchasara  wrote:

> On Tue, Jun 4, 2013 at 2:42 PM,   wrote:
> > I installed a new VM with 10.0 today from this .iso:
> >
> >
> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/amd64/10.0/FreeBSD-10.0-CURRENT-amd64-20130601-r251213-release.iso
> >
> > And I'm behind a firewall and I'm not sure I can use pkg(1); my one
> attempt
> > failed:
> >
> > # pkg install m4
> > Updating repository catalogue
> > Repository catalogue is up-to-date, no need to fetch fresh copy
> > pkg: Package 'm4' was not found in the repositories
> >
> > So I'm building from source.  But the configure step of various ports
> fails
> > like so:
> >
> > checking whether make sets $(MAKE)... yes
> > checking build system type... Invalid configuration
> > `amd64-portbld-freebsd10.0': machine `amd64-portbld' not recognized
> > configure: error: /bin/sh libltdl/config/config.sub
> > amd64-portbld-freebsd10.0 failed
> > ===>  Script "configure" failed unexpectedly.
> > Please report the problem to autoto...@freebsd.org [maintainer] and
> attach
> > the "/usr/ports/devel/libtool/work/libtool-2.4.2/config.log" including
> the
> > output of the failure of your make command. Also, it might be a good
> idea to
> > provide an overview of all packages installed on your system (e.g. a
> > /usr/local/sbin/pkg-static info -g -Ea).
> > *** Error code 1
>
> _Probably_ similar to this?
> http://lists.freebsd.org/pipermail/freebsd-ports/2013-June/084040.html
>

Looks very likely.  I'm testing the patch now.  My rudimentary search of
-ports wasn't good enough, I guess.

Thanks,
matthew
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on i386/pc98

2013-06-04 Thread FreeBSD Tinderbox
TB --- 2013-06-04 18:48:04 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-06-04 18:48:04 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-06-04 18:48:04 - starting HEAD tinderbox run for i386/pc98
TB --- 2013-06-04 18:48:04 - cleaning the object tree
TB --- 2013-06-04 18:48:04 - /usr/local/bin/svn stat /src
TB --- 2013-06-04 18:48:19 - At svn revision 251378
TB --- 2013-06-04 18:48:20 - building world
TB --- 2013-06-04 18:48:20 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 18:48:20 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 18:48:20 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 18:48:20 - SRCCONF=/dev/null
TB --- 2013-06-04 18:48:20 - TARGET=pc98
TB --- 2013-06-04 18:48:20 - TARGET_ARCH=i386
TB --- 2013-06-04 18:48:20 - TZ=UTC
TB --- 2013-06-04 18:48:20 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 18:48:20 - cd /src
TB --- 2013-06-04 18:48:20 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Tue Jun  4 18:48:28 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Tue Jun  4 22:02:37 UTC 2013
TB --- 2013-06-04 22:02:37 - generating LINT kernel config
TB --- 2013-06-04 22:02:37 - cd /src/sys/pc98/conf
TB --- 2013-06-04 22:02:37 - /usr/bin/make -B LINT
TB --- 2013-06-04 22:02:37 - cd /src/sys/pc98/conf
TB --- 2013-06-04 22:02:37 - /usr/sbin/config -m LINT
TB --- 2013-06-04 22:02:37 - building LINT kernel
TB --- 2013-06-04 22:02:37 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-04 22:02:37 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-04 22:02:37 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-04 22:02:37 - SRCCONF=/dev/null
TB --- 2013-06-04 22:02:37 - TARGET=pc98
TB --- 2013-06-04 22:02:37 - TARGET_ARCH=i386
TB --- 2013-06-04 22:02:37 - TZ=UTC
TB --- 2013-06-04 22:02:37 - __MAKE_CONF=/dev/null
TB --- 2013-06-04 22:02:37 - cd /src
TB --- 2013-06-04 22:02:37 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Tue Jun  4 22:02:37 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
*** Error code 1

Stop.
make: stopped in /obj/pc98.i386/src/sys/LINT
*** Error code 1

Stop.
make: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-06-04 22:21:04 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-06-04 22:21:04 - ERROR: failed to build LINT kernel
TB --- 2013-06-04 22:21:04 - 10291.65 user 1395.85 system 12780.08 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-i386-pc98.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: rebuilding world fail

2013-06-04 Thread Jilles Tjoelker
On Tue, Jun 04, 2013 at 07:39:59PM +0200, Rodrigo OSORIO wrote:
> > Le 04/06/2013 18:08, Rodrigo OSORIO a écrit :
> > />/  Rebuilding world for current, I found two blocking errors:

> > />/  make installkernel retrun "1: Invalid argument"
> > />/  and when I try to execute mergemaster, the system
> > />/  claims he's out of file descriptors. Other commands
> > />/  also fail with the same message.

> > />/  I have no clues about this issue, and the system log
> > />/  didn't help.

> > What are values of sysctl kern.openfiles and kern.maxfiles ?

> > Have a look with fstat for this problem of file descriptors.

> After reboot, cause my system was locked
> kern.openfiles = 42 and kern.maxfiles = 15258.

> Now I move with my pending work on 10, but I
> think I can reproduce the behavior later, and
> post the live values.

One other possibility is that the documented procedure was not followed
and a new userland is being run on an old kernel. Since fairly recently,
/bin/sh has used fcntl(F_DUPFD_CLOEXEC) which is not in 9.1-RELEASE
although it has been in head for the better part of a year. Note that
fdlopen() (possibly used by PAM) has depended on F_DUPFD_CLOEXEC for
longer.

You can try booting the new kernel manually or getting a /bin/sh binary
from before svn r250267 from somewhere.

-- 
Jilles Tjoelker
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Cannot build ports on fresh 10.0

2013-06-04 Thread Craig Rodrigues
On Tue, Jun 4, 2013 at 2:42 PM,  wrote:

> I installed a new VM with 10.0 today from this .iso:
>
>
> ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/ISO-IMAGES/amd64/10.0/FreeBSD-10.0-CURRENT-amd64-20130601-r251213-release.iso
>
> And I'm behind a firewall and I'm not sure I can use pkg(1); my one attempt
> failed:
>


If you want, you can follow these instructions:

http://blogs.freebsdish.org/rodrigc/2013/05/24/setting-up-a-vm-for-doing-gsoc-work/

I had to bootstrap a Google Summer of Code student with a 10.0-CURRENT ISO,
and had him install 600 binary packages from one of the pkgng mirrors, and
it worked out.

The pkgng mirror won't be necessary once all the pkgng build infrastructure
is fully online and building packages.

--
Craig
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on armv6/arm

2013-06-04 Thread FreeBSD Tinderbox
TB --- 2013-06-05 01:10:18 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-06-05 01:10:18 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-06-05 01:10:18 - starting HEAD tinderbox run for armv6/arm
TB --- 2013-06-05 01:10:18 - cleaning the object tree
TB --- 2013-06-05 01:10:18 - /usr/local/bin/svn stat /src
TB --- 2013-06-05 01:10:22 - At svn revision 251402
TB --- 2013-06-05 01:10:23 - building world
TB --- 2013-06-05 01:10:23 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-05 01:10:23 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-05 01:10:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-05 01:10:23 - SRCCONF=/dev/null
TB --- 2013-06-05 01:10:23 - TARGET=arm
TB --- 2013-06-05 01:10:23 - TARGET_ARCH=armv6
TB --- 2013-06-05 01:10:23 - TZ=UTC
TB --- 2013-06-05 01:10:23 - __MAKE_CONF=/dev/null
TB --- 2013-06-05 01:10:23 - cd /src
TB --- 2013-06-05 01:10:23 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Wed Jun  5 01:10:30 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
[...]
*** Error code 1

Stop.
make: stopped in /src
*** Error code 1

Stop.
make: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-06-05 02:19:07 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-06-05 02:19:07 - ERROR: failed to build world
TB --- 2013-06-05 02:19:07 - 3613.77 user 355.81 system 4128.80 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-armv6-arm.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on arm/arm

2013-06-04 Thread FreeBSD Tinderbox
TB --- 2013-06-05 01:10:18 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-06-05 01:10:18 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-06-05 01:10:18 - starting HEAD tinderbox run for arm/arm
TB --- 2013-06-05 01:10:18 - cleaning the object tree
TB --- 2013-06-05 01:10:18 - /usr/local/bin/svn stat /src
TB --- 2013-06-05 01:10:22 - At svn revision 251402
TB --- 2013-06-05 01:10:23 - building world
TB --- 2013-06-05 01:10:23 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-05 01:10:23 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-05 01:10:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-05 01:10:23 - SRCCONF=/dev/null
TB --- 2013-06-05 01:10:23 - TARGET=arm
TB --- 2013-06-05 01:10:23 - TARGET_ARCH=arm
TB --- 2013-06-05 01:10:23 - TZ=UTC
TB --- 2013-06-05 01:10:23 - __MAKE_CONF=/dev/null
TB --- 2013-06-05 01:10:23 - cd /src
TB --- 2013-06-05 01:10:23 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Wed Jun  5 01:10:30 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
[...]
*** Error code 1

Stop.
make: stopped in /src
*** Error code 1

Stop.
make: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-06-05 02:19:07 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-06-05 02:19:07 - ERROR: failed to build world
TB --- 2013-06-05 02:19:07 - 3614.42 user 355.75 system 4128.93 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-arm-arm.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [head tinderbox] failure on armv6/arm

2013-06-04 Thread Glen Barber
Verbose build log follows:

(cd /zbuilder/buildd/head && make bmake)
--
>>> Building an up-to-date make(1)
--
===> unit-tests (obj)
sh /zbuilder/buildd/head/tools/install.sh -s -o root -g wheel -m 555   make 
/usr/obj/zbuilder/buildd/head/make.amd64/make
--- buildworld_prologue ---
--
>>> World build started on Tue Jun  4 22:17:51 EDT 2013
--
--- _worldtmp ---
--
>>> Rebuilding the temporary build tree
--
rm -rf /usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/legacy/usr/include
rm -f /usr/obj/arm.armv6eb/zbuilder/buildd/head/usr.bin/kdump/ioctl.c
rm -f /usr/obj/arm.armv6eb/zbuilder/buildd/head/usr.bin/kdump/kdump_subr.c
rm -f /usr/obj/arm.armv6eb/zbuilder/buildd/head/usr.bin/truss/ioctl.c
mkdir -p /usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/lib
mkdir -p /usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/usr
mkdir -p /usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/legacy/bin
mkdir -p /usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/legacy/usr
mtree -deU -f /zbuilder/buildd/head/etc/mtree/BSD.usr.dist  -p 
/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/legacy/usr >/dev/null
mtree -deU -f /zbuilder/buildd/head/etc/mtree/BSD.groff.dist  -p 
/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/legacy/usr >/dev/null
mtree -deU -f /zbuilder/buildd/head/etc/mtree/BSD.usr.dist  -p 
/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/usr >/dev/null
mtree -deU -f /zbuilder/buildd/head/etc/mtree/BSD.include.dist  -p 
/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/usr/include >/dev/null
ln -sf /zbuilder/buildd/head/sys /usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp
--- _legacy ---
--
>>> stage 1.1: legacy release compatibility shims
--
[...]
--
>>> stage 4.2: building libraries
--
cd /zbuilder/buildd/head;  MAKEOBJDIRPREFIX=/usr/obj/arm.armv6eb  
MACHINE_ARCH=armv6eb  MACHINE=arm  CPUTYPE= 
GROFF_BIN_PATH=/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/legacy/usr/bin  
GROFF_FONT_PATH=/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/legacy/usr/share/groff_font
  
GROFF_TMAC_PATH=/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/legacy/usr/share/tmac
  _SHLIBDIRPREFIX=/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp  _LDSCRIPTROOT= 
 VERSION="FreeBSD 10.0-CURRENT amd64 130"  INSTALL="sh 
/zbuilder/buildd/head/tools/install.sh"  
PATH=/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/legacy/usr/sbin:/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/legacy/usr/bin:/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/legacy/usr/games:/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/legacy/bin:/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/usr/sbin:/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/usr/bin:/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/usr/games:/sbin:/bin:/usr/sbin:/usr/bin
 CC="cc " CXX="
 c++ "  CPP="cpp "  AS="as" AR="ar" LD="ld" NM=nm  OBJDUMP= RANLIB=ranlib 
STRINGS= COMPILER_TYPE=gcc /usr/obj/zbuilder/buildd/head/make.amd64/make  -f 
Makefile.inc1 DESTDIR=/usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp -DNO_FSCHG 
-DWITHOUT_HTML -DWITHOUT_INFO -DNO_LINT  -DWITHOUT_MAN -DNO_PROFILE libraries
--- libraries ---
cd /zbuilder/buildd/head;  /usr/obj/zbuilder/buildd/head/make.amd64/make -f 
Makefile.inc1 _prereq_libs;  /usr/obj/zbuilder/buildd/head/make.amd64/make -f 
Makefile.inc1 _startup_libs;  /usr/obj/zbuilder/buildd/head/make.amd64/make -f 
Makefile.inc1 _prebuild_libs;  /usr/obj/zbuilder/buildd/head/make.amd64/make -f 
Makefile.inc1 _generic_libs;
--- gnu/lib/libssp/libssp_nonshared__PL ---
--- gnu/lib/libgcc__PL ---
--- lib/libcompiler_rt__PL ---
--- gnu/lib/libssp/libssp_nonshared__PL ---
===> gnu/lib/libssp/libssp_nonshared (obj,depend,all,install)
--- gnu/lib/libgcc__PL ---
===> gnu/lib/libgcc (obj,depend,all,install)
--- lib/libcompiler_rt__PL ---
===> lib/libcompiler_rt (obj,depend,all,install)
--- gnu/lib/libssp/libssp_nonshared__PL ---
--- obj ---
--- gnu/lib/libgcc__PL ---
--- obj ---
--- lib/libcompiler_rt__PL ---
--- obj ---
--- gnu/lib/libssp/libssp_nonshared__PL ---
--- _libinstall ---
sh /zbuilder/buildd/head/tools/install.sh -C -o root -g wheel -m 444   
libssp_nonshared.a /usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/usr/lib
--- gnu/lib/libgcc__PL ---
--- _lib-eh-install ---
sh /zbuilder/buildd/head/tools/install.sh -C -o root -g wheel -m 444   
libgcc_eh.a /usr/obj/arm.armv6eb/zbuilder/buildd/head/tmp/usr/lib
--- lib/libcompiler_rt__PL ---
--- _libinstall ---
sh /zbuilder/buildd/head/tools/install.sh -C -o root -g wheel -m 444   
libcompiler_rt.a /usr/obj

Memstick Images not working (mountroot prompt)

2013-06-04 Thread Miguel Clara
Hello,

I need to Install FreeBSD 10 on my laptop to have Wireless support for
my card (ath) however I tried all of the available memstick images at:
ftp://ftp.uk.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/10.0/

And none of them works... I've tried 2 different pen drivers, one of
those is a generic cheap one, and another is a "DKingston DT 100 G2"

When typing "?" in the mount root prompt I see my ssd and hdd are
listed, but not the memstick (which I assume it should be da0).

I had no problems with the 9.1 stable image using the same memstick!

Thanks
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Memstick Images not working (mountroot prompt)

2013-06-04 Thread Glen Barber
Hi,

On Wed, Jun 05, 2013 at 04:33:19AM +0100, Miguel Clara wrote:
> Hello,
> 
> I need to Install FreeBSD 10 on my laptop to have Wireless support for
> my card (ath) however I tried all of the available memstick images at:
> ftp://ftp.uk.freebsd.org/pub/FreeBSD/snapshots/amd64/amd64/ISO-IMAGES/10.0/
> 
> And none of them works... I've tried 2 different pen drivers, one of
> those is a generic cheap one, and another is a "DKingston DT 100 G2"
> 
> When typing "?" in the mount root prompt I see my ssd and hdd are
> listed, but not the memstick (which I assume it should be da0).
> 
> I had no problems with the 9.1 stable image using the same memstick!
> 

I have personally boot tested the memstick images, without problem.

What is 'Legacy USB' set to in BIOS on your machine?

Glen



pgp4HfOeSdIPP.pgp
Description: PGP signature


[head tinderbox] failure on i386/i386

2013-06-04 Thread FreeBSD Tinderbox
TB --- 2013-06-05 01:10:18 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-06-05 01:10:18 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-06-05 01:10:18 - starting HEAD tinderbox run for i386/i386
TB --- 2013-06-05 01:10:18 - cleaning the object tree
TB --- 2013-06-05 01:14:22 - /usr/local/bin/svn stat /src
TB --- 2013-06-05 01:14:25 - At svn revision 251402
TB --- 2013-06-05 01:14:26 - building world
TB --- 2013-06-05 01:14:26 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-05 01:14:26 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-05 01:14:26 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-05 01:14:26 - SRCCONF=/dev/null
TB --- 2013-06-05 01:14:26 - TARGET=i386
TB --- 2013-06-05 01:14:26 - TARGET_ARCH=i386
TB --- 2013-06-05 01:14:26 - TZ=UTC
TB --- 2013-06-05 01:14:26 - __MAKE_CONF=/dev/null
TB --- 2013-06-05 01:14:26 - cd /src
TB --- 2013-06-05 01:14:26 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Wed Jun  5 01:14:33 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Wed Jun  5 04:20:16 UTC 2013
TB --- 2013-06-05 04:20:16 - generating LINT kernel config
TB --- 2013-06-05 04:20:16 - cd /src/sys/i386/conf
TB --- 2013-06-05 04:20:16 - /usr/bin/make -B LINT
TB --- 2013-06-05 04:20:16 - cd /src/sys/i386/conf
TB --- 2013-06-05 04:20:16 - /usr/sbin/config -m LINT
TB --- 2013-06-05 04:20:16 - building LINT kernel
TB --- 2013-06-05 04:20:16 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-05 04:20:16 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-05 04:20:16 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-05 04:20:16 - SRCCONF=/dev/null
TB --- 2013-06-05 04:20:16 - TARGET=i386
TB --- 2013-06-05 04:20:16 - TARGET_ARCH=i386
TB --- 2013-06-05 04:20:16 - TZ=UTC
TB --- 2013-06-05 04:20:16 - __MAKE_CONF=/dev/null
TB --- 2013-06-05 04:20:16 - cd /src
TB --- 2013-06-05 04:20:16 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Wed Jun  5 04:20:16 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
*** Error code 1

Stop.
make: stopped in /obj/i386.i386/src/sys/LINT
*** Error code 1

Stop.
make: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-06-05 04:31:50 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-06-05 04:31:50 - ERROR: failed to build LINT kernel
TB --- 2013-06-05 04:31:50 - 9656.54 user 1447.62 system 12091.55 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-i386-i386.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on amd64/amd64

2013-06-04 Thread FreeBSD Tinderbox
TB --- 2013-06-05 01:10:18 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-06-05 01:10:18 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-06-05 01:10:18 - starting HEAD tinderbox run for amd64/amd64
TB --- 2013-06-05 01:10:18 - cleaning the object tree
TB --- 2013-06-05 01:14:49 - /usr/local/bin/svn stat /src
TB --- 2013-06-05 01:14:52 - At svn revision 251402
TB --- 2013-06-05 01:14:53 - building world
TB --- 2013-06-05 01:14:53 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-05 01:14:53 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-05 01:14:53 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-05 01:14:53 - SRCCONF=/dev/null
TB --- 2013-06-05 01:14:53 - TARGET=amd64
TB --- 2013-06-05 01:14:53 - TARGET_ARCH=amd64
TB --- 2013-06-05 01:14:53 - TZ=UTC
TB --- 2013-06-05 01:14:53 - __MAKE_CONF=/dev/null
TB --- 2013-06-05 01:14:53 - cd /src
TB --- 2013-06-05 01:14:53 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Wed Jun  5 01:15:00 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> stage 5.1: building 32 bit shim libraries
>>> World build completed on Wed Jun  5 04:54:28 UTC 2013
TB --- 2013-06-05 04:54:28 - generating LINT kernel config
TB --- 2013-06-05 04:54:28 - cd /src/sys/amd64/conf
TB --- 2013-06-05 04:54:28 - /usr/bin/make -B LINT
TB --- 2013-06-05 04:54:28 - cd /src/sys/amd64/conf
TB --- 2013-06-05 04:54:28 - /usr/sbin/config -m LINT
TB --- 2013-06-05 04:54:28 - building LINT kernel
TB --- 2013-06-05 04:54:28 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-05 04:54:28 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-05 04:54:28 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-05 04:54:28 - SRCCONF=/dev/null
TB --- 2013-06-05 04:54:28 - TARGET=amd64
TB --- 2013-06-05 04:54:28 - TARGET_ARCH=amd64
TB --- 2013-06-05 04:54:28 - TZ=UTC
TB --- 2013-06-05 04:54:28 - __MAKE_CONF=/dev/null
TB --- 2013-06-05 04:54:28 - cd /src
TB --- 2013-06-05 04:54:28 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Wed Jun  5 04:54:29 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
*** Error code 1

Stop.
make: stopped in /obj/amd64.amd64/src/sys/LINT
*** Error code 1

Stop.
make: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-06-05 05:05:51 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-06-05 05:05:51 - ERROR: failed to build LINT kernel
TB --- 2013-06-05 05:05:51 - 11057.50 user 1846.03 system 14133.12 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-amd64-amd64.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


[head tinderbox] failure on i386/pc98

2013-06-04 Thread FreeBSD Tinderbox
TB --- 2013-06-05 02:19:07 - tinderbox 2.10 running on freebsd-current.sentex.ca
TB --- 2013-06-05 02:19:07 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
TB --- 2013-06-05 02:19:07 - starting HEAD tinderbox run for i386/pc98
TB --- 2013-06-05 02:19:07 - cleaning the object tree
TB --- 2013-06-05 02:20:08 - /usr/local/bin/svn stat /src
TB --- 2013-06-05 02:20:11 - At svn revision 251402
TB --- 2013-06-05 02:20:12 - building world
TB --- 2013-06-05 02:20:12 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-05 02:20:12 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-05 02:20:12 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-05 02:20:12 - SRCCONF=/dev/null
TB --- 2013-06-05 02:20:12 - TARGET=pc98
TB --- 2013-06-05 02:20:12 - TARGET_ARCH=i386
TB --- 2013-06-05 02:20:12 - TZ=UTC
TB --- 2013-06-05 02:20:12 - __MAKE_CONF=/dev/null
TB --- 2013-06-05 02:20:12 - cd /src
TB --- 2013-06-05 02:20:12 - /usr/bin/make -B buildworld
>>> Building an up-to-date make(1)
>>> World build started on Wed Jun  5 02:20:20 UTC 2013
>>> Rebuilding the temporary build tree
>>> stage 1.1: legacy release compatibility shims
>>> stage 1.2: bootstrap tools
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3: cross tools
>>> stage 4.1: building includes
>>> stage 4.2: building libraries
>>> stage 4.3: make dependencies
>>> stage 4.4: building everything
>>> World build completed on Wed Jun  5 05:34:38 UTC 2013
TB --- 2013-06-05 05:34:38 - generating LINT kernel config
TB --- 2013-06-05 05:34:38 - cd /src/sys/pc98/conf
TB --- 2013-06-05 05:34:38 - /usr/bin/make -B LINT
TB --- 2013-06-05 05:34:38 - cd /src/sys/pc98/conf
TB --- 2013-06-05 05:34:38 - /usr/sbin/config -m LINT
TB --- 2013-06-05 05:34:38 - building LINT kernel
TB --- 2013-06-05 05:34:38 - CROSS_BUILD_TESTING=YES
TB --- 2013-06-05 05:34:38 - MAKEOBJDIRPREFIX=/obj
TB --- 2013-06-05 05:34:38 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
TB --- 2013-06-05 05:34:38 - SRCCONF=/dev/null
TB --- 2013-06-05 05:34:38 - TARGET=pc98
TB --- 2013-06-05 05:34:38 - TARGET_ARCH=i386
TB --- 2013-06-05 05:34:38 - TZ=UTC
TB --- 2013-06-05 05:34:38 - __MAKE_CONF=/dev/null
TB --- 2013-06-05 05:34:38 - cd /src
TB --- 2013-06-05 05:34:38 - /usr/bin/make -B buildkernel KERNCONF=LINT
>>> Kernel build for LINT started on Wed Jun  5 05:34:38 UTC 2013
>>> stage 1: configuring the kernel
>>> stage 2.1: cleaning up the object tree
>>> stage 2.2: rebuilding the object tree
>>> stage 2.3: build tools
>>> stage 3.1: making dependencies
>>> stage 3.2: building everything
[...]
*** Error code 1

Stop.
make: stopped in /obj/pc98.i386/src/sys/LINT
*** Error code 1

Stop.
make: stopped in /src
*** Error code 1

Stop in /src.
TB --- 2013-06-05 05:44:20 - WARNING: /usr/bin/make returned exit code  1 
TB --- 2013-06-05 05:44:20 - ERROR: failed to build LINT kernel
TB --- 2013-06-05 05:44:20 - 9782.84 user 1556.46 system 12312.84 real


http://tinderbox.freebsd.org/tinderbox-head-build-HEAD-i386-pc98.full
___
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: [head tinderbox] failure on armv6/arm

2013-06-04 Thread Tim Kientzle
Seems the tinderbox scripts are routinely showing too little of the actual 
error these days...

On Jun 4, 2013, at 7:19 PM, FreeBSD Tinderbox wrote:

> TB --- 2013-06-05 01:10:18 - tinderbox 2.10 running on 
> freebsd-current.sentex.ca
> TB --- 2013-06-05 01:10:18 - FreeBSD freebsd-current.sentex.ca 8.3-PRERELEASE 
> FreeBSD 8.3-PRERELEASE #0: Mon Mar 26 13:54:12 EDT 2012 
> d...@freebsd-current.sentex.ca:/usr/obj/usr/src/sys/GENERIC  amd64
> TB --- 2013-06-05 01:10:18 - starting HEAD tinderbox run for armv6/arm
> TB --- 2013-06-05 01:10:18 - cleaning the object tree
> TB --- 2013-06-05 01:10:18 - /usr/local/bin/svn stat /src
> TB --- 2013-06-05 01:10:22 - At svn revision 251402
> TB --- 2013-06-05 01:10:23 - building world
> TB --- 2013-06-05 01:10:23 - CROSS_BUILD_TESTING=YES
> TB --- 2013-06-05 01:10:23 - MAKEOBJDIRPREFIX=/obj
> TB --- 2013-06-05 01:10:23 - PATH=/usr/bin:/usr/sbin:/bin:/sbin
> TB --- 2013-06-05 01:10:23 - SRCCONF=/dev/null
> TB --- 2013-06-05 01:10:23 - TARGET=arm
> TB --- 2013-06-05 01:10:23 - TARGET_ARCH=armv6
> TB --- 2013-06-05 01:10:23 - TZ=UTC
> TB --- 2013-06-05 01:10:23 - __MAKE_CONF=/dev/null
> TB --- 2013-06-05 01:10:23 - cd /src
> TB --- 2013-06-05 01:10:23 - /usr/bin/make -B buildworld
 Building an up-to-date make(1)
 World build started on Wed Jun  5 01:10:30 UTC 2013
 Rebuilding the temporary build tree
 stage 1.1: legacy release compatibility shims
 stage 1.2: bootstrap tools
 stage 2.1: cleaning up the object tree
 stage 2.2: rebuilding the object tree
 stage 2.3: build tools
 stage 3: cross tools
 stage 4.1: building includes
 stage 4.2: building libraries
> [...]
> ===> cddl/lib/libavl (all)
> cc   -O -pipe  -I/src/cddl/lib/libavl/../../../sys/cddl/compat/opensolaris 
> -I/src/cddl/lib/libavl/../../../sys/cddl/contrib/opensolaris/uts/common 
> -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Qunused-arguments -Wno-pointer-sign 
> -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare 
> -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function 
> -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
> -Wno-parentheses -Wno-unknown-pragmas -c 
> /src/cddl/lib/libavl/../../../sys/cddl/contrib/opensolaris/common/avl/avl.c 
> -o avl.o
> building static avl library
> ranlib libavl.a
> cc  -fpic -DPIC  -O -pipe  
> -I/src/cddl/lib/libavl/../../../sys/cddl/compat/opensolaris 
> -I/src/cddl/lib/libavl/../../../sys/cddl/contrib/opensolaris/uts/common 
> -DNEED_SOLARIS_BOOLEAN -std=gnu89 -Qunused-arguments -Wno-pointer-sign 
> -Wno-empty-body -Wno-string-plus-int -Wno-tautological-compare 
> -Wno-unused-value -Wno-parentheses-equality -Wno-unused-function 
> -Wno-conversion -Wno-switch -Wno-switch-enum -Wno-knr-promoted-parameter 
> -Wno-parentheses -Wno-unknown-pragmas -c 
> /src/cddl/lib/libavl/../../../sys/cddl/contrib/opensolaris/common/avl/avl.c 
> -o avl.So
> building shared library libavl.so.2
> /obj/arm.armv6/src/tmp/usr/bin/ld: cannot find -lgcc_s
> cc: error: linker command failed with exit code 1 (use -v to see invocation)
> *** Error code 1
> 
> Stop.
> make: stopped in /src/cddl/lib/libavl
> *** Error code 1
> 
> Stop.
> make: stopped in /src/cddl/lib
> ===> cddl/lib/libavl (install)
> sh /src/tools/install.sh -C -o root -g wheel -m 444   libavl.a 
> /obj/arm.armv6/src/tmp/usr/lib
> sh /src/tools/install.sh -s -o root -g wheel -m 444 libavl.so.2 
> /obj/arm.armv6/src/tmp/lib
> install: libavl.so.2: No such file or directory
> *** Error code 71
> 
> Stop.
> make: stopped in /src/cddl/lib/libavl
> *** Error code 1
> 
> Stop.
> make: stopped in /src/cddl/lib
> *** Error code 1
> 
> Stop.
> make: stopped in /src
> *** Error code 1
> 
> Stop.
> make: stopped in /src
> *** Error code 1
> 
> Stop.
> make: stopped in /src
> *** Error code 1
> 
> Stop in /src.
> TB --- 2013-06-05 02:19:07 - WARNING: /usr/bin/make returned exit code  1 
> TB --- 2013-06-05 02:19:07 - ERROR: failed to build world
> TB --- 2013-06-05 02:19:07 - 3613.77 user 355.81 system 4128.80 real
> 


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