unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#22020: guile-sdl-0.5.2 fails to install on i686
@ 2015-11-26 22:31 Luis Felipe López Acevedo
  2015-11-29 11:49 ` bug#22020: Guile-SDL 0.5.2 test failure i686-linux-gnu Ludovic Courtès
                   ` (3 more replies)
  0 siblings, 4 replies; 8+ messages in thread
From: Luis Felipe López Acevedo @ 2015-11-26 22:31 UTC (permalink / raw)
  To: 22020

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@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/

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#22020: Guile-SDL 0.5.2 test failure i686-linux-gnu
  2015-11-26 22:31 bug#22020: guile-sdl-0.5.2 fails to install on i686 Luis Felipe López Acevedo
@ 2015-11-29 11:49 ` Ludovic Courtès
  2016-02-05 13:13 ` Ludovic Courtès
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2015-11-29 11:49 UTC (permalink / raw)
  To: bug-guile-sdl; +Cc: 22020

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@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’.

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#22020: Guile-SDL 0.5.2 test failure i686-linux-gnu
  2015-11-26 22:31 bug#22020: guile-sdl-0.5.2 fails to install on i686 Luis Felipe López Acevedo
  2015-11-29 11:49 ` bug#22020: Guile-SDL 0.5.2 test failure i686-linux-gnu Ludovic Courtès
@ 2016-02-05 13:13 ` Ludovic Courtès
  2020-05-14 17:55 ` bug#22020: guile-sdl-0.5.2 fails to install on i686 Ricardo Wurmus
  2022-06-19 22:59 ` bug#22020: [PATCH] gnu: guile-sdl: Update to 0.6.1 Thiago Jung Bauermann via Bug reports for GNU Guix
  3 siblings, 0 replies; 8+ messages in thread
From: Ludovic Courtès @ 2016-02-05 13:13 UTC (permalink / raw)
  To: bug-guile-sdl; +Cc: 22020

[-- Attachment #1: Type: text/plain, Size: 175 bytes --]

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’.


[-- Attachment #2: Type: message/rfc822, Size: 5995 bytes --]

From: ludo@gnu.org (Ludovic Courtès)
To: bug-guile-sdl@gnu.org, 22020@debbugs.gnu.org
Cc: 22020@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
Message-ID: <874mg5m3dk.fsf@gnu.org>

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@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’.





^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#22020: guile-sdl-0.5.2 fails to install on i686
  2015-11-26 22:31 bug#22020: guile-sdl-0.5.2 fails to install on i686 Luis Felipe López Acevedo
  2015-11-29 11:49 ` bug#22020: Guile-SDL 0.5.2 test failure i686-linux-gnu Ludovic Courtès
  2016-02-05 13:13 ` Ludovic Courtès
@ 2020-05-14 17:55 ` Ricardo Wurmus
  2020-05-17 12:05   ` Efraim Flashner
  2022-06-19 22:59 ` bug#22020: [PATCH] gnu: guile-sdl: Update to 0.6.1 Thiago Jung Bauermann via Bug reports for GNU Guix
  3 siblings, 1 reply; 8+ messages in thread
From: Ricardo Wurmus @ 2020-05-14 17:55 UTC (permalink / raw)
  To: 22020; +Cc: bug-guile-sdl

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@gnu.org
======================================
--8<---------------cut here---------------end--------------->8---

I’m putting bug-guile-sdl@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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#22020: guile-sdl-0.5.2 fails to install on i686
  2020-05-14 17:55 ` bug#22020: guile-sdl-0.5.2 fails to install on i686 Ricardo Wurmus
@ 2020-05-17 12:05   ` Efraim Flashner
  0 siblings, 0 replies; 8+ messages in thread
From: Efraim Flashner @ 2020-05-17 12:05 UTC (permalink / raw)
  To: Ricardo Wurmus; +Cc: bug-guile-sdl, 22020

[-- Attachment #1: Type: text/plain, Size: 1914 bytes --]

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@gnu.org
> ======================================
> --8<---------------cut here---------------end--------------->8---
> 
> I’m putting bug-guile-sdl@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@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#22020: [PATCH] gnu: guile-sdl: Update to 0.6.1
  2015-11-26 22:31 bug#22020: guile-sdl-0.5.2 fails to install on i686 Luis Felipe López Acevedo
                   ` (2 preceding siblings ...)
  2020-05-14 17:55 ` bug#22020: guile-sdl-0.5.2 fails to install on i686 Ricardo Wurmus
@ 2022-06-19 22:59 ` Thiago Jung Bauermann via Bug reports for GNU Guix
  2022-09-01 13:07   ` Efraim Flashner
  3 siblings, 1 reply; 8+ messages in thread
From: Thiago Jung Bauermann via Bug reports for GNU Guix @ 2022-06-19 22:59 UTC (permalink / raw)
  To: 22020; +Cc: Thiago Jung Bauermann

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@gnuvola.org>" [expired]
gpg:                 aka "Thien-Thi Nguyen <ttn@gnuvola.org>" [expired]
gpg:                 aka "Thien-Thi Nguyen <ttn@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




^ permalink raw reply related	[flat|nested] 8+ messages in thread

* bug#22020: [PATCH] gnu: guile-sdl: Update to 0.6.1
  2022-06-19 22:59 ` bug#22020: [PATCH] gnu: guile-sdl: Update to 0.6.1 Thiago Jung Bauermann via Bug reports for GNU Guix
@ 2022-09-01 13:07   ` Efraim Flashner
  2022-09-03  2:58     ` Thiago Jung Bauermann via Bug reports for GNU Guix
  0 siblings, 1 reply; 8+ messages in thread
From: Efraim Flashner @ 2022-09-01 13:07 UTC (permalink / raw)
  To: Thiago Jung Bauermann; +Cc: 22020-done

[-- Attachment #1: Type: text/plain, Size: 295 bytes --]

It's been a while since you submitted this patch, but it's applied now.
Thanks!

-- 
Efraim Flashner   <efraim@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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* bug#22020: [PATCH] gnu: guile-sdl: Update to 0.6.1
  2022-09-01 13:07   ` Efraim Flashner
@ 2022-09-03  2:58     ` Thiago Jung Bauermann via Bug reports for GNU Guix
  0 siblings, 0 replies; 8+ messages in thread
From: Thiago Jung Bauermann via Bug reports for GNU Guix @ 2022-09-03  2:58 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 22020-done


Hello Efraim,

Efraim Flashner <efraim@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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-09-03  3:00 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-26 22:31 bug#22020: guile-sdl-0.5.2 fails to install on i686 Luis Felipe López Acevedo
2015-11-29 11:49 ` bug#22020: Guile-SDL 0.5.2 test failure i686-linux-gnu Ludovic Courtès
2016-02-05 13:13 ` Ludovic Courtès
2020-05-14 17:55 ` bug#22020: guile-sdl-0.5.2 fails to install on i686 Ricardo Wurmus
2020-05-17 12:05   ` Efraim Flashner
2022-06-19 22:59 ` bug#22020: [PATCH] gnu: guile-sdl: Update to 0.6.1 Thiago Jung Bauermann via Bug reports for GNU Guix
2022-09-01 13:07   ` Efraim Flashner
2022-09-03  2:58     ` Thiago Jung Bauermann via Bug reports for GNU Guix

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).