Skip to content

FTBFS

Description: Package fails to build from source. This is because of sdl12-compat which pulls sdl2. Configure script detects SDL2 first and then later ignores sdl_image. The output is below.

==> Starting build()...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether struct tm is in sys/time.h or time.h... time.h
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking whether lstat correctly handles trailing slash... yes
checking whether stat accepts an empty string... no
checking for vprintf... yes
checking for _doprnt... no
checking whether time.h and sys/time.h may both be included... yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for alarm... yes
checking for working mktime... yes
checking for atexit... yes
checking for floor... no
checking for setenv... yes
checking for sqrt... no
checking for strcasecmp... yes
checking for strchr... yes
checking for strerror... yes
checking for strrchr... yes
checking for memset... yes
checking for setlocale... yes
checking for strdup... yes
checking for tzset... yes
checking whether NLS is requested... yes
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for CFPreferencesCopyAppValue... no
checking for CFLocaleCopyCurrent... no
checking for GNU gettext in libc... yes
checking whether to use NLS... yes
checking where the gettext function comes from... libc
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GL... yes
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking for compiling a minimal OpenGL program... yes
checking for linking a minimal OpenGL program... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GLU... yes
checking for GL/glu.h... yes
checking for compiling a minimal OpenGL Utility (GLU) program... yes
checking for linking a minimal GLU program... yes
checking if GLU varargs tesselator is using non-standard form... no
checking GL/glc.h usability... no
checking GL/glc.h presence... no
checking for GL/glc.h... no
checking QuesoGLC/glc.h usability... no
checking QuesoGLC/glc.h presence... no
checking for QuesoGLC/glc.h... no
checking for glcGenContext in -lGLC... no
checking for glcGenContext in -lglc32... no
checking for FTGL... yes
checking for FONTCONFIG... yes
checking for SDL2... yes
checking for SDL... yes
checking for library containing glutMainLoop... -lglut
checking GL/glut.h usability... yes
checking GL/glut.h presence... yes
checking for GL/glut.h... yes
checking for compiling a minimal GLUT program... yes
checking for linking a minimal GLUT program... yes
checking for OPENAL... yes
checking for FREEALUT... yes
checking for SDL2MIXER... no
checking for SDLMIXER... no
checking for SDL2IMAGE... no
checking for SDLIMAGE... yes
checking GL/glpng.h usability... no
checking GL/glpng.h presence... no
checking for GL/glpng.h... no
checking glpng/glpng.h usability... no
checking glpng/glpng.h presence... no
checking for glpng/glpng.h... no
checking for pngBind in -lglpng... no
checking OpenAL/al.h usability... no
checking OpenAL/al.h presence... no
checking for OpenAL/al.h... no
checking OpenAL/alc.h usability... no
checking OpenAL/alc.h presence... no
checking for OpenAL/alc.h... no
checking ALUT/alut.h usability... no
checking ALUT/alut.h presence... no
checking for ALUT/alut.h... no
checking AL/al.h usability... yes
checking AL/al.h presence... yes
checking for AL/al.h... yes
checking AL/alc.h usability... yes
checking AL/alc.h presence... yes
checking for AL/alc.h... yes
checking AL/alut.h usability... yes
checking AL/alut.h presence... yes
checking for AL/alut.h... yes
configure: error: cannot find glpng or SDL_image (image loader)
==> ERROR: A failure occurred in build().
    Aborting...

!1 (merged) fixes it, but I just create this bug now for completion's sake.

Additional info:

  • package version: 0.9.16.1-1
  • config and/or log files: above
  • link to upstream bug report, if any: N/A

Steps to reproduce:

  1. Try to buid.
  2. Error at configure stage.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information