Bug 29303

Summary: [Update Request] zsnes 2.0.8
Product: Mageia Reporter: Zombie Ryushu <zombie_ryushu>
Component: RPM PackagesAssignee: Rémi Verschelde <rverschelde>
Status: ASSIGNED --- QA Contact:
Severity: normal    
Priority: Low    
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/xyproto/zsnes
Whiteboard:
Source RPM: zsnes-1.51-1.src.rpm CVE:
Status comment: Needs upstream bugfix before this can be packaged
Attachments: zsnes.spec for new Arch Linux fork

Description Zombie Ryushu 2021-07-31 10:49:29 CEST
A maintained fork of ZSNES, a Super Nintendo emulator. The original project needs patches to build and is not maintained anymore: https://sourceforge.net/projects/zsnes/
Comment 1 Lewis Smith 2021-08-01 20:20:45 CEST
Thank you for the hint.
Assigning to the SRPM maintainer akien.

Assignee: bugsquad => rverschelde

Comment 2 Rémi Verschelde 2021-08-02 13:41:03 CEST
Thanks, I'll have a look.

Status: NEW => ASSIGNED

Comment 3 Rémi Verschelde 2021-08-02 14:19:30 CEST
So far it's just packaging improvements so I don't see a reason to backport for Mageia 8, I'll add it to Cauldron.

Version: 8 => Cauldron

Comment 4 Rémi Verschelde 2021-08-02 14:24:33 CEST
I packaged it and it's crashing. Upstream repo doesn't have issue tracker enabled so I can't debug this with them yet.

So on hold... (Another demonstration that "new version != must have")

```
*** buffer overflow detected ***: terminated

Program received signal SIGABRT, Aborted.
0xf7fcc549 in __kernel_vsyscall ()
(gdb) bt
#0  0xf7fcc549 in __kernel_vsyscall ()
#1  0xf783ca73 in raise () from /lib/libc.so.6
#2  0xf78272fd in abort () from /lib/libc.so.6
#3  0xf787e36c in __libc_message () from /lib/libc.so.6
#4  0xf79197ac in __fortify_fail () from /lib/libc.so.6
#5  0xf79180c9 in __chk_fail () from /lib/libc.so.6
#6  0x082c63e1 in memset (__len=<optimized out>, __ch=0, __dest=<optimized out>) at /usr/include/bits/string_fortified.h:59
#7  clearvidsound () at initc.c:1375
#8  0x082c85be in init65816 () at initc.c:2485
#9  0x08293055 in init () at c_init.c:113
#10 0x082c99bc in zstart () at ui.c:361
#11 0x082d5cb5 in main (argc=1, argv=0xffffc9b4) at zloader.c:975
```

Attaching spec file to revisit later.
Comment 5 Rémi Verschelde 2021-08-02 14:25:15 CEST
Created attachment 12881 [details]
zsnes.spec for new Arch Linux fork
Rémi Verschelde 2021-08-02 14:25:52 CEST

Status comment: (none) => Needs upstream bugfix before this can be packaged
Priority: Normal => Low