Package Details: perl-sdl 2.548-14

Git Clone URL: https://aur.archlinux.org/perl-sdl.git (read-only, click to copy)
Package Base: perl-sdl
Description: Simple DirectMedia Layer for Perl
Upstream URL: https://metacpan.org/dist/SDL
Keywords: perl
Licenses: LGPL
Submitter: arojas
Maintainer: lighterowl
Last Packager: lighterowl
Votes: 4
Popularity: 0.48
First Submitted: 2022-04-01 18:12 (UTC)
Last Updated: 2024-09-04 20:50 (UTC)

Latest Comments

1 2 Next › Last »

lighterowl commented on 2024-10-25 15:07 (UTC)

Hi @MarsSeed , thanks for the kind words, I adopted that package.

MarsSeed commented on 2024-10-25 14:59 (UTC)

Hi @lighterowl,

I have orphaned the companion package, perl-alien-sdl due little free time and winding down my active focus on Arch Linux.

You might wanna take it under your competent ownership. :)

Cheers.

ketmorco commented on 2024-09-10 18:46 (UTC)

Looks like that works, thanks!

lighterowl commented on 2024-09-02 17:54 (UTC)

Thanks, this is now fixed, must be a compiler/makepkg related change as this should've failed much earlier.

Also added a patch from PR 308 to fix a test failure.

MarsSeed commented on 2024-09-02 08:06 (UTC)

I can verify, this is happening on my end too, in clean chroot. I've rebuilt all AUR dependencies (perl-alien-sdl, sdl_pango) before testing this build.

ketmorco commented on 2024-09-01 21:16 (UTC)

Getting an issue with:

lib/SDLx/Surface.xs: In function ‘get_pixel32’: lib/SDLx/Surface.xs:25:25: error: implicit declaration of function ‘_calc_offset’ [-Wimplicit-function-declaration] 25 | void* s = pixels + _calc_offset(surface, x, y); | ^~~~ error building lib/SDLx/Surface.o from 'lib/SDLx/Surface.c' at /usr/share/perl5/core_perl/ExtUtils/CBuilder/Base.pm line 185. ==> ERROR: A failure occurred in build().

lighterowl commented on 2023-08-09 19:17 (UTC)

Thanks.

core_video.t worked for me out of the box so I didn't worry too much about it. I added the diff for the PR you mentioned and it still passes, so at least it's not more broken than before.

MarsSeed commented on 2023-08-09 00:54 (UTC)

It seems this relatively recent, still open PR#306 fixes a bug relating to SDL_Surface * reference ownership, preventing a use-after-free crash manifesting as the reported test failure in t/core_video.t.

MarsSeed commented on 2023-08-08 23:46 (UTC) (edited on 2023-08-09 00:11 (UTC) by MarsSeed)

The core_video.t test still fails (I am on X11, not Wayland):

