Re: "make delete-old" failed: 11.0-ALPHA6 @r302388 -> stable/11 @r302412

2016-07-08 Thread Glen Barber
On Fri, Jul 08, 2016 at 02:14:48PM -0700, Mark Millard wrote:
> On Fri, Jul 08, 2016 at 09:23:43AM -0400, Michael Butler wrote: > Seems to be 
> a typo .. TARGET_CPUARCH should be TARGET_ARCH .. 
> >  
> 
> ${TARGET_CPUARCH} != "arm" apparently was an attempt to not explicitly test 
> for each specific arm variant (such as armv§).
> 
> ${TARGET_ARCH} != "arm" does not appear to achieve the original test's intent 
> and will mishandle things list armv6 as far as I can tell. (It certainly does 
> avoid the malformed conditional problem that stops the build.)
> 

We're aware of this, and a fix is pending approval from re@.

Glen



signature.asc
Description: PGP signature


Re: "make delete-old" failed: 11.0-ALPHA6 @r302388 -> stable/11 @r302412

2016-07-08 Thread Mark Millard
On Fri, Jul 08, 2016 at 09:23:43AM -0400, Michael Butler wrote: > Seems to be a 
typo .. TARGET_CPUARCH should be TARGET_ARCH .. 
>  

${TARGET_CPUARCH} != "arm" apparently was an attempt to not explicitly test for 
each specific arm variant (such as armv§).

${TARGET_ARCH} != "arm" does not appear to achieve the original test's intent 
and will mishandle things list armv6 as far as I can tell. (It certainly does 
avoid the malformed conditional problem that stops the build.)

===
Mark Millard
markmi at dsl-only.net

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

Re: "make delete-old" failed: 11.0-ALPHA6 @r302388 -> stable/11 @r302412

2016-07-08 Thread David Wolfskill
On Fri, Jul 08, 2016 at 09:23:43AM -0400, Michael Butler wrote:
> Seems to be a typo .. TARGET_CPUARCH should be TARGET_ARCH ..
> 

Yes; making that change eliminated the problem for me (on head; I'll
replicate that on stable/11 shortly).

Thanks!

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Those who would murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


signature.asc
Description: PGP signature


Re: "make delete-old" failed: 11.0-ALPHA6 @r302388 -> stable/11 @r302412

2016-07-08 Thread Michael Butler
Seems to be a typo .. TARGET_CPUARCH should be TARGET_ARCH ..

On 07/08/16 09:19, Johan Hendriks wrote:
> 
> 
> Op 08/07/16 om 14:17 schreef David Wolfskill:
>> After having built & smoke-tested:
>> FreeBSD freebeast.catwhisker.org 11.0-ALPHA6 FreeBSD 11.0-ALPHA6 #36  
>> r302388M/302389:1100120: Thu Jul  7 04:18:53 PDT 2016 
>> r...@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC  amd64
>>
>> yesterday, I had "cloned" that slice to slice 3, then:
>> svn switch ^/stable/11 /S3/usr/src
>>
>> to update slice 3's src to "Relative URL: ^/stable/11", then started
>> the usual build world & kernel, install kernel & world, mergemaster,
>>  from src/UPDATING.  All went well, through "mergemaster," but
>> the next step "make delete-old" failed for me (showing last bit of
>> "mergemaster" run for context):
>>
>> ...
>> *** You installed a services file, so make sure that you run
>> '/usr/sbin/services_mkdb -q -o /var/db/services.db /etc/services'
>>  to rebuild your services database
>>
>> Would you like to run it now? y or n [n] y
>> Running /usr/sbin/services_mkdb -q -o /var/db/services.db /etc/services
>>
>>
>> Friday, July  8, 2016 at 05:05:23 AM PDT
>> bmake[1]: "/usr/src/ObsoleteFiles.inc" line 8019: Malformed conditional 
>> (${TARGET_ARCH} != "aarch64" && ${TARGET_CPUARCH} != "arm" &&  
>> ${TARGET_ARCH} != "powerpc" && ${TARGET_ARCH} != "powerpc64" &&  
>> ${TARGET_ARCH} != "sparc64")
>> bmake[1]: Fatal errors encountered -- cannot continue
>> bmake[1]: stopped in /usr/src
>> *** Error code 1
>>
>> Stop.
>> make: stopped in /usr/src
>> .ERROR_TARGET='delete-old'
>> .ERROR_META_FILE=''
>> .MAKE.LEVEL='0'
>> MAKEFILE=''
>> .MAKE.MODE='normal'
>> .CURDIR='/usr/src'
>> .MAKE='make'
>> .OBJDIR='/usr/obj/usr/src'
>> .TARGETS='delete-old'
>> DESTDIR=''
>> LD_LIBRARY_PATH=''
>> MACHINE='amd64'
>> MACHINE_ARCH='amd64'
>> MAKEOBJDIRPREFIX='/usr/obj'
>> MAKESYSPATH='/usr/src/share/mk'
>> MAKE_VERSION='20160606'
>> PATH='/sbin:/bin:/usr/sbin:/usr/bin'
>> SRCTOP='/usr/src'
>> OBJTOP='/usr/obj/usr/src'
>> freebeast(11.0)[2] 
>>
>> svn info says:
>> freebeast(11.0)[8] svn info /usr/src
>> Path: /usr/src
>> Working Copy Root Path: /usr/src
>> URL: file:///svn/freebsd/src/base/stable/11
>> Relative URL: ^/stable/11
>> Repository Root: file:///svn/freebsd/src/base
>> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
>> Revision: 302426
>> Node Kind: directory
>> Schedule: normal
>> Last Changed Author: gjb
>> Last Changed Rev: 302412
>> Last Changed Date: 2016-07-07 17:26:38 -0700 (Thu, 07 Jul 2016)
>>
>> freebeast(11.0)[9] 
>>
>>
>> I'll go ahead & reboot for a smoke test, see how far I get (and probably
>> go on to build & smoke-test today's head).
>>
>> Peace,
>> david
> 
> Just a me too, was running HEAD, switched to stable/11.
> BTW i deleted the old /usr/src and installed a new source tree with a
> new checkout.
> 
> after make builworld cycle and a reboot,  a make delete-old gives the
> following error
> 
> root@desk:~ # cd /usr/src/
> root@desk:/usr/src # make delete-old
> make[1]: "/usr/src/ObsoleteFiles.inc" line 8019: Malformed conditional
> (${TARGET_ARCH} != "aarch64" && ${TARGET_CPUARCH} != "arm" && 
> ${TARGET_ARCH} != "powerpc" && ${TARGET_ARCH} != "powerpc64" && 
> ${TARGET_ARCH} != "sparc64")
> make[1]: Fatal errors encountered -- cannot continue
> make[1]: stopped in /usr/src
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src
> 
> regards
> Johan
> 
> 
> 
> 
> 
> ___
> freebsd-stable@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
> 

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


