Re: Debug builds with X11 fail

2015-01-05 Thread Andreas Gustafsson
Christos,

Builds with MKDEBUG=YES MKX11=YES are still failing for me as of CVS
date 2015.01.05.06.28.34:

  ==  7 missing files in DESTDIR  
  Files in flist but missing from DESTDIR.
  File wasn't installed ?
  --
  ./usr/libdata/debug/usr/X11R7/lib/modules/dri/i915_dri.so.0.debug
  ./usr/libdata/debug/usr/X11R7/lib/modules/dri/i965_dri.so.0.debug
  ./usr/libdata/debug/usr/X11R7/lib/modules/dri/kms_swrast_dri.so.0.debug
  ./usr/libdata/debug/usr/X11R7/lib/modules/dri/r200_dri.so.0.debug
  ./usr/libdata/debug/usr/X11R7/lib/modules/dri/r600_dri.so.0.debug
  ./usr/libdata/debug/usr/X11R7/lib/modules/dri/radeon_dri.so.0.debug
  ./usr/libdata/debug/usr/X11R7/lib/modules/dri/swrast_dri.so.0.debug

-- 
Andreas Gustafsson, g...@gson.org


Re: Debug builds with X11 fail

2015-01-05 Thread Christos Zoulas
On Jan 5,  1:11pm, g...@gson.org (Andreas Gustafsson) wrote:
-- Subject: Re: Debug builds with X11 fail

| Christos,
| 
| Builds with MKDEBUG=YES MKX11=YES are still failing for me as of CVS
| date 2015.01.05.06.28.34:
| 
|   ==  7 missing files in DESTDIR  
|   Files in flist but missing from DESTDIR.
|   File wasn't installed ?
|   --
|   ./usr/libdata/debug/usr/X11R7/lib/modules/dri/i915_dri.so.0.debug
|   ./usr/libdata/debug/usr/X11R7/lib/modules/dri/i965_dri.so.0.debug
|   ./usr/libdata/debug/usr/X11R7/lib/modules/dri/kms_swrast_dri.so.0.debug
|   ./usr/libdata/debug/usr/X11R7/lib/modules/dri/r200_dri.so.0.debug
|   ./usr/libdata/debug/usr/X11R7/lib/modules/dri/r600_dri.so.0.debug
|   ./usr/libdata/debug/usr/X11R7/lib/modules/dri/radeon_dri.so.0.debug
|   ./usr/libdata/debug/usr/X11R7/lib/modules/dri/swrast_dri.so.0.debug

I can't reproduce this, this is from my latest build:

$ ls -ltr
total 81536
-r--r--r--  1 root  wsrc  40490230 Jan  4 15:30 gallium_dri.so.0.debug
-r--r--r--  1 root  wsrc  42923934 Jan  4 15:30 mesa_dri_drivers.so.0.debug
lrwxrwxr-x  1 root  wsrc22 Jan  4 15:31 kms_swrast_dri.so.0.debug@ - 
gallium_dri.so.0.debug
lrwxrwxr-x  1 root  wsrc27 Jan  4 15:31 i915_dri.so.0.debug@ - 
mesa_dri_drivers.so.0.debug
lrwxrwxr-x  1 root  wsrc22 Jan  4 15:31 swrast_dri.so.0.debug@ - 
gallium_dri.so.0.debug
lrwxrwxr-x  1 root  wsrc27 Jan  4 15:31 i965_dri.so.0.debug@ - 
mesa_dri_drivers.so.0.debug
lrwxrwxr-x  1 root  wsrc22 Jan  4 15:31 r600_dri.so.0.debug@ - 
gallium_dri.so.0.debug
lrwxrwxr-x  1 root  wsrc27 Jan  4 15:31 r200_dri.so.0.debug@ - 
mesa_dri_drivers.so.0.debug
lrwxrwxr-x  1 root  wsrc27 Jan  4 15:31 radeon_dri.so.0.debug@ - 
mesa_dri_drivers.so.0.debug


christos



Re: Debug builds with X11 fail

2015-01-05 Thread Andreas Gustafsson
Christos Zoulas wrote:
 I can't reproduce this

I think I have it figured out now.  It's a combination of two issues:
src/external/mit/xorg/lib/{dri,gallium}/Makefile contain the line

  .if ${MKDEBUG:Uno} == yes

rather than the usual

  .if ${MKDEBUG} != no

and I had specified MKDEBUG=YES (with YES in upper case) rather than
MKDEBUG=yes in the build options.

