* Re: [PR PATCH] [Updated] apparmor: fix build on musl
2024-06-27 12:57 [PR PATCH] apparmor: fix build on musl Calandracas606
@ 2024-06-27 13:09 ` Calandracas606
2024-06-27 13:31 ` [PR PATCH] [Updated] apparmor: fix build on musl, enable python on cross-compile Calandracas606
` (11 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-06-27 13:09 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1401 bytes --]
There is an updated pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages apparmor-musl-fix
https://github.com/void-linux/void-packages/pull/51024
apparmor: fix build on musl
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (native + cross)
- aarch64-musl (native + cross)
- armv7l (cross)
- armv7l-musl (cross)
- armv6l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/51024.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-apparmor-musl-fix-51024.patch --]
[-- Type: text/x-diff, Size: 1614 bytes --]
From c0bf6acd394e72ca5398cede6be510219cafde91 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Thu, 27 Jun 2024 08:48:00 -0400
Subject: [PATCH] apparmor: fix build on musl, enable python on cross-compile
---
srcpkgs/apparmor/template | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template
index 13586d0976f979..c80e32b3503d04 100644
--- a/srcpkgs/apparmor/template
+++ b/srcpkgs/apparmor/template
@@ -1,13 +1,15 @@
# Template file for 'apparmor'
pkgname=apparmor
version=3.1.7
-revision=1
+revision=2
build_wrksrc=libraries/libapparmor
build_style=gnu-configure
conf_files="/etc/apparmor.d/local/* /etc/apparmor/*"
make_dirs="/etc/apparmor.d/disable 0755 root root"
+configure_args="--with-python"
hostmakedepends="bison flex gettext python3 which python3-setuptools pkg-config
- perl"
+ perl swig"
+makedepends="python3-devel"
depends="runit-void-apparmor libapparmor-${version}_${revision} python3-notify2
python3-psutil python3-dbus iproute2"
checkdepends="dejagnu"
@@ -21,9 +23,13 @@ checksum=c6c161d6dbd99c2f10758ff347cbc6848223c7381f311de62522f22b0a16de64
replaces="apparmor-vim>=0"
if [ -z "$CROSS_BUILD" ]; then
- configure_args="--with-perl --with-python"
- hostmakedepends+=" swig"
- makedepends="python3-devel"
+ configure_args+=" --with-perl"
+fi
+
+# /usr/lib/perl5/core_perl/CORE/perl.h:3360:22: error: unknown type name 'off64_t';
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ CFLAGS+=" -D_LARGEFILE64_SOURCE"
+ CXXFLAGS+=" -D_LARGEFILE64_SOURCE"
fi
pre_build() {
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] apparmor: fix build on musl, enable python on cross-compile
2024-06-27 12:57 [PR PATCH] apparmor: fix build on musl Calandracas606
2024-06-27 13:09 ` [PR PATCH] [Updated] " Calandracas606
@ 2024-06-27 13:31 ` Calandracas606
2024-06-27 13:46 ` Calandracas606
` (10 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-06-27 13:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
There is an updated pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages apparmor-musl-fix
https://github.com/void-linux/void-packages/pull/51024
apparmor: fix build on musl, enable python on cross-compile
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (native + cross)
- aarch64-musl (native + cross)
- armv7l (cross)
- armv7l-musl (cross)
- armv6l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/51024.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-apparmor-musl-fix-51024.patch --]
[-- Type: text/x-diff, Size: 3944 bytes --]
From f144a6e6d5df1594c6cb0968a1c9d4840babc509 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Thu, 27 Jun 2024 08:48:00 -0400
Subject: [PATCH] apparmor: fix build on musl, enable python on cross-compile
---
srcpkgs/apparmor/patches/cross-cflags.patch | 44 +++++++++++++++++++++
srcpkgs/apparmor/template | 16 +++++---
2 files changed, 55 insertions(+), 5 deletions(-)
create mode 100644 srcpkgs/apparmor/patches/cross-cflags.patch
diff --git a/srcpkgs/apparmor/patches/cross-cflags.patch b/srcpkgs/apparmor/patches/cross-cflags.patch
new file mode 100644
index 00000000000000..f38093fd9e6b1a
--- /dev/null
+++ b/srcpkgs/apparmor/patches/cross-cflags.patch
@@ -0,0 +1,44 @@
+From a8637a5aa189392d5f7a8d61432a11c4ba8ee19e Mon Sep 17 00:00:00 2001
+From: Christian Boltz <gitlab2@cboltz.de>
+Date: Fri, 7 Jun 2024 21:55:12 +0000
+Subject: [PATCH] Merge Honor global CFLAGS when building Python library
+
+Similarly to https://gitlab.com/apparmor/apparmor/-/merge_requests/689, use the
+global CFLAGS when building Python library, so we honor extra flags set by
+distributions, such
+as -fstack-protector-strong -fstack-clash-protection -Werror=format-security -fcf-protection.
+
+Spotted by blhc on Debian.
+
+Gbp-Pq: Name Honor-global-CFLAGS-when-building-Python-library.patch
+
+MR: https://gitlab.com/apparmor/apparmor/-/merge_requests/1254
+Approved-by: Christian Boltz <apparmor@cboltz.de>
+Merged-by: Christian Boltz <apparmor@cboltz.de>
+
+
+(cherry picked from commit 1ec42d8bec215b16dc3bb74fa6946ff59592a692)
+
+b7d75638 Honor global CFLAGS when building Python library
+
+Co-authored-by: Christian Boltz <apparmor@cboltz.de>
+---
+ libraries/libapparmor/swig/python/Makefile.am | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/libraries/libapparmor/swig/python/Makefile.am b/libraries/libapparmor/swig/python/Makefile.am
+index bf05fe0fc..b42ebb1e2 100644
+--- a/libraries/libapparmor/swig/python/Makefile.am
++++ b/libraries/libapparmor/swig/python/Makefile.am
+@@ -14,7 +14,7 @@ MOSTLYCLEANFILES=libapparmor_wrap.c LibAppArmor.py
+
+ all-local: libapparmor_wrap.c setup.py
+ if test ! -f libapparmor_wrap.c; then cp $(srcdir)/libapparmor_wrap.c . ; fi
+- CC="$(CC)" CFLAGS="$(PYTHON_CPPFLAGS) $(EXTRA_WARNINGS)" LDSHARED="$(CC) -shared" LDFLAGS="$(PYTHON_LDFLAGS) $(LDFLAGS)" $(PYTHON) setup.py build
++ CC="$(CC)" CFLAGS="$(PYTHON_CPPFLAGS) $(CFLAGS) $(EXTRA_WARNINGS)" LDSHARED="$(CC) -shared" LDFLAGS="$(PYTHON_LDFLAGS) $(LDFLAGS)" $(PYTHON) setup.py build
+
+ install-exec-local:
+ $(PYTHON) setup.py install --root="/$(DESTDIR)" --prefix="$(prefix)"
+--
+GitLab
+
diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template
index 13586d0976f979..abccabde5030cd 100644
--- a/srcpkgs/apparmor/template
+++ b/srcpkgs/apparmor/template
@@ -1,13 +1,15 @@
# Template file for 'apparmor'
pkgname=apparmor
version=3.1.7
-revision=1
+revision=2
build_wrksrc=libraries/libapparmor
build_style=gnu-configure
conf_files="/etc/apparmor.d/local/* /etc/apparmor/*"
make_dirs="/etc/apparmor.d/disable 0755 root root"
+configure_args="--with-python"
hostmakedepends="bison flex gettext python3 which python3-setuptools pkg-config
- perl"
+ perl swig automake"
+makedepends="python3-devel"
depends="runit-void-apparmor libapparmor-${version}_${revision} python3-notify2
python3-psutil python3-dbus iproute2"
checkdepends="dejagnu"
@@ -21,9 +23,13 @@ checksum=c6c161d6dbd99c2f10758ff347cbc6848223c7381f311de62522f22b0a16de64
replaces="apparmor-vim>=0"
if [ -z "$CROSS_BUILD" ]; then
- configure_args="--with-perl --with-python"
- hostmakedepends+=" swig"
- makedepends="python3-devel"
+ configure_args+=" --with-perl"
+fi
+
+# /usr/lib/perl5/core_perl/CORE/perl.h:3360:22: error: unknown type name 'off64_t';
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ CFLAGS+=" -D_LARGEFILE64_SOURCE"
+ CXXFLAGS+=" -D_LARGEFILE64_SOURCE"
fi
pre_build() {
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] apparmor: fix build on musl, enable python on cross-compile
2024-06-27 12:57 [PR PATCH] apparmor: fix build on musl Calandracas606
2024-06-27 13:09 ` [PR PATCH] [Updated] " Calandracas606
2024-06-27 13:31 ` [PR PATCH] [Updated] apparmor: fix build on musl, enable python on cross-compile Calandracas606
@ 2024-06-27 13:46 ` Calandracas606
2024-06-27 13:52 ` Calandracas606
` (9 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-06-27 13:46 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
There is an updated pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages apparmor-musl-fix
https://github.com/void-linux/void-packages/pull/51024
apparmor: fix build on musl, enable python on cross-compile
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (native + cross)
- aarch64-musl (native + cross)
- armv7l (cross)
- armv7l-musl (cross)
- armv6l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/51024.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-apparmor-musl-fix-51024.patch --]
[-- Type: text/x-diff, Size: 1500 bytes --]
From 3736fb11b2a75b1d8a70b0276f24a82ca0151cd9 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Thu, 27 Jun 2024 08:48:00 -0400
Subject: [PATCH] apparmor: fix build on musl, enable python on cross-compile
---
srcpkgs/apparmor/template | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template
index 13586d0976f979..54c10d7f326063 100644
--- a/srcpkgs/apparmor/template
+++ b/srcpkgs/apparmor/template
@@ -1,7 +1,7 @@
# Template file for 'apparmor'
pkgname=apparmor
version=3.1.7
-revision=1
+revision=2
build_wrksrc=libraries/libapparmor
build_style=gnu-configure
conf_files="/etc/apparmor.d/local/* /etc/apparmor/*"
@@ -20,10 +20,22 @@ distfiles="https://launchpad.net/apparmor/${version%.*}/${version}/+download/app
checksum=c6c161d6dbd99c2f10758ff347cbc6848223c7381f311de62522f22b0a16de64
replaces="apparmor-vim>=0"
+case "$XBPS_TARGET_MACHINE" in
+ x86_64*|aarch64*)
+ configure_args+=" --with-python"
+ hostmakedepends+=" swig"
+ makedepends+="python3-devel"
+ ;;
+esac
+
if [ -z "$CROSS_BUILD" ]; then
- configure_args="--with-perl --with-python"
- hostmakedepends+=" swig"
- makedepends="python3-devel"
+ configure_args+=" --with-perl"
+fi
+
+# /usr/lib/perl5/core_perl/CORE/perl.h:3360:22: error: unknown type name 'off64_t';
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ CFLAGS+=" -D_LARGEFILE64_SOURCE"
+ CXXFLAGS+=" -D_LARGEFILE64_SOURCE"
fi
pre_build() {
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] apparmor: fix build on musl, enable python on cross-compile
2024-06-27 12:57 [PR PATCH] apparmor: fix build on musl Calandracas606
` (2 preceding siblings ...)
2024-06-27 13:46 ` Calandracas606
@ 2024-06-27 13:52 ` Calandracas606
2024-06-27 14:16 ` Calandracas606
` (8 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-06-27 13:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
There is an updated pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages apparmor-musl-fix
https://github.com/void-linux/void-packages/pull/51024
apparmor: fix build on musl, enable python on cross-compile
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (native + cross)
- aarch64-musl (native + cross)
- armv7l (cross)
- armv7l-musl (cross)
- armv6l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/51024.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-apparmor-musl-fix-51024.patch --]
[-- Type: text/x-diff, Size: 1507 bytes --]
From a29ab5af9d78db38a696202c7482445a90ab717f Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Thu, 27 Jun 2024 08:48:00 -0400
Subject: [PATCH] apparmor: fix build on musl, enable python on cross-compile
---
srcpkgs/apparmor/template | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template
index 13586d0976f979..f4aef566ddc132 100644
--- a/srcpkgs/apparmor/template
+++ b/srcpkgs/apparmor/template
@@ -1,7 +1,7 @@
# Template file for 'apparmor'
pkgname=apparmor
version=3.1.7
-revision=1
+revision=2
build_wrksrc=libraries/libapparmor
build_style=gnu-configure
conf_files="/etc/apparmor.d/local/* /etc/apparmor/*"
@@ -20,10 +20,22 @@ distfiles="https://launchpad.net/apparmor/${version%.*}/${version}/+download/app
checksum=c6c161d6dbd99c2f10758ff347cbc6848223c7381f311de62522f22b0a16de64
replaces="apparmor-vim>=0"
+case "$XBPS_TARGET_MACHINE" in
+ x86_64*|aarch64*|i686*)
+ configure_args+=" --with-python"
+ hostmakedepends+=" swig"
+ makedepends+=" python3-devel"
+ ;;
+esac
+
if [ -z "$CROSS_BUILD" ]; then
- configure_args="--with-perl --with-python"
- hostmakedepends+=" swig"
- makedepends="python3-devel"
+ configure_args+=" --with-perl"
+fi
+
+# /usr/lib/perl5/core_perl/CORE/perl.h:3360:22: error: unknown type name 'off64_t';
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ CFLAGS+=" -D_LARGEFILE64_SOURCE"
+ CXXFLAGS+=" -D_LARGEFILE64_SOURCE"
fi
pre_build() {
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] apparmor: fix build on musl, enable python on cross-compile
2024-06-27 12:57 [PR PATCH] apparmor: fix build on musl Calandracas606
` (3 preceding siblings ...)
2024-06-27 13:52 ` Calandracas606
@ 2024-06-27 14:16 ` Calandracas606
2024-06-27 14:17 ` Calandracas606
` (7 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-06-27 14:16 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
There is an updated pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages apparmor-musl-fix
https://github.com/void-linux/void-packages/pull/51024
apparmor: fix build on musl, enable python on cross-compile
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (native + cross)
- aarch64-musl (native + cross)
- armv7l (cross)
- armv7l-musl (cross)
- armv6l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/51024.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-apparmor-musl-fix-51024.patch --]
[-- Type: text/x-diff, Size: 2124 bytes --]
From 305783106e6da659320ef2430fc0b876da7d17ec Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Thu, 27 Jun 2024 08:48:00 -0400
Subject: [PATCH] apparmor: fix build on musl, enable python on cross-compile
---
srcpkgs/apparmor/template | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template
index 13586d0976f979..21220569dde9a2 100644
--- a/srcpkgs/apparmor/template
+++ b/srcpkgs/apparmor/template
@@ -1,7 +1,7 @@
# Template file for 'apparmor'
pkgname=apparmor
version=3.1.7
-revision=1
+revision=2
build_wrksrc=libraries/libapparmor
build_style=gnu-configure
conf_files="/etc/apparmor.d/local/* /etc/apparmor/*"
@@ -20,10 +20,24 @@ distfiles="https://launchpad.net/apparmor/${version%.*}/${version}/+download/app
checksum=c6c161d6dbd99c2f10758ff347cbc6848223c7381f311de62522f22b0a16de64
replaces="apparmor-vim>=0"
+case "$XBPS_TARGET_MACHINE" in
+ x86_64*|aarch64*|i686*)
+ configure_args+=" --with-python"
+ hostmakedepends+=" swig"
+ makedepends+=" python3-devel"
+ _have_python=yes
+ ;;
+esac
+
if [ -z "$CROSS_BUILD" ]; then
- configure_args="--with-perl --with-python"
- hostmakedepends+=" swig"
- makedepends="python3-devel"
+ configure_args+=" --with-perl"
+ _have_perl=yes
+fi
+
+# /usr/lib/perl5/core_perl/CORE/perl.h:3360:22: error: unknown type name 'off64_t';
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ CFLAGS+=" -D_LARGEFILE64_SOURCE"
+ CXXFLAGS+=" -D_LARGEFILE64_SOURCE"
fi
pre_build() {
@@ -55,7 +69,7 @@ post_install() {
make DESTDIR="${DESTDIR}" install -C profiles
# requires perl bindings not generated when cross-compiling
- if [ "$CROSS_BUILD" ]; then
+ if [ "$_have_perl" ]; then
rm -f ${DESTDIR}/usr/bin/aa-notify
fi
@@ -71,8 +85,10 @@ libapparmor_package() {
license="LGPL-2.1-only"
pkg_install() {
vmove "usr/lib/libapparmor.so*"
- if [ -z "$CROSS_BUILD" ]; then
+ if [ "$_have_perl" ]; then
vmove usr/lib/perl5
+ fi
+ if [ "$_have_python"]; then
vmove "${py3_sitelib}/LibAppArmor*"
fi
vmove usr/share/man/man2
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] apparmor: fix build on musl, enable python on cross-compile
2024-06-27 12:57 [PR PATCH] apparmor: fix build on musl Calandracas606
` (4 preceding siblings ...)
2024-06-27 14:16 ` Calandracas606
@ 2024-06-27 14:17 ` Calandracas606
2024-06-27 22:31 ` [PR REVIEW] " classabbyamp
` (6 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-06-27 14:17 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
There is an updated pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages apparmor-musl-fix
https://github.com/void-linux/void-packages/pull/51024
apparmor: fix build on musl, enable python on cross-compile
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (native + cross)
- aarch64-musl (native + cross)
- armv7l (cross)
- armv7l-musl (cross)
- armv6l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/51024.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-apparmor-musl-fix-51024.patch --]
[-- Type: text/x-diff, Size: 2125 bytes --]
From e74dfb0d82b16fb3d25d5297e6a8ac8add936f62 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Thu, 27 Jun 2024 08:48:00 -0400
Subject: [PATCH] apparmor: fix build on musl, enable python on cross-compile
---
srcpkgs/apparmor/template | 28 ++++++++++++++++++++++------
1 file changed, 22 insertions(+), 6 deletions(-)
diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template
index 13586d0976f979..e782dc50ef9bf2 100644
--- a/srcpkgs/apparmor/template
+++ b/srcpkgs/apparmor/template
@@ -1,7 +1,7 @@
# Template file for 'apparmor'
pkgname=apparmor
version=3.1.7
-revision=1
+revision=2
build_wrksrc=libraries/libapparmor
build_style=gnu-configure
conf_files="/etc/apparmor.d/local/* /etc/apparmor/*"
@@ -20,10 +20,24 @@ distfiles="https://launchpad.net/apparmor/${version%.*}/${version}/+download/app
checksum=c6c161d6dbd99c2f10758ff347cbc6848223c7381f311de62522f22b0a16de64
replaces="apparmor-vim>=0"
+case "$XBPS_TARGET_MACHINE" in
+ x86_64*|aarch64*|i686*)
+ configure_args+=" --with-python"
+ hostmakedepends+=" swig"
+ makedepends+=" python3-devel"
+ _have_python=yes
+ ;;
+esac
+
if [ -z "$CROSS_BUILD" ]; then
- configure_args="--with-perl --with-python"
- hostmakedepends+=" swig"
- makedepends="python3-devel"
+ configure_args+=" --with-perl"
+ _have_perl=yes
+fi
+
+# /usr/lib/perl5/core_perl/CORE/perl.h:3360:22: error: unknown type name 'off64_t';
+if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
+ CFLAGS+=" -D_LARGEFILE64_SOURCE"
+ CXXFLAGS+=" -D_LARGEFILE64_SOURCE"
fi
pre_build() {
@@ -55,7 +69,7 @@ post_install() {
make DESTDIR="${DESTDIR}" install -C profiles
# requires perl bindings not generated when cross-compiling
- if [ "$CROSS_BUILD" ]; then
+ if [ "$_have_perl" ]; then
rm -f ${DESTDIR}/usr/bin/aa-notify
fi
@@ -71,8 +85,10 @@ libapparmor_package() {
license="LGPL-2.1-only"
pkg_install() {
vmove "usr/lib/libapparmor.so*"
- if [ -z "$CROSS_BUILD" ]; then
+ if [ "$_have_perl" ]; then
vmove usr/lib/perl5
+ fi
+ if [ "$_have_python" ]; then
vmove "${py3_sitelib}/LibAppArmor*"
fi
vmove usr/share/man/man2
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR REVIEW] apparmor: fix build on musl, enable python on cross-compile
2024-06-27 12:57 [PR PATCH] apparmor: fix build on musl Calandracas606
` (5 preceding siblings ...)
2024-06-27 14:17 ` Calandracas606
@ 2024-06-27 22:31 ` classabbyamp
2024-06-27 22:32 ` classabbyamp
` (5 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: classabbyamp @ 2024-06-27 22:31 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 292 bytes --]
New review comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51024#discussion_r1657882855
Comment:
1. this should probably be `-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1`
2. don't see why it can't be set on glibc too
3. don't need `+=`
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: apparmor: fix build on musl, enable python on cross-compile
2024-06-27 12:57 [PR PATCH] apparmor: fix build on musl Calandracas606
` (6 preceding siblings ...)
2024-06-27 22:31 ` [PR REVIEW] " classabbyamp
@ 2024-06-27 22:32 ` classabbyamp
2024-06-27 22:47 ` [PR REVIEW] " Calandracas606
` (4 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: classabbyamp @ 2024-06-27 22:32 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 200 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/51024#issuecomment-2195773107
Comment:
it might be cleaner to make python/perl build options
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR REVIEW] apparmor: fix build on musl, enable python on cross-compile
2024-06-27 12:57 [PR PATCH] apparmor: fix build on musl Calandracas606
` (7 preceding siblings ...)
2024-06-27 22:32 ` classabbyamp
@ 2024-06-27 22:47 ` Calandracas606
2024-06-28 2:42 ` [PR PATCH] [Updated] " Calandracas606
` (3 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-06-27 22:47 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 327 bytes --]
New review comment by Calandracas606 on void-packages repository
https://github.com/void-linux/void-packages/pull/51024#discussion_r1657895782
Comment:
> 1. this should probably be `-D_FILE_OFFSET_BITS=64 -DLARGEFILE_SOURCE=1`
I don't think so. In <sys/types.h>, `off64_t` is behind `#if defined(_LARGEFILE64_SOURCE)`
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] apparmor: fix build on musl, enable python on cross-compile
2024-06-27 12:57 [PR PATCH] apparmor: fix build on musl Calandracas606
` (8 preceding siblings ...)
2024-06-27 22:47 ` [PR REVIEW] " Calandracas606
@ 2024-06-28 2:42 ` Calandracas606
2024-06-28 2:57 ` Calandracas606
` (2 subsequent siblings)
12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-06-28 2:42 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
There is an updated pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages apparmor-musl-fix
https://github.com/void-linux/void-packages/pull/51024
apparmor: fix build on musl, enable python on cross-compile
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (native + cross)
- aarch64-musl (native + cross)
- armv7l (cross)
- armv7l-musl (cross)
- armv6l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/51024.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-apparmor-musl-fix-51024.patch --]
[-- Type: text/x-diff, Size: 2508 bytes --]
From 9861dd713a5c0c018e4f5e5d83663cb283f367a4 Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Thu, 27 Jun 2024 08:48:00 -0400
Subject: [PATCH] apparmor: fix build on musl, enable python on cross-compile
---
srcpkgs/apparmor/template | 29 ++++++++++++++++++++++-------
1 file changed, 22 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template
index 13586d0976f979..168ab611f6fc47 100644
--- a/srcpkgs/apparmor/template
+++ b/srcpkgs/apparmor/template
@@ -1,13 +1,15 @@
# Template file for 'apparmor'
pkgname=apparmor
version=3.1.7
-revision=1
+revision=2
build_wrksrc=libraries/libapparmor
build_style=gnu-configure
conf_files="/etc/apparmor.d/local/* /etc/apparmor/*"
make_dirs="/etc/apparmor.d/disable 0755 root root"
+configure_args="$(vopt_with python) $(vopt_with perl)"
hostmakedepends="bison flex gettext python3 which python3-setuptools pkg-config
- perl"
+ perl $(vopt_if python swig)"
+makedepends="$(vopt_if python python3-devel)"
depends="runit-void-apparmor libapparmor-${version}_${revision} python3-notify2
python3-psutil python3-dbus iproute2"
checkdepends="dejagnu"
@@ -20,12 +22,23 @@ distfiles="https://launchpad.net/apparmor/${version%.*}/${version}/+download/app
checksum=c6c161d6dbd99c2f10758ff347cbc6848223c7381f311de62522f22b0a16de64
replaces="apparmor-vim>=0"
+# /usr/lib/perl5/core_perl/CORE/perl.h:3360:22: error: unknown type name 'off64_t';
+CFLAGS="-D_LARGEFILE64_SOURCE"
+CXXFLAGS="-D_LARGEFILE64_SOURCE"
+
+build_options="python perl"
+
+case "$XBPS_TARGET_MACHINE" in
+ x86_64*|aarch64*|i686*)
+ build_options_default+=" python"
+ ;;
+esac
+
if [ -z "$CROSS_BUILD" ]; then
- configure_args="--with-perl --with-python"
- hostmakedepends+=" swig"
- makedepends="python3-devel"
+ build_options_default+=" perl"
fi
+
pre_build() {
# Replace release profiles with our own
cd ${wrksrc}
@@ -55,7 +68,7 @@ post_install() {
make DESTDIR="${DESTDIR}" install -C profiles
# requires perl bindings not generated when cross-compiling
- if [ "$CROSS_BUILD" ]; then
+ if [ "$build_option_perl" ]; then
rm -f ${DESTDIR}/usr/bin/aa-notify
fi
@@ -71,8 +84,10 @@ libapparmor_package() {
license="LGPL-2.1-only"
pkg_install() {
vmove "usr/lib/libapparmor.so*"
- if [ -z "$CROSS_BUILD" ]; then
+ if [ "$build_option_perl" ]; then
vmove usr/lib/perl5
+ fi
+ if [ "$build_option_python" ]; then
vmove "${py3_sitelib}/LibAppArmor*"
fi
vmove usr/share/man/man2
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] apparmor: fix build on musl, enable python on cross-compile
2024-06-27 12:57 [PR PATCH] apparmor: fix build on musl Calandracas606
` (9 preceding siblings ...)
2024-06-28 2:42 ` [PR PATCH] [Updated] " Calandracas606
@ 2024-06-28 2:57 ` Calandracas606
2024-06-28 3:00 ` Calandracas606
2024-07-02 6:52 ` [PR PATCH] [Closed]: " classabbyamp
12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-06-28 2:57 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
There is an updated pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages apparmor-musl-fix
https://github.com/void-linux/void-packages/pull/51024
apparmor: fix build on musl, enable python on cross-compile
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (native + cross)
- aarch64-musl (native + cross)
- armv7l (cross)
- armv7l-musl (cross)
- armv6l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/51024.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-apparmor-musl-fix-51024.patch --]
[-- Type: text/x-diff, Size: 2448 bytes --]
From cb6b0b8c9ca26aeff772c06a84032594ff54716d Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Thu, 27 Jun 2024 08:48:00 -0400
Subject: [PATCH] apparmor: fix build on musl, enable python on cross-compile
---
srcpkgs/apparmor/template | 28 +++++++++++++++++++++-------
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template
index 13586d0976f979..467075257a3e2e 100644
--- a/srcpkgs/apparmor/template
+++ b/srcpkgs/apparmor/template
@@ -1,13 +1,15 @@
# Template file for 'apparmor'
pkgname=apparmor
version=3.1.7
-revision=1
+revision=2
build_wrksrc=libraries/libapparmor
build_style=gnu-configure
conf_files="/etc/apparmor.d/local/* /etc/apparmor/*"
make_dirs="/etc/apparmor.d/disable 0755 root root"
+configure_args="$(vopt_with python) $(vopt_with perl)"
hostmakedepends="bison flex gettext python3 which python3-setuptools pkg-config
- perl"
+ perl $(vopt_if python swig)"
+makedepends="$(vopt_if python python3-devel)"
depends="runit-void-apparmor libapparmor-${version}_${revision} python3-notify2
python3-psutil python3-dbus iproute2"
checkdepends="dejagnu"
@@ -20,10 +22,20 @@ distfiles="https://launchpad.net/apparmor/${version%.*}/${version}/+download/app
checksum=c6c161d6dbd99c2f10758ff347cbc6848223c7381f311de62522f22b0a16de64
replaces="apparmor-vim>=0"
+# /usr/lib/perl5/core_perl/CORE/perl.h:3360:22: error: unknown type name 'off64_t';
+CFLAGS="-D_LARGEFILE64_SOURCE"
+CXXFLAGS="-D_LARGEFILE64_SOURCE"
+
+build_options="python perl"
+
+case "$XBPS_TARGET_MACHINE" in
+ x86_64*|aarch64*|i686*)
+ build_options_default+=" python"
+ ;;
+esac
+
if [ -z "$CROSS_BUILD" ]; then
- configure_args="--with-perl --with-python"
- hostmakedepends+=" swig"
- makedepends="python3-devel"
+ build_options_default+=" perl"
fi
pre_build() {
@@ -55,7 +67,7 @@ post_install() {
make DESTDIR="${DESTDIR}" install -C profiles
# requires perl bindings not generated when cross-compiling
- if [ "$CROSS_BUILD" ]; then
+ if [ "$build_option_perl" ]; then
rm -f ${DESTDIR}/usr/bin/aa-notify
fi
@@ -71,8 +83,10 @@ libapparmor_package() {
license="LGPL-2.1-only"
pkg_install() {
vmove "usr/lib/libapparmor.so*"
- if [ -z "$CROSS_BUILD" ]; then
+ if [ "$build_option_perl" ]; then
vmove usr/lib/perl5
+ fi
+ if [ "$build_option_python" ]; then
vmove "${py3_sitelib}/LibAppArmor*"
fi
vmove usr/share/man/man2
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Updated] apparmor: fix build on musl, enable python on cross-compile
2024-06-27 12:57 [PR PATCH] apparmor: fix build on musl Calandracas606
` (10 preceding siblings ...)
2024-06-28 2:57 ` Calandracas606
@ 2024-06-28 3:00 ` Calandracas606
2024-07-02 6:52 ` [PR PATCH] [Closed]: " classabbyamp
12 siblings, 0 replies; 14+ messages in thread
From: Calandracas606 @ 2024-06-28 3:00 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
There is an updated pull request by Calandracas606 against master on the void-packages repository
https://github.com/Calandracas606/void-packages apparmor-musl-fix
https://github.com/void-linux/void-packages/pull/51024
apparmor: fix build on musl, enable python on cross-compile
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (native + cross)
- aarch64-musl (native + cross)
- armv7l (cross)
- armv7l-musl (cross)
- armv6l (cross)
- armv6l-musl (cross)
A patch file from https://github.com/void-linux/void-packages/pull/51024.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-apparmor-musl-fix-51024.patch --]
[-- Type: text/x-diff, Size: 2451 bytes --]
From 0a2aab53834c831aebd9ca7228426e9dbc03aa0c Mon Sep 17 00:00:00 2001
From: Daniel Martinez <danielmartinez@cock.li>
Date: Thu, 27 Jun 2024 08:48:00 -0400
Subject: [PATCH] apparmor: fix build on musl, enable python on cross-compile
---
srcpkgs/apparmor/template | 28 +++++++++++++++++++++-------
1 file changed, 21 insertions(+), 7 deletions(-)
diff --git a/srcpkgs/apparmor/template b/srcpkgs/apparmor/template
index 13586d0976f979..0afe30b37d16ee 100644
--- a/srcpkgs/apparmor/template
+++ b/srcpkgs/apparmor/template
@@ -1,13 +1,15 @@
# Template file for 'apparmor'
pkgname=apparmor
version=3.1.7
-revision=1
+revision=2
build_wrksrc=libraries/libapparmor
build_style=gnu-configure
conf_files="/etc/apparmor.d/local/* /etc/apparmor/*"
make_dirs="/etc/apparmor.d/disable 0755 root root"
+configure_args="$(vopt_with python) $(vopt_with perl)"
hostmakedepends="bison flex gettext python3 which python3-setuptools pkg-config
- perl"
+ perl $(vopt_if python swig)"
+makedepends="$(vopt_if python python3-devel)"
depends="runit-void-apparmor libapparmor-${version}_${revision} python3-notify2
python3-psutil python3-dbus iproute2"
checkdepends="dejagnu"
@@ -20,10 +22,20 @@ distfiles="https://launchpad.net/apparmor/${version%.*}/${version}/+download/app
checksum=c6c161d6dbd99c2f10758ff347cbc6848223c7381f311de62522f22b0a16de64
replaces="apparmor-vim>=0"
+# /usr/lib/perl5/core_perl/CORE/perl.h:3360:22: error: unknown type name 'off64_t';
+CFLAGS="-D_LARGEFILE64_SOURCE"
+CXXFLAGS="-D_LARGEFILE64_SOURCE"
+
+build_options="python perl"
+
+case "$XBPS_TARGET_MACHINE" in
+ x86_64*|aarch64*|i686*)
+ build_options_default+=" python"
+ ;;
+esac
+
if [ -z "$CROSS_BUILD" ]; then
- configure_args="--with-perl --with-python"
- hostmakedepends+=" swig"
- makedepends="python3-devel"
+ build_options_default+=" perl"
fi
pre_build() {
@@ -55,7 +67,7 @@ post_install() {
make DESTDIR="${DESTDIR}" install -C profiles
# requires perl bindings not generated when cross-compiling
- if [ "$CROSS_BUILD" ]; then
+ if [ -z "$build_option_perl" ]; then
rm -f ${DESTDIR}/usr/bin/aa-notify
fi
@@ -71,8 +83,10 @@ libapparmor_package() {
license="LGPL-2.1-only"
pkg_install() {
vmove "usr/lib/libapparmor.so*"
- if [ -z "$CROSS_BUILD" ]; then
+ if [ "$build_option_perl" ]; then
vmove usr/lib/perl5
+ fi
+ if [ "$build_option_python" ]; then
vmove "${py3_sitelib}/LibAppArmor*"
fi
vmove usr/share/man/man2
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: [PR PATCH] [Closed]: apparmor: fix build on musl, enable python on cross-compile
2024-06-27 12:57 [PR PATCH] apparmor: fix build on musl Calandracas606
` (11 preceding siblings ...)
2024-06-28 3:00 ` Calandracas606
@ 2024-07-02 6:52 ` classabbyamp
12 siblings, 0 replies; 14+ messages in thread
From: classabbyamp @ 2024-07-02 6:52 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1253 bytes --]
There's a closed pull request on the void-packages repository
apparmor: fix build on musl, enable python on cross-compile
https://github.com/void-linux/void-packages/pull/51024
Description:
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
<!--
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**|**NO**
-->
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, x86_64-glibc
- I built this PR locally for these architectures (if supported. mark crossbuilds):
- x86_64-musl
- i686
- aarch64 (native + cross)
- aarch64-musl (native + cross)
- armv7l (cross)
- armv7l-musl (cross)
- armv6l (cross)
- armv6l-musl (cross)
^ permalink raw reply [flat|nested] 14+ messages in thread