Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] New package: m4rie-20200125
@ 2021-08-20  9:37 Eloitor
  2021-08-20 11:37 ` [WIP] New math " tornaria
                   ` (114 more replies)
  0 siblings, 115 replies; 116+ messages in thread
From: Eloitor @ 2021-08-20  9:37 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

[WIP] New package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 1338 bytes --]

From 93be814253f83e1d71cabae70546fe1473a72546 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Fri, 20 Aug 2021 11:34:51 +0200
Subject: [PATCH] [WIP] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..99db56890f7d
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,26 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200115
+revision=1
+#archs="i686 x86_64"
+wrksrc=malb-m4rie-9bce78f99be6
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config autoconf automake"
+makedepends=""
+depends=""
+short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/get/release-${version}.tar.gz"
+checksum=84d6be4722e87a4d304793a43dfe993752c9aa6456df3741e55d899432d649ba
+
+pre_configure() {
+    autoreconf --install
+}

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

* Re: [WIP] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
@ 2021-08-20 11:37 ` tornaria
  2021-08-20 16:24 ` dkwo
                   ` (113 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-08-20 11:37 UTC (permalink / raw)
  To: ml

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

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-902631177

Comment:
Did you try adding `libtool` to `hostmakedepends`?

Btw, doesn't m4rie depend on m4ri?

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

* Re: [WIP] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
  2021-08-20 11:37 ` [WIP] New math " tornaria
@ 2021-08-20 16:24 ` dkwo
  2021-08-21  6:16 ` [PR PATCH] [Updated] " Eloitor
                   ` (112 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-20 16:24 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-902810117

Comment:
This builds and tests fine for me on musl, maybe it helps.
```
diff --git a/common/shlibs b/common/shlibs
index b536301495..ebf5c74fd1 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 0000000000..932436a64f
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
```

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

* Re: [PR PATCH] [Updated] [WIP] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
  2021-08-20 11:37 ` [WIP] New math " tornaria
  2021-08-20 16:24 ` dkwo
@ 2021-08-21  6:16 ` Eloitor
  2021-08-21  7:22 ` [PR REVIEW] " dkwo
                   ` (111 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-21  6:16 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

[WIP] New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 2774 bytes --]

From 93be814253f83e1d71cabae70546fe1473a72546 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Fri, 20 Aug 2021 11:34:51 +0200
Subject: [PATCH 1/2] [WIP] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..99db56890f7d
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,26 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200115
+revision=1
+#archs="i686 x86_64"
+wrksrc=malb-m4rie-9bce78f99be6
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config autoconf automake"
+makedepends=""
+depends=""
+short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/get/release-${version}.tar.gz"
+checksum=84d6be4722e87a4d304793a43dfe993752c9aa6456df3741e55d899432d649ba
+
+pre_configure() {
+    autoreconf --install
+}

From dee7819f3fa5fb30d8437407d2dce7b7cca4345a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 08:16:25 +0200
Subject: [PATCH 2/2] [WIP] New package: m4rie-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..932436a64fa0
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

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

* Re: [PR REVIEW] [WIP] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (2 preceding siblings ...)
  2021-08-21  6:16 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-21  7:22 ` dkwo
  2021-08-21  7:22 ` dkwo
                   ` (110 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21  7:22 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693318401

Comment:
Why not use 20200125?

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

* Re: [PR REVIEW] [WIP] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (3 preceding siblings ...)
  2021-08-21  7:22 ` [PR REVIEW] " dkwo
@ 2021-08-21  7:22 ` dkwo
  2021-08-21  7:25 ` dkwo
                   ` (109 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21  7:22 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693318571

Comment:
I would use https://bitbucket.org/malb/m4rie/downloads/m4rie-${version}.tar.gz instead

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

* Re: [PR REVIEW] [WIP] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (4 preceding siblings ...)
  2021-08-21  7:22 ` dkwo
@ 2021-08-21  7:25 ` dkwo
  2021-08-21  7:45 ` [PR PATCH] [Updated] " Eloitor
                   ` (108 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21  7:25 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693318737

Comment:
You can be maintainer, I only gave an example.

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

* Re: [PR PATCH] [Updated] [WIP] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (5 preceding siblings ...)
  2021-08-21  7:25 ` dkwo
@ 2021-08-21  7:45 ` Eloitor
  2021-08-21  7:58 ` [PR PATCH] [Updated] " Eloitor
                   ` (107 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-21  7:45 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

[WIP] New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4463 bytes --]

From 93be814253f83e1d71cabae70546fe1473a72546 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Fri, 20 Aug 2021 11:34:51 +0200
Subject: [PATCH 1/3] [WIP] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..99db56890f7d
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,26 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200115
+revision=1
+#archs="i686 x86_64"
+wrksrc=malb-m4rie-9bce78f99be6
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config autoconf automake"
+makedepends=""
+depends=""
+short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/get/release-${version}.tar.gz"
+checksum=84d6be4722e87a4d304793a43dfe993752c9aa6456df3741e55d899432d649ba
+
+pre_configure() {
+    autoreconf --install
+}

From dee7819f3fa5fb30d8437407d2dce7b7cca4345a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 08:16:25 +0200
Subject: [PATCH 2/3] [WIP] New package: m4rie-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..932436a64fa0
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

From b5f2760d644e7532f8c2a981fed42716d3003a2b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:45:44 +0200
Subject: [PATCH 3/3] [WIP] New package: m4rie-20200125

---
 srcpkgs/m4ri/template  | 2 +-
 srcpkgs/m4rie/template | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
index 932436a64fa0..06ee9942d149 100644
--- a/srcpkgs/m4ri/template
+++ b/srcpkgs/m4ri/template
@@ -6,7 +6,7 @@ build_style=gnu-configure
 configure_args="--prefix=/usr --with-openmp"
 depends="libpng"
 short_desc="Library for fast arithmetic with dense matrices over GF(2)"
-maintainer="dkwo <nicolopiazzalunga@gmail.com>"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
 license="GPL-2.0-or-later"
 homepage="https://bitbucket.org/malb/m4ri"
 distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
index 99db56890f7d..d9d2398f6d2a 100644
--- a/srcpkgs/m4rie/template
+++ b/srcpkgs/m4rie/template
@@ -1,6 +1,6 @@
 # Template file for 'm4rie'
 pkgname=m4rie
-version=20200115
+version=20200125
 revision=1
 #archs="i686 x86_64"
 wrksrc=malb-m4rie-9bce78f99be6
@@ -11,9 +11,9 @@ build_style=gnu-configure
 #make_install_args=""
 #conf_files=""
 #make_dirs="/var/log/dir 0755 root root"
-hostmakedepends="pkg-config autoconf automake"
+hostmakedepends="pkg-config autoconf automake libtool"
 makedepends=""
-depends=""
+depends="m4ri"
 short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
 maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
 license="GPL-3.0-or-later"

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (6 preceding siblings ...)
  2021-08-21  7:45 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-21  7:58 ` Eloitor
  2021-08-21  8:00 ` Eloitor
                   ` (106 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-21  7:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 3597 bytes --]

From 4e51fcdc5fa025ec99cb13ed923e85b299298b83 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/3] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..06ee9942d149
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

From 27379c71d081fc6831ceb2094ad319881bcd60d2 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/3] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..d9d2398f6d2a
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,26 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+#archs="i686 x86_64"
+wrksrc=malb-m4rie-9bce78f99be6
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends=""
+depends="m4ri"
+short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/get/release-${version}.tar.gz"
+checksum=84d6be4722e87a4d304793a43dfe993752c9aa6456df3741e55d899432d649ba
+
+pre_configure() {
+    autoreconf --install
+}

From 362181fff02ef5972ba0419f71ad94843f7ad6b6 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:57:56 +0200
Subject: [PATCH 3/3] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
index d9d2398f6d2a..246afeee5b18 100644
--- a/srcpkgs/m4rie/template
+++ b/srcpkgs/m4rie/template
@@ -12,7 +12,7 @@ build_style=gnu-configure
 #conf_files=""
 #make_dirs="/var/log/dir 0755 root root"
 hostmakedepends="pkg-config autoconf automake libtool"
-makedepends=""
+makedepends="m4ri"
 depends="m4ri"
 short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
 maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (7 preceding siblings ...)
  2021-08-21  7:58 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-21  8:00 ` Eloitor
  2021-08-21  8:02 ` Eloitor
                   ` (105 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-21  8:00 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4535 bytes --]

From 4e51fcdc5fa025ec99cb13ed923e85b299298b83 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/4] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..06ee9942d149
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

From 27379c71d081fc6831ceb2094ad319881bcd60d2 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/4] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..d9d2398f6d2a
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,26 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+#archs="i686 x86_64"
+wrksrc=malb-m4rie-9bce78f99be6
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends=""
+depends="m4ri"
+short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/get/release-${version}.tar.gz"
+checksum=84d6be4722e87a4d304793a43dfe993752c9aa6456df3741e55d899432d649ba
+
+pre_configure() {
+    autoreconf --install
+}

From 362181fff02ef5972ba0419f71ad94843f7ad6b6 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:57:56 +0200
Subject: [PATCH 3/4] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
index d9d2398f6d2a..246afeee5b18 100644
--- a/srcpkgs/m4rie/template
+++ b/srcpkgs/m4rie/template
@@ -12,7 +12,7 @@ build_style=gnu-configure
 #conf_files=""
 #make_dirs="/var/log/dir 0755 root root"
 hostmakedepends="pkg-config autoconf automake libtool"
-makedepends=""
+makedepends="m4ri"
 depends="m4ri"
 short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
 maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"

From a0de4d8a8668994445f315cf6d50eca192b84fc7 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 10:00:31 +0200
Subject: [PATCH 4/4] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
index 246afeee5b18..e9db9b244a33 100644
--- a/srcpkgs/m4rie/template
+++ b/srcpkgs/m4rie/template
@@ -18,7 +18,7 @@ short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2
 maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
-distfiles="https://bitbucket.org/malb/m4rie/get/release-${version}.tar.gz"
+distfiles="https://bitbucket.org/malb/m4rie/downloads/m4rie-${version}.tar.gz"
 checksum=84d6be4722e87a4d304793a43dfe993752c9aa6456df3741e55d899432d649ba
 
 pre_configure() {

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (8 preceding siblings ...)
  2021-08-21  8:00 ` Eloitor
@ 2021-08-21  8:02 ` Eloitor
  2021-08-21  8:09 ` Eloitor
                   ` (104 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-21  8:02 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 3716 bytes --]

From 4e51fcdc5fa025ec99cb13ed923e85b299298b83 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/3] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..06ee9942d149
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

From 27379c71d081fc6831ceb2094ad319881bcd60d2 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/3] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..d9d2398f6d2a
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,26 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+#archs="i686 x86_64"
+wrksrc=malb-m4rie-9bce78f99be6
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends=""
+depends="m4ri"
+short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/get/release-${version}.tar.gz"
+checksum=84d6be4722e87a4d304793a43dfe993752c9aa6456df3741e55d899432d649ba
+
+pre_configure() {
+    autoreconf --install
+}

From f66a0c963fad245334539756de607df097fc3942 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 10:00:31 +0200
Subject: [PATCH 3/3] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
index d9d2398f6d2a..ec86be1f32cb 100644
--- a/srcpkgs/m4rie/template
+++ b/srcpkgs/m4rie/template
@@ -18,7 +18,7 @@ short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2
 maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
-distfiles="https://bitbucket.org/malb/m4rie/get/release-${version}.tar.gz"
+distfiles="https://bitbucket.org/malb/m4rie/downloads/m4rie-${version}.tar.gz"
 checksum=84d6be4722e87a4d304793a43dfe993752c9aa6456df3741e55d899432d649ba
 
 pre_configure() {

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (9 preceding siblings ...)
  2021-08-21  8:02 ` Eloitor
