[Bug 219406] graphics/mesa-dri breaks in the freedreno driver

classic Classic list List threaded Threaded
11 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 219406] graphics/mesa-dri breaks in the freedreno driver

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219406

            Bug ID: 219406
           Summary: graphics/mesa-dri breaks in the freedreno driver
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]
          Assignee: [hidden email]
             Flags: maintainer-feedback?([hidden email])

While building messa-dri on arm64 the build fails in the freedreno driver. It
looks like it depends on textproc/py-mako.

The error is as follows:

Making all in drivers/freedreno
gmake[5]: Entering directory
'/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src/gallium/drivers/freedreno'
/bin/mkdir -p ir3
PYTHONPATH=../../../../src/compiler/nir python2.7  ./ir3/ir3_nir_trig.py >
ir3/ir3_nir_trig.c || (rm -f ir3/ir3_nir_trig.c; false)
Traceback (most recent call last):
  File "./ir3/ir3_nir_trig.py", line 24, in <module>
    import nir_algebraic
  File
"/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src/compiler/nir/nir_algebraic.py",
line 32, in <module>
    import mako.template
ImportError: No module named mako.template
gmake[5]: *** [Makefile:1395: ir3/ir3_nir_trig.c] Error 1
gmake[5]: Leaving directory
'/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src/gallium/drivers/freedreno'
gmake[4]: *** [Makefile:605: all-recursive] Error 1
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src/gallium'
gmake[3]: *** [Makefile:859: all-recursive] Error 1
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src'
gmake[2]: *** [Makefile:650: all] Error 2
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src'
gmake[1]: *** [Makefile:647: all-recursive] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4'

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

maintainer-feedback requested: [Bug 219406] graphics/mesa-dri breaks in the freedreno driver

bugzilla-noreply
Andrew Turner <[hidden email]> has reassigned Bugzilla Automation
<[hidden email]>'s request for maintainer-feedback to [hidden email]:
Bug 219406: graphics/mesa-dri breaks in the freedreno driver
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219406



--- Description ---
While building messa-dri on arm64 the build fails in the freedreno driver. It
looks like it depends on textproc/py-mako.

The error is as follows:

Making all in drivers/freedreno
gmake[5]: Entering directory
'/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src/gallium/drivers/free
dreno'
/bin/mkdir -p ir3
PYTHONPATH=../../../../src/compiler/nir python2.7  ./ir3/ir3_nir_trig.py >
ir3/ir3_nir_trig.c || (rm -f ir3/ir3_nir_trig.c; false)
Traceback (most recent call last):
  File "./ir3/ir3_nir_trig.py", line 24, in <module>
    import nir_algebraic
  File
"/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src/compiler/nir/nir_alg
ebraic.py",
line 32, in <module>
    import mako.template
ImportError: No module named mako.template
gmake[5]: *** [Makefile:1395: ir3/ir3_nir_trig.c] Error 1
gmake[5]: Leaving directory
'/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src/gallium/drivers/free
dreno'
gmake[4]: *** [Makefile:605: all-recursive] Error 1
gmake[4]: Leaving directory
'/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src/gallium'
gmake[3]: *** [Makefile:859: all-recursive] Error 1
gmake[3]: Leaving directory
'/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src'
gmake[2]: *** [Makefile:650: all] Error 2
gmake[2]: Leaving directory
'/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4/src'
gmake[1]: *** [Makefile:647: all-recursive] Error 1
gmake[1]: Leaving directory
'/wrkdirs/usr/ports/graphics/mesa-dri/work/mesa-17.0.4'
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 219406] graphics/mesa-dri breaks in the freedreno driver

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219406

Andrew Turner <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Blocks|                            |201763


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201763
[Bug 201763] Tracking bug for AArch64 port build failures
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 219406] graphics/mesa-dri breaks in the freedreno driver

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219406

Andrew Turner <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|Affects Only Me             |Affects Some People
           Hardware|Any                         |arm64

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 219406] graphics/mesa-dri breaks in the freedreno driver

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219406

Matthew Rezny <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |In Progress
              Flags|maintainer-feedback?(x11@Fr |maintainer-feedback+
                   |eeBSD.org)                  |

--- Comment #1 from Matthew Rezny <[hidden email]> ---
src/gallium/drivers/freedreno/ir3/ir3_nir_trig.py should not have been added to
SHEBANG_FILES in the last update as that triggers a regen which would need
mako. This issue has already been reported and will be corrected in the next
update.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 219406] graphics/mesa-dri breaks in the freedreno driver

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219406

