GNU bug report logs - #22020
guile-sdl-0.5.2 fails to install on i686

Previous Next

Package: guix;

Reported by: Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org>

Date: Thu, 26 Nov 2015 23:12:02 UTC

Severity: minor

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22020 in the body.
You can then email your comments to 22020 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#22020; Package guix. (Thu, 26 Nov 2015 23:12:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Thu, 26 Nov 2015 23:12:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Luis Felipe López Acevedo
 <felipe.lopez <at> openmailbox.org>
To: bug-guix <at> gnu.org
Subject: guile-sdl-0.5.2 fails to install on i686
Date: Thu, 26 Nov 2015 17:31:23 -0500
Hi,

I'm using Guix 0.9.0 on Debian 8 (i686). Running the following command:

    $ guix package -i guile-sdl

Results in the following error:

--8<---------------cut here---------------start------------->8---
======================================
1 of 9 tests failed
(2 tests were not run)
Please report to bug-guile-sdl <at> gnu.org
======================================
Makefile:352: recipe for target 'check-TESTS' failed
make[2]: *** [check-TESTS] Error 1
make[2]: Leaving directory
'/tmp/nix-build-guile-sdl-0.5.2.drv-0/guile-sdl-0.5.2/test'
Makefile:475: recipe for target 'check-am' failed
make[1]: *** [check-am] Error 2
make[1]: Leaving directory
'/tmp/nix-build-guile-sdl-0.5.2.drv-0/guile-sdl-0.5.2/test'
Makefile:415: recipe for target 'check-recursive' failed
make: *** [check-recursive] Error 1
phase `check' failed after 24.3 seconds
builder for
`/gnu/store/zq1lxrsqsn3xkzcg0z4s88j5pgjndijm-guile-sdl-0.5.2.drv' failed
with exit code 1
cannot build derivation
`/gnu/store/0wlwdvdj7xba6kljfwxxsg4ch7ckdrgs-profile.drv': 1
dependencies couldn't be built
guix package: error: build failed: build of
`/gnu/store/0wlwdvdj7xba6kljfwxxsg4ch7ckdrgs-profile.drv' failed
--8<---------------cut here---------------end--------------->8---

Hydra also says the package is failing to build:

http://hydra.gnu.org/build/814627#tabs-summary


Thanks,

-- 
Luis Felipe López Acevedo
http://sirgazil.bitbucket.org/





Information forwarded to bug-guix <at> gnu.org:
bug#22020; Package guix. (Sun, 29 Nov 2015 11:51:02 GMT) Full text and rfc822 format available.

Message #8 received at 22020 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-guile-sdl <at> gnu.org
Cc: 22020 <at> debbugs.gnu.org
Subject: Guile-SDL 0.5.2 test failure i686-linux-gnu
Date: Sun, 29 Nov 2015 12:49:59 +0100
Hello!

On GNU Guix, we’re seeing one 100% reproducible test failure on
i686-linux-gnu:

--8<---------------cut here---------------start------------->8---
/gnu/store/isxqjfaglyfsbcv75y8qbqbph8v28ykr-bash-4.3.39/bin/bash: line 5:   838 Segmentation fault      (core dumped) HAVE_TTF=1 HAVE_MIXER=0 sh zow ${dir}$tst
FAIL: gfx.scm
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/misc/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/TTF/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/OTF/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/Type1/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/100dpi/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/75dpi/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/misc/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/TTF/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/OTF/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/Type1/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/100dpi/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/75dpi/
PASS: fading.scm
======================================
1 of 9 tests failed
(2 tests were not run)
Please report to bug-guile-sdl <at> gnu.org
======================================
--8<---------------cut here---------------end--------------->8---

(Note that we run tests with the Xvfb server.  See
<http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/sdl.scm#n303>.)

The backtrace is mildly informative:

--8<---------------cut here---------------start------------->8---
$ gdb $(type -P guile) core
GNU gdb (GDB) 7.10

[...]

(gdb) bt
#0  0xf4d98130 in SDL_imageFilterSubByteMMX (Src1=0x5d <error: Cannot access memory at address 0x5d>, Dest=0xffb429c8 "]", 
    SrcLength=4107944472, C=152 '\230') at SDL_imageFilter.c:2185
