David Runge pushed to branch main at Arch Linux / Packaging / Packages / libaio


Commits:
5259735a by David Runge at 2024-02-20T10:42:43+01:00
Add nvchecker integration

Signed-off-by: David Runge <[email protected]>

- - - - -
15fc7f07 by David Runge at 2024-02-20T10:43:06+01:00
Switch to correct SPDX license identifier for project

Signed-off-by: David Runge <[email protected]>

- - - - -
1296ab9d by David Runge at 2024-02-20T12:21:57+01:00
Disable LTO and reintroduce distribution flags

Since 0.3.113 it is possible to use distribution flags, as underlinking
has been fixed upstream.
https://pagure.io/libaio/c/672eaebd131c789a528e3a9cd089b4b69a82012b

However, using LTO is still broken:
https://pagure.io/libaio/issue/10

Fixes 
https://gitlab.archlinux.org/archlinux/packaging/packages/libaio/-/issues/1

Signed-off-by: David Runge <[email protected]>

- - - - -
285298f5 by David Runge at 2024-02-20T12:24:53+01:00
Remove failing test until upstream fixes it

As Fedora's login service is currently defunct I am unable to report
this issue upstream at this point.

Signed-off-by: David Runge <[email protected]>

- - - - -
5a48eb2c by David Runge at 2024-02-20T12:25:57+01:00
Simplify source entry by reusing url variable

Signed-off-by: David Runge <[email protected]>

- - - - -
00227f93 by David Runge at 2024-02-20T12:36:47+01:00
upgpkg: 0.3.113-3

Rebuild to remove failing test, reintroduce distribution flags and disable LTO.

- - - - -


3 changed files:

- + .SRCINFO
- + .nvchecker.toml
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,15 @@
+pkgbase = libaio
+       pkgdesc = The Linux-native asynchronous I/O facility (aio) library
+       pkgver = 0.3.113
+       pkgrel = 3
+       url = https://pagure.io/libaio
+       arch = x86_64
+       license = LGPL-2.0-or-later
+       depends = glibc
+       provides = libaio.so
+       options = !lto
+       source = 
https://pagure.io/libaio/archive/libaio-0.3.113/libaio-libaio-0.3.113.tar.gz
+       sha512sums = 
8058c927de0b5f7079fc232d2be23272537694bf271488af1dc0330b58afc307931792ab138512c5e00aa3ea921935a6d862f575fb0cc2bf323de63d8df208cd
+       b2sums = 
e06c1c1cc118c15f6bed1abfa97368d7ccc0d2e716a233cd4141936fb382e40909c340a6c882b18ee9461aaa23dd77a6644a38bdb5a00c1444538a2e0ab816d4
+
+pkgname = libaio


=====================================
.nvchecker.toml
=====================================
@@ -0,0 +1,5 @@
+[libaio]
+source = "git"
+git = "https://pagure.io/libaio";
+prefix = "libaio-"
+include_regex = "(libaio)-([\\d.*]+)"


=====================================
PKGBUILD
=====================================
@@ -4,26 +4,28 @@
 
 pkgname=libaio
 pkgver=0.3.113
-pkgrel=2
+pkgrel=3
 pkgdesc="The Linux-native asynchronous I/O facility (aio) library"
 arch=(x86_64)
 url="https://pagure.io/libaio";
-license=(LGPL2.1)
+license=(LGPL-2.0-or-later)
 depends=(glibc)
 provides=(libaio.so)
-source=(https://pagure.io/libaio/archive/$pkgname-$pkgver/$pkgname-$pkgname-$pkgver.tar.gz)
+# LTO is not supported: https://pagure.io/libaio/issue/10
+options=(!lto)
+source=($url/archive/$pkgname-$pkgver/$pkgname-$pkgname-$pkgver.tar.gz)
 
sha512sums=('8058c927de0b5f7079fc232d2be23272537694bf271488af1dc0330b58afc307931792ab138512c5e00aa3ea921935a6d862f575fb0cc2bf323de63d8df208cd')
 
b2sums=('e06c1c1cc118c15f6bed1abfa97368d7ccc0d2e716a233cd4141936fb382e40909c340a6c882b18ee9461aaa23dd77a6644a38bdb5a00c1444538a2e0ab816d4')
 
 prepare() {
   # -Werror, not even once
   sed 's/-Werror//' -i $pkgname-$pkgname-$pkgver/harness/Makefile
+
+  # remove failing test until upstream fixes it
+  rm -frv $pkgname-$pkgname-$pkgver/harness/cases/21.t
 }
 
 build() {
-  # libaio is a thin wrapper around kernel syscalls, it does not use stdlib and
-  # other helpers like stack protection libraries
-  CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe"
   make -C $pkgname-$pkgname-$pkgver
 }
 



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libaio/-/compare/c655dc317ae48ac3def78942b9784d2d2a1e6dc7...00227f93853142c8c61d38bf7071ce1eadec541c

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/libaio/-/compare/c655dc317ae48ac3def78942b9784d2d2a1e6dc7...00227f93853142c8c61d38bf7071ce1eadec541c
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to