--- Comment #2 from Jan Beich (away from May 25 to June 11) <[hidden email]> ---
Created attachment 182747
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=182747&action=edit
fix

Extracted from bug 219247.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 219406] graphics/mesa-dri: fails to build on armv6 and aarch64 after r440699 enabled FREEDRENO and VC4 without unbreaking them

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219406

Jan Beich (away from May 25 to June 11) <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |https://lists.freebsd.org/p
                   |                            |ipermail/freebsd-ports/2017
                   |                            |-May/108639.html
            Summary|graphics/mesa-dri breaks in |graphics/mesa-dri: fails to
                   |the freedreno driver        |build on armv6 and aarch64
                   |                            |after r440699 enabled
                   |                            |FREEDRENO and VC4 without
                   |                            |unbreaking them
           Keywords|                            |regression

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 219406] graphics/mesa-dri: fails to build on armv6 and aarch64 after r440699 enabled FREEDRENO and VC4 without unbreaking them

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219406

--- Comment #3 from [hidden email] ---
A commit references this bug:

Author: rezny
Date: Sun May 21 19:30:56 UTC 2017
New revision: 441424
URL: https://svnweb.freebsd.org/changeset/ports/441424

Log:
  Update the Mesa ports to 17.1.0

  * restrict use of LLVM for Gallium to platforms with LLVM in base to fix
    runtime errors when Gallium is built with a mix of GCC and LLVM
  * make LLVM only a BUILD_DEPEND for mesa-libs, which needs it to build EGL
  * add pkg-plist entries for freedreno and vc4 drivers [1]
  * remove extraneous SHEBANG_FILES entry to fix build of freedreno [2,3]
  * correct typo in libosmesa, which may have affected the Gallium build [4]

  PR:           219247 [1], 219406 [3]
  Submitted by: jbeich [1] (2 patches, pkg-plist fix), strejda (vc4 CFLAGS)
  Reported by:  strejda [2], andrew [3], linimon [4]
  Approved by:  swills (mentor)
  Differential Revision:        https://reviews.freebsd.org/D10842

Changes:
  head/graphics/libosmesa/Makefile
  head/graphics/mesa-dri/Makefile
  head/graphics/mesa-dri/Makefile.common
  head/graphics/mesa-dri/Makefile.targets
  head/graphics/mesa-dri/distinfo
  head/graphics/mesa-dri/files/configure.ac
  head/graphics/mesa-dri/files/patch-configure
  head/graphics/mesa-dri/files/patch-src_egl_drivers_dri2_platform__x11.c
 
head/graphics/mesa-dri/files/patch-src_gallium_auxiliary_pipe-loader_pipe__loader__drm.c
  head/graphics/mesa-dri/files/patch-src_gallium_drivers_vc4_Makefile.in
  head/graphics/mesa-dri/files/patch-src_gallium_drivers_vc4_vc4__bufmgr.c
  head/graphics/mesa-dri/files/patch-src_intel_tools_aubinator.c
  head/graphics/mesa-dri/files/patch-src_intel_tools_aubinator__error__decode.c
  head/graphics/mesa-dri/files/patch-src_mapi_glapi_gen_gl__gentable.py
  head/graphics/mesa-dri/files/patch-src_mesa_main_compiler.h
  head/graphics/mesa-dri/files/patch-src_util_build__id.c
  head/graphics/mesa-dri/files/patch-src_util_ralloc.c
  head/graphics/mesa-dri/pkg-plist
  head/graphics/mesa-libs/Makefile
  head/lang/clover/Makefile

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 219406] graphics/mesa-dri: fails to build on armv6 and aarch64 after r440699 enabled FREEDRENO and VC4 without unbreaking them

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219406

Matthew Rezny <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]
         Resolution|---                         |FIXED
             Status|In Progress                 |Closed

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 219406] graphics/mesa-dri: fails to build on armv6 and aarch64 after r440699 enabled FREEDRENO and VC4 without unbreaking them

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219406

Jan Beich (away from May 25 to June 11) <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|                            |219441


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219441
[Bug 219441] graphics/mesa-dri: fails to build on aarch64
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 219406] graphics/mesa-dri: fails to build on armv6 and aarch64 after r440699 enabled FREEDRENO and VC4 without unbreaking them

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219406
Bug 219406 depends on bug 219441, which changed state.

Bug 219441 Summary: graphics/mesa-dri: fails to build on aarch64
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=219441

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Closed
         Resolution|---                         |FIXED

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-x11
To unsubscribe, send any mail to "[hidden email]"