Re: "make delete-old" failed: 11.0-ALPHA6 @r302388 -> stable/11 @r302412

2016-07-08 Thread Johan Hendriks


Op 08/07/16 om 14:17 schreef David Wolfskill:
> After having built & smoke-tested:
> FreeBSD freebeast.catwhisker.org 11.0-ALPHA6 FreeBSD 11.0-ALPHA6 #36  
> r302388M/302389:1100120: Thu Jul  7 04:18:53 PDT 2016 
> r...@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC  amd64
>
> yesterday, I had "cloned" that slice to slice 3, then:
> svn switch ^/stable/11 /S3/usr/src
>
> to update slice 3's src to "Relative URL: ^/stable/11", then started
> the usual build world & kernel, install kernel & world, mergemaster,
>  from src/UPDATING.  All went well, through "mergemaster," but
> the next step "make delete-old" failed for me (showing last bit of
> "mergemaster" run for context):
>
> ...
> *** You installed a services file, so make sure that you run
> '/usr/sbin/services_mkdb -q -o /var/db/services.db /etc/services'
>  to rebuild your services database
>
> Would you like to run it now? y or n [n] y
> Running /usr/sbin/services_mkdb -q -o /var/db/services.db /etc/services
>
>
> Friday, July  8, 2016 at 05:05:23 AM PDT
> bmake[1]: "/usr/src/ObsoleteFiles.inc" line 8019: Malformed conditional 
> (${TARGET_ARCH} != "aarch64" && ${TARGET_CPUARCH} != "arm" &&  ${TARGET_ARCH} 
> != "powerpc" && ${TARGET_ARCH} != "powerpc64" &&  ${TARGET_ARCH} != "sparc64")
> bmake[1]: Fatal errors encountered -- cannot continue
> bmake[1]: stopped in /usr/src
> *** Error code 1
>
> Stop.
> make: stopped in /usr/src
> .ERROR_TARGET='delete-old'
> .ERROR_META_FILE=''
> .MAKE.LEVEL='0'
> MAKEFILE=''
> .MAKE.MODE='normal'
> .CURDIR='/usr/src'
> .MAKE='make'
> .OBJDIR='/usr/obj/usr/src'
> .TARGETS='delete-old'
> DESTDIR=''
> LD_LIBRARY_PATH=''
> MACHINE='amd64'
> MACHINE_ARCH='amd64'
> MAKEOBJDIRPREFIX='/usr/obj'
> MAKESYSPATH='/usr/src/share/mk'
> MAKE_VERSION='20160606'
> PATH='/sbin:/bin:/usr/sbin:/usr/bin'
> SRCTOP='/usr/src'
> OBJTOP='/usr/obj/usr/src'
> freebeast(11.0)[2] 
>
> svn info says:
> freebeast(11.0)[8] svn info /usr/src
> Path: /usr/src
> Working Copy Root Path: /usr/src
> URL: file:///svn/freebsd/src/base/stable/11
> Relative URL: ^/stable/11
> Repository Root: file:///svn/freebsd/src/base
> Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
> Revision: 302426
> Node Kind: directory
> Schedule: normal
> Last Changed Author: gjb
> Last Changed Rev: 302412
> Last Changed Date: 2016-07-07 17:26:38 -0700 (Thu, 07 Jul 2016)
>
> freebeast(11.0)[9] 
>
>
> I'll go ahead & reboot for a smoke test, see how far I get (and probably
> go on to build & smoke-test today's head).
>
> Peace,
> david

