Github messages for voidlinux
 help / color / Atom feed
* [PR PATCH] igt-gpu-tools: update to 1.24, fix musl
@ 2019-11-11 23:33 voidlinux-github
  2019-11-12  9:21 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (18 more replies)
  0 siblings, 19 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-11 23:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 346 bytes --]

There is a new pull request by st3r4g against master on the void-packages repository

https://github.com/st3r4g/void-packages igt-gpu-tools-1.24
https://github.com/void-linux/void-packages/pull/16392

igt-gpu-tools: update to 1.24, fix musl
Closes #11374

A patch file from https://github.com/void-linux/void-packages/pull/16392.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-igt-gpu-tools-1.24-16392.patch --]
[-- Type: text/x-diff, Size: 9322 bytes --]

From 6f462bd3cba6624aa595a4e118ece942f200ecdf Mon Sep 17 00:00:00 2001
From: Stefano Ragni <st3r4g@protonmail.com>
Date: Tue, 12 Nov 2019 00:24:46 +0100
Subject: [PATCH] igt-gpu-tools: update to 1.24, fix musl

---
 .../igt-gpu-tools/patches/disable-docs.patch  |  36 ----
 srcpkgs/igt-gpu-tools/patches/musl.patch      | 189 ++++++++++++++++++
 srcpkgs/igt-gpu-tools/template                |  20 +-
 3 files changed, 202 insertions(+), 43 deletions(-)
 delete mode 100644 srcpkgs/igt-gpu-tools/patches/disable-docs.patch
 create mode 100644 srcpkgs/igt-gpu-tools/patches/musl.patch

