Hi, I've gotten a report that DirectFB is not building for my Links-g-directfb AUR.
make[3]: Entering directory '/home/frestein/.cache/yay/directfb/src/DirectFB-DIRECTFB_1_7_7/systems/sdl'
CC sdlgfx.lo
CCLD libdirectfb_sdlgraphics.la
CC sdlinput.lo
CCLD libdirectfb_sdlinput.la
CC primary.lo
primary.c:328:27: error: initialization of 'DFBResult (*)(CoreLayer *, void *, void *, void *, CoreLayerRegionConfig *, CoreLayerRegionConfigFlags, CoreSurface *, CorePalette *, CoreSurfaceBufferLock *, CoreSurfaceBufferLock *' {aka 'DFBResult (*)(struct __DFB_CoreLayer *, void *, void *, void *, struct __DFB_CoreLayerRegionConfig *, CoreLayerRegionConfigFlags, struct __DFB_CoreSurface *, struct _CorePalette *, struct __DFB_CoreSurfaceBufferLock *, struct __DFB_CoreSurfaceBufferLock *)'} from incompatible pointer type 'DFBResult (*)(CoreLayer *, void *, void *, void *, CoreLayerRegionConfig *, CoreLayerRegionConfigFlags, CoreSurface *, CorePalette *, CoreSurfaceBufferLock *)' {aka 'DFBResult (*)(struct __DFB_CoreLayer *, void *, void *, void *, struct __DFB_CoreLayerRegionConfig *, CoreLayerRegionConfigFlags, struct __DFB_CoreSurface *, struct _CorePalette *, struct __DFB_CoreSurfaceBufferLock *)'} [-Wincompatible-pointer-types]
328 | .SetRegion = primarySetRegion,
| ^~~~~~~~~~~~~~~~
primary.c:328:27: note: (near initialization for 'primaryLayerFuncs.SetRegion')
primary.c:331:27: error: initialization of 'DFBResult (*)(CoreLayer *, void *, void *, void *, CoreSurface *, const DFBRegion *, CoreSurfaceBufferLock *, const DFBRegion *, CoreSurfaceBufferLock *)' {aka 'DFBResult (*)(struct __DFB_CoreLayer *, void *, void *, void *, struct __DFB_CoreSurface *, const DFBRegion *, struct __DFB_CoreSurfaceBufferLock *, const DFBRegion *, struct __DFB_CoreSurfaceBufferLock *)'} from incompatible pointer type 'DFBResult (*)(CoreLayer *, void *, void *, void *, CoreSurface *, const DFBRegion *, CoreSurfaceBufferLock *)' {aka 'DFBResult (*)(struct __DFB_CoreLayer *, void *, void *, void *, struct __DFB_CoreSurface *, const DFBRegion *, struct __DFB_CoreSurfaceBufferLock *)'} [-Wincompatible-pointer-types]
331 | .UpdateRegion = primaryUpdateRegion,
| ^~~~~~~~~~~~~~~~~~~
primary.c:331:27: note: (near initialization for 'primaryLayerFuncs.UpdateRegion')
make[3]: *** [Makefile:758: primary.lo] Error 1
make[3]: Leaving directory '/home/frestein/.cache/yay/directfb/src/DirectFB-DIRECTFB_1_7_7/systems/sdl'
make[2]: *** [Makefile:546: all-recursive] Error 1
make[2]: Leaving directory '/home/frestein/.cache/yay/directfb/src/DirectFB-DIRECTFB_1_7_7/systems'
make[1]: *** [Makefile:707: all-recursive] Error 1
make[1]: Leaving directory '/home/frestein/.cache/yay/directfb/src/DirectFB-DIRECTFB_1_7_7'
make: *** [Makefile:575: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
-> error making: directfb-exit status 4
==> Making package: links-g-directfb 2.30-1 (Mon 09 Dec 2024 08:55:55 AM +05)
==> Checking runtime dependencies...
==> Missing dependencies:
-> directfb
==> Checking buildtime dependencies...
==> ERROR: Could not resolve all dependencies.
-> error making: links-g-directfb-exit status 8
-> Failed to install the following packages. Manual intervention is required:
directfb - exit status 4
Can someone please look into this?
Pinned Comments
acxz commented on 2020-03-29 08:14 (UTC)
Development is on Github: https://github.com/acxz/pkgbuilds Please open issues and PRs there instead of commenting.