I think the Makefiles and my build options are both wrong - do you
agree?
-- 
Andreas Gustafsson, g...@gson.org


Re: Debug builds with X11 fail

2015-01-05 Thread Christos Zoulas
On Jan 5,  4:34pm, g...@gson.org (Andreas Gustafsson) wrote:
-- Subject: Re: Debug builds with X11 fail

| Christos Zoulas wrote:
|  I can't reproduce this
| 
| I think I have it figured out now.  It's a combination of two issues:
| src/external/mit/xorg/lib/{dri,gallium}/Makefile contain the line
| 
|   .if ${MKDEBUG:Uno} == yes
| 
| rather than the usual
| 
|   .if ${MKDEBUG} != no
| 
| and I had specified MKDEBUG=YES (with YES in upper case) rather than
| MKDEBUG=yes in the build options.
| 
| I think the Makefiles and my build options are both wrong - do you
| agree?

I am fine changing the Makefiles to ${MKDEBUG} != no since that's what's
used everywhere.

christos


Re: Debug builds with X11 fail

2014-12-25 Thread Andreas Gustafsson
Christos,

You wrote:
 That is turned on with MKDEBUG right?

Yes.  Here's the full build.sh command line:

   time ./build.sh -j 4 -D 
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/destdir -R 
/bracket/i386-debug/test/2014.12.25.08.11.09/release -T 
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/tools -O 
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/obj -m i386 -V TMPDIR=/tmp -V 
MKDEBUG=YES -V MKREPRO=YES -x -U release sourcesets iso-image-source

 If you build inside the gallium directory and make install there don't you get
 the r*.debug files installed? I do...

Do you mean like this?  This was run in the tree left from a failed
automated build:

   guido 
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/src/external/mit/xorg/lib/gallium
 $ /tmp/bracket/build/2014.12.25.08.11.09-i386-debug/tools/bin/nbmake-i386
   guido 
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/src/external/mit/xorg/lib/gallium
 $ /tmp/bracket/build/2014.12.25.08.11.09-i386-debug/tools/bin/nbmake-i386 
install
   #   install  
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/destdir/usr/X11R7/lib/modules/dri/gallium_dri.so.0
   
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/tools/bin/i486--netbsdelf-install
 -U -M /tmp/bracket/build/2014.12.25.08.11.09-i386-debug/destdir/METALOG -D 
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/destdir -h sha256 -N 
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/src/etc -c  -r -o root -g 
wheel -m 444  gallium_dri.so.0 
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/destdir/usr/X11R7/lib/modules/dri/gallium_dri.so.0
   
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/tools/bin/i486--netbsdelf-install
 -U -M /tmp/bracket/build/2014.12.25.08.11.09-i386-debug/destdir/METALOG -D 
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/destdir -h sha256 -N 
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/src/etc -l s -r  
gallium_dri.so.0 
/tmp/bracket/build/2014.12.25.08.11.09-i386-debug/destdir/usr/X11R7/lib/modules/dri/gallium_dri.so

I guess that's a no (but I'm confused as to how it is relevant).

Looking at the full build log from the automated build, the only
place where the string r200_dri.so.0.debug occurs is in the Files
in flist but missing from DESTDIR error message, so it would appear
that it is not only not being installed, but not being built, either.
-- 
Andreas Gustafsson, g...@gson.org


Re: Debug builds with X11 fail

2014-12-24 Thread Andreas Gustafsson
Christos Zoulas wrote:
 Should be fixed now.

It's still not building for me:

==  7 missing files in DESTDIR  
Files in flist but missing from DESTDIR.
File wasn't installed ?
--
./usr/libdata/debug/usr/X11R7/lib/modules/dri/i915_dri.so.0.debug
./usr/libdata/debug/usr/X11R7/lib/modules/dri/i965_dri.so.0.debug
./usr/libdata/debug/usr/X11R7/lib/modules/dri/kms_swrast_dri.so.0.debug
./usr/libdata/debug/usr/X11R7/lib/modules/dri/r200_dri.so.0.debug
./usr/libdata/debug/usr/X11R7/lib/modules/dri/r600_dri.so.0.debug
./usr/libdata/debug/usr/X11R7/lib/modules/dri/radeon_dri.so.0.debug
./usr/libdata/debug/usr/X11R7/lib/modules/dri/swrast_dri.so.0.debug
  end of 7 missing files  ==

Full log at:

  
http://www.gson.org/netbsd/bugs/build/amd64-debug/2014/2014.12.24.08.55.09/build.log.tail

Merry Christmas,
-- 
Andreas Gustafsson, g...@gson.org