diff --git a/srcpkgs/igt-gpu-tools/patches/disable-docs.patch b/srcpkgs/igt-gpu-tools/patches/disable-docs.patch
deleted file mode 100644
index 9ee861b397b..00000000000
--- a/srcpkgs/igt-gpu-tools/patches/disable-docs.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Source: maxice8, m3tav3rse
-Upstream: not upstreamable
-Reason: Fixes building of package.
-
-ERROR: Error in gtkdoc helper script:
-ERROR: ['gtkdoc-mkhtml', '--path=/builddir/igt-gpu-tools-1.23/docs/reference/igt-gpu-tools:/builddir/igt-gpu-tools-1.23/build/docs/reference/igt-gpu-tools', 'igt-gpu-tools', '../igt-gpu-tools-docs.xml'] failed with status 5
-I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
-warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
-compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 11 element import
-xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
-
---- meson.build
-+++ meson.build
-@@ -232,14 +232,14 @@
- subdir('man')
-
- docs_info = 'No'
--if _build_docs
--       if _build_tests
--               subdir('docs')
--               docs_info = 'Yes'
--       elif _docs_required
--               error('Documentation requires building tests')
--       endif
--endif
-+#if _build_docs
-+#      if _build_tests
-+#              subdir('docs')
-+#              docs_info = 'Yes'
-+#      elif _docs_required
-+#              error('Documentation requires building tests')
-+#      endif
-+#endif
- build_info += 'Build documentation: ' + docs_info
-
- message('Build options')
diff --git a/srcpkgs/igt-gpu-tools/patches/musl.patch b/srcpkgs/igt-gpu-tools/patches/musl.patch
new file mode 100644
index 00000000000..114749b1423
--- /dev/null
+++ b/srcpkgs/igt-gpu-tools/patches/musl.patch
@@ -0,0 +1,189 @@
+diff --git benchmarks/gem_syslatency.c benchmarks/gem_syslatency.c
+index 7671dc4..3ac9544 100644
+--- benchmarks/gem_syslatency.c
++++ benchmarks/gem_syslatency.c
+@@ -44,7 +44,11 @@
+ 
+ #include <linux/unistd.h>
+ 
+-#define sigev_notify_thread_id _sigev_un._tid
++#ifndef __GLIBC__
++#include "signal_compat.h"
++#endif
++
++#define sigev_notify_thread_id sigev_notify_function
+ 
+ static volatile int done;
+ 
+diff --git lib/igt_aux.c lib/igt_aux.c
+index 578f857..3e98cf0 100644
+--- lib/igt_aux.c
++++ lib/igt_aux.c
+@@ -31,6 +31,7 @@
+ #endif
+ #include <stdio.h>
+ #include <fcntl.h>
++#include <limits.h> // PATH_MAX
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <string.h>
+@@ -73,6 +74,12 @@
+ #include <libgen.h>   /* for dirname() */
+ #endif
+ 
++#ifndef __GLIBC__
++#include "signal_compat.h"
++#endif
++
++//#include <asm-generic/siginfo.h>
++
+ /**
+  * SECTION:igt_aux
+  * @short_description: Auxiliary libraries and support functions
+diff --git lib/igt_aux.h lib/igt_aux.h
+index 04d2290..a0ada9e 100644
+--- lib/igt_aux.h
++++ lib/igt_aux.h
+@@ -46,7 +46,7 @@
+ #  define gettid() (pid_t)(syscall(__NR_gettid))
+ # endif
+ #endif
+-#define sigev_notify_thread_id _sigev_un._tid
++#define sigev_notify_thread_id sigev_notify_function
+ 
+ /* auxialiary igt helpers from igt_aux.c */
+ /* generally useful helpers */
+diff --git lib/igt_halffloat.c lib/igt_halffloat.c
+index 08ab05f..7d6a6e6 100644
+--- lib/igt_halffloat.c
++++ lib/igt_halffloat.c
+@@ -162,7 +162,7 @@ static inline float _half_to_float(uint16_t val)
+ 	return fi.f;
+ }
+ 
+-#if defined(__x86_64__) && !defined(__clang__)
++#if defined(__x86_64__) && !defined(__clang__) && defined(__GLIBC__)
+ #pragma GCC push_options
+ #pragma GCC target("f16c")
+ 
+diff --git lib/igt_x86.c lib/igt_x86.c
+index 6ac700d..ddf5edd 100644
+--- lib/igt_x86.c
++++ lib/igt_x86.c
+@@ -190,7 +190,7 @@ char *igt_x86_features_to_string(unsigned features, char *line)
+ }
+ #endif
+ 
+-#if defined(__x86_64__) && !defined(__clang__)
++#if defined(__x86_64__) && !defined(__clang__) && defined(__GLIBC__)
+ #pragma GCC push_options
+ #pragma GCC target("sse4.1")
+ #pragma GCC diagnostic ignored "-Wpointer-arith"
+diff --git lib/signal_compat.h lib/signal_compat.h
+new file mode 100644
+index 00000000..a37c5820
+--- /dev/null
++++ b/lib/signal_compat.h
+@@ -0,0 +1,8 @@
++#define SIGEV_SIGNAL 0
++#define SIGEV_NONE 1
++#define SIGEV_THREAD 2
++
++#define SIGEV_SIGNAL    0       /* notify via signal */
++#define SIGEV_NONE      1       /* other notification: meaningless */
++#define SIGEV_THREAD    2       /* deliver via thread creation */
++#define SIGEV_THREAD_ID 4       /* deliver to thread */
+diff --git tests/drm_read.c tests/drm_read.c
+index cfb1c04..18be922 100644
+--- tests/drm_read.c
++++ tests/drm_read.c
+@@ -220,7 +220,7 @@ static void test_short_buffer_wakeup(int in, enum pipe pipe)
+ 		pthread_mutex_unlock(&w.mutex);
+ 
+ 		/* Give each thread a chance to sleep in drm_read() */
+-		pthread_yield();
++		sched_yield();
+ 
+ 		/* One event should wake all threads as none consume */
+ 		generate_event(w.fd, pipe);
+diff --git tests/kms_hdmi_inject.c tests/kms_hdmi_inject.c
+index 8c0d133..f272418 100644
+--- tests/kms_hdmi_inject.c
++++ tests/kms_hdmi_inject.c
+@@ -25,7 +25,7 @@
+ #include "config.h"
+ 
+ #include <dirent.h>
+-
++#include <limits.h>
+ #include "igt.h"
+ #include "igt_edid.h"
+ #include "igt_eld.h"
+diff --git tests/kms_sysfs_edid_timing.c tests/kms_sysfs_edid_timing.c
+index 1201388..e75c7e9 100644
+--- tests/kms_sysfs_edid_timing.c
++++ tests/kms_sysfs_edid_timing.c
+@@ -24,6 +24,7 @@
+ 
+ #include <dirent.h>
+ #include <fcntl.h>
++#include <limits.h>
+ #include <sys/stat.h>
+ 
+ #define THRESHOLD_PER_CONNECTOR	10
+diff --git tools/aubdump.c tools/aubdump.c
+index 00e1971..b318090 100644
+--- tools/aubdump.c
++++ tools/aubdump.c
+@@ -226,10 +226,10 @@ static const uint32_t video_context_init[GEN8_LR_CONTEXT_OTHER_SIZE /
+ };
+ 
+ static int close_init_helper(int fd);
+-static int ioctl_init_helper(int fd, unsigned long request, ...);
++static int ioctl_init_helper(int fd, int request, ...);
+ 
+ static int (*libc_close)(int fd) = close_init_helper;
+-static int (*libc_ioctl)(int fd, unsigned long request, ...) = ioctl_init_helper;
++static int (*libc_ioctl)(int fd, int request, ...) = ioctl_init_helper;
+ 
+ static int drm_fd = -1;
+ static char *filename = NULL;
+@@ -856,7 +856,7 @@ relocate_bo(struct bo *bo, const struct drm_i915_gem_execbuffer2 *execbuffer2,
+ }
+ 
+ static int
+-gem_ioctl(int fd, unsigned long request, void *argp)
++gem_ioctl(int fd, int request, void *argp)
+ {
+ 	int ret;
+ 
+@@ -1150,7 +1150,7 @@ maybe_init(void)
+     DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_EXECBUFFER2, struct drm_i915_gem_execbuffer2)
+ 
+ int
+-ioctl(int fd, unsigned long request, ...)
++ioctl(int fd, int request, ...)
+ {
+ 	va_list args;
+ 	void *argp;
+@@ -1290,7 +1290,7 @@ close_init_helper(int fd)
+ }
+ 
+ static int
+-ioctl_init_helper(int fd, unsigned long request, ...)
++ioctl_init_helper(int fd, int request, ...)
+ {
+ 	va_list args;
+ 	void *argp;
+diff --git lib/igt_eld.c lib/igt_eld.c
+index 3d7fd4d..d51774b 100644
+--- lib/igt_eld.c
++++ lib/igt_eld.c
+@@ -29,6 +29,7 @@
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <limits.h>
+ 
+ #include "igt_core.h"
+ #include "igt_eld.h"
diff --git a/srcpkgs/igt-gpu-tools/template b/srcpkgs/igt-gpu-tools/template
index c26b5242129..57bd8060761 100644
--- a/srcpkgs/igt-gpu-tools/template
+++ b/srcpkgs/igt-gpu-tools/template
@@ -1,20 +1,26 @@
 # Template file for 'igt-gpu-tools'
 pkgname=igt-gpu-tools
-version=1.23
-revision=2
+version=1.24
+revision=1
 build_style=meson
-hostmakedepends="flex gtk-doc pkg-config swig"
-makedepends="cairo-devel libXrandr-devel libXv-devel libkmod-devel
- libunwind-devel procps-ng-devel python3-devel libressl-devel"
+configure_args="-Db_ndebug=false"
+hostmakedepends="pkg-config flex peg python3-docutils gtk-doc"
+makedepends="libdrm-devel libkmod-devel procps-ng-devel libunwind-devel
+ elfutils-devel pixman-devel valgrind-devel cairo-devel xmlrpc-c-devel gsl-devel
+ alsa-lib-devel json-c-devel libXrandr-devel"
 short_desc="Tools for development and testing of the Intel DRM driver"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://gitlab.freedesktop.org/drm/igt-gpu-tools"
 distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.xz"
-checksum=4d4b086c513bace5c23d0889de3f42ac3ebd3d968c64dedae6e28e006a499ad0
+checksum=57357c72feeafc923c9cfd2d1234bd80e120fc7cc6099eac81158ec351a821bf
 
 lib32disabled=yes
-archs="i686 x86_64"
+archs="i686 i686-musl x86_64 x86_64-musl"
+
+case "$XBPS_TARGET_MACHINE" in
+	*-musl) configure_args+=" -Dbuild_tests=disabled -Dbuild_runner=disabled -Dbuild_docs=disabled"
+esac
 
 post_install() {
 	vlicense COPYING

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
@ 2019-11-12  9:21 ` " voidlinux-github
  2019-11-12  9:26 ` voidlinux-github
                   ` (17 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12  9:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

There is an updated pull request by st3r4g against master on the void-packages repository

https://github.com/st3r4g/void-packages igt-gpu-tools-1.24
https://github.com/void-linux/void-packages/pull/16392

igt-gpu-tools: update to 1.24, fix musl
Closes #11374

A patch file from https://github.com/void-linux/void-packages/pull/16392.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-igt-gpu-tools-1.24-16392.patch --]
[-- Type: text/x-diff, Size: 9509 bytes --]

From 4f332219b8bd181c8f665c99b0d317eb1fa87ab0 Mon Sep 17 00:00:00 2001
From: Stefano Ragni <st3r4g@protonmail.com>
Date: Tue, 12 Nov 2019 00:24:46 +0100
Subject: [PATCH] igt-gpu-tools: update to 1.24, fix musl

---
 .../igt-gpu-tools/patches/disable-docs.patch  |  36 ----
 srcpkgs/igt-gpu-tools/patches/musl.patch      | 198 ++++++++++++++++++
 srcpkgs/igt-gpu-tools/template                |  20 +-
 3 files changed, 211 insertions(+), 43 deletions(-)
 delete mode 100644 srcpkgs/igt-gpu-tools/patches/disable-docs.patch
 create mode 100644 srcpkgs/igt-gpu-tools/patches/musl.patch

diff --git a/srcpkgs/igt-gpu-tools/patches/disable-docs.patch b/srcpkgs/igt-gpu-tools/patches/disable-docs.patch
deleted file mode 100644
index 9ee861b397b..00000000000
--- a/srcpkgs/igt-gpu-tools/patches/disable-docs.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Source: maxice8, m3tav3rse
-Upstream: not upstreamable
-Reason: Fixes building of package.
-
-ERROR: Error in gtkdoc helper script:
-ERROR: ['gtkdoc-mkhtml', '--path=/builddir/igt-gpu-tools-1.23/docs/reference/igt-gpu-tools:/builddir/igt-gpu-tools-1.23/build/docs/reference/igt-gpu-tools', 'igt-gpu-tools', '../igt-gpu-tools-docs.xml'] failed with status 5
-I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
-warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
-compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 11 element import
-xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
-
---- meson.build
-+++ meson.build
-@@ -232,14 +232,14 @@
- subdir('man')
-
- docs_info = 'No'
--if _build_docs
--       if _build_tests
--               subdir('docs')
--               docs_info = 'Yes'
--       elif _docs_required
--               error('Documentation requires building tests')
--       endif
--endif
-+#if _build_docs
-+#      if _build_tests
-+#              subdir('docs')
-+#              docs_info = 'Yes'
-+#      elif _docs_required
-+#              error('Documentation requires building tests')
-+#      endif
-+#endif
- build_info += 'Build documentation: ' + docs_info
-
- message('Build options')
diff --git a/srcpkgs/igt-gpu-tools/patches/musl.patch b/srcpkgs/igt-gpu-tools/patches/musl.patch
new file mode 100644
index 00000000000..895ea58736a
--- /dev/null
+++ b/srcpkgs/igt-gpu-tools/patches/musl.patch
@@ -0,0 +1,198 @@
+diff --git benchmarks/gem_syslatency.c benchmarks/gem_syslatency.c
+index 7671dc4..3ac9544 100644
+--- benchmarks/gem_syslatency.c
++++ benchmarks/gem_syslatency.c
+@@ -44,7 +44,11 @@
+ 
+ #include <linux/unistd.h>
+ 
+-#define sigev_notify_thread_id _sigev_un._tid
++#ifndef __GLIBC__
++#include "signal_compat.h"
++#endif
++
++#define sigev_notify_thread_id sigev_notify_function
+ 
+ static volatile int done;
+ 
+diff --git lib/igt_aux.c lib/igt_aux.c
+index 578f857..3e98cf0 100644
+--- lib/igt_aux.c
++++ lib/igt_aux.c
+@@ -31,6 +31,7 @@
+ #endif
+ #include <stdio.h>
+ #include <fcntl.h>
++#include <limits.h> // PATH_MAX
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <string.h>
+@@ -73,6 +74,12 @@
+ #include <libgen.h>   /* for dirname() */
+ #endif
+ 
++#ifndef __GLIBC__
++#include "signal_compat.h"
++#endif
++
++//#include <asm-generic/siginfo.h>
++
+ /**
+  * SECTION:igt_aux
+  * @short_description: Auxiliary libraries and support functions
+diff --git lib/igt_aux.h lib/igt_aux.h
+index 04d2290..a0ada9e 100644
+--- lib/igt_aux.h
++++ lib/igt_aux.h
+@@ -46,7 +46,7 @@
+ #  define gettid() (pid_t)(syscall(__NR_gettid))
+ # endif
+ #endif
+-#define sigev_notify_thread_id _sigev_un._tid
++#define sigev_notify_thread_id sigev_notify_function
+ 
+ /* auxialiary igt helpers from igt_aux.c */
+ /* generally useful helpers */
+diff --git lib/igt_eld.c lib/igt_eld.c
+index 3d7fd4d..d51774b 100644
+--- lib/igt_eld.c
++++ lib/igt_eld.c
+@@ -29,6 +29,7 @@
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <limits.h>
+ 
+ #include "igt_core.h"
+ #include "igt_eld.h"
+diff --git lib/igt_halffloat.c lib/igt_halffloat.c
+index 08ab05f..7d6a6e6 100644
+--- lib/igt_halffloat.c
++++ lib/igt_halffloat.c
+@@ -162,7 +162,7 @@ static inline float _half_to_float(uint16_t val)
+ 	return fi.f;
+ }
+ 
+-#if defined(__x86_64__) && !defined(__clang__)
++#if defined(__x86_64__) && !defined(__clang__) && defined(__GLIBC__)
+ #pragma GCC push_options
+ #pragma GCC target("f16c")
+ 
+diff --git lib/igt_x86.c lib/igt_x86.c
+index 6ac700d..ddf5edd 100644
+--- lib/igt_x86.c
++++ lib/igt_x86.c
+@@ -190,7 +190,7 @@ char *igt_x86_features_to_string(unsigned features, char *line)
+ }
+ #endif
+ 
+-#if defined(__x86_64__) && !defined(__clang__)
++#if defined(__x86_64__) && !defined(__clang__) && defined(__GLIBC__)
+ #pragma GCC push_options
+ #pragma GCC target("sse4.1")
+ #pragma GCC diagnostic ignored "-Wpointer-arith"
+diff --git lib/signal_compat.h lib/signal_compat.h
+new file mode 100644
+index 0000000..acae648
+--- /dev/null
++++ lib/signal_compat.h
+@@ -0,0 +1,4 @@
++#define SIGEV_SIGNAL    0       /* notify via signal */
++#define SIGEV_NONE      1       /* other notification: meaningless */
++#define SIGEV_THREAD    2       /* deliver via thread creation */
++#define SIGEV_THREAD_ID 4       /* deliver to thread */
+diff --git tests/drm_read.c tests/drm_read.c
+index cfb1c04..18be922 100644
+--- tests/drm_read.c
++++ tests/drm_read.c
+@@ -220,7 +220,7 @@ static void test_short_buffer_wakeup(int in, enum pipe pipe)
+ 		pthread_mutex_unlock(&w.mutex);
+ 
+ 		/* Give each thread a chance to sleep in drm_read() */
+-		pthread_yield();
++		sched_yield();
+ 
+ 		/* One event should wake all threads as none consume */
+ 		generate_event(w.fd, pipe);
+diff --git tests/kms_hdmi_inject.c tests/kms_hdmi_inject.c
+index 8c0d133..f272418 100644
+--- tests/kms_hdmi_inject.c
++++ tests/kms_hdmi_inject.c
+@@ -25,7 +25,7 @@
+ #include "config.h"
+ 
+ #include <dirent.h>
+-
++#include <limits.h>
+ #include "igt.h"
+ #include "igt_edid.h"
+ #include "igt_eld.h"
+diff --git tests/kms_sysfs_edid_timing.c tests/kms_sysfs_edid_timing.c
+index 1201388..e75c7e9 100644
+--- tests/kms_sysfs_edid_timing.c
++++ tests/kms_sysfs_edid_timing.c
+@@ -24,6 +24,7 @@
+ 
+ #include <dirent.h>
+ #include <fcntl.h>
++#include <limits.h>
+ #include <sys/stat.h>
+ 
+ #define THRESHOLD_PER_CONNECTOR	10
+diff --git tools/aubdump.c tools/aubdump.c
+index 00e1971..af894fe 100644
+--- tools/aubdump.c
++++ tools/aubdump.c
+@@ -42,6 +42,12 @@
+ #include "intel_aub.h"
+ #include "intel_chipset.h"
+ 
++#ifdef __GLIBC__
++typedef unsigned long request_t;
++#else
++typedef int request_t;
++#endif
++
+ #ifndef ARRAY_SIZE
+ #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
+ #endif
+@@ -226,10 +232,10 @@ static const uint32_t video_context_init[GEN8_LR_CONTEXT_OTHER_SIZE /
+ };
+ 
+ static int close_init_helper(int fd);
+-static int ioctl_init_helper(int fd, unsigned long request, ...);
++static int ioctl_init_helper(int fd, request_t request, ...);
+ 
+ static int (*libc_close)(int fd) = close_init_helper;
+-static int (*libc_ioctl)(int fd, unsigned long request, ...) = ioctl_init_helper;
++static int (*libc_ioctl)(int fd, request_t request, ...) = ioctl_init_helper;
+ 
+ static int drm_fd = -1;
+ static char *filename = NULL;
+@@ -856,7 +862,7 @@ relocate_bo(struct bo *bo, const struct drm_i915_gem_execbuffer2 *execbuffer2,
+ }
+ 
+ static int
+-gem_ioctl(int fd, unsigned long request, void *argp)
++gem_ioctl(int fd, request_t request, void *argp)
+ {
+ 	int ret;
+ 
+@@ -1150,7 +1156,7 @@ maybe_init(void)
+     DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_EXECBUFFER2, struct drm_i915_gem_execbuffer2)
+ 
+ int
+-ioctl(int fd, unsigned long request, ...)
++ioctl(int fd, request_t request, ...)
+ {
+ 	va_list args;
+ 	void *argp;
+@@ -1290,7 +1296,7 @@ close_init_helper(int fd)
+ }
+ 
+ static int
+-ioctl_init_helper(int fd, unsigned long request, ...)
++ioctl_init_helper(int fd, request_t request, ...)
+ {
+ 	va_list args;
+ 	void *argp;
diff --git a/srcpkgs/igt-gpu-tools/template b/srcpkgs/igt-gpu-tools/template
index c26b5242129..41d582a414d 100644
--- a/srcpkgs/igt-gpu-tools/template
+++ b/srcpkgs/igt-gpu-tools/template
@@ -1,20 +1,26 @@
 # Template file for 'igt-gpu-tools'
 pkgname=igt-gpu-tools
-version=1.23
-revision=2
+version=1.24
+revision=1
 build_style=meson
-hostmakedepends="flex gtk-doc pkg-config swig"
-makedepends="cairo-devel libXrandr-devel libXv-devel libkmod-devel
- libunwind-devel procps-ng-devel python3-devel libressl-devel"
+configure_args="-Db_ndebug=false"
+hostmakedepends="pkg-config flex peg python3-docutils gtk-doc"
+makedepends="libdrm-devel libkmod-devel procps-ng-devel libunwind-devel
+ elfutils-devel pixman-devel valgrind-devel cairo-devel xmlrpc-c-devel gsl-devel
+ alsa-lib-devel json-c-devel libXrandr-devel"
 short_desc="Tools for development and testing of the Intel DRM driver"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://gitlab.freedesktop.org/drm/igt-gpu-tools"
 distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.xz"
-checksum=4d4b086c513bace5c23d0889de3f42ac3ebd3d968c64dedae6e28e006a499ad0
+checksum=57357c72feeafc923c9cfd2d1234bd80e120fc7cc6099eac81158ec351a821bf
 
 lib32disabled=yes
-archs="i686 x86_64"
+archs="i686* x86_64*"
+
+case "$XBPS_TARGET_MACHINE" in
+	*-musl) configure_args+=" -Dbuild_tests=disabled -Dbuild_runner=disabled -Dbuild_docs=disabled"
+esac
 
 post_install() {
 	vlicense COPYING

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
  2019-11-12  9:21 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-11-12  9:26 ` voidlinux-github
  2019-11-12  9:32 ` voidlinux-github
                   ` (16 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12  9:26 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1426 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552808381

Comment:
Some warnings due to `musl.patch`:
```
[14/366] Compiling C object 'benchmarks/cb1d2fd@@gem_syslatency@exe/gem_syslatency.c.o'.
../benchmarks/gem_syslatency.c: In function 'sys_wait':
../benchmarks/gem_syslatency.c:180:29: warning: assignment to 'void (*)(union sigval)' from 'int' makes pointer from integer without a cast [-Wint-conversion]
  180 |  sev.sigev_notify_thread_id = gettid();
      |                             ^
[52/366] Compiling C object 'lib/76b5a35@@igt-igt_aux_c@sta/igt_aux.c.o'.
../lib/igt_aux.c: In function 'igt_sigiter_start':
../lib/igt_aux.c:187:30: warning: assignment to 'void (*)(union sigval)' from 'pid_t' {aka 'int'} makes pointer from integer without a cast [-Wint-conversion]
  187 |   sev.sigev_notify_thread_id = __igt_sigiter.tid;
      |                              ^
../lib/igt_aux.c: In function 'igt_start_siglatency':
../lib/igt_aux.c:1615:29: warning: assignment to 'void (*)(union sigval)' from 'int' makes pointer from integer without a cast [-Wint-conversion]
 1615 |  sev.sigev_notify_thread_id = gettid();
      |                             ^
```
There's still the problem that the build sometimes hangs, tried adding `disable_parallel_build=yes` but no success. I could reach the end when manually chrooting though.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
  2019-11-12  9:21 ` [PR PATCH] [Updated] " voidlinux-github
  2019-11-12  9:26 ` voidlinux-github
@ 2019-11-12  9:32 ` voidlinux-github
  2019-11-12  9:33 ` voidlinux-github
                   ` (15 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12  9:32 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2054 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552808381

Comment:
Some warnings due to `musl.patch`:
```
[53/898] Compiling C object 'lib/76b5a35@@igt-igt_aux_c@sta/igt_aux.c.o'.
../lib/igt_aux.c: In function 'igt_sigiter_start':
../lib/igt_aux.c:187:30: warning: assignment to 'void (*)(__sigval_t)' {aka 'void (*)(union sigval)'} from 'pid_t' {aka 'int'} makes pointer from integer without a cast [-Wint-conversion]
  187 |   sev.sigev_notify_thread_id = __igt_sigiter.tid;
      |                              ^
../lib/igt_aux.c: In function 'igt_start_siglatency':
../lib/igt_aux.c:1615:29: warning: assignment to 'void (*)(__sigval_t)' {aka 'void (*)(union sigval)'} from '__pid_t' {aka 'int'} makes pointer from integer without a cast [-Wint-conversion]
 1615 |  sev.sigev_notify_thread_id = gettid();
      |                             ^                         ^
[182/898] Compiling C object 'tests/59830eb@@gem_close_race@exe/i915_gem_close_race.c.o'.
../tests/i915/gem_close_race.c:54: warning: "sigev_notify_thread_id" redefined
   54 | #define sigev_notify_thread_id _sigev_un._tid
      | 
In file included from ../lib/igt.h:30,
                 from ../tests/i915/gem_close_race.c:28:
../lib/igt_aux.h:49: note: this is the location of the previous definition
   49 | #define sigev_notify_thread_id sigev_notify_function
      | 
[434/898] Compiling C object 'benchmarks/cb1d2fd@@gem_syslatency@exe/gem_syslatency.c.o'.
../benchmarks/gem_syslatency.c: In function 'sys_wait':
../benchmarks/gem_syslatency.c:180:29: warning: assignment to 'void (*)(__sigval_t)' {aka 'void (*)(union sigval)'} from '__pid_t' {aka 'int'} makes pointer from integer without a cast [-Wint-conversion]
  180 |  sev.sigev_notify_thread_id = gettid();
      |                             ^
```
There's still the problem that the build sometimes hangs, tried adding `disable_parallel_build=yes` but no success. I could reach the end when manually chrooting though.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (2 preceding siblings ...)
  2019-11-12  9:32 ` voidlinux-github
@ 2019-11-12  9:33 ` voidlinux-github
  2019-11-12 13:28 ` voidlinux-github
                   ` (14 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12  9:33 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2197 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552808381

Comment:
Some warnings due to `musl.patch`:
```
[53/898] Compiling C object 'lib/76b5a35@@igt-igt_aux_c@sta/igt_aux.c.o'.
../lib/igt_aux.c: In function 'igt_sigiter_start':
../lib/igt_aux.c:187:30: warning: assignment to 'void (*)(__sigval_t)' {aka 'void (*)(union sigval)'} from 'pid_t' {aka 'int'} makes pointer from integer without a cast [-Wint-conversion]
  187 |   sev.sigev_notify_thread_id = __igt_sigiter.tid;
      |                              ^
../lib/igt_aux.c: In function 'igt_start_siglatency':
../lib/igt_aux.c:1615:29: warning: assignment to 'void (*)(__sigval_t)' {aka 'void (*)(union sigval)'} from '__pid_t' {aka 'int'} makes pointer from integer without a cast [-Wint-conversion]
 1615 |  sev.sigev_notify_thread_id = gettid();
      |                             ^                         ^
[182/898] Compiling C object 'tests/59830eb@@gem_close_race@exe/i915_gem_close_race.c.o'.
../tests/i915/gem_close_race.c:54: warning: "sigev_notify_thread_id" redefined
   54 | #define sigev_notify_thread_id _sigev_un._tid
      | 
In file included from ../lib/igt.h:30,
                 from ../tests/i915/gem_close_race.c:28:
../lib/igt_aux.h:49: note: this is the location of the previous definition
   49 | #define sigev_notify_thread_id sigev_notify_function
      | 
[434/898] Compiling C object 'benchmarks/cb1d2fd@@gem_syslatency@exe/gem_syslatency.c.o'.
../benchmarks/gem_syslatency.c: In function 'sys_wait':
../benchmarks/gem_syslatency.c:180:29: warning: assignment to 'void (*)(__sigval_t)' {aka 'void (*)(union sigval)'} from '__pid_t' {aka 'int'} makes pointer from integer without a cast [-Wint-conversion]
  180 |  sev.sigev_notify_thread_id = gettid();
      |                             ^
```
There's still the problem that the build sometimes hangs, tried adding `disable_parallel_build=yes` but no success. I could reach the end when manually chrooting though.
EDIT: well no, I could because I configured manually with `meson build`, trying with the configuration specified in the template still fails.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (3 preceding siblings ...)
  2019-11-12  9:33 ` voidlinux-github
@ 2019-11-12 13:28 ` voidlinux-github
  2019-11-12 13:28 ` voidlinux-github
                   ` (13 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 13:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 339 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552892942

Comment:
The point in which the build hangs is random, and is likely caused by one of the default flags passed to meson by `build_style=meson`, since the build succeeds with plain `do_build() { meson build }`

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (4 preceding siblings ...)
  2019-11-12 13:28 ` voidlinux-github
@ 2019-11-12 13:28 ` voidlinux-github
  2019-11-12 13:38 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (12 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 13:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 343 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552892942

Comment:
The point in which the build hangs is random, and is likely caused by one of the default flags passed to meson by `build_style=meson`, since the build succeeds with plain `do_configure() { meson build }`

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (5 preceding siblings ...)
  2019-11-12 13:28 ` voidlinux-github
@ 2019-11-12 13:38 ` " voidlinux-github
  2019-11-12 13:38 ` voidlinux-github
                   ` (11 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 13:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

There is an updated pull request by st3r4g against master on the void-packages repository

https://github.com/st3r4g/void-packages igt-gpu-tools-1.24
https://github.com/void-linux/void-packages/pull/16392

igt-gpu-tools: update to 1.24, fix musl
Closes #11374

A patch file from https://github.com/void-linux/void-packages/pull/16392.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-igt-gpu-tools-1.24-16392.patch --]
[-- Type: text/x-diff, Size: 9572 bytes --]

From 4c607b9670b43672588aa6ad3750025af89a8965 Mon Sep 17 00:00:00 2001
From: Stefano Ragni <st3r4g@protonmail.com>
Date: Tue, 12 Nov 2019 14:37:35 +0100
Subject: [PATCH] igt-gpu-tools: update to 1.24, fix musl

---
 .../igt-gpu-tools/patches/disable-docs.patch  |  36 ----
 srcpkgs/igt-gpu-tools/patches/musl.patch      | 198 ++++++++++++++++++
 srcpkgs/igt-gpu-tools/template                |  24 ++-
 3 files changed, 215 insertions(+), 43 deletions(-)
 delete mode 100644 srcpkgs/igt-gpu-tools/patches/disable-docs.patch
 create mode 100644 srcpkgs/igt-gpu-tools/patches/musl.patch

diff --git a/srcpkgs/igt-gpu-tools/patches/disable-docs.patch b/srcpkgs/igt-gpu-tools/patches/disable-docs.patch
deleted file mode 100644
index 9ee861b397b..00000000000
--- a/srcpkgs/igt-gpu-tools/patches/disable-docs.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Source: maxice8, m3tav3rse
-Upstream: not upstreamable
-Reason: Fixes building of package.
-
-ERROR: Error in gtkdoc helper script:
-ERROR: ['gtkdoc-mkhtml', '--path=/builddir/igt-gpu-tools-1.23/docs/reference/igt-gpu-tools:/builddir/igt-gpu-tools-1.23/build/docs/reference/igt-gpu-tools', 'igt-gpu-tools', '../igt-gpu-tools-docs.xml'] failed with status 5
-I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
-warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
-compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 11 element import
-xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
-
---- meson.build
-+++ meson.build
-@@ -232,14 +232,14 @@
- subdir('man')
-
- docs_info = 'No'
--if _build_docs
--       if _build_tests
--               subdir('docs')
--               docs_info = 'Yes'
--       elif _docs_required
--               error('Documentation requires building tests')
--       endif
--endif
-+#if _build_docs
-+#      if _build_tests
-+#              subdir('docs')
-+#              docs_info = 'Yes'
-+#      elif _docs_required
-+#              error('Documentation requires building tests')
-+#      endif
-+#endif
- build_info += 'Build documentation: ' + docs_info
-
- message('Build options')
diff --git a/srcpkgs/igt-gpu-tools/patches/musl.patch b/srcpkgs/igt-gpu-tools/patches/musl.patch
new file mode 100644
index 00000000000..895ea58736a
--- /dev/null
+++ b/srcpkgs/igt-gpu-tools/patches/musl.patch
@@ -0,0 +1,198 @@
+diff --git benchmarks/gem_syslatency.c benchmarks/gem_syslatency.c
+index 7671dc4..3ac9544 100644
+--- benchmarks/gem_syslatency.c
++++ benchmarks/gem_syslatency.c
+@@ -44,7 +44,11 @@
+ 
+ #include <linux/unistd.h>
+ 
+-#define sigev_notify_thread_id _sigev_un._tid
++#ifndef __GLIBC__
++#include "signal_compat.h"
++#endif
++
++#define sigev_notify_thread_id sigev_notify_function
+ 
+ static volatile int done;
+ 
+diff --git lib/igt_aux.c lib/igt_aux.c
+index 578f857..3e98cf0 100644
+--- lib/igt_aux.c
++++ lib/igt_aux.c
+@@ -31,6 +31,7 @@
+ #endif
+ #include <stdio.h>
+ #include <fcntl.h>
++#include <limits.h> // PATH_MAX
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <string.h>
+@@ -73,6 +74,12 @@
+ #include <libgen.h>   /* for dirname() */
+ #endif
+ 
++#ifndef __GLIBC__
++#include "signal_compat.h"
++#endif
++
++//#include <asm-generic/siginfo.h>
++
+ /**
+  * SECTION:igt_aux
+  * @short_description: Auxiliary libraries and support functions
+diff --git lib/igt_aux.h lib/igt_aux.h
+index 04d2290..a0ada9e 100644
+--- lib/igt_aux.h
++++ lib/igt_aux.h
+@@ -46,7 +46,7 @@
+ #  define gettid() (pid_t)(syscall(__NR_gettid))
+ # endif
+ #endif
+-#define sigev_notify_thread_id _sigev_un._tid
++#define sigev_notify_thread_id sigev_notify_function
+ 
+ /* auxialiary igt helpers from igt_aux.c */
+ /* generally useful helpers */
+diff --git lib/igt_eld.c lib/igt_eld.c
+index 3d7fd4d..d51774b 100644
+--- lib/igt_eld.c
++++ lib/igt_eld.c
+@@ -29,6 +29,7 @@
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <limits.h>
+ 
+ #include "igt_core.h"
+ #include "igt_eld.h"
+diff --git lib/igt_halffloat.c lib/igt_halffloat.c
+index 08ab05f..7d6a6e6 100644
+--- lib/igt_halffloat.c
++++ lib/igt_halffloat.c
+@@ -162,7 +162,7 @@ static inline float _half_to_float(uint16_t val)
+ 	return fi.f;
+ }
+ 
+-#if defined(__x86_64__) && !defined(__clang__)
++#if defined(__x86_64__) && !defined(__clang__) && defined(__GLIBC__)
+ #pragma GCC push_options
+ #pragma GCC target("f16c")
+ 
+diff --git lib/igt_x86.c lib/igt_x86.c
+index 6ac700d..ddf5edd 100644
+--- lib/igt_x86.c
++++ lib/igt_x86.c
+@@ -190,7 +190,7 @@ char *igt_x86_features_to_string(unsigned features, char *line)
+ }
+ #endif
+ 
+-#if defined(__x86_64__) && !defined(__clang__)
++#if defined(__x86_64__) && !defined(__clang__) && defined(__GLIBC__)
+ #pragma GCC push_options
+ #pragma GCC target("sse4.1")
+ #pragma GCC diagnostic ignored "-Wpointer-arith"
+diff --git lib/signal_compat.h lib/signal_compat.h
+new file mode 100644
+index 0000000..acae648
+--- /dev/null
++++ lib/signal_compat.h
+@@ -0,0 +1,4 @@
++#define SIGEV_SIGNAL    0       /* notify via signal */
++#define SIGEV_NONE      1       /* other notification: meaningless */
++#define SIGEV_THREAD    2       /* deliver via thread creation */
++#define SIGEV_THREAD_ID 4       /* deliver to thread */
+diff --git tests/drm_read.c tests/drm_read.c
+index cfb1c04..18be922 100644
+--- tests/drm_read.c
++++ tests/drm_read.c
+@@ -220,7 +220,7 @@ static void test_short_buffer_wakeup(int in, enum pipe pipe)
+ 		pthread_mutex_unlock(&w.mutex);
+ 
+ 		/* Give each thread a chance to sleep in drm_read() */
+-		pthread_yield();
++		sched_yield();
+ 
+ 		/* One event should wake all threads as none consume */
+ 		generate_event(w.fd, pipe);
+diff --git tests/kms_hdmi_inject.c tests/kms_hdmi_inject.c
+index 8c0d133..f272418 100644
+--- tests/kms_hdmi_inject.c
++++ tests/kms_hdmi_inject.c
+@@ -25,7 +25,7 @@
+ #include "config.h"
+ 
+ #include <dirent.h>
+-
++#include <limits.h>
+ #include "igt.h"
+ #include "igt_edid.h"
+ #include "igt_eld.h"
+diff --git tests/kms_sysfs_edid_timing.c tests/kms_sysfs_edid_timing.c
+index 1201388..e75c7e9 100644
+--- tests/kms_sysfs_edid_timing.c
++++ tests/kms_sysfs_edid_timing.c
+@@ -24,6 +24,7 @@
+ 
+ #include <dirent.h>
+ #include <fcntl.h>
++#include <limits.h>
+ #include <sys/stat.h>
+ 
+ #define THRESHOLD_PER_CONNECTOR	10
+diff --git tools/aubdump.c tools/aubdump.c
+index 00e1971..af894fe 100644
+--- tools/aubdump.c
++++ tools/aubdump.c
+@@ -42,6 +42,12 @@
+ #include "intel_aub.h"
+ #include "intel_chipset.h"
+ 
++#ifdef __GLIBC__
++typedef unsigned long request_t;
++#else
++typedef int request_t;
++#endif
++
+ #ifndef ARRAY_SIZE
+ #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
+ #endif
+@@ -226,10 +232,10 @@ static const uint32_t video_context_init[GEN8_LR_CONTEXT_OTHER_SIZE /
+ };
+ 
+ static int close_init_helper(int fd);
+-static int ioctl_init_helper(int fd, unsigned long request, ...);
++static int ioctl_init_helper(int fd, request_t request, ...);
+ 
+ static int (*libc_close)(int fd) = close_init_helper;
+-static int (*libc_ioctl)(int fd, unsigned long request, ...) = ioctl_init_helper;
++static int (*libc_ioctl)(int fd, request_t request, ...) = ioctl_init_helper;
+ 
+ static int drm_fd = -1;
+ static char *filename = NULL;
+@@ -856,7 +862,7 @@ relocate_bo(struct bo *bo, const struct drm_i915_gem_execbuffer2 *execbuffer2,
+ }
+ 
+ static int
+-gem_ioctl(int fd, unsigned long request, void *argp)
++gem_ioctl(int fd, request_t request, void *argp)
+ {
+ 	int ret;
+ 
+@@ -1150,7 +1156,7 @@ maybe_init(void)
+     DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_EXECBUFFER2, struct drm_i915_gem_execbuffer2)
+ 
+ int
+-ioctl(int fd, unsigned long request, ...)
++ioctl(int fd, request_t request, ...)
+ {
+ 	va_list args;
+ 	void *argp;
+@@ -1290,7 +1296,7 @@ close_init_helper(int fd)
+ }
+ 
+ static int
+-ioctl_init_helper(int fd, unsigned long request, ...)
++ioctl_init_helper(int fd, request_t request, ...)
+ {
+ 	va_list args;
+ 	void *argp;
diff --git a/srcpkgs/igt-gpu-tools/template b/srcpkgs/igt-gpu-tools/template
index c26b5242129..d6d0369a48c 100644
--- a/srcpkgs/igt-gpu-tools/template
+++ b/srcpkgs/igt-gpu-tools/template
@@ -1,20 +1,30 @@
 # Template file for 'igt-gpu-tools'
 pkgname=igt-gpu-tools
-version=1.23
-revision=2
+version=1.24
+revision=1
 build_style=meson
-hostmakedepends="flex gtk-doc pkg-config swig"
-makedepends="cairo-devel libXrandr-devel libXv-devel libkmod-devel
- libunwind-devel procps-ng-devel python3-devel libressl-devel"
+hostmakedepends="pkg-config flex peg python3-docutils gtk-doc"
+makedepends="libdrm-devel libkmod-devel procps-ng-devel libunwind-devel
+ elfutils-devel pixman-devel valgrind-devel cairo-devel xmlrpc-c-devel gsl-devel
+ alsa-lib-devel json-c-devel libXrandr-devel"
 short_desc="Tools for development and testing of the Intel DRM driver"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://gitlab.freedesktop.org/drm/igt-gpu-tools"
 distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.xz"
-checksum=4d4b086c513bace5c23d0889de3f42ac3ebd3d968c64dedae6e28e006a499ad0
+checksum=57357c72feeafc923c9cfd2d1234bd80e120fc7cc6099eac81158ec351a821bf
 
 lib32disabled=yes
-archs="i686 x86_64"
+archs="i686* x86_64*"
+
+case "$XBPS_TARGET_MACHINE" in
+	*-musl) configure_args+=" -Dbuild_tests=disabled -Dbuild_runner=disabled -Dbuild_docs=disabled"
+esac
+
+# Some default flag makes the build hang in a random point
+do_configure() {
+	meson build
+}
 
 post_install() {
 	vlicense COPYING

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (6 preceding siblings ...)
  2019-11-12 13:38 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-11-12 13:38 ` voidlinux-github
  2019-11-12 14:04 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (10 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 13:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 424 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552892942

Comment:
The point in which the build hangs is random, and is likely caused by one of the default flags passed to meson by `build_style=meson`, since the build succeeds with plain `do_configure() { meson build }`.
Do not merge yet, I'd like to understand which is the flag and why it happens.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (7 preceding siblings ...)
  2019-11-12 13:38 ` voidlinux-github
@ 2019-11-12 14:04 ` " voidlinux-github
  2019-11-12 14:06 ` voidlinux-github
                   ` (9 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 14:04 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

There is an updated pull request by st3r4g against master on the void-packages repository

https://github.com/st3r4g/void-packages igt-gpu-tools-1.24
https://github.com/void-linux/void-packages/pull/16392

igt-gpu-tools: update to 1.24, fix musl
Closes #11374

A patch file from https://github.com/void-linux/void-packages/pull/16392.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-igt-gpu-tools-1.24-16392.patch --]
[-- Type: text/x-diff, Size: 9578 bytes --]

From 4670d760e29f5bb48156e1e626be698b92405db3 Mon Sep 17 00:00:00 2001
From: Stefano Ragni <st3r4g@protonmail.com>
Date: Tue, 12 Nov 2019 15:04:46 +0100
Subject: [PATCH] igt-gpu-tools: update to 1.24, fix musl

---
 .../igt-gpu-tools/patches/disable-docs.patch  |  36 ----
 srcpkgs/igt-gpu-tools/patches/musl.patch      | 198 ++++++++++++++++++
 srcpkgs/igt-gpu-tools/template                |  21 +-
 3 files changed, 212 insertions(+), 43 deletions(-)
 delete mode 100644 srcpkgs/igt-gpu-tools/patches/disable-docs.patch
 create mode 100644 srcpkgs/igt-gpu-tools/patches/musl.patch

diff --git a/srcpkgs/igt-gpu-tools/patches/disable-docs.patch b/srcpkgs/igt-gpu-tools/patches/disable-docs.patch
deleted file mode 100644
index 9ee861b397b..00000000000
--- a/srcpkgs/igt-gpu-tools/patches/disable-docs.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Source: maxice8, m3tav3rse
-Upstream: not upstreamable
-Reason: Fixes building of package.
-
-ERROR: Error in gtkdoc helper script:
-ERROR: ['gtkdoc-mkhtml', '--path=/builddir/igt-gpu-tools-1.23/docs/reference/igt-gpu-tools:/builddir/igt-gpu-tools-1.23/build/docs/reference/igt-gpu-tools', 'igt-gpu-tools', '../igt-gpu-tools-docs.xml'] failed with status 5
-I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
-warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
-compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 11 element import
-xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
-
---- meson.build
-+++ meson.build
-@@ -232,14 +232,14 @@
- subdir('man')
-
- docs_info = 'No'
--if _build_docs
--       if _build_tests
--               subdir('docs')
--               docs_info = 'Yes'
--       elif _docs_required
--               error('Documentation requires building tests')
--       endif
--endif
-+#if _build_docs
-+#      if _build_tests
-+#              subdir('docs')
-+#              docs_info = 'Yes'
-+#      elif _docs_required
-+#              error('Documentation requires building tests')
-+#      endif
-+#endif
- build_info += 'Build documentation: ' + docs_info
-
- message('Build options')
diff --git a/srcpkgs/igt-gpu-tools/patches/musl.patch b/srcpkgs/igt-gpu-tools/patches/musl.patch
new file mode 100644
index 00000000000..895ea58736a
--- /dev/null
+++ b/srcpkgs/igt-gpu-tools/patches/musl.patch
@@ -0,0 +1,198 @@
+diff --git benchmarks/gem_syslatency.c benchmarks/gem_syslatency.c
+index 7671dc4..3ac9544 100644
+--- benchmarks/gem_syslatency.c
++++ benchmarks/gem_syslatency.c
+@@ -44,7 +44,11 @@
+ 
+ #include <linux/unistd.h>
+ 
+-#define sigev_notify_thread_id _sigev_un._tid
++#ifndef __GLIBC__
++#include "signal_compat.h"
++#endif
++
++#define sigev_notify_thread_id sigev_notify_function
+ 
+ static volatile int done;
+ 
+diff --git lib/igt_aux.c lib/igt_aux.c
+index 578f857..3e98cf0 100644
+--- lib/igt_aux.c
++++ lib/igt_aux.c
+@@ -31,6 +31,7 @@
+ #endif
+ #include <stdio.h>
+ #include <fcntl.h>
++#include <limits.h> // PATH_MAX
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <string.h>
+@@ -73,6 +74,12 @@
+ #include <libgen.h>   /* for dirname() */
+ #endif
+ 
++#ifndef __GLIBC__
++#include "signal_compat.h"
++#endif
++
++//#include <asm-generic/siginfo.h>
++
+ /**
+  * SECTION:igt_aux
+  * @short_description: Auxiliary libraries and support functions
+diff --git lib/igt_aux.h lib/igt_aux.h
+index 04d2290..a0ada9e 100644
+--- lib/igt_aux.h
++++ lib/igt_aux.h
+@@ -46,7 +46,7 @@
+ #  define gettid() (pid_t)(syscall(__NR_gettid))
+ # endif
+ #endif
+-#define sigev_notify_thread_id _sigev_un._tid
++#define sigev_notify_thread_id sigev_notify_function
+ 
+ /* auxialiary igt helpers from igt_aux.c */
+ /* generally useful helpers */
+diff --git lib/igt_eld.c lib/igt_eld.c
+index 3d7fd4d..d51774b 100644
+--- lib/igt_eld.c
++++ lib/igt_eld.c
+@@ -29,6 +29,7 @@
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <limits.h>
+ 
+ #include "igt_core.h"
+ #include "igt_eld.h"
+diff --git lib/igt_halffloat.c lib/igt_halffloat.c
+index 08ab05f..7d6a6e6 100644
+--- lib/igt_halffloat.c
++++ lib/igt_halffloat.c
+@@ -162,7 +162,7 @@ static inline float _half_to_float(uint16_t val)
+ 	return fi.f;
+ }
+ 
+-#if defined(__x86_64__) && !defined(__clang__)
++#if defined(__x86_64__) && !defined(__clang__) && defined(__GLIBC__)
+ #pragma GCC push_options
+ #pragma GCC target("f16c")
+ 
+diff --git lib/igt_x86.c lib/igt_x86.c
+index 6ac700d..ddf5edd 100644
+--- lib/igt_x86.c
++++ lib/igt_x86.c
+@@ -190,7 +190,7 @@ char *igt_x86_features_to_string(unsigned features, char *line)
+ }
+ #endif
+ 
+-#if defined(__x86_64__) && !defined(__clang__)
++#if defined(__x86_64__) && !defined(__clang__) && defined(__GLIBC__)
+ #pragma GCC push_options
+ #pragma GCC target("sse4.1")
+ #pragma GCC diagnostic ignored "-Wpointer-arith"
+diff --git lib/signal_compat.h lib/signal_compat.h
+new file mode 100644
+index 0000000..acae648
+--- /dev/null
++++ lib/signal_compat.h
+@@ -0,0 +1,4 @@
++#define SIGEV_SIGNAL    0       /* notify via signal */
++#define SIGEV_NONE      1       /* other notification: meaningless */
++#define SIGEV_THREAD    2       /* deliver via thread creation */
++#define SIGEV_THREAD_ID 4       /* deliver to thread */
+diff --git tests/drm_read.c tests/drm_read.c
+index cfb1c04..18be922 100644
+--- tests/drm_read.c
++++ tests/drm_read.c
+@@ -220,7 +220,7 @@ static void test_short_buffer_wakeup(int in, enum pipe pipe)
+ 		pthread_mutex_unlock(&w.mutex);
+ 
+ 		/* Give each thread a chance to sleep in drm_read() */
+-		pthread_yield();
++		sched_yield();
+ 
+ 		/* One event should wake all threads as none consume */
+ 		generate_event(w.fd, pipe);
+diff --git tests/kms_hdmi_inject.c tests/kms_hdmi_inject.c
+index 8c0d133..f272418 100644
+--- tests/kms_hdmi_inject.c
++++ tests/kms_hdmi_inject.c
+@@ -25,7 +25,7 @@
+ #include "config.h"
+ 
+ #include <dirent.h>
+-
++#include <limits.h>
+ #include "igt.h"
+ #include "igt_edid.h"
+ #include "igt_eld.h"
+diff --git tests/kms_sysfs_edid_timing.c tests/kms_sysfs_edid_timing.c
+index 1201388..e75c7e9 100644
+--- tests/kms_sysfs_edid_timing.c
++++ tests/kms_sysfs_edid_timing.c
+@@ -24,6 +24,7 @@
+ 
+ #include <dirent.h>
+ #include <fcntl.h>
++#include <limits.h>
+ #include <sys/stat.h>
+ 
+ #define THRESHOLD_PER_CONNECTOR	10
+diff --git tools/aubdump.c tools/aubdump.c
+index 00e1971..af894fe 100644
+--- tools/aubdump.c
++++ tools/aubdump.c
+@@ -42,6 +42,12 @@
+ #include "intel_aub.h"
+ #include "intel_chipset.h"
+ 
++#ifdef __GLIBC__
++typedef unsigned long request_t;
++#else
++typedef int request_t;
++#endif
++
+ #ifndef ARRAY_SIZE
+ #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
+ #endif
+@@ -226,10 +232,10 @@ static const uint32_t video_context_init[GEN8_LR_CONTEXT_OTHER_SIZE /
+ };
+ 
+ static int close_init_helper(int fd);
+-static int ioctl_init_helper(int fd, unsigned long request, ...);
++static int ioctl_init_helper(int fd, request_t request, ...);
+ 
+ static int (*libc_close)(int fd) = close_init_helper;
+-static int (*libc_ioctl)(int fd, unsigned long request, ...) = ioctl_init_helper;
++static int (*libc_ioctl)(int fd, request_t request, ...) = ioctl_init_helper;
+ 
+ static int drm_fd = -1;
+ static char *filename = NULL;
+@@ -856,7 +862,7 @@ relocate_bo(struct bo *bo, const struct drm_i915_gem_execbuffer2 *execbuffer2,
+ }
+ 
+ static int
+-gem_ioctl(int fd, unsigned long request, void *argp)
++gem_ioctl(int fd, request_t request, void *argp)
+ {
+ 	int ret;
+ 
+@@ -1150,7 +1156,7 @@ maybe_init(void)
+     DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_EXECBUFFER2, struct drm_i915_gem_execbuffer2)
+ 
+ int
+-ioctl(int fd, unsigned long request, ...)
++ioctl(int fd, request_t request, ...)
+ {
+ 	va_list args;
+ 	void *argp;
+@@ -1290,7 +1296,7 @@ close_init_helper(int fd)
+ }
+ 
+ static int
+-ioctl_init_helper(int fd, unsigned long request, ...)
++ioctl_init_helper(int fd, request_t request, ...)
+ {
+ 	va_list args;
+ 	void *argp;
diff --git a/srcpkgs/igt-gpu-tools/template b/srcpkgs/igt-gpu-tools/template
index c26b5242129..18d95d8370f 100644
--- a/srcpkgs/igt-gpu-tools/template
+++ b/srcpkgs/igt-gpu-tools/template
@@ -1,20 +1,27 @@
 # Template file for 'igt-gpu-tools'
 pkgname=igt-gpu-tools
-version=1.23
-revision=2
+version=1.24
+revision=1
 build_style=meson
-hostmakedepends="flex gtk-doc pkg-config swig"
-makedepends="cairo-devel libXrandr-devel libXv-devel libkmod-devel
- libunwind-devel procps-ng-devel python3-devel libressl-devel"
+configure_args="-Db_ndebug=false -Db_lto=false"
+# `b_lto=true` makes the build hang at a random point
+hostmakedepends="pkg-config flex peg python3-docutils gtk-doc"
+makedepends="libdrm-devel libkmod-devel procps-ng-devel libunwind-devel
+ elfutils-devel pixman-devel valgrind-devel cairo-devel xmlrpc-c-devel gsl-devel
+ alsa-lib-devel json-c-devel libXrandr-devel"
 short_desc="Tools for development and testing of the Intel DRM driver"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://gitlab.freedesktop.org/drm/igt-gpu-tools"
 distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.xz"
-checksum=4d4b086c513bace5c23d0889de3f42ac3ebd3d968c64dedae6e28e006a499ad0
+checksum=57357c72feeafc923c9cfd2d1234bd80e120fc7cc6099eac81158ec351a821bf
 
 lib32disabled=yes
-archs="i686 x86_64"
+archs="i686* x86_64*"
+
+case "$XBPS_TARGET_MACHINE" in
+	*-musl) configure_args+=" -Dbuild_tests=disabled -Dbuild_runner=disabled -Dbuild_docs=disabled"
+esac
 
 post_install() {
 	vlicense COPYING

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (8 preceding siblings ...)
  2019-11-12 14:04 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-11-12 14:06 ` voidlinux-github
  2019-11-12 14:17 ` [PR PATCH] [Updated] " voidlinux-github
                   ` (8 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 14:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 383 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552892942

Comment:
The point in which the build hangs is random, and is likely caused by one of the default flags passed to meson by `build_style=meson`, since the build succeeds with plain `do_configure() { meson build }`.
UPDATE: `b_lto=true` was the offender

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (9 preceding siblings ...)
  2019-11-12 14:06 ` voidlinux-github
@ 2019-11-12 14:17 ` " voidlinux-github
  2019-11-12 15:48 ` voidlinux-github
                   ` (7 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 14:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

There is an updated pull request by st3r4g against master on the void-packages repository

https://github.com/st3r4g/void-packages igt-gpu-tools-1.24
https://github.com/void-linux/void-packages/pull/16392

igt-gpu-tools: update to 1.24, fix musl
Closes #11374

A patch file from https://github.com/void-linux/void-packages/pull/16392.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-igt-gpu-tools-1.24-16392.patch --]
[-- Type: text/x-diff, Size: 9576 bytes --]

From d10c88e61fb246834a7241273124b8f1ccae18d1 Mon Sep 17 00:00:00 2001
From: Stefano Ragni <st3r4g@protonmail.com>
Date: Tue, 12 Nov 2019 15:17:10 +0100
Subject: [PATCH] igt-gpu-tools: update to 1.24, fix musl

---
 .../igt-gpu-tools/patches/disable-docs.patch  |  36 ----
 srcpkgs/igt-gpu-tools/patches/musl.patch      | 198 ++++++++++++++++++
 srcpkgs/igt-gpu-tools/template                |  21 +-
 3 files changed, 212 insertions(+), 43 deletions(-)
 delete mode 100644 srcpkgs/igt-gpu-tools/patches/disable-docs.patch
 create mode 100644 srcpkgs/igt-gpu-tools/patches/musl.patch

diff --git a/srcpkgs/igt-gpu-tools/patches/disable-docs.patch b/srcpkgs/igt-gpu-tools/patches/disable-docs.patch
deleted file mode 100644
index 9ee861b397b..00000000000
--- a/srcpkgs/igt-gpu-tools/patches/disable-docs.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Source: maxice8, m3tav3rse
-Upstream: not upstreamable
-Reason: Fixes building of package.
-
-ERROR: Error in gtkdoc helper script:
-ERROR: ['gtkdoc-mkhtml', '--path=/builddir/igt-gpu-tools-1.23/docs/reference/igt-gpu-tools:/builddir/igt-gpu-tools-1.23/build/docs/reference/igt-gpu-tools', 'igt-gpu-tools', '../igt-gpu-tools-docs.xml'] failed with status 5
-I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
-warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
-compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 11 element import
-xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
-
---- meson.build
-+++ meson.build
-@@ -232,14 +232,14 @@
- subdir('man')
-
- docs_info = 'No'
--if _build_docs
--       if _build_tests
--               subdir('docs')
--               docs_info = 'Yes'
--       elif _docs_required
--               error('Documentation requires building tests')
--       endif
--endif
-+#if _build_docs
-+#      if _build_tests
-+#              subdir('docs')
-+#              docs_info = 'Yes'
-+#      elif _docs_required
-+#              error('Documentation requires building tests')
-+#      endif
-+#endif
- build_info += 'Build documentation: ' + docs_info
-
- message('Build options')
diff --git a/srcpkgs/igt-gpu-tools/patches/musl.patch b/srcpkgs/igt-gpu-tools/patches/musl.patch
new file mode 100644
index 00000000000..895ea58736a
--- /dev/null
+++ b/srcpkgs/igt-gpu-tools/patches/musl.patch
@@ -0,0 +1,198 @@
+diff --git benchmarks/gem_syslatency.c benchmarks/gem_syslatency.c
+index 7671dc4..3ac9544 100644
+--- benchmarks/gem_syslatency.c
++++ benchmarks/gem_syslatency.c
+@@ -44,7 +44,11 @@
+ 
+ #include <linux/unistd.h>
+ 
+-#define sigev_notify_thread_id _sigev_un._tid
++#ifndef __GLIBC__
++#include "signal_compat.h"
++#endif
++
++#define sigev_notify_thread_id sigev_notify_function
+ 
+ static volatile int done;
+ 
+diff --git lib/igt_aux.c lib/igt_aux.c
+index 578f857..3e98cf0 100644
+--- lib/igt_aux.c
++++ lib/igt_aux.c
+@@ -31,6 +31,7 @@
+ #endif
+ #include <stdio.h>
+ #include <fcntl.h>
++#include <limits.h> // PATH_MAX
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <string.h>
+@@ -73,6 +74,12 @@
+ #include <libgen.h>   /* for dirname() */
+ #endif
+ 
++#ifndef __GLIBC__
++#include "signal_compat.h"
++#endif
++
++//#include <asm-generic/siginfo.h>
++
+ /**
+  * SECTION:igt_aux
+  * @short_description: Auxiliary libraries and support functions
+diff --git lib/igt_aux.h lib/igt_aux.h
+index 04d2290..a0ada9e 100644
+--- lib/igt_aux.h
++++ lib/igt_aux.h
+@@ -46,7 +46,7 @@
+ #  define gettid() (pid_t)(syscall(__NR_gettid))
+ # endif
+ #endif
+-#define sigev_notify_thread_id _sigev_un._tid
++#define sigev_notify_thread_id sigev_notify_function
+ 
+ /* auxialiary igt helpers from igt_aux.c */
+ /* generally useful helpers */
+diff --git lib/igt_eld.c lib/igt_eld.c
+index 3d7fd4d..d51774b 100644
+--- lib/igt_eld.c
++++ lib/igt_eld.c
+@@ -29,6 +29,7 @@
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <limits.h>
+ 
+ #include "igt_core.h"
+ #include "igt_eld.h"
+diff --git lib/igt_halffloat.c lib/igt_halffloat.c
+index 08ab05f..7d6a6e6 100644
+--- lib/igt_halffloat.c
++++ lib/igt_halffloat.c
+@@ -162,7 +162,7 @@ static inline float _half_to_float(uint16_t val)
+ 	return fi.f;
+ }
+ 
+-#if defined(__x86_64__) && !defined(__clang__)
++#if defined(__x86_64__) && !defined(__clang__) && defined(__GLIBC__)
+ #pragma GCC push_options
+ #pragma GCC target("f16c")
+ 
+diff --git lib/igt_x86.c lib/igt_x86.c
+index 6ac700d..ddf5edd 100644
+--- lib/igt_x86.c
++++ lib/igt_x86.c
+@@ -190,7 +190,7 @@ char *igt_x86_features_to_string(unsigned features, char *line)
+ }
+ #endif
+ 
+-#if defined(__x86_64__) && !defined(__clang__)
++#if defined(__x86_64__) && !defined(__clang__) && defined(__GLIBC__)
+ #pragma GCC push_options
+ #pragma GCC target("sse4.1")
+ #pragma GCC diagnostic ignored "-Wpointer-arith"
+diff --git lib/signal_compat.h lib/signal_compat.h
+new file mode 100644
+index 0000000..acae648
+--- /dev/null
++++ lib/signal_compat.h
+@@ -0,0 +1,4 @@
++#define SIGEV_SIGNAL    0       /* notify via signal */
++#define SIGEV_NONE      1       /* other notification: meaningless */
++#define SIGEV_THREAD    2       /* deliver via thread creation */
++#define SIGEV_THREAD_ID 4       /* deliver to thread */
+diff --git tests/drm_read.c tests/drm_read.c
+index cfb1c04..18be922 100644
+--- tests/drm_read.c
++++ tests/drm_read.c
+@@ -220,7 +220,7 @@ static void test_short_buffer_wakeup(int in, enum pipe pipe)
+ 		pthread_mutex_unlock(&w.mutex);
+ 
+ 		/* Give each thread a chance to sleep in drm_read() */
+-		pthread_yield();
++		sched_yield();
+ 
+ 		/* One event should wake all threads as none consume */
+ 		generate_event(w.fd, pipe);
+diff --git tests/kms_hdmi_inject.c tests/kms_hdmi_inject.c
+index 8c0d133..f272418 100644
+--- tests/kms_hdmi_inject.c
++++ tests/kms_hdmi_inject.c
+@@ -25,7 +25,7 @@
+ #include "config.h"
+ 
+ #include <dirent.h>
+-
++#include <limits.h>
+ #include "igt.h"
+ #include "igt_edid.h"
+ #include "igt_eld.h"
+diff --git tests/kms_sysfs_edid_timing.c tests/kms_sysfs_edid_timing.c
+index 1201388..e75c7e9 100644
+--- tests/kms_sysfs_edid_timing.c
++++ tests/kms_sysfs_edid_timing.c
+@@ -24,6 +24,7 @@
+ 
+ #include <dirent.h>
+ #include <fcntl.h>
++#include <limits.h>
+ #include <sys/stat.h>
+ 
+ #define THRESHOLD_PER_CONNECTOR	10
+diff --git tools/aubdump.c tools/aubdump.c
+index 00e1971..af894fe 100644
+--- tools/aubdump.c
++++ tools/aubdump.c
+@@ -42,6 +42,12 @@
+ #include "intel_aub.h"
+ #include "intel_chipset.h"
+ 
++#ifdef __GLIBC__
++typedef unsigned long request_t;
++#else
++typedef int request_t;
++#endif
++
+ #ifndef ARRAY_SIZE
+ #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
+ #endif
+@@ -226,10 +232,10 @@ static const uint32_t video_context_init[GEN8_LR_CONTEXT_OTHER_SIZE /
+ };
+ 
+ static int close_init_helper(int fd);
+-static int ioctl_init_helper(int fd, unsigned long request, ...);
++static int ioctl_init_helper(int fd, request_t request, ...);
+ 
+ static int (*libc_close)(int fd) = close_init_helper;
+-static int (*libc_ioctl)(int fd, unsigned long request, ...) = ioctl_init_helper;
++static int (*libc_ioctl)(int fd, request_t request, ...) = ioctl_init_helper;
+ 
+ static int drm_fd = -1;
+ static char *filename = NULL;
+@@ -856,7 +862,7 @@ relocate_bo(struct bo *bo, const struct drm_i915_gem_execbuffer2 *execbuffer2,
+ }
+ 
+ static int
+-gem_ioctl(int fd, unsigned long request, void *argp)
++gem_ioctl(int fd, request_t request, void *argp)
+ {
+ 	int ret;
+ 
+@@ -1150,7 +1156,7 @@ maybe_init(void)
+     DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_EXECBUFFER2, struct drm_i915_gem_execbuffer2)
+ 
+ int
+-ioctl(int fd, unsigned long request, ...)
++ioctl(int fd, request_t request, ...)
+ {
+ 	va_list args;
+ 	void *argp;
+@@ -1290,7 +1296,7 @@ close_init_helper(int fd)
+ }
+ 
+ static int
+-ioctl_init_helper(int fd, unsigned long request, ...)
++ioctl_init_helper(int fd, request_t request, ...)
+ {
+ 	va_list args;
+ 	void *argp;
diff --git a/srcpkgs/igt-gpu-tools/template b/srcpkgs/igt-gpu-tools/template
index c26b5242129..140805ccb5b 100644
--- a/srcpkgs/igt-gpu-tools/template
+++ b/srcpkgs/igt-gpu-tools/template
@@ -1,20 +1,27 @@
 # Template file for 'igt-gpu-tools'
 pkgname=igt-gpu-tools
-version=1.23
-revision=2
+version=1.24
+revision=1
 build_style=meson
-hostmakedepends="flex gtk-doc pkg-config swig"
-makedepends="cairo-devel libXrandr-devel libXv-devel libkmod-devel
- libunwind-devel procps-ng-devel python3-devel libressl-devel"
+configure_args="-Db_ndebug=false -Db_lto=false"
+# b_lto=true makes the build hang at a random point
+hostmakedepends="pkg-config flex peg python3-docutils gtk-doc"
+makedepends="libdrm-devel libkmod-devel procps-ng-devel libunwind-devel
+ elfutils-devel pixman-devel valgrind-devel cairo-devel xmlrpc-c-devel gsl-devel
+ alsa-lib-devel json-c-devel libXrandr-devel"
 short_desc="Tools for development and testing of the Intel DRM driver"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://gitlab.freedesktop.org/drm/igt-gpu-tools"
 distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.xz"
-checksum=4d4b086c513bace5c23d0889de3f42ac3ebd3d968c64dedae6e28e006a499ad0
+checksum=57357c72feeafc923c9cfd2d1234bd80e120fc7cc6099eac81158ec351a821bf
 
 lib32disabled=yes
-archs="i686 x86_64"
+archs="i686* x86_64*"
+
+case "$XBPS_TARGET_MACHINE" in
+	*-musl) configure_args+=" -Dbuild_tests=disabled -Dbuild_runner=disabled -Dbuild_docs=disabled"
+esac
 
 post_install() {
 	vlicense COPYING

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: [PR PATCH] [Updated] igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (10 preceding siblings ...)
  2019-11-12 14:17 ` [PR PATCH] [Updated] " voidlinux-github
@ 2019-11-12 15:48 ` voidlinux-github
  2019-11-12 15:49 ` voidlinux-github
                   ` (6 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 15:48 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 351 bytes --]

There is an updated pull request by st3r4g against master on the void-packages repository

https://github.com/st3r4g/void-packages igt-gpu-tools-1.24
https://github.com/void-linux/void-packages/pull/16392

igt-gpu-tools: update to 1.24, fix musl
Closes #11374

A patch file from https://github.com/void-linux/void-packages/pull/16392.patch is attached

[-- Warning: decoded text below may be mangled --]
[-- Attachment #2: github-pr-igt-gpu-tools-1.24-16392.patch --]
[-- Type: text/x-diff, Size: 10726 bytes --]

From 7dae02124b532ea5cf35585b52ea14267c6a42a3 Mon Sep 17 00:00:00 2001
From: Stefano Ragni <st3r4g@protonmail.com>
Date: Tue, 12 Nov 2019 16:48:30 +0100
Subject: [PATCH] igt-gpu-tools: update to 1.24, fix musl

---
 .../igt-gpu-tools/patches/disable-docs.patch  |  36 ---
 srcpkgs/igt-gpu-tools/patches/musl.patch      | 240 ++++++++++++++++++
 srcpkgs/igt-gpu-tools/template                |  17 +-
 3 files changed, 250 insertions(+), 43 deletions(-)
 delete mode 100644 srcpkgs/igt-gpu-tools/patches/disable-docs.patch
 create mode 100644 srcpkgs/igt-gpu-tools/patches/musl.patch

diff --git a/srcpkgs/igt-gpu-tools/patches/disable-docs.patch b/srcpkgs/igt-gpu-tools/patches/disable-docs.patch
deleted file mode 100644
index 9ee861b397b..00000000000
--- a/srcpkgs/igt-gpu-tools/patches/disable-docs.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-Source: maxice8, m3tav3rse
-Upstream: not upstreamable
-Reason: Fixes building of package.
-
-ERROR: Error in gtkdoc helper script:
-ERROR: ['gtkdoc-mkhtml', '--path=/builddir/igt-gpu-tools-1.23/docs/reference/igt-gpu-tools:/builddir/igt-gpu-tools-1.23/build/docs/reference/igt-gpu-tools', 'igt-gpu-tools', '../igt-gpu-tools-docs.xml'] failed with status 5
-I/O error : Attempt to load network entity http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
-warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"
-compilation error: file /usr/share/gtk-doc/data/gtk-doc.xsl line 11 element import
-xsl:import : unable to load http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl
-
---- meson.build
-+++ meson.build
-@@ -232,14 +232,14 @@
- subdir('man')
-
- docs_info = 'No'
--if _build_docs
--       if _build_tests
--               subdir('docs')
--               docs_info = 'Yes'
--       elif _docs_required
--               error('Documentation requires building tests')
--       endif
--endif
-+#if _build_docs
-+#      if _build_tests
-+#              subdir('docs')
-+#              docs_info = 'Yes'
-+#      elif _docs_required
-+#              error('Documentation requires building tests')
-+#      endif
-+#endif
- build_info += 'Build documentation: ' + docs_info
-
- message('Build options')
diff --git a/srcpkgs/igt-gpu-tools/patches/musl.patch b/srcpkgs/igt-gpu-tools/patches/musl.patch
new file mode 100644
index 00000000000..bf0450bab9b
--- /dev/null
+++ b/srcpkgs/igt-gpu-tools/patches/musl.patch
@@ -0,0 +1,240 @@
+diff --git benchmarks/gem_syslatency.c benchmarks/gem_syslatency.c
+index 7671dc4..3ac9544 100644
+--- benchmarks/gem_syslatency.c
++++ benchmarks/gem_syslatency.c
+@@ -44,7 +44,11 @@
+ 
+ #include <linux/unistd.h>
+ 
+-#define sigev_notify_thread_id _sigev_un._tid
++#ifndef __GLIBC__
++#include "signal_compat.h"
++#endif
++
++#define sigev_notify_thread_id sigev_notify_function
+ 
+ static volatile int done;
+ 
+diff --git lib/igt_aux.c lib/igt_aux.c
+index 578f857..3e98cf0 100644
+--- lib/igt_aux.c
++++ lib/igt_aux.c
+@@ -31,6 +31,7 @@
+ #endif
+ #include <stdio.h>
+ #include <fcntl.h>
++#include <limits.h> // PATH_MAX
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+ #include <string.h>
+@@ -73,6 +74,12 @@
+ #include <libgen.h>   /* for dirname() */
+ #endif
+ 
++#ifndef __GLIBC__
++#include "signal_compat.h"
++#endif
++
++//#include <asm-generic/siginfo.h>
++
+ /**
+  * SECTION:igt_aux
+  * @short_description: Auxiliary libraries and support functions
+diff --git lib/igt_aux.h lib/igt_aux.h
+index 04d2290..a0ada9e 100644
+--- lib/igt_aux.h
++++ lib/igt_aux.h
+@@ -46,7 +46,7 @@
+ #  define gettid() (pid_t)(syscall(__NR_gettid))
+ # endif
+ #endif
+-#define sigev_notify_thread_id _sigev_un._tid
++#define sigev_notify_thread_id sigev_notify_function
+ 
+ /* auxialiary igt helpers from igt_aux.c */
+ /* generally useful helpers */
+diff --git lib/igt_eld.c lib/igt_eld.c
+index 3d7fd4d..d51774b 100644
+--- lib/igt_eld.c
++++ lib/igt_eld.c
+@@ -29,6 +29,7 @@
+ #include <stdint.h>
+ #include <stdio.h>
+ #include <string.h>
++#include <limits.h>
+ 
+ #include "igt_core.h"
+ #include "igt_eld.h"
+diff --git lib/igt_halffloat.c lib/igt_halffloat.c
+index 08ab05f..7d6a6e6 100644
+--- lib/igt_halffloat.c
++++ lib/igt_halffloat.c
+@@ -162,7 +162,7 @@ static inline float _half_to_float(uint16_t val)
+ 	return fi.f;
+ }
+ 
+-#if defined(__x86_64__) && !defined(__clang__)
++#if defined(__x86_64__) && !defined(__clang__) && defined(__GLIBC__)
+ #pragma GCC push_options
+ #pragma GCC target("f16c")
+ 
+diff --git lib/igt_x86.c lib/igt_x86.c
+index 6ac700d..ddf5edd 100644
+--- lib/igt_x86.c
++++ lib/igt_x86.c
+@@ -190,7 +190,7 @@ char *igt_x86_features_to_string(unsigned features, char *line)
+ }
+ #endif
+ 
+-#if defined(__x86_64__) && !defined(__clang__)
++#if defined(__x86_64__) && !defined(__clang__) && defined(__GLIBC__)
+ #pragma GCC push_options
+ #pragma GCC target("sse4.1")
+ #pragma GCC diagnostic ignored "-Wpointer-arith"
+diff --git lib/signal_compat.h lib/signal_compat.h
+new file mode 100644
+index 0000000..acae648
+--- /dev/null
++++ lib/signal_compat.h
+@@ -0,0 +1,4 @@
++#define SIGEV_SIGNAL    0       /* notify via signal */
++#define SIGEV_NONE      1       /* other notification: meaningless */
++#define SIGEV_THREAD    2       /* deliver via thread creation */
++#define SIGEV_THREAD_ID 4       /* deliver to thread */
+diff --git tests/drm_read.c tests/drm_read.c
+index cfb1c04..18be922 100644
+--- tests/drm_read.c
++++ tests/drm_read.c
+@@ -220,7 +220,7 @@ static void test_short_buffer_wakeup(int in, enum pipe pipe)
+ 		pthread_mutex_unlock(&w.mutex);
+ 
+ 		/* Give each thread a chance to sleep in drm_read() */
+-		pthread_yield();
++		sched_yield();
+ 
+ 		/* One event should wake all threads as none consume */
+ 		generate_event(w.fd, pipe);
+diff --git tests/kms_hdmi_inject.c tests/kms_hdmi_inject.c
+index 8c0d133..f272418 100644
+--- tests/kms_hdmi_inject.c
++++ tests/kms_hdmi_inject.c
+@@ -25,7 +25,7 @@
+ #include "config.h"
+ 
+ #include <dirent.h>
+-
++#include <limits.h>
+ #include "igt.h"
+ #include "igt_edid.h"
+ #include "igt_eld.h"
+diff --git tests/kms_sysfs_edid_timing.c tests/kms_sysfs_edid_timing.c
+index 1201388..e75c7e9 100644
+--- tests/kms_sysfs_edid_timing.c
++++ tests/kms_sysfs_edid_timing.c
+@@ -24,6 +24,7 @@
+ 
+ #include <dirent.h>
+ #include <fcntl.h>
++#include <limits.h>
+ #include <sys/stat.h>
+ 
+ #define THRESHOLD_PER_CONNECTOR	10
+diff --git tools/aubdump.c tools/aubdump.c
+index 00e1971..af894fe 100644
+--- tools/aubdump.c
++++ tools/aubdump.c
+@@ -42,6 +42,12 @@
+ #include "intel_aub.h"
+ #include "intel_chipset.h"
+ 
++#ifdef __GLIBC__
++typedef unsigned long request_t;
++#else
++typedef int request_t;
++#endif
++
+ #ifndef ARRAY_SIZE
+ #define ARRAY_SIZE(x) (sizeof(x)/sizeof((x)[0]))
+ #endif
+@@ -226,10 +232,10 @@ static const uint32_t video_context_init[GEN8_LR_CONTEXT_OTHER_SIZE /
+ };
+ 
+ static int close_init_helper(int fd);
+-static int ioctl_init_helper(int fd, unsigned long request, ...);
++static int ioctl_init_helper(int fd, request_t request, ...);
+ 
+ static int (*libc_close)(int fd) = close_init_helper;
+-static int (*libc_ioctl)(int fd, unsigned long request, ...) = ioctl_init_helper;
++static int (*libc_ioctl)(int fd, request_t request, ...) = ioctl_init_helper;
+ 
+ static int drm_fd = -1;
+ static char *filename = NULL;
+@@ -856,7 +862,7 @@ relocate_bo(struct bo *bo, const struct drm_i915_gem_execbuffer2 *execbuffer2,
+ }
+ 
+ static int
+-gem_ioctl(int fd, unsigned long request, void *argp)
++gem_ioctl(int fd, request_t request, void *argp)
+ {
+ 	int ret;
+ 
+@@ -1150,7 +1156,7 @@ maybe_init(void)
+     DRM_IOWR(DRM_COMMAND_BASE + DRM_I915_GEM_EXECBUFFER2, struct drm_i915_gem_execbuffer2)
+ 
+ int
+-ioctl(int fd, unsigned long request, ...)
++ioctl(int fd, request_t request, ...)
+ {
+ 	va_list args;
+ 	void *argp;
+@@ -1290,7 +1296,7 @@ close_init_helper(int fd)
+ }
+ 
+ static int
+-ioctl_init_helper(int fd, unsigned long request, ...)
++ioctl_init_helper(int fd, request_t request, ...)
+ {
+ 	va_list args;
+ 	void *argp;
+diff --git tests/i915/gem_close_race.c tests/i915/gem_close_race.c
+index 57e0048..ad5f504 100644
+--- tests/i915/gem_close_race.c
++++ tests/i915/gem_close_race.c
+@@ -51,7 +51,11 @@
+ static uint32_t devid;
+ static bool has_64bit_relocations;
+ 
+-#define sigev_notify_thread_id _sigev_un._tid
++#ifndef __GLIBC__
++#include "signal_compat.h"
++#endif
++
++#define sigev_notify_thread_id sigev_notify_function
+ 
+ static void selfcopy(int fd, uint32_t handle, int loops)
+ {
+diff --git tests/i915/i915_pm_rpm.c tests/i915/i915_pm_rpm.c
+index e2c7ba2..08e44b7 100644
+--- tests/i915/i915_pm_rpm.c
++++ tests/i915/i915_pm_rpm.c
+@@ -36,6 +36,7 @@
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <dirent.h>
++#include <limits.h>
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>
+ #include <sys/types.h>
+diff --git tests/panfrost_submit.c tests/panfrost_submit.c
+index 13ce85b..ceb2e6d 100644
+--- tests/panfrost_submit.c
++++ tests/panfrost_submit.c
+@@ -68,7 +68,7 @@ static void check_error(int fd, struct panfrost_submit *submit)
+ static void check_fb(int fd, struct panfrost_bo *bo)
+ {
+         int gpu_prod_id = igt_panfrost_get_param(fd, DRM_PANFROST_PARAM_GPU_PROD_ID);
+-        __uint32_t *fbo;
++        uint32_t *fbo;
+         int i;
+ 
+         fbo = bo->map;
diff --git a/srcpkgs/igt-gpu-tools/template b/srcpkgs/igt-gpu-tools/template
index c26b5242129..05798f2fd2d 100644
--- a/srcpkgs/igt-gpu-tools/template
+++ b/srcpkgs/igt-gpu-tools/template
@@ -1,20 +1,23 @@
 # Template file for 'igt-gpu-tools'
 pkgname=igt-gpu-tools
-version=1.23
-revision=2
+version=1.24
+revision=1
 build_style=meson
-hostmakedepends="flex gtk-doc pkg-config swig"
-makedepends="cairo-devel libXrandr-devel libXv-devel libkmod-devel
- libunwind-devel procps-ng-devel python3-devel libressl-devel"
+configure_args="-Db_ndebug=false -Db_lto=false"
+# b_lto=true makes the build hang at a random point
+hostmakedepends="pkg-config flex peg python3-docutils gtk-doc"
+makedepends="libdrm-devel libkmod-devel procps-ng-devel libunwind-devel
+ elfutils-devel pixman-devel valgrind-devel cairo-devel xmlrpc-c-devel gsl-devel
+ alsa-lib-devel json-c-devel libXrandr-devel"
 short_desc="Tools for development and testing of the Intel DRM driver"
 maintainer="Orphaned <orphan@voidlinux.org>"
 license="MIT"
 homepage="https://gitlab.freedesktop.org/drm/igt-gpu-tools"
 distfiles="${XORG_SITE}/app/${pkgname}-${version}.tar.xz"
-checksum=4d4b086c513bace5c23d0889de3f42ac3ebd3d968c64dedae6e28e006a499ad0
+checksum=57357c72feeafc923c9cfd2d1234bd80e120fc7cc6099eac81158ec351a821bf
 
 lib32disabled=yes
-archs="i686 x86_64"
+archs="i686* x86_64*"
 
 post_install() {
 	vlicense COPYING

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (11 preceding siblings ...)
  2019-11-12 15:48 ` voidlinux-github
@ 2019-11-12 15:49 ` voidlinux-github
  2019-11-12 15:50 ` voidlinux-github
                   ` (5 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 15:49 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 195 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552953023

Comment:
Fully fixed musl now, tests cdon't have to be disabled.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (12 preceding siblings ...)
  2019-11-12 15:49 ` voidlinux-github
@ 2019-11-12 15:50 ` voidlinux-github
  2019-11-12 15:51 ` voidlinux-github
                   ` (4 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 15:50 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 194 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552953023

Comment:
Fully fixed musl now, tests don't have to be disabled.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (13 preceding siblings ...)
  2019-11-12 15:50 ` voidlinux-github
@ 2019-11-12 15:51 ` voidlinux-github
  2019-11-12 15:51 ` voidlinux-github
                   ` (3 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 15:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 248 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552953023

Comment:
Fully fixed the musl build now, tests don't have to be disabled. Didn't actually test the result yet though.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (14 preceding siblings ...)
  2019-11-12 15:51 ` voidlinux-github
@ 2019-11-12 15:51 ` voidlinux-github
  2019-11-12 15:52 ` voidlinux-github
                   ` (2 subsequent siblings)
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 15:51 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552953023

Comment:
Fully fixed the musl build now, tests don't have to be disabled. Didn't actually test the binaries yet though.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (15 preceding siblings ...)
  2019-11-12 15:51 ` voidlinux-github
@ 2019-11-12 15:52 ` voidlinux-github
  2019-11-12 15:52 ` voidlinux-github
  2019-11-12 15:54 ` voidlinux-github
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 15:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 251 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552953023

Comment:
Fully fixed the musl build now, tests don't have to be disabled. Haven't actually test the binaries yet though.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (16 preceding siblings ...)
  2019-11-12 15:52 ` voidlinux-github
@ 2019-11-12 15:52 ` voidlinux-github
  2019-11-12 15:54 ` voidlinux-github
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 15:52 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 253 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552953023

Comment:
Fully fixed the musl build now, tests don't have to be disabled. Haven't actually tested the binaries yet though.

^ permalink raw reply	[flat|nested] 20+ messages in thread

* Re: igt-gpu-tools: update to 1.24, fix musl
  2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
                   ` (17 preceding siblings ...)
  2019-11-12 15:52 ` voidlinux-github
@ 2019-11-12 15:54 ` voidlinux-github
  18 siblings, 0 replies; 20+ messages in thread
From: voidlinux-github @ 2019-11-12 15:54 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 262 bytes --]

New comment by st3r4g on void-packages repository

https://github.com/void-linux/void-packages/pull/16392#issuecomment-552953023

Comment:
Fully fixed the musl build now, tests don't have to be disabled. Haven't actually tested the binaries in depth yet though.

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, back to index

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-11-11 23:33 [PR PATCH] igt-gpu-tools: update to 1.24, fix musl voidlinux-github
2019-11-12  9:21 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-12  9:26 ` voidlinux-github
2019-11-12  9:32 ` voidlinux-github
2019-11-12  9:33 ` voidlinux-github
2019-11-12 13:28 ` voidlinux-github
2019-11-12 13:28 ` voidlinux-github
2019-11-12 13:38 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-12 13:38 ` voidlinux-github
2019-11-12 14:04 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-12 14:06 ` voidlinux-github
2019-11-12 14:17 ` [PR PATCH] [Updated] " voidlinux-github
2019-11-12 15:48 ` voidlinux-github
2019-11-12 15:49 ` voidlinux-github
2019-11-12 15:50 ` voidlinux-github
2019-11-12 15:51 ` voidlinux-github
2019-11-12 15:51 ` voidlinux-github
2019-11-12 15:52 ` voidlinux-github
2019-11-12 15:52 ` voidlinux-github
2019-11-12 15:54 ` voidlinux-github

Github messages for voidlinux

Archives are clonable: git clone --mirror http://inbox.vuxu.org/voidlinux-github

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.github.voidlinux


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git