Your message dated Mon, 12 Jul 2021 21:16:25 +0000
with message-id <[email protected]>
and subject line unblock golang-github-sylabs-sif
has caused the Debian Bug report #991004,
regarding unblock: golang-github-sylabs-sif/1.0.9-2.1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
991004: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=991004
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: release.debian.org
Severity: normal
User: [email protected]
Usertags: unblock

Please age package golang-github-sylabs-sif

  * Add fix from YunQiang Su for architecture-dependent behaviour
    in mmap() prot. (Closes: #983583)

This fixes a software bug exposed on some hardware,
including causing FTBFS on some of the mips*el buildds.

autopkgtest for golang-github-sylabs-sif/1.0.9-2.1: amd64: Pass, arm64: Pass, 
armhf: Pass, i386: Pass, ppc64el: Pass
Too young, only 7 of 20 days old
diff -Nru golang-github-sylabs-sif-1.0.9/debian/changelog 
golang-github-sylabs-sif-1.0.9/debian/changelog
--- golang-github-sylabs-sif-1.0.9/debian/changelog     2020-02-28 
09:16:12.000000000 +0200
+++ golang-github-sylabs-sif-1.0.9/debian/changelog     2021-07-03 
13:32:11.000000000 +0300
@@ -1,3 +1,11 @@
+golang-github-sylabs-sif (1.0.9-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add fix from YunQiang Su for architecture-dependent behaviour
+    in mmap() prot. (Closes: #983583)
+
+ -- Adrian Bunk <[email protected]>  Sat, 03 Jul 2021 13:32:11 +0300
+
 golang-github-sylabs-sif (1.0.9-2) unstable; urgency=medium
 
   * Build-Depends correction (Closes: #951538).
diff -Nru golang-github-sylabs-sif-1.0.9/debian/patches/load-mmap.patch 
golang-github-sylabs-sif-1.0.9/debian/patches/load-mmap.patch
--- golang-github-sylabs-sif-1.0.9/debian/patches/load-mmap.patch       
1970-01-01 02:00:00.000000000 +0200
+++ golang-github-sylabs-sif-1.0.9/debian/patches/load-mmap.patch       
2021-07-03 13:32:11.000000000 +0300
@@ -0,0 +1,16 @@
+Description: Fix architecture-dependent behaviour in mmap() prot
+Author: YunQiang Su <[email protected]>
+Bug-Debian: https://bugs.debian.org/983583
+Forwarded: not-needed 
(https://github.com/sylabs/sif/commit/5ef4cc53eb9bf04e79fb96428daedd5f576fb71d)
+
+--- golang-github-sylabs-sif-1.0.9.orig/pkg/sif/load.go
++++ golang-github-sylabs-sif-1.0.9/pkg/sif/load.go
+@@ -92,7 +92,7 @@ func (fimg *FileImage) mapFile(rdonly bo
+               flags := syscall.MAP_PRIVATE
+ 
+               if !rdonly {
+-                      prot = syscall.PROT_WRITE
++                      prot = syscall.PROT_WRITE | syscall.PROT_READ
+                       flags = syscall.MAP_SHARED
+               }
+ 
diff -Nru golang-github-sylabs-sif-1.0.9/debian/patches/series 
golang-github-sylabs-sif-1.0.9/debian/patches/series
--- golang-github-sylabs-sif-1.0.9/debian/patches/series        1970-01-01 
02:00:00.000000000 +0200
+++ golang-github-sylabs-sif-1.0.9/debian/patches/series        2021-07-03 
13:32:11.000000000 +0300
@@ -0,0 +1 @@
+load-mmap.patch

--- End Message ---
--- Begin Message ---
Unblocked.

--- End Message ---

Reply via email to