Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Aug 2013 12:46:45 -0500 (CDT)
From:      Dan Mack <mack@macktronics.com>
To:        Lev Serebryakov <lev@FreeBSD.org>
Cc:        Glen Barber <gjb@FreeBSD.org>, freebsd-current@freebsd.org, freebsd-embedded@freebsd.org
Subject:   Re: nanobsd-built system doesn't have SVN revision in "uname" (and it looks like regression)
Message-ID:  <alpine.BSF.2.00.1308101235030.26745@olive.macktronics.com>
In-Reply-To: <529930061.20130810191339@serebryakov.spb.ru>
References:  <383656436.20130810150849@serebryakov.spb.ru> <37152758.20130810151846@serebryakov.spb.ru> <602958881.20130810180203@serebryakov.spb.ru> <CAJ-Vmo=nwiC-598%2BaaA4FFQCscjyox4PwTiDDMXb6SGFGGx3Ng@mail.gmail.com> <20130810141324.GD2432@glenbarber.us> <529930061.20130810191339@serebryakov.spb.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Same problems here ... sometime after 10.0-CURRENT r253918 ... 
Two other systems stopped working and they have a mixture of svn / 
svnlite version combinations:

working system:

#1: ports svn installed at newer version
root@borg:/usr/src # svnversion ; svnversion --version | head -1
253918
svnversion, version 1.8.0 (r1490375)
root@borg:/usr/src # svnliteversion ; svnliteversion --version | head -1
253918
svnversion, version 1.8.1 (r1503906)
root@borg:/usr/src # uname -a
FreeBSD borg.example.com 10.0-CURRENT FreeBSD 10.0-CURRENT #3 r253918: Sat Aug  3 15:16:58 CDT 2013 root@borg.example.com:/usr/obj/usr/src/sys/MACKGEN  amd64

Systems not working:

#2: no ports svn installed
root@olive:/usr/src # uname -a
FreeBSD olive.example.com 10.0-CURRENT FreeBSD 10.0-CURRENT #5: Sat Aug 10 08:30:25 CDT 2013 root@olive.example.com:/usr/obj/usr/src/sys/MACKGEN 
amd64 root@olive:/usr/src # svnversion ; svnversion --version | head -1
svnversion: Command not found.
svnversion: Command not found.
root@olive:/usr/src # svnliteversion ; svnliteversion --version | head -1
254178
svnversion, version 1.8.1 (r1503906)

#3: ports version installed at newer version
root@darkstor:/usr/src # uname -a
FreeBSD darkstor.example.com 10.0-CURRENT FreeBSD 10.0-CURRENT #7: Sat Aug 10 08:35:47 CDT 2013 root@darkstor.example.com:/usr/obj/usr/src/sys/MACKGEN  amd64
root@darkstor:/usr/src # svnversion ; svnversion --version | head -1
254178
svnversion, version 1.8.0 (r1490375)
root@darkstor:/usr/src # svnliteversion ; svnliteversion --version | head -1
254178
svnversion, version 1.8.1 (r1503906)

Dan

On Sat, 10 Aug 2013, Lev Serebryakov wrote:

> Hello, Glen.
> You wrote 10 ??????? 2013 ?., 18:13:24:
>
> GB> Hmm.  I suspect r254094 is to blame here, although I did extensive
> GB> testing with different svn versions before the commit.  :(
> GB> I'll take another look at this, in case I missed an edge case.
> It doesn't look like edge case...
>
> Sources in /data/src. It is SVN WC.
>
> # cd /data/src && svnversion
> 254178M
> # cd /data/src && svnliteversion
> 254178M
> #
>
>
> "host" system is -CURRENT too, already without revision in uname -a output
> (!), from Sat Jul 20.
>
> System is built with nanobsd script, but it looks like nanobsd.sh doesn't
> do any special here. It sets MAKEOBJDIRPREFIX to /data/obj.nano/gateway.v2
> and call:
>
> env TARGET_ARCH=amd64 make -j4 __MAKE_CONF=/some/path/to/generated/make.conf buildworld
>
> Generated make.conf looks like:
> =======================================================================
> XCC=/usr/bin/cc
> XCXX=/usr/bin/c++
> XCPP=/usr/bin/cpp
> COMPILER_TYPE=clang
> MALLOC_PRODUCTION=yes
> BOOT_COMCONSOLE_SPEED=115200
> BOOT_COMCONSOLE_PORT=0x2E8
> WITHOUT_ACCT=yes
> WITHOUT_ACPI=yes
> WITHOUT_AMD=yes
> WITHOUT_APM=yes
> WITHOUT_ATM=yes
> WITHOUT_AUDIT=yes
> WITHOUT_AUTHPF=yes
> WITHOUT_BIND_DNSSEC=yes
> WITHOUT_CALENDAR=yes
> WITHOUT_CDDL=yes
> WITHOUT_CLANG=yes
> WITHOUT_CROSS_COMPILER=yes
> WITHOUT_CTM=yes
> WITHOUT_DICT=yes
> WITHOUT_EXAMPLES=yes
> WITHOUT_FLOPPY=yes
> WITHOUT_FREEBSD_UPDATE=yes
> WITHOUT_GAMES=yes
> WITHOUT_GCC=yes
> WITHOUT_GCOV=yes
> WITHOUT_GDB=yes
> WITHOUT_GPIB=yes
> WITHOUT_GPIO=yes
> WITHOUT_GROFF=yes
> WITHOUT_GSSAPI=yes
> WITHOUT_HTML=yes
> WITHOUT_INFO=yes
> WITHOUT_IPFILTER=yes
> WITHOUT_IPX=yes
> WITHOUT_JAIL=yes
> WITHOUT_LEGACY_CONSOLE=yes
> WITHOUT_LIB32=yes
> WITHOUT_LOCALES=yes
> WITHOUT_LOCATE=yes
> WITHOUT_LPR=yes
> WITHOUT_KERBEROS=yes
> WITHOUT_KERBEROS_SUPPORT=yes
> WITHOUT_MAN=yes
> WITHOUT_NCP=yes
> WITHOUT_NDIS=yes
> WITHOUT_NIS=yes
> WITHOUT_NLS=yes
> WITHOUT_NLS_CATALOGS=yes
> WITHOUT_NS_CACHING=yes
> WITHOUT_OBJC=yes
> WITHOUT_PC_SYSINSTALL=yes
> WITHOUT_PF=yes
> WITHOUT_PORTSNAP=yes
> WITHOUT_PROFILE=yes
> WITHOUT_QUOTAS=yes
> WITHOUT_RCMDS=yes
> WITHOUT_RCS=yes
> WITHOUT_ROUTED=yes
> WITHOUT_SHAREDOCS=yes
> WITHOUT_SVNLITE=yes
> WITHOUT_SYSCONS=yes
> WITHOUT_ZFS=yes
> SRCCONF=/dev/null
> =======================================================================
>
> -- 
> // Black Lion AKA Lev Serebryakov <lev@FreeBSD.org>
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"


dan
--
Dan Mack




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1308101235030.26745>