* [PR PATCH] New package: ltfs-2.4.6.1
@ 2024-06-16 2:39 maciozo
2024-06-16 14:23 ` [PR PATCH] [Updated] " maciozo
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: maciozo @ 2024-06-16 2:39 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2710 bytes --]
There is a new pull request by maciozo against master on the void-packages repository
https://github.com/maciozo/void-packages ltfs-2.4.6.1
https://github.com/void-linux/void-packages/pull/50845
New package: ltfs-2.4.6.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Tested:
* Listing drives
* Formatting
* Mounting drives
* R/W
* Unmounting
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
I have not been able to cross-compile this program due to `pkgdata` complaining about not being able to open its `pkgdata.inc` file.
```
=> ltfs-2.4.6.1_1: running do_build ...
make all-recursive
make[1]: Entering directory '/builddir/ltfs-2.4.6.1'
Making all in messages
make[2]: Entering directory '/builddir/ltfs-2.4.6.1/messages'
Processing bin_mkltfs
genrb number of files: 3
Unable to open or read "/usr/lib64/icu/73.2/pkgdata.inc" option file. status = U_FILE_ACCESS_ERROR
sh: line 1: oma.c: command not found
-- return status = 32512
Failed to compile oma.c
sh: line 1: ./bin_mkltfs.: No such file or directory
-- return status = 32512
Error generating library file. Failed command: ./bin_mkltfs. ./bin_mkltfs_dat.o
Error generating package data.
make[2]: *** [Makefile:490: libbin_mkltfs_dat.a] Error 1
make[2]: Leaving directory '/builddir/ltfs-2.4.6.1/messages'
make[1]: *** [Makefile:523: all-recursive] Error 1
make[1]: Leaving directory '/builddir/ltfs-2.4.6.1'
make: *** [Makefile:429: all] Error 2
=> ERROR: ltfs-2.4.6.1_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 2
=> ERROR: in do_build() at common/build-style/gnu-configure.sh:15
```
The closest relevant issue I could find to this is linked below, but doing the `icu-config` tricks mentioned there did not help.
I'd be very appreciative of any suggestions, because I can't see why this program shouldn't be cross-compilable.
https://github.com/LinearTapeFileSystem/ltfs/issues/419
A patch file from https://github.com/void-linux/void-packages/pull/50845.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ltfs-2.4.6.1-50845.patch --]
[-- Type: text/x-diff, Size: 2027 bytes --]
From 0494f9018465896ab1db6b61f4988d024afb0e88 Mon Sep 17 00:00:00 2001
From: maciozo <15807067+maciozo@users.noreply.github.com>
Date: Sun, 16 Jun 2024 02:23:23 +0100
Subject: [PATCH] New package: ltfs-2.4.6.1
---
srcpkgs/ltfs-devel | 1 +
srcpkgs/ltfs/template | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
create mode 120000 srcpkgs/ltfs-devel
create mode 100644 srcpkgs/ltfs/template
diff --git a/srcpkgs/ltfs-devel b/srcpkgs/ltfs-devel
new file mode 120000
index 00000000000000..e4bd37f12078ae
--- /dev/null
+++ b/srcpkgs/ltfs-devel
@@ -0,0 +1 @@
+ltfs
\ No newline at end of file
diff --git a/srcpkgs/ltfs/template b/srcpkgs/ltfs/template
new file mode 100644
index 00000000000000..dbf2392dcbc384
--- /dev/null
+++ b/srcpkgs/ltfs/template
@@ -0,0 +1,42 @@
+# Template file for 'ltfs'
+pkgname=ltfs
+version=2.4.6.1
+revision=1
+_version_suffix=10511
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="automake libtool pkg-config icu"
+makedepends="fuse-devel libuuid-devel libxml2-devel icu icu-devel net-snmp-devel pciutils-devel pcre-devel libsensors-devel libnl3-devel"
+depends="python3-pyxattr"
+short_desc="Reference implementation of the Linear Tape File System"
+maintainer="maciozo <maciozo+voidlinux@maciozo.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/LinearTapeFileSystem/ltfs"
+#changelog=""
+distfiles="https://github.com/LinearTapeFileSystem/ltfs/archive/refs/tags/v${version}-${_version_suffix}.tar.gz"
+checksum=f54fcb014dc06518d3804209fb3bd17f520a075a71e64675cddc46c801509bf6
+python_version=${py3_ver}
+
+pre_configure() {
+ ./autogen.sh
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+ltfs-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: ltfs-2.4.6.1
2024-06-16 2:39 [PR PATCH] New package: ltfs-2.4.6.1 maciozo
@ 2024-06-16 14:23 ` maciozo
2024-06-16 14:26 ` maciozo
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: maciozo @ 2024-06-16 14:23 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2715 bytes --]
There is an updated pull request by maciozo against master on the void-packages repository
https://github.com/maciozo/void-packages ltfs-2.4.6.1
https://github.com/void-linux/void-packages/pull/50845
New package: ltfs-2.4.6.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Tested:
* Listing drives
* Formatting
* Mounting drives
* R/W
* Unmounting
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
I have not been able to cross-compile this program due to `pkgdata` complaining about not being able to open its `pkgdata.inc` file.
```
=> ltfs-2.4.6.1_1: running do_build ...
make all-recursive
make[1]: Entering directory '/builddir/ltfs-2.4.6.1'
Making all in messages
make[2]: Entering directory '/builddir/ltfs-2.4.6.1/messages'
Processing bin_mkltfs
genrb number of files: 3
Unable to open or read "/usr/lib64/icu/73.2/pkgdata.inc" option file. status = U_FILE_ACCESS_ERROR
sh: line 1: oma.c: command not found
-- return status = 32512
Failed to compile oma.c
sh: line 1: ./bin_mkltfs.: No such file or directory
-- return status = 32512
Error generating library file. Failed command: ./bin_mkltfs. ./bin_mkltfs_dat.o
Error generating package data.
make[2]: *** [Makefile:490: libbin_mkltfs_dat.a] Error 1
make[2]: Leaving directory '/builddir/ltfs-2.4.6.1/messages'
make[1]: *** [Makefile:523: all-recursive] Error 1
make[1]: Leaving directory '/builddir/ltfs-2.4.6.1'
make: *** [Makefile:429: all] Error 2
=> ERROR: ltfs-2.4.6.1_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 2
=> ERROR: in do_build() at common/build-style/gnu-configure.sh:15
```
The closest relevant issue I could find to this is linked below, but doing the `icu-config` tricks mentioned there did not help.
I'd be very appreciative of any suggestions, because I can't see why this program shouldn't be cross-compilable.
https://github.com/LinearTapeFileSystem/ltfs/issues/419
A patch file from https://github.com/void-linux/void-packages/pull/50845.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ltfs-2.4.6.1-50845.patch --]
[-- Type: text/x-diff, Size: 2027 bytes --]
From ea93b9f781ceb0a88ce1774a1f1c05e3232e0a5c Mon Sep 17 00:00:00 2001
From: maciozo <15807067+maciozo@users.noreply.github.com>
Date: Sun, 16 Jun 2024 02:23:23 +0100
Subject: [PATCH] New package: ltfs-2.4.6.1
---
srcpkgs/ltfs-devel | 1 +
srcpkgs/ltfs/template | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
create mode 120000 srcpkgs/ltfs-devel
create mode 100644 srcpkgs/ltfs/template
diff --git a/srcpkgs/ltfs-devel b/srcpkgs/ltfs-devel
new file mode 120000
index 00000000000000..e4bd37f12078ae
--- /dev/null
+++ b/srcpkgs/ltfs-devel
@@ -0,0 +1 @@
+ltfs
\ No newline at end of file
diff --git a/srcpkgs/ltfs/template b/srcpkgs/ltfs/template
new file mode 100644
index 00000000000000..dbf2392dcbc384
--- /dev/null
+++ b/srcpkgs/ltfs/template
@@ -0,0 +1,42 @@
+# Template file for 'ltfs'
+pkgname=ltfs
+version=2.4.6.1
+revision=1
+_version_suffix=10511
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="automake libtool pkg-config icu"
+makedepends="fuse-devel libuuid-devel libxml2-devel icu icu-devel net-snmp-devel pciutils-devel pcre-devel libsensors-devel libnl3-devel"
+depends="python3-pyxattr"
+short_desc="Reference implementation of the Linear Tape File System"
+maintainer="maciozo <maciozo+voidlinux@maciozo.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/LinearTapeFileSystem/ltfs"
+#changelog=""
+distfiles="https://github.com/LinearTapeFileSystem/ltfs/archive/refs/tags/v${version}-${_version_suffix}.tar.gz"
+checksum=f54fcb014dc06518d3804209fb3bd17f520a075a71e64675cddc46c801509bf6
+python_version=${py3_ver}
+
+pre_configure() {
+ ./autogen.sh
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+ltfs-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: ltfs-2.4.6.1
2024-06-16 2:39 [PR PATCH] New package: ltfs-2.4.6.1 maciozo
2024-06-16 14:23 ` [PR PATCH] [Updated] " maciozo
@ 2024-06-16 14:26 ` maciozo
2024-06-16 14:43 ` maciozo
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: maciozo @ 2024-06-16 14:26 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2715 bytes --]
There is an updated pull request by maciozo against master on the void-packages repository
https://github.com/maciozo/void-packages ltfs-2.4.6.1
https://github.com/void-linux/void-packages/pull/50845
New package: ltfs-2.4.6.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Tested:
* Listing drives
* Formatting
* Mounting drives
* R/W
* Unmounting
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
I have not been able to cross-compile this program due to `pkgdata` complaining about not being able to open its `pkgdata.inc` file.
```
=> ltfs-2.4.6.1_1: running do_build ...
make all-recursive
make[1]: Entering directory '/builddir/ltfs-2.4.6.1'
Making all in messages
make[2]: Entering directory '/builddir/ltfs-2.4.6.1/messages'
Processing bin_mkltfs
genrb number of files: 3
Unable to open or read "/usr/lib64/icu/73.2/pkgdata.inc" option file. status = U_FILE_ACCESS_ERROR
sh: line 1: oma.c: command not found
-- return status = 32512
Failed to compile oma.c
sh: line 1: ./bin_mkltfs.: No such file or directory
-- return status = 32512
Error generating library file. Failed command: ./bin_mkltfs. ./bin_mkltfs_dat.o
Error generating package data.
make[2]: *** [Makefile:490: libbin_mkltfs_dat.a] Error 1
make[2]: Leaving directory '/builddir/ltfs-2.4.6.1/messages'
make[1]: *** [Makefile:523: all-recursive] Error 1
make[1]: Leaving directory '/builddir/ltfs-2.4.6.1'
make: *** [Makefile:429: all] Error 2
=> ERROR: ltfs-2.4.6.1_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 2
=> ERROR: in do_build() at common/build-style/gnu-configure.sh:15
```
The closest relevant issue I could find to this is linked below, but doing the `icu-config` tricks mentioned there did not help.
I'd be very appreciative of any suggestions, because I can't see why this program shouldn't be cross-compilable.
https://github.com/LinearTapeFileSystem/ltfs/issues/419
A patch file from https://github.com/void-linux/void-packages/pull/50845.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ltfs-2.4.6.1-50845.patch --]
[-- Type: text/x-diff, Size: 2015 bytes --]
From eb16c7ca0ffc0f97e3e1534460a067759579f019 Mon Sep 17 00:00:00 2001
From: maciozo <maciozo+voidlinux@maciozo.com>
Date: Sun, 16 Jun 2024 02:23:23 +0100
Subject: [PATCH] New package: ltfs-2.4.6.1
---
srcpkgs/ltfs-devel | 1 +
srcpkgs/ltfs/template | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
create mode 120000 srcpkgs/ltfs-devel
create mode 100644 srcpkgs/ltfs/template
diff --git a/srcpkgs/ltfs-devel b/srcpkgs/ltfs-devel
new file mode 120000
index 00000000000000..e4bd37f12078ae
--- /dev/null
+++ b/srcpkgs/ltfs-devel
@@ -0,0 +1 @@
+ltfs
\ No newline at end of file
diff --git a/srcpkgs/ltfs/template b/srcpkgs/ltfs/template
new file mode 100644
index 00000000000000..dbf2392dcbc384
--- /dev/null
+++ b/srcpkgs/ltfs/template
@@ -0,0 +1,42 @@
+# Template file for 'ltfs'
+pkgname=ltfs
+version=2.4.6.1
+revision=1
+_version_suffix=10511
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="automake libtool pkg-config icu"
+makedepends="fuse-devel libuuid-devel libxml2-devel icu icu-devel net-snmp-devel pciutils-devel pcre-devel libsensors-devel libnl3-devel"
+depends="python3-pyxattr"
+short_desc="Reference implementation of the Linear Tape File System"
+maintainer="maciozo <maciozo+voidlinux@maciozo.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/LinearTapeFileSystem/ltfs"
+#changelog=""
+distfiles="https://github.com/LinearTapeFileSystem/ltfs/archive/refs/tags/v${version}-${_version_suffix}.tar.gz"
+checksum=f54fcb014dc06518d3804209fb3bd17f520a075a71e64675cddc46c801509bf6
+python_version=${py3_ver}
+
+pre_configure() {
+ ./autogen.sh
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+ltfs-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: ltfs-2.4.6.1
2024-06-16 2:39 [PR PATCH] New package: ltfs-2.4.6.1 maciozo
2024-06-16 14:23 ` [PR PATCH] [Updated] " maciozo
2024-06-16 14:26 ` maciozo
@ 2024-06-16 14:43 ` maciozo
2024-06-16 14:43 ` maciozo
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: maciozo @ 2024-06-16 14:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2715 bytes --]
There is an updated pull request by maciozo against master on the void-packages repository
https://github.com/maciozo/void-packages ltfs-2.4.6.1
https://github.com/void-linux/void-packages/pull/50845
New package: ltfs-2.4.6.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Tested:
* Listing drives
* Formatting
* Mounting drives
* R/W
* Unmounting
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
I have not been able to cross-compile this program due to `pkgdata` complaining about not being able to open its `pkgdata.inc` file.
```
=> ltfs-2.4.6.1_1: running do_build ...
make all-recursive
make[1]: Entering directory '/builddir/ltfs-2.4.6.1'
Making all in messages
make[2]: Entering directory '/builddir/ltfs-2.4.6.1/messages'
Processing bin_mkltfs
genrb number of files: 3
Unable to open or read "/usr/lib64/icu/73.2/pkgdata.inc" option file. status = U_FILE_ACCESS_ERROR
sh: line 1: oma.c: command not found
-- return status = 32512
Failed to compile oma.c
sh: line 1: ./bin_mkltfs.: No such file or directory
-- return status = 32512
Error generating library file. Failed command: ./bin_mkltfs. ./bin_mkltfs_dat.o
Error generating package data.
make[2]: *** [Makefile:490: libbin_mkltfs_dat.a] Error 1
make[2]: Leaving directory '/builddir/ltfs-2.4.6.1/messages'
make[1]: *** [Makefile:523: all-recursive] Error 1
make[1]: Leaving directory '/builddir/ltfs-2.4.6.1'
make: *** [Makefile:429: all] Error 2
=> ERROR: ltfs-2.4.6.1_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 2
=> ERROR: in do_build() at common/build-style/gnu-configure.sh:15
```
The closest relevant issue I could find to this is linked below, but doing the `icu-config` tricks mentioned there did not help.
I'd be very appreciative of any suggestions, because I can't see why this program shouldn't be cross-compilable.
https://github.com/LinearTapeFileSystem/ltfs/issues/419
A patch file from https://github.com/void-linux/void-packages/pull/50845.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ltfs-2.4.6.1-50845.patch --]
[-- Type: text/x-diff, Size: 2015 bytes --]
From 9204ff9417a74fcf5c29ff43d0c874047b8f756d Mon Sep 17 00:00:00 2001
From: maciozo <maciozo+voidlinux@maciozo.com>
Date: Sun, 16 Jun 2024 02:23:23 +0100
Subject: [PATCH] New package: ltfs-2.4.6.1
---
srcpkgs/ltfs-devel | 1 +
srcpkgs/ltfs/template | 42 ++++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
create mode 120000 srcpkgs/ltfs-devel
create mode 100644 srcpkgs/ltfs/template
diff --git a/srcpkgs/ltfs-devel b/srcpkgs/ltfs-devel
new file mode 120000
index 00000000000000..e4bd37f12078ae
--- /dev/null
+++ b/srcpkgs/ltfs-devel
@@ -0,0 +1 @@
+ltfs
\ No newline at end of file
diff --git a/srcpkgs/ltfs/template b/srcpkgs/ltfs/template
new file mode 100644
index 00000000000000..dbf2392dcbc384
--- /dev/null
+++ b/srcpkgs/ltfs/template
@@ -0,0 +1,42 @@
+# Template file for 'ltfs'
+pkgname=ltfs
+version=2.4.6.1
+revision=1
+_version_suffix=10511
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="automake libtool pkg-config icu"
+makedepends="fuse-devel libuuid-devel libxml2-devel icu icu-devel net-snmp-devel pciutils-devel pcre-devel libsensors-devel libnl3-devel"
+depends="python3-pyxattr"
+short_desc="Reference implementation of the Linear Tape File System"
+maintainer="maciozo <maciozo+voidlinux@maciozo.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/LinearTapeFileSystem/ltfs"
+#changelog=""
+distfiles="https://github.com/LinearTapeFileSystem/ltfs/archive/refs/tags/v${version}-${_version_suffix}.tar.gz"
+checksum=f54fcb014dc06518d3804209fb3bd17f520a075a71e64675cddc46c801509bf6
+python_version=${py3_ver}
+
+pre_configure() {
+ ./autogen.sh
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+ltfs-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] New package: ltfs-2.4.6.1
2024-06-16 2:39 [PR PATCH] New package: ltfs-2.4.6.1 maciozo
` (2 preceding siblings ...)
2024-06-16 14:43 ` maciozo
@ 2024-06-16 14:43 ` maciozo
2024-06-16 20:56 ` maciozo
2024-06-16 21:01 ` classabbyamp
5 siblings, 0 replies; 7+ messages in thread
From: maciozo @ 2024-06-16 14:43 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 2715 bytes --]
There is an updated pull request by maciozo against master on the void-packages repository
https://github.com/maciozo/void-packages ltfs-2.4.6.1
https://github.com/void-linux/void-packages/pull/50845
New package: ltfs-2.4.6.1
<!-- Uncomment relevant sections and delete options which are not applicable -->
#### Testing the changes
- I tested the changes in this PR: **briefly**
Tested:
* Listing drives
* Formatting
* Mounting drives
* R/W
* Unmounting
#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**
<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
I have not been able to cross-compile this program due to `pkgdata` complaining about not being able to open its `pkgdata.inc` file.
```
=> ltfs-2.4.6.1_1: running do_build ...
make all-recursive
make[1]: Entering directory '/builddir/ltfs-2.4.6.1'
Making all in messages
make[2]: Entering directory '/builddir/ltfs-2.4.6.1/messages'
Processing bin_mkltfs
genrb number of files: 3
Unable to open or read "/usr/lib64/icu/73.2/pkgdata.inc" option file. status = U_FILE_ACCESS_ERROR
sh: line 1: oma.c: command not found
-- return status = 32512
Failed to compile oma.c
sh: line 1: ./bin_mkltfs.: No such file or directory
-- return status = 32512
Error generating library file. Failed command: ./bin_mkltfs. ./bin_mkltfs_dat.o
Error generating package data.
make[2]: *** [Makefile:490: libbin_mkltfs_dat.a] Error 1
make[2]: Leaving directory '/builddir/ltfs-2.4.6.1/messages'
make[1]: *** [Makefile:523: all-recursive] Error 1
make[1]: Leaving directory '/builddir/ltfs-2.4.6.1'
make: *** [Makefile:429: all] Error 2
=> ERROR: ltfs-2.4.6.1_1: do_build: '${make_cmd} ${makejobs} ${make_build_args} ${make_build_target}' exited with 2
=> ERROR: in do_build() at common/build-style/gnu-configure.sh:15
```
The closest relevant issue I could find to this is linked below, but doing the `icu-config` tricks mentioned there did not help.
I'd be very appreciative of any suggestions, because I can't see why this program shouldn't be cross-compilable.
https://github.com/LinearTapeFileSystem/ltfs/issues/419
A patch file from https://github.com/void-linux/void-packages/pull/50845.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-ltfs-2.4.6.1-50845.patch --]
[-- Type: text/x-diff, Size: 2820 bytes --]
From 40f7b749f864ad77fe3c2449e82b4e7fe365d14d Mon Sep 17 00:00:00 2001
From: maciozo <maciozo+voidlinux@maciozo.com>
Date: Sun, 16 Jun 2024 02:23:23 +0100
Subject: [PATCH] New package: ltfs-2.4.6.1
---
srcpkgs/ltfs-devel | 1 +
srcpkgs/ltfs/patches/ltfs_ordered_copy.patch | 11 +++++
srcpkgs/ltfs/template | 42 ++++++++++++++++++++
3 files changed, 54 insertions(+)
create mode 120000 srcpkgs/ltfs-devel
create mode 100644 srcpkgs/ltfs/patches/ltfs_ordered_copy.patch
create mode 100644 srcpkgs/ltfs/template
diff --git a/srcpkgs/ltfs-devel b/srcpkgs/ltfs-devel
new file mode 120000
index 00000000000000..e4bd37f12078ae
--- /dev/null
+++ b/srcpkgs/ltfs-devel
@@ -0,0 +1 @@
+ltfs
\ No newline at end of file
diff --git a/srcpkgs/ltfs/patches/ltfs_ordered_copy.patch b/srcpkgs/ltfs/patches/ltfs_ordered_copy.patch
new file mode 100644
index 00000000000000..28d63a63161472
--- /dev/null
+++ b/srcpkgs/ltfs/patches/ltfs_ordered_copy.patch
@@ -0,0 +1,11 @@
+--- a/src/utils/ltfs_ordered_copy 2023-11-27 16:47:17.000000000 +0000
++++ b/src/utils/ltfs_ordered_copy 2024-06-16 15:34:56.534676417 +0100
+@@ -361,7 +361,7 @@
+ try:
+ sig = xattr.get(args.DEST, VEA_PREFIX + LTFS_SIG_VEA)
+
+- if sig.startswith("LTFS"):
++ if sig.startswith(b"LTFS"):
+ logger.info("Destination {0} is LTFS".format(args.DEST))
+ direct_write_threads = 1
+ else:
diff --git a/srcpkgs/ltfs/template b/srcpkgs/ltfs/template
new file mode 100644
index 00000000000000..dbf2392dcbc384
--- /dev/null
+++ b/srcpkgs/ltfs/template
@@ -0,0 +1,42 @@
+# Template file for 'ltfs'
+pkgname=ltfs
+version=2.4.6.1
+revision=1
+_version_suffix=10511
+#archs="i686 x86_64"
+#build_wrksrc=
+build_style=gnu-configure
+#configure_args=""
+#make_build_args=""
+#make_install_args=""
+#conf_files=""
+#make_dirs="/var/log/dir 0755 root root"
+hostmakedepends="automake libtool pkg-config icu"
+makedepends="fuse-devel libuuid-devel libxml2-devel icu icu-devel net-snmp-devel pciutils-devel pcre-devel libsensors-devel libnl3-devel"
+depends="python3-pyxattr"
+short_desc="Reference implementation of the Linear Tape File System"
+maintainer="maciozo <maciozo+voidlinux@maciozo.com>"
+license="BSD-3-Clause"
+homepage="https://github.com/LinearTapeFileSystem/ltfs"
+#changelog=""
+distfiles="https://github.com/LinearTapeFileSystem/ltfs/archive/refs/tags/v${version}-${_version_suffix}.tar.gz"
+checksum=f54fcb014dc06518d3804209fb3bd17f520a075a71e64675cddc46c801509bf6
+python_version=${py3_ver}
+
+pre_configure() {
+ ./autogen.sh
+}
+
+post_install() {
+ vlicense LICENSE
+}
+
+ltfs-devel_package() {
+ depends="${sourcepkg}>=${version}_${revision}"
+ short_desc+=" - development files"
+ pkg_install() {
+ vmove usr/include
+ vmove "usr/lib/*.a"
+ vmove "usr/lib/*.so"
+ }
+}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: New package: ltfs-2.4.6.1
2024-06-16 2:39 [PR PATCH] New package: ltfs-2.4.6.1 maciozo
` (3 preceding siblings ...)
2024-06-16 14:43 ` maciozo
@ 2024-06-16 20:56 ` maciozo
2024-06-16 21:01 ` classabbyamp
5 siblings, 0 replies; 7+ messages in thread
From: maciozo @ 2024-06-16 20:56 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 1837 bytes --]
New comment by maciozo on void-packages repository
https://github.com/void-linux/void-packages/pull/50845#issuecomment-2171875052
Comment:
Thank you so much for your help so far on this, @classabbyamp.
I tried applying the patch you suggested on IRC (https://github.com/LinearTapeFileSystem/ltfs/commit/2db929b5fc641fbeccb06ba38b3c7e3d4f25a86c).
It no longer works with the current `configure.ac`, so I modified it slightly:
```patch
--- a/configure.ac 2024-06-16 21:48:51.744301806 +0100
+++ b/configure.ac 2024-06-16 21:49:23.842374377 +0100
@@ -337,8 +337,8 @@
dnl
dnl Check for ICU
dnl
-ICU_MODULE_CFLAGS="`icu-config --cppflags 2> /dev/null`";
-ICU_MODULE_LIBS="`icu-config --ldflags 2> /dev/null`";
+ICU_MODULE_CFLAGS="`pkg-config --cflags icu-i18n 2> /dev/null`";
+ICU_MODULE_LIBS="`pkg-config --libs icu-i18n 2> /dev/null`";
if test -z "$ICU_MODULE_LIBS"
then
PKG_CHECK_MODULES([ICU_MODULE], [icu >= 0.21])
@@ -352,16 +352,9 @@
)
AC_MSG_RESULT([$icu_6x])
-if test "x${icu_6x}" = "xyes"
-then
- AC_MSG_CHECKING(for ICU version)
- ICU_MODULE_VERSION="`icu-config --version 2> /dev/null`";
- if test "${ICU_MODULE_VERSION%%.*}" -ge "60"
- then
- AM_EXTRA_CPPFLAGS="${AM_EXTRA_CPPFLAGS} -D ICU6x"
- fi
- AC_MSG_RESULT([$ICU_MODULE_VERSION])
-fi
+AC_MSG_CHECKING(for ICU version)
+ICU_MODULE_VERSION="`pkg-config --modversion icu-i18n 2> /dev/null`";
+AC_MSG_RESULT([$ICU_MODULE_VERSION])
dnl
dnl Check for SNMP
```
Unfortunately, this still results in the same error.
I did also try without removing the whole `if` statement around the assignment of `ICU_MODULE_VERSION`, but the result was the same.
Would it be possible to make it so that this package gets built in qemu, rather than cross-compiling?
It might just be a simpler way out.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: New package: ltfs-2.4.6.1
2024-06-16 2:39 [PR PATCH] New package: ltfs-2.4.6.1 maciozo
` (4 preceding siblings ...)
2024-06-16 20:56 ` maciozo
@ 2024-06-16 21:01 ` classabbyamp
5 siblings, 0 replies; 7+ messages in thread
From: classabbyamp @ 2024-06-16 21:01 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
New comment by classabbyamp on void-packages repository
https://github.com/void-linux/void-packages/pull/50845#issuecomment-2171882009
Comment:
> Would it be possible to make it so that this package gets built in qemu, rather than cross-compiling?
> It might just be a simpler way out.
there's no way to make that happen in xbps-src/builders
maybe try https://github.com/LinearTapeFileSystem/ltfs/issues/153#issuecomment-806515827 instead. it can be created in the template and go in `$XBPS_WRAPPERDIR`
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-06-16 21:01 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-06-16 2:39 [PR PATCH] New package: ltfs-2.4.6.1 maciozo
2024-06-16 14:23 ` [PR PATCH] [Updated] " maciozo
2024-06-16 14:26 ` maciozo
2024-06-16 14:43 ` maciozo
2024-06-16 14:43 ` maciozo
2024-06-16 20:56 ` maciozo
2024-06-16 21:01 ` classabbyamp
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).