Github messages for voidlinux
 help / color / mirror / Atom feed
From: Eloitor <Eloitor@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New math package: m4rie-20200125
Date: Mon, 23 Aug 2021 14:43:34 +0200	[thread overview]
Message-ID: <20210823124334.8LoHAf4VasNawdY5k-4y_H_OptcMtCp5pj8Kh9J-6ss@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-32601@inbox.vuxu.org>

[-- 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
+	}
 }

  parent reply	other threads:[~2021-08-23 12:43 UTC|newest]

Thread overview: 116+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-08-20  9:37 [PR PATCH] [WIP] New " 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 ` Eloitor [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210823124334.8LoHAf4VasNawdY5k-4y_H_OptcMtCp5pj8Kh9J-6ss@z \
    --to=eloitor@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).