@ 2021-08-21  8:09 ` Eloitor
  2021-08-21  8:10 ` Eloitor
                   ` (103 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-21  8:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4744 bytes --]

From 4e51fcdc5fa025ec99cb13ed923e85b299298b83 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/4] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..06ee9942d149
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

From 27379c71d081fc6831ceb2094ad319881bcd60d2 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/4] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..d9d2398f6d2a
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,26 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+#archs="i686 x86_64"
+wrksrc=malb-m4rie-9bce78f99be6
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends=""
+depends="m4ri"
+short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/get/release-${version}.tar.gz"
+checksum=84d6be4722e87a4d304793a43dfe993752c9aa6456df3741e55d899432d649ba
+
+pre_configure() {
+    autoreconf --install
+}

From f66a0c963fad245334539756de607df097fc3942 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 10:00:31 +0200
Subject: [PATCH 3/4] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
index d9d2398f6d2a..ec86be1f32cb 100644
--- a/srcpkgs/m4rie/template
+++ b/srcpkgs/m4rie/template
@@ -18,7 +18,7 @@ short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2
 maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
-distfiles="https://bitbucket.org/malb/m4rie/get/release-${version}.tar.gz"
+distfiles="https://bitbucket.org/malb/m4rie/downloads/m4rie-${version}.tar.gz"
 checksum=84d6be4722e87a4d304793a43dfe993752c9aa6456df3741e55d899432d649ba
 
 pre_configure() {

From 366287dc8211900edac7f6530f3ac1ec89dd4fa6 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 10:09:28 +0200
Subject: [PATCH 4/4] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
index ec86be1f32cb..99916cf90ee5 100644
--- a/srcpkgs/m4rie/template
+++ b/srcpkgs/m4rie/template
@@ -3,7 +3,7 @@ pkgname=m4rie
 version=20200125
 revision=1
 #archs="i686 x86_64"
-wrksrc=malb-m4rie-9bce78f99be6
+wrksrc=m4rie-20200125
 #create_wrksrc=yes
 build_style=gnu-configure
 #configure_args=""
@@ -12,7 +12,7 @@ build_style=gnu-configure
 #conf_files=""
 #make_dirs="/var/log/dir 0755 root root"
 hostmakedepends="pkg-config autoconf automake libtool"
-makedepends=""
+makedepends="m4rie"
 depends="m4ri"
 short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
 maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (10 preceding siblings ...)
  2021-08-21  8:09 ` Eloitor
@ 2021-08-21  8:10 ` Eloitor
  2021-08-21  8:10 ` Eloitor
                   ` (102 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-21  8:10 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903079993

Comment:
Now I get this warning that confuses me beacuse it references `libm4rie-0.0.20200125.so`
```
=> WARNING: m4rie-20200125_1: libm4rie-0.0.20200125.so not found in common/shlibs!
```

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (11 preceding siblings ...)
  2021-08-21  8:10 ` Eloitor
@ 2021-08-21  8:10 ` Eloitor
  2021-08-21 10:38 ` dkwo
                   ` (101 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-21  8:10 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903079993

Comment:
Now I get this warning that confuses me because it references `libm4rie-0.0.20200125.so`
```
=> WARNING: m4rie-20200125_1: libm4rie-0.0.20200125.so not found in common/shlibs!
```

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (12 preceding siblings ...)
  2021-08-21  8:10 ` Eloitor
@ 2021-08-21 10:38 ` dkwo
  2021-08-21 10:52 ` dkwo
                   ` (100 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21 10:38 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903097101

Comment:
It means you need to add a line to common/shlibs, just like I did for m4ri.
Also, you should squash all m4rie commits into one, and then git push -f.

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (13 preceding siblings ...)
  2021-08-21 10:38 ` dkwo
@ 2021-08-21 10:52 ` dkwo
  2021-08-21 12:28 ` dkwo
                   ` (99 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21 10:52 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903098539

Comment:
This builds and checks fine for me:
```
diff --git a/common/shlibs b/common/shlibs
index ebf5c74fd1..032a919716 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 0000000000..d9780317d0
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,12 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+makedepends="m4ri"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
```

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (14 preceding siblings ...)
  2021-08-21 10:52 ` dkwo
@ 2021-08-21 12:28 ` dkwo
  2021-08-21 13:20 ` [PR PATCH] [Updated] " Eloitor
                   ` (98 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21 12:28 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903098539

Comment:
This builds and checks fine for me:
```
diff --git a/common/shlibs b/common/shlibs
index ebf5c74fd1..032a919716 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 0000000000..d9780317d0
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,12 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+makedepends="m4ri"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
```

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (15 preceding siblings ...)
  2021-08-21 12:28 ` dkwo
