Frederik Schwan pushed to branch main at Arch Linux / Packaging / Packages / 
runc


Commits:
aab5408f by Frederik Schwan at 2024-10-22T19:22:43+02:00
upgpkg: 1.2.0-1

lto build fails with

```
+ go-md2man -in runc.8.md -out ./man8/runc.8
make[1]: Entering directory 
'/build/runc/src/src/github.com/opencontainers/runc/libcontainer/dmz'
gcc -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         
-Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         
-fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer 
-mno-omit-leaf-frame-pointer -g 
-ffile-prefix-map=/build/runc/src=/usr/src/debug/runc -flto=auto 
-fno-asynchronous-unwind-tables -fno-ident -s -Os -nostdlib -lgcc -static -o 
binary/runc-dmz _dmz.c
nolibc/crt.h:23:13: warning: type of ‘_nolibc_main’ does not match original 
declaration [-Wlto-type-mismatch]
   23 |         int _nolibc_main(int, char **, char **) __asm__ 
("main");
      |             ^
_dmz.c:13:5: note: type mismatch in parameter 3
   13 | int main(int argc, char **argv)
      |     ^
_dmz.c:13:5: note: ‘main’ was previously declared here
/usr/bin/ld: /tmp/ccUnrvym.ltrans0.ltrans.o: in function `_start':
/usr/src/debug/runc/src/github.com/opencontainers/runc/libcontainer/dmz/nolibc/arch-x86_64.h:166:(.text+0xe):
 undefined reference to `_start_c'
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:18: binary/runc-dmz] Error 1
make[1]: Leaving directory 
'/build/runc/src/src/github.com/opencontainers/runc/libcontainer/dmz'
libcontainer/dmz/dmz_linux.go:26: running "make": exit status 2
make: *** [Makefile:116: runc-dmz] Error 1
```

- - - - -


2 changed files:

- .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -1,6 +1,6 @@
 pkgbase = runc
        pkgdesc = CLI tool for managing OCI compliant containers
-       pkgver = 1.1.15
+       pkgver = 1.2.0
        pkgrel = 1
        url = https://runc.io/
        arch = x86_64
@@ -11,13 +11,14 @@ pkgbase = runc
        depends = libseccomp
        optdepends = criu: checkpoint support
        provides = oci-runtime
-       source = 
runc-1.1.15.tar.xz::https://github.com/opencontainers/runc/releases/download/v1.1.15/runc.tar.xz
-       source = 
runc-1.1.15.tar.xz.sig::https://github.com/opencontainers/runc/releases/download/v1.1.15/runc.tar.xz.asc
+       options = !lto
+       source = 
runc-1.2.0.tar.xz::https://github.com/opencontainers/runc/releases/download/v1.2.0/runc.tar.xz
+       source = 
runc-1.2.0.tar.xz.sig::https://github.com/opencontainers/runc/releases/download/v1.2.0/runc.tar.xz.asc
        validpgpkeys = 5F36C6C61B5460124A75F5A69E18AA267DDB8DB4
        validpgpkeys = C9C370B246B09F6DBCFC744C34401015D1D2D386
        validpgpkeys = C2428CD75720FACDCF76B6EA17DE5ECB75A1100E
        validpgpkeys = C9C370B246B09F6DBCFC744C34401015D1D2D386
-       sha256sums = 
f39e0bc5108bc8b1f21352b58dcefe84465d94ab334c4b2544f6371280382803
+       sha256sums = 
71b8e206563be9abcb727f8fa0405b8efa7b381e53fdc88b84ac02f85ea45809
        sha256sums = SKIP
 
 pkgname = runc


=====================================
PKGBUILD
=====================================
@@ -3,7 +3,7 @@
 # Contributor: Sébastien "Seblu" Luttringer
 
 pkgname=runc
-pkgver=1.1.15
+pkgver=1.2.0
 pkgrel=1
 pkgdesc='CLI tool for managing OCI compliant containers'
 arch=(x86_64)
@@ -15,6 +15,7 @@ makedepends=(git go go-md2man)
 optdepends=(
   'criu: checkpoint support'
 )
+options=(!lto)
 
source=("${pkgname}-${pkgver}.tar.xz::https://github.com/opencontainers/runc/releases/download/v${pkgver}/runc.tar.xz";
         
"${pkgname}-${pkgver}.tar.xz.sig::https://github.com/opencontainers/runc/releases/download/v${pkgver}/runc.tar.xz.asc";)
 validpgpkeys=(
@@ -23,7 +24,7 @@ validpgpkeys=(
   "C2428CD75720FACDCF76B6EA17DE5ECB75A1100E"
   "C9C370B246B09F6DBCFC744C34401015D1D2D386"
 )
-sha256sums=('f39e0bc5108bc8b1f21352b58dcefe84465d94ab334c4b2544f6371280382803'
+sha256sums=('71b8e206563be9abcb727f8fa0405b8efa7b381e53fdc88b84ac02f85ea45809'
             'SKIP')
 
 prepare() {



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/runc/-/commit/aab5408f0257c5d7337b10a7129d743faf18dce8

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/runc/-/commit/aab5408f0257c5d7337b10a7129d743faf18dce8
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to