#1  0x09cfd470 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
--8<---------------cut here---------------end--------------->8---

That SrcLength is so high suggests it might be an integer overflow.

This is with SDL_image 1.2.12.

To reproduce with Guix, run:

  guix build guile-sdl -s i686-linux --keep-failed

Thanks,
Ludo’.




Information forwarded to bug-guix <at> gnu.org:
bug#22020; Package guix. (Fri, 05 Feb 2016 13:14:02 GMT) Full text and rfc822 format available.

Message #11 received at 22020 <at> debbugs.gnu.org (full text, mbox):

From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-guile-sdl <at> gnu.org
Cc: 22020 <at> debbugs.gnu.org
Subject: Guile-SDL 0.5.2 test failure i686-linux-gnu
Date: Fri, 05 Feb 2016 14:13:04 +0100
[Message part 1 (text/plain, inline)]
Hi!

I’m not seeing the message below at
<http://lists.gnu.org/archive/html/bug-guile-sdl/>, so resending it.
(This is from <http://bugs.gnu.org/22020>.)

Ludo’.

[Message part 2 (message/rfc822, inline)]
From: ludo <at> gnu.org (Ludovic Courtès)
To: bug-guile-sdl <at> gnu.org, 22020 <at> debbugs.gnu.org
Cc: 22020 <at> debbugs.gnu.org
Subject: bug#22020: Guile-SDL 0.5.2 test failure i686-linux-gnu
Date: Sun, 29 Nov 2015 12:49:59 +0100
Hello!

On GNU Guix, we’re seeing one 100% reproducible test failure on
i686-linux-gnu:

--8<---------------cut here---------------start------------->8---
/gnu/store/isxqjfaglyfsbcv75y8qbqbph8v28ykr-bash-4.3.39/bin/bash: line 5:   838 Segmentation fault      (core dumped) HAVE_TTF=1 HAVE_MIXER=0 sh zow ${dir}$tst
FAIL: gfx.scm
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/misc/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/TTF/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/OTF/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/Type1/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/100dpi/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/75dpi/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/misc/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/TTF/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/OTF/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/Type1/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/100dpi/
_FontTransOpen: Unable to Parse address ${prefix}/share/fonts/X11/75dpi/
PASS: fading.scm
======================================
1 of 9 tests failed
(2 tests were not run)
Please report to bug-guile-sdl <at> gnu.org
======================================
--8<---------------cut here---------------end--------------->8---

(Note that we run tests with the Xvfb server.  See
<http://git.savannah.gnu.org/cgit/guix.git/tree/gnu/packages/sdl.scm#n303>.)

The backtrace is mildly informative:

--8<---------------cut here---------------start------------->8---
$ gdb $(type -P guile) core
GNU gdb (GDB) 7.10

[...]

(gdb) bt
#0  0xf4d98130 in SDL_imageFilterSubByteMMX (Src1=0x5d <error: Cannot access memory at address 0x5d>, Dest=0xffb429c8 "]", 
    SrcLength=4107944472, C=152 '\230') at SDL_imageFilter.c:2185
#1  0x09cfd470 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
--8<---------------cut here---------------end--------------->8---

That SrcLength is so high suggests it might be an integer overflow.

This is with SDL_image 1.2.12.

To reproduce with Guix, run:

  guix build guile-sdl -s i686-linux --keep-failed

Thanks,
Ludo’.





Severity set to 'minor' from 'normal' Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Thu, 02 Jun 2016 19:42:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-guix <at> gnu.org:
bug#22020; Package guix. (Thu, 14 May 2020 17:56:02 GMT) Full text and rfc822 format available.

Message #16 received at 22020 <at> debbugs.gnu.org (full text, mbox):

From: Ricardo Wurmus <rekado <at> elephly.net>
To: 22020 <at> debbugs.gnu.org
Cc: bug-guile-sdl <at> gnu.org
Subject: guile-sdl-0.5.2 fails to install on i686
Date: Thu, 14 May 2020 19:55:12 +0200
Guile SDL 0.5.2 still fails on i686:

--8<---------------cut here---------------start------------->8---
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
/gnu/store/v1g7f3p4f0851mywrla8qmr9hb8jgfjr-bash-minimal-5.0.16/bin/bash: line 5:  6964 Segmentation fault      HAVE_TTF=1 HAVE_MIXER=0 sh zow ${dir}$tst
FAIL: gfx.scm
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Internal error:   Could not resolve keysym XF86FullScreen
Errors from xkbcomp are not fatal to the X server
PASS: fading.scm
======================================
1 of 8 tests failed
(3 tests were not run)
Please report to bug-guile-sdl <at> gnu.org
======================================
--8<---------------cut here---------------end--------------->8---

I’m putting bug-guile-sdl <at> gnu.org in Cc, hoping that this time our
message can be delivered.

If this doesn’t work we should mark this package unsupported for
i686-linux.

-- 
Ricardo




Information forwarded to bug-guix <at> gnu.org:
bug#22020; Package guix. (Sun, 17 May 2020 12:07:01 GMT) Full text and rfc822 format available.

Message #19 received at 22020 <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Ricardo Wurmus <rekado <at> elephly.net>
Cc: bug-guile-sdl <at> gnu.org, 22020 <at> debbugs.gnu.org
Subject: Re: bug#22020: guile-sdl-0.5.2 fails to install on i686
Date: Sun, 17 May 2020 15:05:48 +0300
[Message part 1 (text/plain, inline)]
On Thu, May 14, 2020 at 07:55:12PM +0200, Ricardo Wurmus wrote:
> Guile SDL 0.5.2 still fails on i686:
> 
> --8<---------------cut here---------------start------------->8---
> The XKEYBOARD keymap compiler (xkbcomp) reports:
> > Internal error:   Could not resolve keysym XF86FullScreen
> Errors from xkbcomp are not fatal to the X server
> The XKEYBOARD keymap compiler (xkbcomp) reports:
> > Internal error:   Could not resolve keysym XF86FullScreen
> Errors from xkbcomp are not fatal to the X server
> /gnu/store/v1g7f3p4f0851mywrla8qmr9hb8jgfjr-bash-minimal-5.0.16/bin/bash: line 5:  6964 Segmentation fault      HAVE_TTF=1 HAVE_MIXER=0 sh zow ${dir}$tst
> FAIL: gfx.scm
> The XKEYBOARD keymap compiler (xkbcomp) reports:
> > Internal error:   Could not resolve keysym XF86FullScreen
> Errors from xkbcomp are not fatal to the X server
> The XKEYBOARD keymap compiler (xkbcomp) reports:
> > Internal error:   Could not resolve keysym XF86FullScreen
> Errors from xkbcomp are not fatal to the X server
> PASS: fading.scm
> ======================================
> 1 of 8 tests failed
> (3 tests were not run)
> Please report to bug-guile-sdl <at> gnu.org
> ======================================
> --8<---------------cut here---------------end--------------->8---
> 
> I’m putting bug-guile-sdl <at> gnu.org in Cc, hoping that this time our
> message can be delivered.
> 
> If this doesn’t work we should mark this package unsupported for
> i686-linux.
> 
> -- 
> Ricardo
> 

I also took a look at this package last week and I saw it still failed
the tests on i686-linux. I would like to note, however, that it does
build and pass the test suite on powerpc-linux.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#22020; Package guix. (Sun, 19 Jun 2022 23:00:02 GMT) Full text and rfc822 format available.

Message #22 received at 22020 <at> debbugs.gnu.org (full text, mbox):

From: Thiago Jung Bauermann <bauermann <at> kolabnow.com>
To: 22020 <at> debbugs.gnu.org
Cc: Thiago Jung Bauermann <bauermann <at> kolabnow.com>
Subject: [PATCH] gnu: guile-sdl: Update to 0.6.1
Date: Sun, 19 Jun 2022 19:59:11 -0300
This version's testsuite passes on i686-linux.

Fixes <https://issues.guix.gnu.org/22020>.

* gnu/packages/sdl.scm (guile-sdl): Update to 0.6.1.
---

Hello,

I was looking at bug 22020 (guile-sdl-0.5.2 fails to install on i686) and
noticed that upgrading guile-sdl to the latest version fixes the problem so
this is what this patch does.

Note that the diff between 0.5.3 and 0.6.1 has almost 24k lines so I didn't
even try skimming it.

I did verify the tarball's signature using the maintainer's (expired) public
key that I downloaded from Savannah¹:

$ gpg --verify guile-sdl-0.6.1.tar.lz.sig 
gpg: assuming signed data in 'guile-sdl-0.6.1.tar.lz'
gpg: Signature made Sun Feb 20 21:16:09 2022 -03
gpg:                using DSA key 748EA0E81CB8A7489BFA6CE4670322244C807502
gpg: Good signature from "Thien-Thi Nguyen (software signing) <ttn <at> gnuvola.org>" [expired]
gpg:                 aka "Thien-Thi Nguyen <ttn <at> gnuvola.org>" [expired]
gpg:                 aka "Thien-Thi Nguyen <ttn <at> gnu.org>" [expired]
gpg: Note: This key has expired!
Primary key fingerprint: 748E A0E8 1CB8 A748 9BFA  6CE4 6703 2224 4C80 7502

I'll send a message to the guile-sdl mailing list suggesting them to publish
a new key.

Thanks,
Thiago

¹ https://savannah.gnu.org/users/ttn

 gnu/packages/sdl.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 4c38e2f05507..49bc09312a13 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -541,7 +541,7 @@ (define-public sdl2-ttf
 (define-public guile-sdl
   (package
     (name "guile-sdl")
-    (version "0.5.3")
+    (version "0.6.1")
     (source (origin
               (method url-fetch)
               (uri
@@ -549,7 +549,7 @@ (define-public guile-sdl
                               version ".tar.lz"))
               (sha256
                (base32
-                "040gyk3n3yp8i30ngdg97n3083g8b6laky2nlh10jqcyjdd550d6"))))
+                "1q985nd3birr5pny74915x098fisa6llas3ijgf1b4gdz5717nzz"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("lzip" ,lzip)

base-commit: 73761d8049f483e6685c2c736872d0366e03238a




Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Thu, 01 Sep 2022 13:09:02 GMT) Full text and rfc822 format available.

Notification sent to Luis Felipe López Acevedo <felipe.lopez <at> openmailbox.org>:
bug acknowledged by developer. (Thu, 01 Sep 2022 13:09:02 GMT) Full text and rfc822 format available.

Message #27 received at 22020-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Thiago Jung Bauermann <bauermann <at> kolabnow.com>
Cc: 22020-done <at> debbugs.gnu.org
Subject: Re: bug#22020: [PATCH] gnu: guile-sdl: Update to 0.6.1
Date: Thu, 1 Sep 2022 16:07:55 +0300
[Message part 1 (text/plain, inline)]
It's been a while since you submitted this patch, but it's applied now.
Thanks!

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#22020; Package guix. (Sat, 03 Sep 2022 03:00:02 GMT) Full text and rfc822 format available.

Message #30 received at 22020-done <at> debbugs.gnu.org (full text, mbox):

From: Thiago Jung Bauermann <bauermann <at> kolabnow.com>
To: Efraim Flashner <efraim <at> flashner.co.il>
Cc: 22020-done <at> debbugs.gnu.org
Subject: Re: bug#22020: [PATCH] gnu: guile-sdl: Update to 0.6.1
Date: Fri, 02 Sep 2022 23:58:35 -0300
Hello Efraim,

Efraim Flashner <efraim <at> flashner.co.il> writes:

> [[PGP Signed Part:Undecided]]
> It's been a while since you submitted this patch, but it's applied now.
> Thanks!

I had forgotten about this patch. Thank you!

-- 
Thanks
Thiago




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Oct 2022 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 205 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.