@ 2021-08-21 13:20 ` Eloitor
  2021-08-21 13:52 ` [PR REVIEW] " dkwo
                   ` (97 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-21 13:20 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 3195 bytes --]

From 4e51fcdc5fa025ec99cb13ed923e85b299298b83 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..06ee9942d149
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

From 11f87af4bae7e15204ef1a35d505ad06cb5b443f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie/template | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 90840b9aef8f..684da340a547 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..282de99905b8
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,26 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+#archs="i686 x86_64"
+wrksrc=m4rie-20200125
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4rie"
+depends="m4ri"
+short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+pre_configure() {
+    autoreconf --install
+}

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (16 preceding siblings ...)
  2021-08-21 13:20 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-21 13:52 ` dkwo
  2021-08-21 13:52 ` dkwo
                   ` (96 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21 13:52 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693357260

Comment:
you do not need this

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (22 preceding siblings ...)
  2021-08-21 13:52 ` dkwo
@ 2021-08-21 13:52 ` dkwo
  2021-08-21 13:52 ` dkwo
                   ` (90 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21 13:52 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693357400

Comment:
I believe it is 2.0 or later

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (18 preceding siblings ...)
  2021-08-21 13:52 ` dkwo
@ 2021-08-21 13:52 ` dkwo
  2021-08-21 13:52 ` dkwo
                   ` (94 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21 13:52 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693357318

Comment:
here should be m4ri, cannot depend on itself

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (21 preceding siblings ...)
  2021-08-21 13:52 ` dkwo
@ 2021-08-21 13:52 ` dkwo
  2021-08-21 13:52 ` dkwo
                   ` (91 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21 13:52 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693357352

Comment:
possibly do not need this

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (19 preceding siblings ...)
  2021-08-21 13:52 ` dkwo
@ 2021-08-21 13:52 ` dkwo
  2021-08-21 13:52 ` dkwo
                   ` (93 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21 13:52 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693357293

Comment:
do not need this either

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (20 preceding siblings ...)
  2021-08-21 13:52 ` dkwo
@ 2021-08-21 13:52 ` dkwo
  2021-08-21 13:52 ` dkwo
                   ` (92 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21 13:52 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693357252

Comment:
you can remove all commented # lines

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (17 preceding siblings ...)
  2021-08-21 13:52 ` [PR REVIEW] " dkwo
@ 2021-08-21 13:52 ` dkwo
  2021-08-21 13:52 ` dkwo
                   ` (95 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21 13:52 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693357414

Comment:
do not need this stuff if you use the above distfiles

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (23 preceding siblings ...)
  2021-08-21 13:52 ` dkwo
@ 2021-08-21 13:52 ` dkwo
  2021-08-21 16:04 ` [PR PATCH] [Updated] " Eloitor
                   ` (89 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-21 13:52 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693357444

Comment:
this does not pass lint, use something like short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (24 preceding siblings ...)
  2021-08-21 13:52 ` dkwo
@ 2021-08-21 16:04 ` Eloitor
  2021-08-21 16:09 ` Eloitor
                   ` (88 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-21 16:04 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4376 bytes --]

From 4e51fcdc5fa025ec99cb13ed923e85b299298b83 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/3] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..06ee9942d149
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

From 11f87af4bae7e15204ef1a35d505ad06cb5b443f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/3] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie/template | 26 ++++++++++++++++++++++++++
 2 files changed, 27 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 90840b9aef8f..684da340a547 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..282de99905b8
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,26 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+#archs="i686 x86_64"
+wrksrc=m4rie-20200125
+#create_wrksrc=yes
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4rie"
+depends="m4ri"
+short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+pre_configure() {
+    autoreconf --install
+}

From 15941ae768653b6e550931d7b88399ac9fd63074 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 18:04:38 +0200
Subject: [PATCH 3/3] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
index 282de99905b8..678cdd00a0e7 100644
--- a/srcpkgs/m4rie/template
+++ b/srcpkgs/m4rie/template
@@ -2,19 +2,11 @@
 pkgname=m4rie
 version=20200125
 revision=1
-#archs="i686 x86_64"
-wrksrc=m4rie-20200125
-#create_wrksrc=yes
 build_style=gnu-configure
-#configure_args=""
-#make_build_args=""
-#make_install_args=""
-#conf_files=""
-#make_dirs="/var/log/dir 0755 root root"
 hostmakedepends="pkg-config autoconf automake libtool"
-makedepends="m4rie"
-depends="m4ri"
-short_desc="M4RIE is a library for fast arithmetic with dense matrices over GF(2^e) for 2 ≤ e≤ 16."
+makedepends="m4ri"
+#depends="m4ri"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)."
 maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
 license="GPL-3.0-or-later"
 homepage="https://bitbucket.org/malb/m4rie"

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (25 preceding siblings ...)
  2021-08-21 16:04 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-21 16:09 ` Eloitor
  2021-08-21 22:45 ` [PR REVIEW] " tornaria
                   ` (87 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-21 16:09 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 2899 bytes --]

From 4e51fcdc5fa025ec99cb13ed923e85b299298b83 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..06ee9942d149
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

From 498c2af37ffffb006dc6ccb313efa559e2ff7dd3 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 90840b9aef8f..684da340a547 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..b1a740bac281
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,13 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4ri"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (26 preceding siblings ...)
  2021-08-21 16:09 ` Eloitor
@ 2021-08-21 22:45 ` tornaria
  2021-08-21 22:46 ` tornaria
                   ` (86 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-08-21 22:45 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693410049

Comment:
No need for this (automatic by soname), but instead you need `makedepends=libpng-devel`.

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (27 preceding siblings ...)
  2021-08-21 22:45 ` [PR REVIEW] " tornaria
@ 2021-08-21 22:46 ` tornaria
  2021-08-21 22:53 ` tornaria
                   ` (85 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-08-21 22:46 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693410113

Comment:
I think it's `--enable-openmp`.

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (28 preceding siblings ...)
  2021-08-21 22:46 ` tornaria
@ 2021-08-21 22:53 ` tornaria
  2021-08-21 22:56 ` [PR REVIEW] " tornaria
                   ` (84 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-08-21 22:53 UTC (permalink / raw)
  To: ml

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

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903185562

Comment:
Other comments on `m4ri`:
 - configure is complaining about `pkg-config`, which you can add to `hostmakedepends`. I'm not sure if it's really necessary.
 - you need to move everything except `libm4ri-0.0.20200125.so` to a subpackage `m4ri-devel`. Check the example in `Manual.md` (search for "Subpackages"). I think the foo-devel subpkg example should work almost verbatim.
 - Build on `i686` gives an error on the `check` stage.

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (29 preceding siblings ...)
  2021-08-21 22:53 ` tornaria
@ 2021-08-21 22:56 ` tornaria
  2021-08-21 22:57 ` tornaria
                   ` (83 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-08-21 22:56 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693411036

Comment:
You will want to makedepend on `m4ri-devel` once you create the subpkg as mentioned before.

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (30 preceding siblings ...)
  2021-08-21 22:56 ` [PR REVIEW] " tornaria
@ 2021-08-21 22:57 ` tornaria
  2021-08-21 23:00 ` tornaria
                   ` (82 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-08-21 22:57 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693411126

Comment:
Dangling period, please run xlint on templates
```
$ xlint srcpkgs/m4rie/template 
srcpkgs/m4rie/template:9: unwanted trailing dot in short_desc
```

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (31 preceding siblings ...)
  2021-08-21 22:57 ` tornaria
@ 2021-08-21 23:00 ` tornaria
  2021-08-21 23:05 ` tornaria
                   ` (81 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-08-21 23:00 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693411407

Comment:
Also, I think you don't need `--prefix` because it's added by `gnu-configure` build style (see `common/environment/configure/gnu-configure-args.sh`).

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (32 preceding siblings ...)
  2021-08-21 23:00 ` tornaria
@ 2021-08-21 23:05 ` tornaria
  2021-08-22 11:15 ` [PR PATCH] [Updated] " Eloitor
                   ` (80 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-08-21 23:05 UTC (permalink / raw)
  To: ml

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

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903186636

Comment:
>     * you need to move everything except `libm4ri-0.0.20200125.so` to a subpackage `m4ri-devel`. Check the example in `Manual.md` (search for "Subpackages"). I think the foo-devel subpkg example should work almost verbatim.

Same for `m4rie`.


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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (33 preceding siblings ...)
  2021-08-21 23:05 ` tornaria
@ 2021-08-22 11:15 ` Eloitor
  2021-08-22 11:16 ` Eloitor
                   ` (79 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-22 11:15 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4616 bytes --]

From 4e51fcdc5fa025ec99cb13ed923e85b299298b83 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/3] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..06ee9942d149
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

From 498c2af37ffffb006dc6ccb313efa559e2ff7dd3 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/3] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 90840b9aef8f..684da340a547 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..b1a740bac281
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,13 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4ri"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d

From 3327c7fe4ac9404a0c5ec5d686a15eeb9b73f9af Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sun, 22 Aug 2021 13:14:07 +0200
Subject: [PATCH 3/3] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 15 +++++++++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 684da340a547..290110a5af79 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
index 06ee9942d149..c3774920f2d5 100644
--- a/srcpkgs/m4ri/template
+++ b/srcpkgs/m4ri/template
@@ -3,11 +3,22 @@ pkgname=m4ri
 version=20200125
 revision=1
 build_style=gnu-configure
-configure_args="--prefix=/usr --with-openmp"
-depends="libpng"
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
 short_desc="Library for fast arithmetic with dense matrices over GF(2)"
 maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
 license="GPL-2.0-or-later"
 homepage="https://bitbucket.org/malb/m4ri"
 distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
 checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+    short_desc+=" - development files"
+    depends="${sourcepkg}>=${version}_${revision}"
+    pkg_install() {
+    	vmove usr/include
+	vmove "usr/lib/*.a"
+    	vmove "usr/lib/*.so"
+    }
+}

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (34 preceding siblings ...)
  2021-08-22 11:15 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-22 11:16 ` Eloitor
  2021-08-22 11:26 ` Eloitor
                   ` (78 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-22 11:16 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903252663

Comment:
Now m4ri build fine, but with this warning:
`=> WARNING: usr/lib/pkgconfig should be in -devel package`

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (35 preceding siblings ...)
  2021-08-22 11:16 ` Eloitor
@ 2021-08-22 11:26 ` Eloitor
  2021-08-22 13:32 ` [PR PATCH] [Updated] " Eloitor
                   ` (77 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-22 11:26 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903253787

Comment:
Ups I forgot to push the symlink. I'll do it later.

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (36 preceding siblings ...)
  2021-08-22 11:26 ` Eloitor
@ 2021-08-22 13:32 ` Eloitor
  2021-08-22 13:41 ` Eloitor
                   ` (76 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-22 13:32 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 5118 bytes --]

From 4e51fcdc5fa025ec99cb13ed923e85b299298b83 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/4] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..06ee9942d149
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

From 498c2af37ffffb006dc6ccb313efa559e2ff7dd3 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/4] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 90840b9aef8f..684da340a547 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..b1a740bac281
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,13 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4ri"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d

From 3327c7fe4ac9404a0c5ec5d686a15eeb9b73f9af Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sun, 22 Aug 2021 13:14:07 +0200
Subject: [PATCH 3/4] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 15 +++++++++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 684da340a547..290110a5af79 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
index 06ee9942d149..c3774920f2d5 100644
--- a/srcpkgs/m4ri/template
+++ b/srcpkgs/m4ri/template
@@ -3,11 +3,22 @@ pkgname=m4ri
 version=20200125
 revision=1
 build_style=gnu-configure
-configure_args="--prefix=/usr --with-openmp"
-depends="libpng"
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
 short_desc="Library for fast arithmetic with dense matrices over GF(2)"
 maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
 license="GPL-2.0-or-later"
 homepage="https://bitbucket.org/malb/m4ri"
 distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
 checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+    short_desc+=" - development files"
+    depends="${sourcepkg}>=${version}_${revision}"
+    pkg_install() {
+    	vmove usr/include
+	vmove "usr/lib/*.a"
+    	vmove "usr/lib/*.so"
+    }
+}

From f9afa714ba41f5ce69bf4f4840df817eb4fc51d8 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sun, 22 Aug 2021 15:32:49 +0200
Subject: [PATCH 4/4] New package: m4ri-20200125

---
 srcpkgs/m4ri-devel | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 srcpkgs/m4ri-devel

diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (37 preceding siblings ...)
  2021-08-22 13:32 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-22 13:41 ` Eloitor
  2021-08-22 13:41 ` Eloitor
                   ` (75 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-22 13:41 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903252663

Comment:
Now m4ri build fine, but with this warning:
`=> WARNING: usr/lib/pkgconfig should be in -devel package`

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (38 preceding siblings ...)
  2021-08-22 13:41 ` Eloitor
@ 2021-08-22 13:41 ` Eloitor
  2021-08-22 13:46 ` [PR PATCH] [Updated] " Eloitor
                   ` (74 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-22 13:41 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903253787

Comment:
Ups I forgot to push the symlink. I'll do it later.

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (39 preceding siblings ...)
  2021-08-22 13:41 ` Eloitor
@ 2021-08-22 13:46 ` Eloitor
  2021-08-22 13:51 ` Eloitor
                   ` (73 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-22 13:46 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 5700 bytes --]

From 4e51fcdc5fa025ec99cb13ed923e85b299298b83 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/5] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..06ee9942d149
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

From 498c2af37ffffb006dc6ccb313efa559e2ff7dd3 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/5] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 90840b9aef8f..684da340a547 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..b1a740bac281
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,13 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4ri"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d

From 3327c7fe4ac9404a0c5ec5d686a15eeb9b73f9af Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sun, 22 Aug 2021 13:14:07 +0200
Subject: [PATCH 3/5] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 15 +++++++++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 684da340a547..290110a5af79 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
index 06ee9942d149..c3774920f2d5 100644
--- a/srcpkgs/m4ri/template
+++ b/srcpkgs/m4ri/template
@@ -3,11 +3,22 @@ pkgname=m4ri
 version=20200125
 revision=1
 build_style=gnu-configure
-configure_args="--prefix=/usr --with-openmp"
-depends="libpng"
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
 short_desc="Library for fast arithmetic with dense matrices over GF(2)"
 maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
 license="GPL-2.0-or-later"
 homepage="https://bitbucket.org/malb/m4ri"
 distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
 checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+    short_desc+=" - development files"
+    depends="${sourcepkg}>=${version}_${revision}"
+    pkg_install() {
+    	vmove usr/include
+	vmove "usr/lib/*.a"
+    	vmove "usr/lib/*.so"
+    }
+}

From f9afa714ba41f5ce69bf4f4840df817eb4fc51d8 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sun, 22 Aug 2021 15:32:49 +0200
Subject: [PATCH 4/5] New package: m4ri-20200125

---
 srcpkgs/m4ri-devel | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 srcpkgs/m4ri-devel

diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file

From 56a133ddcf2f35ec0010a5143dd3c0b3cef035c6 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sun, 22 Aug 2021 15:46:52 +0200
Subject: [PATCH 5/5] New package: m4ri-20200125

---
 srcpkgs/m4ri/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
index c3774920f2d5..46841f408240 100644
--- a/srcpkgs/m4ri/template
+++ b/srcpkgs/m4ri/template
@@ -20,5 +20,6 @@ m4ri-devel_package() {
     	vmove usr/include
 	vmove "usr/lib/*.a"
     	vmove "usr/lib/*.so"
+#    	vmove usr/lib/pkgconfig
     }
 }

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (40 preceding siblings ...)
  2021-08-22 13:46 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-22 13:51 ` Eloitor
  2021-08-22 13:57 ` [PR REVIEW] " tornaria
                   ` (72 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-22 13:51 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903272224

Comment:
When I run ./xbps-src pkg m4ri, I get `=> WARNING: usr/lib/pkgconfig should be in -devel package`.
But If I uncomment the line `vmove usr/lib/pkgconfig` I get the error:
```
=> ERROR: m4ri-20200125_1: PKGDESTDIR is empty and build_style != meta
=> ERROR: m4ri-20200125_1: cannot continue with installation!
```

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (41 preceding siblings ...)
  2021-08-22 13:51 ` Eloitor
@ 2021-08-22 13:57 ` tornaria
  2021-08-22 14:01 ` tornaria
                   ` (71 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-08-22 13:57 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693506448

Comment:
indent always with <TAB>

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (42 preceding siblings ...)
  2021-08-22 13:57 ` [PR REVIEW] " tornaria
@ 2021-08-22 14:01 ` tornaria
  2021-08-22 14:01 ` tornaria
                   ` (70 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-08-22 14:01 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693506889

Comment:
Change to `vmove usr/lib/libm4ri.so`. The `*.so` glob usually works fine, but in this case the name for the shared library (the one with version number) ends in `.so` but it should not go into `m4ri-devel`.

You will want to keep in pkg `m4ri` precisely one file (`libm4ri-0.0.20200125.so`) and everything else should go into `m4ri-devel`.

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (43 preceding siblings ...)
  2021-08-22 14:01 ` tornaria
@ 2021-08-22 14:01 ` tornaria
  2021-08-22 14:02 ` tornaria
                   ` (69 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-08-22 14:01 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693506941

Comment:
Uncomment this after you change the previous line so the `pkgconfig` goes into `m4ri-devel`.

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (44 preceding siblings ...)
  2021-08-22 14:01 ` tornaria
@ 2021-08-22 14:02 ` tornaria
  2021-08-23 12:43 ` [PR PATCH] [Updated] " Eloitor
                   ` (68 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-08-22 14:02 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r693506448

Comment:
indent always with `<TAB>`

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (45 preceding siblings ...)
  2021-08-22 14:02 ` tornaria
@ 2021-08-23 12:43 ` Eloitor
  2021-08-23 12:51 ` dkwo
                   ` (67 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-23 12:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 6780 bytes --]

From 4e51fcdc5fa025ec99cb13ed923e85b299298b83 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/6] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..06ee9942d149
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

From 498c2af37ffffb006dc6ccb313efa559e2ff7dd3 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/6] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 90840b9aef8f..684da340a547 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..b1a740bac281
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,13 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4ri"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d

From 3327c7fe4ac9404a0c5ec5d686a15eeb9b73f9af Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sun, 22 Aug 2021 13:14:07 +0200
Subject: [PATCH 3/6] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 15 +++++++++++++--
 2 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index 684da340a547..290110a5af79 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
index 06ee9942d149..c3774920f2d5 100644
--- a/srcpkgs/m4ri/template
+++ b/srcpkgs/m4ri/template
@@ -3,11 +3,22 @@ pkgname=m4ri
 version=20200125
 revision=1
 build_style=gnu-configure
-configure_args="--prefix=/usr --with-openmp"
-depends="libpng"
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
 short_desc="Library for fast arithmetic with dense matrices over GF(2)"
 maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
 license="GPL-2.0-or-later"
 homepage="https://bitbucket.org/malb/m4ri"
 distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
 checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+    short_desc+=" - development files"
+    depends="${sourcepkg}>=${version}_${revision}"
+    pkg_install() {
+    	vmove usr/include
+	vmove "usr/lib/*.a"
+    	vmove "usr/lib/*.so"
+    }
+}

From f9afa714ba41f5ce69bf4f4840df817eb4fc51d8 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sun, 22 Aug 2021 15:32:49 +0200
Subject: [PATCH 4/6] New package: m4ri-20200125

---
 srcpkgs/m4ri-devel | 1 +
 1 file changed, 1 insertion(+)
 create mode 120000 srcpkgs/m4ri-devel

diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file

From 56a133ddcf2f35ec0010a5143dd3c0b3cef035c6 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sun, 22 Aug 2021 15:46:52 +0200
Subject: [PATCH 5/6] New package: m4ri-20200125

---
 srcpkgs/m4ri/template | 1 +
 1 file changed, 1 insertion(+)

diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
index c3774920f2d5..46841f408240 100644
--- a/srcpkgs/m4ri/template
+++ b/srcpkgs/m4ri/template
@@ -20,5 +20,6 @@ m4ri-devel_package() {
     	vmove usr/include
 	vmove "usr/lib/*.a"
     	vmove "usr/lib/*.so"
+#    	vmove usr/lib/pkgconfig
     }
 }

From 0af6be2578a86eddd41a456075faf1b5342fa52c Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Mon, 23 Aug 2021 14:43:24 +0200
Subject: [PATCH 6/6] New package: m4ri-20200125

---
 srcpkgs/m4ri/template | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
index 46841f408240..87bad85cdbb6 100644
--- a/srcpkgs/m4ri/template
+++ b/srcpkgs/m4ri/template
@@ -14,12 +14,12 @@ distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
 checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
 
 m4ri-devel_package() {
-    short_desc+=" - development files"
-    depends="${sourcepkg}>=${version}_${revision}"
-    pkg_install() {
-    	vmove usr/include
-	vmove "usr/lib/*.a"
-    	vmove "usr/lib/*.so"
-#    	vmove usr/lib/pkgconfig
-    }
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
 }

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (46 preceding siblings ...)
  2021-08-23 12:43 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-23 12:51 ` dkwo
  2021-08-23 12:54 ` [PR PATCH] [Updated] " Eloitor
                   ` (66 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-23 12:51 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903735670

Comment:
Can you squash commits?

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (47 preceding siblings ...)
  2021-08-23 12:51 ` dkwo
@ 2021-08-23 12:54 ` Eloitor
  2021-08-23 12:55 ` Eloitor
                   ` (65 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-23 12:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 6898 bytes --]

From 4e51fcdc5fa025ec99cb13ed923e85b299298b83 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/4] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..90840b9aef8f 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..06ee9942d149
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,13 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--prefix=/usr --with-openmp"
+depends="libpng"
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863

From 498c2af37ffffb006dc6ccb313efa559e2ff7dd3 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/4] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie/template | 13 +++++++++++++
 2 files changed, 14 insertions(+)
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 90840b9aef8f..684da340a547 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..b1a740bac281
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,13 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4ri"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-3.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d

From 24b6f209fdf85e1a8c7badf92287ef62ed04ff7c Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sun, 22 Aug 2021 13:14:07 +0200
Subject: [PATCH 3/4] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 16 ++++++++++++++--
 3 files changed, 16 insertions(+), 2 deletions(-)
 create mode 120000 srcpkgs/m4ri-devel

diff --git a/common/shlibs b/common/shlibs
index 684da340a547..290110a5af79 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
index 06ee9942d149..87bad85cdbb6 100644
--- a/srcpkgs/m4ri/template
+++ b/srcpkgs/m4ri/template
@@ -3,11 +3,23 @@ pkgname=m4ri
 version=20200125
 revision=1
 build_style=gnu-configure
-configure_args="--prefix=/usr --with-openmp"
-depends="libpng"
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
 short_desc="Library for fast arithmetic with dense matrices over GF(2)"
 maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
 license="GPL-2.0-or-later"
 homepage="https://bitbucket.org/malb/m4ri"
 distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
 checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From 7b9bb631e06d0b17b70bbc83becd9bf8a4dc8809 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Mon, 23 Aug 2021 14:53:03 +0200
Subject: [PATCH 4/4] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 15 +++++++++++++--
 3 files changed, 15 insertions(+), 2 deletions(-)
 create mode 120000 srcpkgs/m4rie-devel

diff --git a/common/shlibs b/common/shlibs
index 290110a5af79..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -25,6 +25,7 @@ libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
index b1a740bac281..cc2b71743a9b 100644
--- a/srcpkgs/m4rie/template
+++ b/srcpkgs/m4rie/template
@@ -4,10 +4,21 @@ version=20200125
 revision=1
 build_style=gnu-configure
 hostmakedepends="pkg-config autoconf automake libtool"
-makedepends="m4ri"
+makedepends="m4ri-devel"
 short_desc="Library for fast arithmetic with dense matrices over GF(2^e)."
 maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
-license="GPL-3.0-or-later"
+license="GPL-2.0-or-later"
 homepage="https://bitbucket.org/malb/m4rie"
 distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
 checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4ri-devel_package() {
+    	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (48 preceding siblings ...)
  2021-08-23 12:54 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-23 12:55 ` Eloitor
  2021-08-23 12:57 ` Eloitor
                   ` (64 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-23 12:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4091 bytes --]

From d7ce908c77eab1aa3c3ab1e4889b7129511cb475 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  3 +++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..290110a5af79 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,9 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From ba5caa8522b035c9c7a24db236214b76e27a2f6c Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 24 ++++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/m4rie-devel
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 290110a5af79..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -25,6 +25,7 @@ libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..cc2b71743a9b
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,24 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4ri-devel"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4ri-devel_package() {
+    	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (49 preceding siblings ...)
  2021-08-23 12:55 ` Eloitor
@ 2021-08-23 12:57 ` Eloitor
  2021-08-23 12:58 ` Eloitor
                   ` (63 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-23 12:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4895 bytes --]

From d7ce908c77eab1aa3c3ab1e4889b7129511cb475 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/3] New package: m4ri-20200125

---
 common/shlibs         |  3 +++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..290110a5af79 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,9 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From ba5caa8522b035c9c7a24db236214b76e27a2f6c Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/3] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 24 ++++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/m4rie-devel
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 290110a5af79..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -25,6 +25,7 @@ libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..cc2b71743a9b
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,24 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4ri-devel"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4ri-devel_package() {
+    	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From 2f633b48053a58ade8d6bc4242a3950ab541197d Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Mon, 23 Aug 2021 14:57:16 +0200
Subject: [PATCH 3/3] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
index cc2b71743a9b..e3bbc128bfb9 100644
--- a/srcpkgs/m4rie/template
+++ b/srcpkgs/m4rie/template
@@ -12,7 +12,7 @@ homepage="https://bitbucket.org/malb/m4rie"
 distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
 checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
 
-m4ri-devel_package() {
+m4rie-devel_package() {
     	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"
 	pkg_install() {

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (50 preceding siblings ...)
  2021-08-23 12:57 ` Eloitor
@ 2021-08-23 12:58 ` Eloitor
  2021-08-23 14:28 ` Eloitor
                   ` (62 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-23 12:58 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4092 bytes --]

From d7ce908c77eab1aa3c3ab1e4889b7129511cb475 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  3 +++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..290110a5af79 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,9 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From 247cb469d38418d54b3c31bb2b7f7ffe0f5ea1a2 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 24 ++++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/m4rie-devel
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 290110a5af79..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -25,6 +25,7 @@ libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..e3bbc128bfb9
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,24 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4ri-devel"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4rie-devel_package() {
+    	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (51 preceding siblings ...)
  2021-08-23 12:58 ` Eloitor
@ 2021-08-23 14:28 ` Eloitor
  2021-08-23 14:30 ` Eloitor
                   ` (61 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-23 14:28 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 5304 bytes --]

From d7ce908c77eab1aa3c3ab1e4889b7129511cb475 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/3] New package: m4ri-20200125

---
 common/shlibs         |  3 +++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..290110a5af79 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,9 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From 247cb469d38418d54b3c31bb2b7f7ffe0f5ea1a2 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/3] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 24 ++++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/m4rie-devel
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 290110a5af79..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -25,6 +25,7 @@ libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..e3bbc128bfb9
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,24 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4ri-devel"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)."
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4rie-devel_package() {
+    	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/*.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From e19cf94f37f891fb849ccfe47bae05a441fd2bd4 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Mon, 23 Aug 2021 16:28:07 +0200
Subject: [PATCH 3/3] New package: m4rie-20200125

---
 srcpkgs/m4rie/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
index e3bbc128bfb9..24ac84ea9c67 100644
--- a/srcpkgs/m4rie/template
+++ b/srcpkgs/m4rie/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 hostmakedepends="pkg-config autoconf automake libtool"
 makedepends="m4ri-devel"
-short_desc="Library for fast arithmetic with dense matrices over GF(2^e)."
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
 maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
 license="GPL-2.0-or-later"
 homepage="https://bitbucket.org/malb/m4rie"
@@ -13,7 +13,7 @@ distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
 checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
 
 m4rie-devel_package() {
-    	short_desc+=" - development files"
+	short_desc+=" - development files"
 	depends="${sourcepkg}>=${version}_${revision}"
 	pkg_install() {
 		vmove usr/include

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (52 preceding siblings ...)
  2021-08-23 14:28 ` Eloitor
@ 2021-08-23 14:30 ` Eloitor
  2021-08-23 15:20 ` tornaria
                   ` (60 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-23 14:30 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903828010

Comment:
Ok, now `m4ri` and `m4ri-devel` work fine, but when I try to build `m4rie` I get
```
=> ERROR: m4rie-devel-20200125_1: failed to install 'm4ri-devel-20200125_1' dependency! (error 17)
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/brilliantrussian.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/debug_dump.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/djb.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/echelonform.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/graycode.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/io.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/m4ri.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/m4ri_config.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/misc.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/mmc.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/mp.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/mzd.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/mzp.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/parity.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/ple.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/ple_russian.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/ple_russian_template.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/solve.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/strassen.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/triangular.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/triangular_russian.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/xor.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/include/m4ri/xor_template.h' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/lib/libm4ri-0.0.20200125.so' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/lib/libm4ri.a' already installed by package m4ri-20200125_1.
ERROR: m4ri-devel-20200125_1: file `/usr/lib/libm4ri.so' already installed by package m4ri-20200125_1.
Transaction failed! see above for errors.
```

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (53 preceding siblings ...)
  2021-08-23 14:30 ` Eloitor
@ 2021-08-23 15:20 ` tornaria
  2021-08-23 18:19 ` [PR PATCH] [Updated] " Eloitor
                   ` (59 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-08-23 15:20 UTC (permalink / raw)
  To: ml

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

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-903869829

Comment:
Your `m4ri` package has installed files that it shouldn't have. Isn't that clear from the log?. Clean up (remove pkg and reinstall).

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (54 preceding siblings ...)
  2021-08-23 15:20 ` tornaria
@ 2021-08-23 18:19 ` Eloitor
  2021-08-23 18:22 ` Eloitor
                   ` (58 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-23 18:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4094 bytes --]

From d7ce908c77eab1aa3c3ab1e4889b7129511cb475 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  3 +++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..290110a5af79 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,9 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From 9ecd5373d43263943dbe2c3372de560ade208fff Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 24 ++++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/m4rie-devel
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 290110a5af79..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -25,6 +25,7 @@ libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..849f8b0ee505
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,24 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4ri-devel"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4rie-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4rie.so"
+		vmove usr/lib/pkgconfig
+	}
+}

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (55 preceding siblings ...)
  2021-08-23 18:19 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-23 18:22 ` Eloitor
  2021-08-23 18:22 ` Eloitor
                   ` (57 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-23 18:22 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-904006215

Comment:
Oh thanks! I had to remove by hand the folder m4rie from hostdir/binpkgs. Now I get the same as before:
```
=> ERROR: m4rie-20200125_1: PKGDESTDIR is empty and build_style != meta
=> ERROR: m4rie-20200125_1: cannot continue with installation!
```

But now I have `vmove "usr/lib/libm4rie.so"` in the template...

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (56 preceding siblings ...)
  2021-08-23 18:22 ` Eloitor
@ 2021-08-23 18:22 ` Eloitor
  2021-08-23 18:38 ` [PR REVIEW] " dkwo
                   ` (56 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-23 18:22 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-904006215

Comment:
Oh thanks! I had to remove by hand the folder m4rie from hostdir/binpkgs. Now I get the same as before:
```
=> ERROR: m4rie-20200125_1: PKGDESTDIR is empty and build_style != meta
=> ERROR: m4rie-20200125_1: cannot continue with installation!
```

But this time I have `vmove "usr/lib/libm4rie.so"` in the template...

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (57 preceding siblings ...)
  2021-08-23 18:22 ` Eloitor
@ 2021-08-23 18:38 ` dkwo
  2021-08-23 19:54 ` Eloitor
                   ` (55 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-23 18:38 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r694217181

Comment:
Why is m4riE here?

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (58 preceding siblings ...)
  2021-08-23 18:38 ` [PR REVIEW] " dkwo
@ 2021-08-23 19:54 ` Eloitor
  2021-08-23 19:55 ` [PR PATCH] [Updated] " Eloitor
                   ` (54 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-23 19:54 UTC (permalink / raw)
  To: ml

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

New review comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r694265027

Comment:
Otherwise I get
```
=> WARNING: m4rie-20200125_1: libm4rie-0.0.20200125.so not found in common/shlibs!
```

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (59 preceding siblings ...)
  2021-08-23 19:54 ` Eloitor
@ 2021-08-23 19:55 ` Eloitor
  2021-08-24  6:57 ` dkwo
                   ` (53 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-23 19:55 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4803 bytes --]

From d7ce908c77eab1aa3c3ab1e4889b7129511cb475 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/3] New package: m4ri-20200125

---
 common/shlibs         |  3 +++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..290110a5af79 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,9 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From 9ecd5373d43263943dbe2c3372de560ade208fff Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:53:12 +0200
Subject: [PATCH 2/3] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 24 ++++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/m4rie-devel
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 290110a5af79..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -25,6 +25,7 @@ libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..849f8b0ee505
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,24 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+hostmakedepends="pkg-config autoconf automake libtool"
+makedepends="m4ri-devel"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie"
+distfiles="${homepage}/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4rie-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4rie.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From 2d6f0315cbd53a8d2ffd5551a5346f379f4f2813 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Mon, 23 Aug 2021 21:55:12 +0200
Subject: [PATCH 3/3] New package: m4rie-20200125

---
 common/shlibs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/common/shlibs b/common/shlibs
index a85d6caa0f0a..366044d3e83c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,7 +24,6 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
-libm4rie-0.0.20200125.so m4rie-20200125_1
 libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (60 preceding siblings ...)
  2021-08-23 19:55 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-24  6:57 ` dkwo
  2021-08-24  6:59 ` [PR PATCH] [Updated] " Eloitor
                   ` (52 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-24  6:57 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-904374002

Comment:
I still don't understand the reason for mentioning m4rie in the m4ri shlibs commit.

Can you always `xlint` and squash your commits?

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (61 preceding siblings ...)
  2021-08-24  6:57 ` dkwo
@ 2021-08-24  6:59 ` Eloitor
  2021-08-24  7:00 ` Eloitor
                   ` (51 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24  6:59 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 2780 bytes --]

From d7ce908c77eab1aa3c3ab1e4889b7129511cb475 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  3 +++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..290110a5af79 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,9 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From 4cbf2e1354c430f09494b86e0ae05d0e7bd8152b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Mon, 23 Aug 2021 21:55:12 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 290110a5af79..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -25,6 +25,7 @@ libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (62 preceding siblings ...)
  2021-08-24  6:59 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-24  7:00 ` Eloitor
  2021-08-24  7:13 ` [PR PATCH] [Updated] " Eloitor
                   ` (50 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24  7:00 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-904375652

Comment:
> I still don't understand the reason for mentioning m4rie in the m4ri shlibs commit.

Oh , this is because I did the commits wrong

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (63 preceding siblings ...)
  2021-08-24  7:00 ` Eloitor
@ 2021-08-24  7:13 ` Eloitor
  2021-08-24  7:19 ` Eloitor
                   ` (49 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24  7:13 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 3488 bytes --]

From d7ce908c77eab1aa3c3ab1e4889b7129511cb475 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/3] New package: m4ri-20200125

---
 common/shlibs         |  3 +++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..290110a5af79 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,9 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From 4cbf2e1354c430f09494b86e0ae05d0e7bd8152b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Mon, 23 Aug 2021 21:55:12 +0200
Subject: [PATCH 2/3] New package: m4rie-20200125

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 290110a5af79..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -25,6 +25,7 @@ libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel

From d5645dc80813adb9a5c245fbf60ff2ee75badd8b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 09:12:19 +0200
Subject: [PATCH 3/3] New package: m4ri-20200125

---
 common/shlibs | 1 -
 1 file changed, 1 deletion(-)

diff --git a/common/shlibs b/common/shlibs
index a85d6caa0f0a..366044d3e83c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,7 +24,6 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
-libm4rie-0.0.20200125.so m4rie-20200125_1
 libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (64 preceding siblings ...)
  2021-08-24  7:13 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-24  7:19 ` Eloitor
  2021-08-24  7:22 ` Eloitor
                   ` (48 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24  7:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 2774 bytes --]

From 125730e26b053ee49d61eef727803dcfec0b0412 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  3 +++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..366044d3e83c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,9 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From f199b8be59c98aca2095f1fefdf9c3f6ea56c3f7 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Mon, 23 Aug 2021 21:55:12 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 366044d3e83c..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,6 +24,7 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (65 preceding siblings ...)
  2021-08-24  7:19 ` Eloitor
@ 2021-08-24  7:22 ` Eloitor
  2021-08-24  7:30 ` Eloitor
                   ` (47 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24  7:22 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 2774 bytes --]

From cd0e84aeaf70d11e2bc718f6990fbfd538d72c9c Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  3 +++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..366044d3e83c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,9 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From 02d93e1e73168feb6726348f604945b728c86bb5 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Mon, 23 Aug 2021 21:55:12 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 366044d3e83c..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,6 +24,7 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (66 preceding siblings ...)
  2021-08-24  7:22 ` Eloitor
@ 2021-08-24  7:30 ` Eloitor
  2021-08-24  7:51 ` Eloitor
                   ` (46 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24  7:30 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 3521 bytes --]

From cd0e84aeaf70d11e2bc718f6990fbfd538d72c9c Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Sat, 21 Aug 2021 09:52:03 +0200
Subject: [PATCH 1/3] New package: m4ri-20200125

---
 common/shlibs         |  3 +++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..366044d3e83c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,9 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From 02d93e1e73168feb6726348f604945b728c86bb5 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Mon, 23 Aug 2021 21:55:12 +0200
Subject: [PATCH 2/3] New package: m4rie-20200125

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 366044d3e83c..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,6 +24,7 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686

From d1afc1c2d36d076ef65c8659be8404b378daf77c Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 09:23:59 +0200
Subject: [PATCH 3/3] New package: m4ri-20200125

---
 common/shlibs | 2 --
 1 file changed, 2 deletions(-)

diff --git a/common/shlibs b/common/shlibs
index a85d6caa0f0a..d2154f0ca25a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,8 +24,6 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
-libm4rie-0.0.20200125.so m4rie-20200125_1
-libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (67 preceding siblings ...)
  2021-08-24  7:30 ` Eloitor
@ 2021-08-24  7:51 ` Eloitor
  2021-08-24  7:53 ` Eloitor
                   ` (45 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24  7:51 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 2774 bytes --]

From 717673a445819e4c6341bf71c7d8488e0aa96f02 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 09:23:59 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  3 +++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 29 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..366044d3e83c 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,9 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From ca0d64464a1b08b9e7fe13dc955ff35d1ff7b7d0 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Mon, 23 Aug 2021 21:55:12 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 366044d3e83c..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,6 +24,7 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (68 preceding siblings ...)
  2021-08-24  7:51 ` Eloitor
@ 2021-08-24  7:53 ` Eloitor
  2021-08-24  7:54 ` Eloitor
                   ` (44 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24  7:53 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 2829 bytes --]

From 7d0fb6aa073f5af245d23308524e6945588136c1 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 09:23:59 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  4 ++++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..6f01014cd1d9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,10 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From c5af2923a669255cec4081f0dc52cc46210683f4 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Mon, 23 Aug 2021 21:55:12 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 6f01014cd1d9..a77a6b4588d0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,6 +24,7 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (69 preceding siblings ...)
  2021-08-24  7:53 ` Eloitor
@ 2021-08-24  7:54 ` Eloitor
  2021-08-24  8:22 ` Eloitor
                   ` (43 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24  7:54 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 2829 bytes --]

From 7b8feabf6c2405951271246fb8ed72474a53e09f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 09:53:54 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  4 ++++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 30 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..6f01014cd1d9 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,10 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From a544dccf1dceb501f40bb255d0b183a978f68790 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Mon, 23 Aug 2021 21:55:12 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs | 1 +
 1 file changed, 1 insertion(+)

diff --git a/common/shlibs b/common/shlibs
index 6f01014cd1d9..a77a6b4588d0 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,6 +24,7 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (70 preceding siblings ...)
  2021-08-24  7:54 ` Eloitor
@ 2021-08-24  8:22 ` Eloitor
  2021-08-24  8:38 ` Eloitor
                   ` (42 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24  8:22 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 2010 bytes --]

From dba06dea74b9ee104fffdc2dd0bb3723d6a0148a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 09:53:54 +0200
Subject: [PATCH] New package: m4ri-20200125

---
 common/shlibs         |  2 ++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..d2154f0ca25a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,8 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (71 preceding siblings ...)
  2021-08-24  8:22 ` Eloitor
@ 2021-08-24  8:38 ` Eloitor
  2021-08-24  8:50 ` [PR REVIEW] " dkwo
                   ` (41 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24  8:38 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4050 bytes --]

From dba06dea74b9ee104fffdc2dd0bb3723d6a0148a Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 09:53:54 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  2 ++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..d2154f0ca25a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,8 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..87bad85cdbb6
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="${homepage}/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From 35b141acb6b6654b9f879a6d8323af248152010b Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 10:38:24 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs          |  2 ++
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 23 +++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/m4rie-devel
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index d2154f0ca25a..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,6 +24,8 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..13ceb271468c
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,23 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+makedepends="m4ri-devel"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4rie-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4rie.so"
+		vmove usr/lib/pkgconfig
+	}
+}

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (72 preceding siblings ...)
  2021-08-24  8:38 ` Eloitor
@ 2021-08-24  8:50 ` dkwo
  2021-08-24  8:52 ` dkwo
                   ` (40 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-24  8:50 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r694651789

Comment:
It seems people prefer to not use `${homepage}`, could you change this to
`distfiles="https://bitbucket.org/malb/m4ri/downloads/${pkgname}-${version}.tar.gz"`
instead?

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (73 preceding siblings ...)
  2021-08-24  8:50 ` [PR REVIEW] " dkwo
@ 2021-08-24  8:52 ` dkwo
  2021-08-24  9:19 ` [PR PATCH] [Updated] " Eloitor
                   ` (39 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-24  8:52 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-904453176

Comment:
and rebase?

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (74 preceding siblings ...)
  2021-08-24  8:52 ` dkwo
@ 2021-08-24  9:19 ` Eloitor
  2021-08-24  9:23 ` Eloitor
                   ` (38 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24  9:19 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4070 bytes --]

From a647668450254e930be0c692912051774ab74a12 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 09:53:54 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  2 ++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..d2154f0ca25a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,8 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..e9b255fc6987
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="https://bitbucket.org/malb/m4ri/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From c7d6bbe0601a536267b59c827222e307c113d749 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 10:38:24 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs          |  2 ++
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 23 +++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/m4rie-devel
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index d2154f0ca25a..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,6 +24,8 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..13ceb271468c
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,23 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+makedepends="m4ri-devel"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4rie-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4rie.so"
+		vmove usr/lib/pkgconfig
+	}
+}

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (75 preceding siblings ...)
  2021-08-24  9:19 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-24  9:23 ` Eloitor
  2021-08-24  9:25 ` dkwo
                   ` (37 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24  9:23 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-904476458

Comment:
> and rebase?

How should I solve this?
```
Your branches is based on too old copy.
Please rebase to newest copy.
```
I'm not very experienced with git.

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (76 preceding siblings ...)
  2021-08-24  9:23 ` Eloitor
@ 2021-08-24  9:25 ` dkwo
  2021-08-24  9:26 ` dkwo
                   ` (36 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-24  9:25 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-904477743

Comment:
I do `git rebase master`

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (77 preceding siblings ...)
  2021-08-24  9:25 ` dkwo
@ 2021-08-24  9:26 ` dkwo
  2021-08-24 11:48 ` [PR PATCH] [Updated] " Eloitor
                   ` (35 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-24  9:26 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-904478144

Comment:
(of course after doing `git pull --rebase` from the master branch.)

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (78 preceding siblings ...)
  2021-08-24  9:26 ` dkwo
@ 2021-08-24 11:48 ` Eloitor
  2021-08-25 22:31 ` Eloitor
                   ` (34 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-24 11:48 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4070 bytes --]

From a647668450254e930be0c692912051774ab74a12 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 09:53:54 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  2 ++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..d2154f0ca25a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,8 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..e9b255fc6987
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="https://bitbucket.org/malb/m4ri/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From c7d6bbe0601a536267b59c827222e307c113d749 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 10:38:24 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs          |  2 ++
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 23 +++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/m4rie-devel
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index d2154f0ca25a..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,6 +24,8 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..13ceb271468c
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,23 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+makedepends="m4ri-devel"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4rie-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4rie.so"
+		vmove usr/lib/pkgconfig
+	}
+}

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (79 preceding siblings ...)
  2021-08-24 11:48 ` [PR PATCH] [Updated] " Eloitor
@ 2021-08-25 22:31 ` Eloitor
  2021-08-26  7:19 ` dkwo
                   ` (33 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-25 22:31 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4070 bytes --]

From a647668450254e930be0c692912051774ab74a12 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 09:53:54 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  2 ++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index befa6484dfee..d2154f0ca25a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,8 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..e9b255fc6987
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="https://bitbucket.org/malb/m4ri/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4ri.so"
+		vmove usr/lib/pkgconfig
+	}
+}

From c7d6bbe0601a536267b59c827222e307c113d749 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloi.torrentsj@gmail.com>
Date: Tue, 24 Aug 2021 10:38:24 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs          |  2 ++
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 23 +++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/m4rie-devel
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index d2154f0ca25a..a85d6caa0f0a 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,6 +24,8 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..13ceb271468c
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,23 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+makedepends="m4ri-devel"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4rie-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove "usr/lib/libm4rie.so"
+		vmove usr/lib/pkgconfig
+	}
+}

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (80 preceding siblings ...)
  2021-08-25 22:31 ` Eloitor
@ 2021-08-26  7:19 ` dkwo
  2021-08-26  8:46 ` Eloitor
                   ` (32 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-26  7:19 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-906158896

Comment:
You should get rid of these merge branch commits.

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (81 preceding siblings ...)
  2021-08-26  7:19 ` dkwo
@ 2021-08-26  8:46 ` Eloitor
  2021-08-26  8:47 ` Eloitor
                   ` (31 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-26  8:46 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-906215695

Comment:
I don't know how to do it.... I clicked the "fetch upstream" button on my branch from github...

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (82 preceding siblings ...)
  2021-08-26  8:46 ` Eloitor
@ 2021-08-26  8:47 ` Eloitor
  2021-08-26  9:05 ` dkwo
                   ` (30 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-08-26  8:47 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-906215695

Comment:
I don't know how to do it.... I clicked the "fetch upstream" button on my branch from github...
I tried a rebase, but these commits do not appear...

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (83 preceding siblings ...)
  2021-08-26  8:47 ` Eloitor
@ 2021-08-26  9:05 ` dkwo
  2021-08-26  9:05 ` [PR REVIEW] " dkwo
                   ` (29 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-26  9:05 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-906228952

Comment:
You can just start afresh and force push to the same branch on github.

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (84 preceding siblings ...)
  2021-08-26  9:05 ` dkwo
@ 2021-08-26  9:05 ` dkwo
  2021-08-26  9:06 ` dkwo
                   ` (28 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-26  9:05 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r696439919

Comment:
why is this into quotations?

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (85 preceding siblings ...)
  2021-08-26  9:05 ` [PR REVIEW] " dkwo
@ 2021-08-26  9:06 ` dkwo
  2021-08-26  9:18 ` dkwo
                   ` (27 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-26  9:06 UTC (permalink / raw)
  To: ml

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

New review comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r696440363

Comment:
same as above

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (86 preceding siblings ...)
  2021-08-26  9:06 ` dkwo
@ 2021-08-26  9:18 ` dkwo
  2021-09-02 21:29 ` [PR PATCH] [Updated] " Eloitor
                   ` (26 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-08-26  9:18 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-906238459

Comment:
Btw, I get no errors building your PR.

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (87 preceding siblings ...)
  2021-08-26  9:18 ` dkwo
@ 2021-09-02 21:29 ` Eloitor
  2021-09-02 21:40 ` Eloitor
                   ` (25 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-09-02 21:29 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4058 bytes --]

From d6de852e0440d4b105a25b51d05e92875336a02f Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitorrentsj@gmail.com>
Date: Thu, 2 Sep 2021 22:39:15 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  2 ++
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 25 +++++++++++++++++++++++++
 3 files changed, 28 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index 87c27c459aad..80318ae34cfb 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,8 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4ri-0.0.20200125.so m4ri-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..37794849f946
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,25 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="https://bitbucket.org/malb/m4ri/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/*.a
+		vmove usr/lib/libm4ri.so
+		vmove usr/lib/pkgconfig
+	}
+}

From a6fa5ba866cba344bbacf52d4370b821d4491236 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitorrentsj@gmail.com>
Date: Thu, 2 Sep 2021 23:18:10 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs          |  2 ++
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 23 +++++++++++++++++++++++
 3 files changed, 26 insertions(+)
 create mode 120000 srcpkgs/m4rie-devel
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 80318ae34cfb..7cdbc25a0b9d 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -24,6 +24,8 @@ librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
 libm4ri-0.0.20200125.so m4ri-devel-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
+libm4rie-0.0.20200125.so m4rie-devel-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..4b21a103721f
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,23 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+makedepends="m4ri-devel"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4rie-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove usr/lib/*.a
+		vmove usr/lib/libm4rie.so
+		vmove usr/lib/pkgconfig
+	}
+}

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (88 preceding siblings ...)
  2021-09-02 21:29 ` [PR PATCH] [Updated] " Eloitor
@ 2021-09-02 21:40 ` Eloitor
  2021-09-02 21:41 ` [PR REVIEW] " tornaria
                   ` (24 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-09-02 21:40 UTC (permalink / raw)
  To: ml

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

New comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-912077648

Comment:
How should I fix the 686 build?

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (89 preceding siblings ...)
  2021-09-02 21:40 ` Eloitor
@ 2021-09-02 21:41 ` tornaria
  2021-09-02 21:41 ` tornaria
                   ` (23 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-09-02 21:41 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r701439969

Comment:
This one needs quotes. Whenever there's globbing (* or ?) you need quotes.

For the others, quotes are optional, and the team prefers you to NOT use quotes when they are not necessary.

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (90 preceding siblings ...)
  2021-09-02 21:41 ` [PR REVIEW] " tornaria
@ 2021-09-02 21:41 ` tornaria
  2021-09-02 21:41 ` tornaria
                   ` (22 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-09-02 21:41 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r701440553

Comment:
Same as above, remove "m4rie-devel" here.

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (91 preceding siblings ...)
  2021-09-02 21:41 ` tornaria
@ 2021-09-02 21:41 ` tornaria
  2021-09-02 21:41 ` tornaria
                   ` (21 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-09-02 21:41 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r701438983

Comment:
Please remove this line: the soname is in the package "m4ri", not in the package "m4ri-devel".

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (92 preceding siblings ...)
  2021-09-02 21:41 ` tornaria
@ 2021-09-02 21:41 ` tornaria
  2021-09-02 21:47 ` tornaria
                   ` (20 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-09-02 21:41 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r701440828

Comment:
Same, this one needs quotes.

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (93 preceding siblings ...)
  2021-09-02 21:41 ` tornaria
@ 2021-09-02 21:47 ` tornaria
  2021-09-02 21:49 ` tornaria
                   ` (19 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-09-02 21:47 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r701444202

Comment:
Here I suggest adding the following
```
build_options="native_build"

if [ -z "$build_option_native_build" ]; then
	# this disables sse3
	configure_args="--disable-sse2"
fi
```

If I'm not mistaken this will:
a. disable sse3 for x86_64
b. disable sse2 for i686

In particular, I expect this should fix the failure for the i686 build.


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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (94 preceding siblings ...)
  2021-09-02 21:47 ` tornaria
@ 2021-09-02 21:49 ` tornaria
  2021-09-02 21:50 ` tornaria
                   ` (18 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-09-02 21:49 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r701445269

Comment:
PS: I think this is only necessary for m4ri, because m4rie will use the same cflags as m4ri.

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (95 preceding siblings ...)
  2021-09-02 21:49 ` tornaria
@ 2021-09-02 21:50 ` tornaria
  2021-09-02 22:22 ` tornaria
                   ` (17 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-09-02 21:50 UTC (permalink / raw)
  To: ml

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

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-912083161

Comment:
For the i686 failure

> How should I fix the 686 build?

Try what I suggested in my last comment.

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (96 preceding siblings ...)
  2021-09-02 21:50 ` tornaria
@ 2021-09-02 22:22 ` tornaria
  2021-09-03  5:34 ` [PR PATCH] [Updated] " Eloitor
                   ` (16 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-09-02 22:22 UTC (permalink / raw)
  To: ml

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

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-912100685

Comment:
> For the i686 failure
> 
> > How should I fix the 686 build?
> 
> Try what I suggested in my last comment.

Or.. if you want really simple: just add `--disable-sse2` to `configure_args` in package `m4ri` (as I said, I don't think this is necessary for m4rie).

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (97 preceding siblings ...)
  2021-09-02 22:22 ` tornaria
@ 2021-09-03  5:34 ` Eloitor
  2021-09-03  5:43 ` Eloitor
                   ` (15 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-09-03  5:34 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4095 bytes --]

From 4a9365ce465564d30f68cc620c2dc7fd1e965cd9 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitorrentsj@gmail.com>
Date: Thu, 2 Sep 2021 22:39:15 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index 87c27c459aad..3591316dd128 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..c38883e56c41
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,32 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="https://bitbucket.org/malb/m4ri/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+build_options="native_build"
+
+if [ -z "$build_option_native_build" ]; then
+	# this disables sse3
+	configure_args="--disable-sse2"
+fi
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove usr/lib/libm4ri.so
+		vmove usr/lib/pkgconfig
+	}
+}

From c81988303a5ec849a5deb2950f59b65b9a1b8ba7 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitorrentsj@gmail.com>
Date: Thu, 2 Sep 2021 23:18:10 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 23 +++++++++++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 120000 srcpkgs/m4rie-devel
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 3591316dd128..0b07096fcee5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..541095c1e866
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,23 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+makedepends="m4ri-devel"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4rie-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove usr/lib/libm4rie.so
+		vmove usr/lib/pkgconfig
+	}
+}

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

* Re: [PR PATCH] [Updated] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (98 preceding siblings ...)
  2021-09-03  5:34 ` [PR PATCH] [Updated] " Eloitor
@ 2021-09-03  5:43 ` Eloitor
  2021-09-03  9:23 ` dkwo
                   ` (14 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-09-03  5:43 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Eloitor/void-packages m4rie
https://github.com/void-linux/void-packages/pull/32601

New math package: m4rie-20200125
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-m4rie-32601.patch --]
[-- Type: text/x-diff, Size: 4095 bytes --]

From c2d98ee84c65b0682c9f8493c10f3d712a261d61 Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitorrentsj@gmail.com>
Date: Thu, 2 Sep 2021 22:39:15 +0200
Subject: [PATCH 1/2] New package: m4ri-20200125

---
 common/shlibs         |  1 +
 srcpkgs/m4ri-devel    |  1 +
 srcpkgs/m4ri/template | 32 ++++++++++++++++++++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 120000 srcpkgs/m4ri-devel
 create mode 100644 srcpkgs/m4ri/template

diff --git a/common/shlibs b/common/shlibs
index 87c27c459aad..3591316dd128 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -22,6 +22,7 @@ libm.so.6 glibc-2.32_1
 libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
+libm4ri-0.0.20200125.so m4ri-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4ri-devel b/srcpkgs/m4ri-devel
new file mode 120000
index 000000000000..a269c97b0d75
--- /dev/null
+++ b/srcpkgs/m4ri-devel
@@ -0,0 +1 @@
+m4ri
\ No newline at end of file
diff --git a/srcpkgs/m4ri/template b/srcpkgs/m4ri/template
new file mode 100644
index 000000000000..c38883e56c41
--- /dev/null
+++ b/srcpkgs/m4ri/template
@@ -0,0 +1,32 @@
+# Template file for 'm4ri'
+pkgname=m4ri
+version=20200125
+revision=1
+build_style=gnu-configure
+configure_args="--enable-openmp"
+hostmakedepends=pkg-config
+makedepends=libpng-devel
+short_desc="Library for fast arithmetic with dense matrices over GF(2)"
+maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4ri"
+distfiles="https://bitbucket.org/malb/m4ri/downloads/${pkgname}-${version}.tar.gz"
+checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
+
+build_options="native_build"
+
+if [ -z "$build_option_native_build" ]; then
+	# this disables sse3
+	configure_args="--disable-sse2"
+fi
+
+m4ri-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove usr/lib/libm4ri.so
+		vmove usr/lib/pkgconfig
+	}
+}

From 84648ddd4e7ab8c22c228a1e3ed137f58318f4ff Mon Sep 17 00:00:00 2001
From: Eloi Torrents <eloitorrentsj@gmail.com>
Date: Thu, 2 Sep 2021 23:18:10 +0200
Subject: [PATCH 2/2] New package: m4rie-20200125

---
 common/shlibs          |  1 +
 srcpkgs/m4rie-devel    |  1 +
 srcpkgs/m4rie/template | 23 +++++++++++++++++++++++
 3 files changed, 25 insertions(+)
 create mode 120000 srcpkgs/m4rie-devel
 create mode 100644 srcpkgs/m4rie/template

diff --git a/common/shlibs b/common/shlibs
index 3591316dd128..0b07096fcee5 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -23,6 +23,7 @@ libpthread.so.0 glibc-2.32_1
 librt.so.1 glibc-2.32_1
 libdl.so.2 glibc-2.32_1
 libm4ri-0.0.20200125.so m4ri-20200125_1
+libm4rie-0.0.20200125.so m4rie-20200125_1
 ld-linux-x86-64.so.2 glibc-2.32_1 x86_64
 ld-linux.so.2 glibc-2.32_1 i686
 ld-linux.so.3 glibc-2.32_1 armv5tel
diff --git a/srcpkgs/m4rie-devel b/srcpkgs/m4rie-devel
new file mode 120000
index 000000000000..664b7673e9ca
--- /dev/null
+++ b/srcpkgs/m4rie-devel
@@ -0,0 +1 @@
+m4rie
\ No newline at end of file
diff --git a/srcpkgs/m4rie/template b/srcpkgs/m4rie/template
new file mode 100644
index 000000000000..541095c1e866
--- /dev/null
+++ b/srcpkgs/m4rie/template
@@ -0,0 +1,23 @@
+# Template file for 'm4rie'
+pkgname=m4rie
+version=20200125
+revision=1
+build_style=gnu-configure
+makedepends="m4ri-devel"
+short_desc="Library for fast arithmetic with dense matrices over GF(2^e)"
+maintainer="Eloi Torrents <eloi.torrentsj@gmail.com>"
+license="GPL-2.0-or-later"
+homepage="https://bitbucket.org/malb/m4rie/wiki/Home"
+distfiles="https://bitbucket.org/malb/m4rie/downloads/m4rie-${version}.tar.gz"
+checksum=7f3107f7cd10f6c22d9663d9536e1af2f551e10183601852a60d760918caf58d
+
+m4rie-devel_package() {
+	short_desc+=" - development files"
+	depends="${sourcepkg}>=${version}_${revision}"
+	pkg_install() {
+		vmove usr/include
+		vmove "usr/lib/*.a"
+		vmove usr/lib/libm4rie.so
+		vmove usr/lib/pkgconfig
+	}
+}

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (99 preceding siblings ...)
  2021-09-03  5:43 ` Eloitor
@ 2021-09-03  9:23 ` dkwo
  2021-09-03 13:26 ` tornaria
                   ` (13 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-09-03  9:23 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-912394419

Comment:
With the fix, it now cross builds fine.
It also works fine with sage9.4.

Perhaps we can ping @ericonr for review of math libraries?

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (100 preceding siblings ...)
  2021-09-03  9:23 ` dkwo
@ 2021-09-03 13:26 ` tornaria
  2021-11-08 17:31 ` [PR REVIEW] " leahneukirchen
                   ` (12 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-09-03 13:26 UTC (permalink / raw)
  To: ml

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

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-912539453

Comment:
@ericonr: LGTM

I used this to build and doctest sage-9.4 on x86_64, x86_64-musl and i686. I have yet to try cross-building sage, but I wouldn't be able to doctest anyway (maybe I should get a modern rpi). I routinely test in the three architectures I can easily do. The sage test suite is very comprehensive (takes 2-3 hours cpu time and tests external libraries are really working).

Note that we will need the `m4rie` soname for another package so can we please leave it in there?

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (101 preceding siblings ...)
  2021-09-03 13:26 ` tornaria
@ 2021-11-08 17:31 ` leahneukirchen
  2021-11-08 17:34 ` leahneukirchen
                   ` (11 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: leahneukirchen @ 2021-11-08 17:31 UTC (permalink / raw)
  To: ml

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

New review comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r744945649

Comment:
is this a typo, or redundant?

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (102 preceding siblings ...)
  2021-11-08 17:31 ` [PR REVIEW] " leahneukirchen
@ 2021-11-08 17:34 ` leahneukirchen
  2021-11-08 17:35 ` leahneukirchen
                   ` (10 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: leahneukirchen @ 2021-11-08 17:34 UTC (permalink / raw)
  To: ml

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

New review comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r744948428

Comment:
Usually these things need gomp-devel then, can you verify it uses openmp?

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (103 preceding siblings ...)
  2021-11-08 17:34 ` leahneukirchen
@ 2021-11-08 17:35 ` leahneukirchen
  2021-11-08 17:38 ` tornaria
                   ` (9 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: leahneukirchen @ 2021-11-08 17:35 UTC (permalink / raw)
  To: ml

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

New review comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r744949020

Comment:
Please add the sonames to the end, not right between our glibc linkers...

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (104 preceding siblings ...)
  2021-11-08 17:35 ` leahneukirchen
@ 2021-11-08 17:38 ` tornaria
  2021-11-08 17:52 ` leahneukirchen
                   ` (8 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-11-08 17:38 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r744951234

Comment:
IIRC, there is no flag to disable sse3; `-msse3` is enabled based on cpu testing. However, if you disable sse2 then this disables sse3 as well. Moreover, this will not disable sse2 on x86_64 since it's baseline for that arch.

The comment might be mine, I'm usually too terse...

See https://github.com/void-linux/void-packages/pull/32601#discussion_r701444202

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (105 preceding siblings ...)
  2021-11-08 17:38 ` tornaria
@ 2021-11-08 17:52 ` leahneukirchen
  2021-11-08 17:55 ` leahneukirchen
                   ` (7 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: leahneukirchen @ 2021-11-08 17:52 UTC (permalink / raw)
  To: ml

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

New review comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r744962202

Comment:
You don't need to disable SSE2 on i686, we assume it's there.

According to a quick review of the code only SSE2 is used?

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (106 preceding siblings ...)
  2021-11-08 17:52 ` leahneukirchen
@ 2021-11-08 17:55 ` leahneukirchen
  2021-11-08 17:57 ` leahneukirchen
                   ` (6 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: leahneukirchen @ 2021-11-08 17:55 UTC (permalink / raw)
  To: ml

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

New review comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r744964480

Comment:
Aha, the fear is getting `-msse3`... perhaps use this patch instead: https://salsa.debian.org/science-team/libm4ri/-/blob/master/debian/patches/disable_sse3.patch

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (107 preceding siblings ...)
  2021-11-08 17:55 ` leahneukirchen
@ 2021-11-08 17:57 ` leahneukirchen
  2021-11-08 19:54 ` Eloitor
                   ` (5 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: leahneukirchen @ 2021-11-08 17:57 UTC (permalink / raw)
  To: ml

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

New review comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r744965538

Comment:
Or force SIMD_CFLAGS="-msse2" as a make_build_args?

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (108 preceding siblings ...)
  2021-11-08 17:57 ` leahneukirchen
@ 2021-11-08 19:54 ` Eloitor
  2021-11-08 20:08 ` tornaria
                   ` (4 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: Eloitor @ 2021-11-08 19:54 UTC (permalink / raw)
  To: ml

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

New review comment by Eloitor on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r745046435

Comment:
I don't know how to help here and I don't have much time to investigate...

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

* Re: [PR REVIEW] New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (109 preceding siblings ...)
  2021-11-08 19:54 ` Eloitor
@ 2021-11-08 20:08 ` tornaria
  2021-11-08 20:30 ` leahneukirchen
                   ` (3 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-11-08 20:08 UTC (permalink / raw)
  To: ml

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

New review comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#discussion_r745056386

Comment:
You are right. Moreover the line `configure_args="--disable-sse2"` was masking this option but it wouldn't work without adding `libgomp-devel` to `makedepends`. Need the patch below:
```
--- a/srcpkgs/m4ri/template
+++ b/srcpkgs/m4ri/template
@@ -5,7 +5,7 @@ revision=1
 build_style=gnu-configure
 configure_args="--enable-openmp"
 hostmakedepends=pkg-config
-makedepends=libpng-devel
+makedepends="libgomp-devel libpng-devel"
 short_desc="Library for fast arithmetic with dense matrices over GF(2)"
 maintainer="Eloi Torrents <eloitorrentsj@gmail.com>"
 license="GPL-2.0-or-later"
@@ -16,8 +16,9 @@ checksum=0dfb34aed351882a0f2281535ea6f81c690a5efeb14edab131d9ba0dffe44863
 build_options="native_build"
 
 if [ -z "$build_option_native_build" ]; then
-       # this disables sse3
-       configure_args="--disable-sse2"
+       # this will disable sse3 for x86_64 and disable sse2 for i686
+       # there is no flag to disable sse3 in particular
+       configure_args+=" --disable-sse2"
 fi
 
 m4ri-devel_package() {
```

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (110 preceding siblings ...)
  2021-11-08 20:08 ` tornaria
@ 2021-11-08 20:30 ` leahneukirchen
  2021-11-08 20:36 ` dkwo
                   ` (2 subsequent siblings)
  114 siblings, 0 replies; 116+ messages in thread
From: leahneukirchen @ 2021-11-08 20:30 UTC (permalink / raw)
  To: ml

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

New comment by leahneukirchen on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-963547653

Comment:
```
+configure_args="--enable-openmp ax_cv_c_flags__msse3=no ax_cv_have_ssse3_ext=no"
+hostmakedepends="pkg-config"
+makedepends="libgomp-devel libpng-devel"
```

With this it works, shall I merge?

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (111 preceding siblings ...)
  2021-11-08 20:30 ` leahneukirchen
@ 2021-11-08 20:36 ` dkwo
  2021-11-09  1:01 ` tornaria
  2021-11-09 14:56 ` [PR PATCH] [Closed]: " leahneukirchen
  114 siblings, 0 replies; 116+ messages in thread
From: dkwo @ 2021-11-08 20:36 UTC (permalink / raw)
  To: ml

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

New comment by dkwo on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-963551908

Comment:
@leahneukirchen Adding `libgomp-devel` is fine by me. Would wait for a word from @tornaria about `sse3`. Next pr to review would be #32822 Thank you.

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

* Re: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (112 preceding siblings ...)
  2021-11-08 20:36 ` dkwo
@ 2021-11-09  1:01 ` tornaria
  2021-11-09 14:56 ` [PR PATCH] [Closed]: " leahneukirchen
  114 siblings, 0 replies; 116+ messages in thread
From: tornaria @ 2021-11-09  1:01 UTC (permalink / raw)
  To: ml

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

New comment by tornaria on void-packages repository

https://github.com/void-linux/void-packages/pull/32601#issuecomment-963716241

Comment:
> ```
> +configure_args="--enable-openmp ax_cv_c_flags__msse3=no ax_cv_have_ssse3_ext=no"
> +hostmakedepends="pkg-config"
> +makedepends="libgomp-devel libpng-devel"
> ```
> 
> With this it works, shall I merge?

It's ok with me. I think it might be preferrably to use `ax_cv_have_sse3_ext=no ax_cv_have_ssse3_ext=no`. With your args it seems `HAVE_SSE3` ends up defined in `config.h`.


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

* Re: [PR PATCH] [Closed]: New math package: m4rie-20200125
  2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
                   ` (113 preceding siblings ...)
  2021-11-09  1:01 ` tornaria
@ 2021-11-09 14:56 ` leahneukirchen
  114 siblings, 0 replies; 116+ messages in thread
From: leahneukirchen @ 2021-11-09 14:56 UTC (permalink / raw)
  To: ml

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

There's a closed pull request on the void-packages repository

New math package: m4rie-20200125
https://github.com/void-linux/void-packages/pull/32601

Description:
Requirement for #19090.

I get the following error and I don't know how to change a file during the configuration.

```
Makefile.am:5: error: Libtool library used but 'LIBTOOL' is undefined
Makefile.am:5:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
Makefile.am:5:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
Makefile.am:5:   If 'LT_INIT' is in 'configure.ac', make sure
Makefile.am:5:   its definition is in aclocal's search path.
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
autoreconf: automake failed with exit status: 1
=> ERROR: m4rie-20200115_1: pre_configure: 'autoreconf --install' exited with 1
=> ERROR:   in pre_configure() at srcpkgs/m4rie/template:25
```

<!-- Mark items with [x] where applicable -->

#### General
- [x] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements)

#### Have the results of the proposed changes been tested?
- [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me
- [ ] I generally don't use the affected packages but briefly tested this PR

<!--
If GitHub CI cannot be used to validate the build result (for example, if the
build is likely to take several hours), make sure to
[skip CI](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration).
When skipping CI, uncomment and fill out the following section.
Note: for builds that are likely to complete in less than 2 hours, it is not
acceptable to skip CI.
-->
<!-- 
#### Does it build and run successfully? 
(Please choose at least one native build and, if supported, at least one cross build. More are better.)
- [ ] I built this PR locally for my native architecture, (ARCH-LIBC)
- [ ] I built this PR locally for these architectures (if supported. mark crossbuilds):
  - [ ] aarch64-musl
  - [ ] armv7l
  - [ ] armv6l-musl
-->


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

end of thread, other threads:[~2021-11-09 14:56 UTC | newest]

Thread overview: 116+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-20  9:37 [PR PATCH] [WIP] New package: m4rie-20200125 Eloitor
2021-08-20 11:37 ` [WIP] New math " tornaria
2021-08-20 16:24 ` dkwo
2021-08-21  6:16 ` [PR PATCH] [Updated] " Eloitor
2021-08-21  7:22 ` [PR REVIEW] " dkwo
2021-08-21  7:22 ` dkwo
2021-08-21  7:25 ` dkwo
2021-08-21  7:45 ` [PR PATCH] [Updated] " Eloitor
2021-08-21  7:58 ` [PR PATCH] [Updated] " Eloitor
2021-08-21  8:00 ` Eloitor
2021-08-21  8:02 ` Eloitor
2021-08-21  8:09 ` Eloitor
2021-08-21  8:10 ` Eloitor
2021-08-21  8:10 ` Eloitor
2021-08-21 10:38 ` dkwo
2021-08-21 10:52 ` dkwo
2021-08-21 12:28 ` dkwo
2021-08-21 13:20 ` [PR PATCH] [Updated] " Eloitor
2021-08-21 13:52 ` [PR REVIEW] " dkwo
2021-08-21 13:52 ` dkwo
2021-08-21 13:52 ` dkwo
2021-08-21 13:52 ` dkwo
2021-08-21 13:52 ` dkwo
2021-08-21 13:52 ` dkwo
2021-08-21 13:52 ` dkwo
2021-08-21 13:52 ` dkwo
2021-08-21 16:04 ` [PR PATCH] [Updated] " Eloitor
2021-08-21 16:09 ` Eloitor
2021-08-21 22:45 ` [PR REVIEW] " tornaria
2021-08-21 22:46 ` tornaria
2021-08-21 22:53 ` tornaria
2021-08-21 22:56 ` [PR REVIEW] " tornaria
2021-08-21 22:57 ` tornaria
2021-08-21 23:00 ` tornaria
2021-08-21 23:05 ` tornaria
2021-08-22 11:15 ` [PR PATCH] [Updated] " Eloitor
2021-08-22 11:16 ` Eloitor
2021-08-22 11:26 ` Eloitor
2021-08-22 13:32 ` [PR PATCH] [Updated] " Eloitor
2021-08-22 13:41 ` Eloitor
2021-08-22 13:41 ` Eloitor
2021-08-22 13:46 ` [PR PATCH] [Updated] " Eloitor
2021-08-22 13:51 ` Eloitor
2021-08-22 13:57 ` [PR REVIEW] " tornaria
2021-08-22 14:01 ` tornaria
2021-08-22 14:01 ` tornaria
2021-08-22 14:02 ` tornaria
2021-08-23 12:43 ` [PR PATCH] [Updated] " Eloitor
2021-08-23 12:51 ` dkwo
2021-08-23 12:54 ` [PR PATCH] [Updated] " Eloitor
2021-08-23 12:55 ` Eloitor
2021-08-23 12:57 ` Eloitor
2021-08-23 12:58 ` Eloitor
2021-08-23 14:28 ` Eloitor
2021-08-23 14:30 ` Eloitor
2021-08-23 15:20 ` tornaria
2021-08-23 18:19 ` [PR PATCH] [Updated] " Eloitor
2021-08-23 18:22 ` Eloitor
2021-08-23 18:22 ` Eloitor
2021-08-23 18:38 ` [PR REVIEW] " dkwo
2021-08-23 19:54 ` Eloitor
2021-08-23 19:55 ` [PR PATCH] [Updated] " Eloitor
2021-08-24  6:57 ` dkwo
2021-08-24  6:59 ` [PR PATCH] [Updated] " Eloitor
2021-08-24  7:00 ` Eloitor
2021-08-24  7:13 ` [PR PATCH] [Updated] " Eloitor
2021-08-24  7:19 ` Eloitor
2021-08-24  7:22 ` Eloitor
2021-08-24  7:30 ` Eloitor
2021-08-24  7:51 ` Eloitor
2021-08-24  7:53 ` Eloitor
2021-08-24  7:54 ` Eloitor
2021-08-24  8:22 ` Eloitor
2021-08-24  8:38 ` Eloitor
2021-08-24  8:50 ` [PR REVIEW] " dkwo
2021-08-24  8:52 ` dkwo
2021-08-24  9:19 ` [PR PATCH] [Updated] " Eloitor
2021-08-24  9:23 ` Eloitor
2021-08-24  9:25 ` dkwo
2021-08-24  9:26 ` dkwo
2021-08-24 11:48 ` [PR PATCH] [Updated] " Eloitor
2021-08-25 22:31 ` Eloitor
2021-08-26  7:19 ` dkwo
2021-08-26  8:46 ` Eloitor
2021-08-26  8:47 ` Eloitor
2021-08-26  9:05 ` dkwo
2021-08-26  9:05 ` [PR REVIEW] " dkwo
2021-08-26  9:06 ` dkwo
2021-08-26  9:18 ` dkwo
2021-09-02 21:29 ` [PR PATCH] [Updated] " Eloitor
2021-09-02 21:40 ` Eloitor
2021-09-02 21:41 ` [PR REVIEW] " tornaria
2021-09-02 21:41 ` tornaria
2021-09-02 21:41 ` tornaria
2021-09-02 21:41 ` tornaria
2021-09-02 21:47 ` tornaria
2021-09-02 21:49 ` tornaria
2021-09-02 21:50 ` tornaria
2021-09-02 22:22 ` tornaria
2021-09-03  5:34 ` [PR PATCH] [Updated] " Eloitor
2021-09-03  5:43 ` Eloitor
2021-09-03  9:23 ` dkwo
2021-09-03 13:26 ` tornaria
2021-11-08 17:31 ` [PR REVIEW] " leahneukirchen
2021-11-08 17:34 ` leahneukirchen
2021-11-08 17:35 ` leahneukirchen
2021-11-08 17:38 ` tornaria
2021-11-08 17:52 ` leahneukirchen
2021-11-08 17:55 ` leahneukirchen
2021-11-08 17:57 ` leahneukirchen
2021-11-08 19:54 ` Eloitor
2021-11-08 20:08 ` tornaria
2021-11-08 20:30 ` leahneukirchen
2021-11-08 20:36 ` dkwo
2021-11-09  1:01 ` tornaria
2021-11-09 14:56 ` [PR PATCH] [Closed]: " leahneukirchen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).