Just a me too, was running HEAD, switched to stable/11.
BTW i deleted the old /usr/src and installed a new source tree with a
new checkout.

after make builworld cycle and a reboot,  a make delete-old gives the
following error

root@desk:~ # cd /usr/src/
root@desk:/usr/src # make delete-old
make[1]: "/usr/src/ObsoleteFiles.inc" line 8019: Malformed conditional
(${TARGET_ARCH} != "aarch64" && ${TARGET_CPUARCH} != "arm" && 
${TARGET_ARCH} != "powerpc" && ${TARGET_ARCH} != "powerpc64" && 
${TARGET_ARCH} != "sparc64")
make[1]: Fatal errors encountered -- cannot continue
make[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src

regards
Johan





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


"make delete-old" failed: 11.0-ALPHA6 @r302388 -> stable/11 @r302412

2016-07-08 Thread David Wolfskill
After having built & smoke-tested:
FreeBSD freebeast.catwhisker.org 11.0-ALPHA6 FreeBSD 11.0-ALPHA6 #36  
r302388M/302389:1100120: Thu Jul  7 04:18:53 PDT 2016 
r...@freebeast.catwhisker.org:/common/S4/obj/usr/src/sys/GENERIC  amd64

yesterday, I had "cloned" that slice to slice 3, then:
svn switch ^/stable/11 /S3/usr/src

to update slice 3's src to "Relative URL: ^/stable/11", then started
the usual build world & kernel, install kernel & world, mergemaster,
 from src/UPDATING.  All went well, through "mergemaster," but
the next step "make delete-old" failed for me (showing last bit of
"mergemaster" run for context):

...
*** You installed a services file, so make sure that you run
'/usr/sbin/services_mkdb -q -o /var/db/services.db /etc/services'
 to rebuild your services database

Would you like to run it now? y or n [n] y
Running /usr/sbin/services_mkdb -q -o /var/db/services.db /etc/services


Friday, July  8, 2016 at 05:05:23 AM PDT
bmake[1]: "/usr/src/ObsoleteFiles.inc" line 8019: Malformed conditional 
(${TARGET_ARCH} != "aarch64" && ${TARGET_CPUARCH} != "arm" &&  ${TARGET_ARCH} 
!= "powerpc" && ${TARGET_ARCH} != "powerpc64" &&  ${TARGET_ARCH} != "sparc64")
bmake[1]: Fatal errors encountered -- cannot continue
bmake[1]: stopped in /usr/src
*** Error code 1

Stop.
make: stopped in /usr/src
.ERROR_TARGET='delete-old'
.ERROR_META_FILE=''
.MAKE.LEVEL='0'
MAKEFILE=''
.MAKE.MODE='normal'
.CURDIR='/usr/src'
.MAKE='make'
.OBJDIR='/usr/obj/usr/src'
.TARGETS='delete-old'
DESTDIR=''
LD_LIBRARY_PATH=''
MACHINE='amd64'
MACHINE_ARCH='amd64'
MAKEOBJDIRPREFIX='/usr/obj'
MAKESYSPATH='/usr/src/share/mk'
MAKE_VERSION='20160606'
PATH='/sbin:/bin:/usr/sbin:/usr/bin'
SRCTOP='/usr/src'
OBJTOP='/usr/obj/usr/src'
freebeast(11.0)[2] 

svn info says:
freebeast(11.0)[8] svn info /usr/src
Path: /usr/src
Working Copy Root Path: /usr/src
URL: file:///svn/freebsd/src/base/stable/11
Relative URL: ^/stable/11
Repository Root: file:///svn/freebsd/src/base
Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Revision: 302426
Node Kind: directory
Schedule: normal
Last Changed Author: gjb
Last Changed Rev: 302412
Last Changed Date: 2016-07-07 17:26:38 -0700 (Thu, 07 Jul 2016)

freebeast(11.0)[9] 


I'll go ahead & reboot for a smoke test, see how far I get (and probably
go on to build & smoke-test today's head).

Peace,
david
-- 
David H. Wolfskill  da...@catwhisker.org
Those who would murder in the name of God or prophet are blasphemous cowards.

See http://www.catwhisker.org/~david/publickey.gpg for my public key.


signature.asc
Description: PGP signature