==> Making package: perl-sdl 2.548-11 (2023-08-09, 01:31:45 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found SDL-2.548.tar.gz
  -> Found github-pr304-dont-use-deprecated-macro.diff
==> Validating source files with sha512sums...
    SDL-2.548.tar.gz ... Passed
    github-pr304-dont-use-deprecated-macro.diff ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting SDL-2.548.tar.gz with bsdtar
==> Starting prepare()...
File src/SDLx/Controller/Interface.xs is read-only; trying to patch anyway
patching file src/SDLx/Controller/Interface.xs
==> Sources are ready.
==> Making package: perl-sdl 2.548-11 (2023-08-09, 01:31:47 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
*************************** !!!WARNING!!! ********************************
This Release breaks back compatibility support with versions 2.4x and below
**************************************************************************
Using 'My::Builder::Unix' class ...
[Alien::SDL] Testing header(s): SDL.hDetecting available libraries ...

[Alien::SDL] Testing header(s): SDL_Pango.h
[Alien::SDL] Testing header(s): SDL_mixer.h
[Alien::SDL] Testing header(s): SDL_image.h
[Alien::SDL] Testing header(s): SDL_framerate.h
[Alien::SDL] Testing header(s): SDL_ttf.h
[Alien::SDL] Testing header(s): SDL_rotozoom.h
[Alien::SDL] Testing header(s): SDL_gfxPrimitives.h
[Alien::SDL] Testing header(s): SDL_gfxBlitFunc.h
[Alien::SDL] Testing header(s): SDL_imageFilter.hWriting config_data ...
Saving some info to 'notes' ...

[Alien::SDL] Testing header(s): execinfo.h, signal.hCreated MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'SDL' version '2.548'

[Alien::SDL] Build option used:
        Already installed SDL ver=1.2.64 path=/usr
Building SDL
cc -Isrc -I/usr/lib/perl5/5.38/core_perl/CORE -fPIC -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe 
    -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' '-march=x86-64' '-mtune=generic' -O2 
    -pipe -fno-plt -fexceptions '-Wp,-D_FORTIFY_SOURCE=2' -Wformat '-Werror=format-security' -fstack-clash-protection -fcf-protection 
    -g '-ffile-prefix-map=/build/perl/src=/usr/src/debug/perl' '-flto=auto' -o src/support/win32.o src/support/win32.c
cc -Isrc -I/usr/lib/perl5/5.38/core_perl/CORE '-DVERSION="2.548"' '-DXS_VERSION="2.548"' -fPIC -DNOSIGCATCH -O2 
    -I/usr/include/SDL '-D_GNU_SOURCE=1' -D_REENTRANT -I/usr/include/smpeg -I/usr/include -I/usr/include -I/usr/local/include 
    -DHAVE_SDL -DUSE_THREADS -fPIC -c -D_REENTRANT -D_GNU_SOURCE -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong 
    -I/usr/local/include -D_LARGEFILE_SOURCE '-D_FILE_OFFSET_BITS=64' '-march=x86-64' '-mtune=generic' -O2 -pipe -fno-plt -fexceptions 
    '-Wp,-D_FORTIFY_SOURCE=2' -Wformat '-Werror=format-security' -fstack-clash-protection -fcf-protection -g 
    '-ffile-prefix-map=/build/perl/src=/usr/src/debug/perl' '-flto=auto' -o lib/SDL/Audio.o lib/SDL/Audio.c
In file included from /usr/lib/perl5/5.38/core_perl/CORE/perl.h:44,
                 from lib/SDL/Audio.xs:2:
/usr/lib/perl5/5.38/core_perl/CORE/config.h:5262: warning: "USE_THREADS" redefined
 5262 | #define         USE_THREADS             /**/
      | 
<command-line>: note: this is the location of the previous definition
ExtUtils::Mkbootstrap::Mkbootstrap('blib/arch/auto/SDL/Audio/Audio.bs')

[...]

==> Starting check()...
[Alien::SDL] Build option used:
        Already installed SDL ver=1.2.64 path=/usr
Building SDL
t/00-load.t ..................... ok
t/colorpm.t ..................... ok
t/config.t ...................... ok
t/core.t ........................ ok
t/core_audio.t .................. ok
t/core_audiospec.t .............. skipped: author tests not required for installation
INFO: This app is looking for CD-ROM drives, but no path was specified
INFO: Set the SDL12COMPAT_FAKE_CDROM_PATH environment variable to a directory
INFO: of MP3 files named trackXX.mp3 where XX is a track number in two digits
INFO: from 01 to 99
t/core_cd.t ..................... ok
t/core_error.t .................. ok
t/core_events.t ................. ok
t/core_joystick.t ............... ok
t/core_mouse.t .................. ok
t/core_multi.t .................. ok
t/core_overlay.t ................ ok
t/core_palette.t ................ ok
t/core_rect.t ................... ok
t/core_rwops.t .................. ok
t/core_surface.t ................ ok
t/core_timer.t .................. ok
t/core_version.t ................ ok
corrupted size vs. prev_size
t/core_video.t .................. 
All 66 subtests passed 
        (2 TODO tests unexpectedly succeeded)
t/core_video_convert_surface.t .. ok
t/core_video_gamma.t ............ ok
t/extendingrect.t ............... ok
t/gfx.t ......................... ok
t/gfx_fpsmanager.t .............. ok
t/gfx_framerate.t ............... ok
t/gfx_imagefilter.t ............. ok
t/gfx_primitives.t .............. ok
t/gfx_primitives2.t ............. ok
t/gfx_rotozoom.t ................ ok
t/image.t ....................... ok
t/image_xpm_array.t ............. ok
t/mixer.t ....................... ok
t/mixer_channels.t .............. ok
t/mixer_effects.t ............... ok
t/mixer_groups.t ................ ok
t/mixer_mixchunk.t .............. ok
t/mixer_mixmusic.t .............. ok
t/mixer_music.t ................. ok
t/mixer_samples.t ............... ok
t/pango.t ....................... ok
t/sdlgamerect.t ................. ok
t/sdlx_app.t .................... ok
t/sdlx_controller.t ............. ok
t/sdlx_controller_interface.t ... ok
t/sdlx_fps.t .................... ok
t/sdlx_layermanager.t ........... ok
t/sdlx_music.t .................. ok
t/sdlx_rect.t ................... ok
t/sdlx_sfont.t .................. ok
t/sdlx_sound.t .................. ok
t/sdlx_sprite.t ................. ok
t/sdlx_sprite_animated.t ........ ok
t/sdlx_surface.t ................ ok
t/sdlx_text.t ................... ok
t/sdlx_validate.t ............... ok
t/smpeg.t ....................... skipped: smpeg support not compiled
t/ttf.t ......................... ok
t/ttf_font.t .................... ok

Test Summary Report
-------------------
t/core.t                      (Wstat: 0 Tests: 28 Failed: 0)
  TODO passed:   21-22, 27
t/core_multi.t                (Wstat: 0 Tests: 4 Failed: 0)
  TODO passed:   3
t/core_timer.t                (Wstat: 0 Tests: 6 Failed: 0)
  TODO passed:   6
t/core_video.t                (Wstat: 134 (Signal: ABRT, dumped core) Tests: 66 Failed: 0)
  TODO passed:   57, 59
  Non-zero wait status: 134
  Parse errors: No plan found in TAP output
t/gfx_imagefilter.t           (Wstat: 0 Tests: 8 Failed: 0)
  TODO passed:   7
Files=59, Tests=3783, 175 wallclock secs ( 0.35 usr  0.09 sys + 74.68 cusr  7.06 csys = 82.18 CPU)
Result: FAIL
Failed 1/59 test programs. 0/3783 subtests failed.
==> ERROR: A failure occurred in check().
    Aborting...