[Mesa-dev] [Bug 110565] scons-3 breaks libgl-xlib build

2019-09-18 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110565

GitLab Migration User  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Resolution|--- |MOVED

--- Comment #4 from GitLab Migration User  ---
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been
closed from further activity.

You can subscribe and participate further through the new bug through this link
to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/936.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110565] scons-3 breaks libgl-xlib build

2019-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110565

--- Comment #3 from Brian Paul  ---
OK, the problem on my end was just a few missing package dependencies for X.

I also installed SCons 3.0.4 and that seemed to work too.

I have python3 version 3.7.3.  I wonder if that's the difference.  Can you try
upgrading your python?

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110565] scons-3 breaks libgl-xlib build

2019-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110565

--- Comment #2 from Volker Wegert  ---
If you need any more info to help diagnose/reproduce the issue, please let me
know.
# python --version
Python 3.6.5

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110565] scons-3 breaks libgl-xlib build

2019-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110565

--- Comment #1 from Brian Paul  ---
>From the Gentoo bug it looks like your command line was simply "scons
libgl-xlib".

I'm testing with Scons 3.0.1 from Ubuntu 19.04.  I get something different:

$ scons libgl-xlib
scons: Reading SConscript files ...
Checking for GCC ...  yes
Checking for Clang ...  no
Checking for C header file xlocale.h... (cached) no
Checking for C header file endian.h... (cached) yes
Checking for C function strtod_l()... (cached) yes
Checking for C function strtof_l()... (cached) yes
Checking for C function timespec_get()... (cached) yes
Checking for X11 (x11 xext xdamage >= 1.1 xfixes glproto >= 1.4.13 dri2proto >=
2.8)... no
Checking for XCB (x11-xcb xcb-glx >= 1.8.1 xcb-dri2 >= 1.8)... no
Checking for XF86VIDMODE (xxf86vm)... no
Checking for DRM (libdrm >= 2.4.75)... no
Checking for Python Mako module (>= 0.8.0)... yes
warning: LLVM disabled: not building llvmpipe
scons: done reading SConscript files.
scons: Building targets ...
scons: *** Do not know how to make File target `libgl-xlib'
(/home/brian/projects/mesa/libgl-xlib).  Stop.
scons: building terminated because of errors.

But, "scons -D" (build default targets) seems to proceed, but no libGL.so is
produced at the end.  I'll try to dig into this as time permits.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

[Mesa-dev] [Bug 110565] scons-3 breaks libgl-xlib build

2019-04-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=110565

Bug ID: 110565
   Summary: scons-3 breaks libgl-xlib build
   Product: Mesa
   Version: unspecified
  Hardware: Other
OS: All
Status: NEW
  Severity: normal
  Priority: medium
 Component: Other
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: freedesk...@volker-wegert.de
QA Contact: mesa-dev@lists.freedesktop.org

Scons has been upgraded from 2.1.5 to 3.0.4 on my Gentoo system. After that,
building libgl-xlib no longer worked; errors were

scons: Reading SConscript files ...
TypeError: a bytes-like object is required, not 'str':
  File "/var/tmp/portage/media-libs/mesa-18.3.6/work/mesa-18.3.6/SConstruct",
line 47:
ENV = os.environ,
  File "/usr/lib64/python3.6/site-packages/SCons/Environment.py", line 982:
apply_tools(self, tools, toolpath)
  File "/usr/lib64/python3.6/site-packages/SCons/Environment.py", line 107:
env.Tool(tool)
  File "/usr/lib64/python3.6/site-packages/SCons/Environment.py", line 1789:
tool(self)
  File "/usr/lib64/python3.6/site-packages/SCons/Tool/__init__.py", line 296:
self.generate(env, *args, **kw)
  File
"/var/tmp/portage/media-libs/mesa-18.3.6/work/mesa-18.3.6/scons/gallium.py",
line 219:
env['gcc_compat'] = check_cc(env, 'GCC', 'defined(__GNUC__)')
  File
"/var/tmp/portage/media-libs/mesa-18.3.6/work/mesa-18.3.6/scons/gallium.py",
line 135:
source.write('#if !(%s)\n#error\n#endif\n' % expr)
  File "/usr/lib64/python3.6/tempfile.py", line 483:
return func(*args, **kwargs)
Checking for GCC ... 

I've been told to report this upstream since apparently this is an issue with
the scons files. 
For reference, the Gentoo bug is https://bugs.gentoo.org/684790

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev