Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Arch Linux compilation/installation isn't Cooperative #1625

Closed
kinker31 opened this issue Mar 27, 2024 · 33 comments
Closed

Arch Linux compilation/installation isn't Cooperative #1625

kinker31 opened this issue Mar 27, 2024 · 33 comments
Labels

Comments

@kinker31
Copy link

More or less what the title says, the package running into conflict into something with SDL2_Net. Likely might be an issue on my end, and ran into the same problem on Woof. I'm on Arch Linux, using the Linux-Zen kernel.

Here's the relevant log:

AUR Explicit (1): nugget-doom-3.0.0-1
:: PKGBUILD up to date, skipping download: nugget-doom
  1 nugget-doom                      (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> A
:: Deleting (1/1): /home/kinker31/.cache/yay/nugget-doom
HEAD is now at 7e849b7 3.0.0-1
warning: could not open directory 'pkg/': Permission denied
Removing nugget-doom-3.0.0.tar.gz
Removing pkg/
Removing src/
  1 nugget-doom                      (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> 
==> Making package: nugget-doom 3.0.0-1 (Wed Mar 27 02:05:19 2024)
==> Retrieving sources...
  -> Downloading nugget-doom-3.0.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 7335k    0 7335k    0     0  4090k      0 --:--:--  0:00:01 --:--:-- 5618k
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha256sums...
    nugget-doom-3.0.0.tar.gz ... Passed
:: (1/1) Parsing SRCINFO: nugget-doom
==> Making package: nugget-doom 3.0.0-1 (Wed Mar 27 02:05:22 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found nugget-doom-3.0.0.tar.gz
==> Validating source files with sha256sums...
    nugget-doom-3.0.0.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting nugget-doom-3.0.0.tar.gz with bsdtar
==> Sources are ready.
==> Making package: nugget-doom 3.0.0-1 (Wed Mar 27 02:05:24 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
-- The C compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /sbin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Looking for pow in m
-- Looking for pow in m - found
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Found Python3: /sbin/python3.11 (found version "3.11.8") found components: Interpreter
-- Performing Test CFLAG_Werror_array-bounds
-- Performing Test CFLAG_Werror_array-bounds - Success
-- Performing Test CFLAG_Werror_clobbered
-- Performing Test CFLAG_Werror_clobbered - Success
-- Performing Test CFLAG_Werror_format-security
-- Performing Test CFLAG_Werror_format-security - Success
-- Performing Test CFLAG_Werror_implicit-function-declaration
-- Performing Test CFLAG_Werror_implicit-function-declaration - Success
-- Performing Test CFLAG_Werror_incompatible-pointer-types
-- Performing Test CFLAG_Werror_incompatible-pointer-types - Success
-- Performing Test CFLAG_Werror_int-conversion
-- Performing Test CFLAG_Werror_int-conversion - Success
-- Performing Test CFLAG_Werror_volatile-register-var
-- Performing Test CFLAG_Werror_volatile-register-var - Success
-- Performing Test CFLAG_Wformat_2
-- Performing Test CFLAG_Wformat_2 - Success
-- Performing Test CFLAG_Wnull-dereference
-- Performing Test CFLAG_Wnull-dereference - Success
-- Performing Test CFLAG_Wredundant-decls
-- Performing Test CFLAG_Wredundant-decls - Success
-- Performing Test CFLAG_Wrestrict
-- Performing Test CFLAG_Wrestrict - Success
-- Performing Test CFLAG_Wall
-- Performing Test CFLAG_Wall - Success
-- Configuring done (3.8s)
CMake Error in src/CMakeLists.txt:
  Imported target "SDL2_net::SDL2_net" includes non-existent path                                             
                                                                                                              
    "//include/SDL2"                                                                                          
                                                                                                              
  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:                                            
                                                                                                              
  * The path was deleted, renamed, or moved to another location.                                              
                                                                                                              
  * An install or uninstall procedure did not complete successfully.                                          
                                                                                                              
  * The installation package was faulty and references files it does not                                      
  provide.                                                                                                    
                                                                                                              
                                                                                                              
                                                                                                              
CMake Error in src/CMakeLists.txt:
  Imported target "SDL2_net::SDL2_net" includes non-existent path                                             
                                                                                                              
    "//include/SDL2"                                                                                          
                                                                                                              
  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:                                            
                                                                                                              
  * The path was deleted, renamed, or moved to another location.                                              
                                                                                                              
  * An install or uninstall procedure did not complete successfully.                                          
                                                                                                              
  * The installation package was faulty and references files it does not                                      
  provide.                                                                                                    
                                                                                                              
                                                                                                              
                                                                                                              
-- Generating done (0.0s)
CMake Generate step failed.  Build files cannot be regenerated correctly.
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: nugget-doom-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
nugget-doom - exit status 4
@fabiangreffrath
Copy link
Owner

Have you ever compiled/installed a local copy of SDL2 or SDL2_net?

@kinker31
Copy link
Author

I don't believe I have; Like I said, could very be likely the issue's on my end.
Would installing SDL2[_net]-git through the AUR do the trick? Sorry if I seem a little oblivious, still kinda new to Arch, but I plan to stick the course, whatever that means.

@fabiangreffrath
Copy link
Owner

Do you mean you haven't installed SDL2 and SDL2_net yet?

@kinker31
Copy link
Author

SDL2 and SDL2_net are installed on the system, though I got them through the official repository.

@ceski-1
Copy link
Collaborator

ceski-1 commented Mar 28, 2024

Something like this should work:

sudo pacman -S sdl2 sdl2_net openal libsndfile fluidsynth
yay libxmp
yay woof-doom

If not, I think you'll need to do some basic troubleshooting steps, e.g. pacman -Qikl sdl2, and then review ArchWiki and the yay readme.

@fabiangreffrath
Copy link
Owner

SDL2 and SDL2_net are installed on the system, though I got them through the official repository.

By this you mean the official SDL2 repository or the official Arch repository?

@kinker31
Copy link
Author

SDL2 and SDL2_net are installed on the system, though I got them through the official repository.

By this you mean the official SDL2 repository or the official Arch repository?

Got the packages from the latter.

Something like this should work:

sudo pacman -S sdl2 sdl2_net openal libsndfile fluidsynth
yay libxmp
yay woof-doom

If not, I think you'll need to do some basic troubleshooting steps, e.g. pacman -Qikl sdl2, and then review ArchWiki and the yay readme.

I think I already tried the commands you suggested, but went ahead and re-installed the packages anyhow, but alas, still didn't quite work. Here's the output of pacman -Qikl sdl2, by the way:

Name            : sdl2
Version         : 2.30.1-1
Description     : A library for portable low-level access
                  to a video framebuffer, audio output,
                  mouse, and keyboard (Version 2)
Architecture    : x86_64
URL             : https://www.libsdl.org
Licenses        : MIT
Groups          : None
Provides        : None
Depends On      : glibc  libxext  libxrender  libx11
                  libgl  libxcursor  hidapi  libusb
Optional Deps   : alsa-lib: ALSA audio driver [installed]
                  libpulse: PulseAudio audio driver
                  [installed]
                  jack: JACK audio driver [installed]
                  pipewire: PipeWire audio driver
                  libdecor: Wayland client decorations
Required By     : basiliskii-git  doomretro
                  dosbox-staging  eternity-engine
                  ffmpeg-obs  fluidsynth  gzdoom-git
                  sdl12-compat  sdl2_image  sdl2_mixer
                  sdl2_net  wxwidgets-gtk3
Optional For    : mpg123  wine
Conflicts With  : None
Replaces        : None
Installed Size  : 4.42 MiB
Packager        : Sven-Hendrik Haase
                  <[email protected]>
Build Date      : Wed Mar 6 06:20:05 2024
Install Date    : Thu Mar 28 17:42:56 2024
Install Reason  : Installed as a dependency for another
                  package
Install Script  : No
Validated By    : Signature

sdl2 /usr/
sdl2 /usr/bin/
sdl2 /usr/bin/sdl2-config
sdl2 /usr/include/
sdl2 /usr/include/SDL2/
sdl2 /usr/include/SDL2/SDL.h
sdl2 /usr/include/SDL2/SDL_assert.h
sdl2 /usr/include/SDL2/SDL_atomic.h
sdl2 /usr/include/SDL2/SDL_audio.h
sdl2 /usr/include/SDL2/SDL_bits.h
sdl2 /usr/include/SDL2/SDL_blendmode.h
sdl2 /usr/include/SDL2/SDL_clipboard.h
sdl2 /usr/include/SDL2/SDL_config.h
sdl2 /usr/include/SDL2/SDL_copying.h
sdl2 /usr/include/SDL2/SDL_cpuinfo.h
sdl2 /usr/include/SDL2/SDL_egl.h
sdl2 /usr/include/SDL2/SDL_endian.h
sdl2 /usr/include/SDL2/SDL_error.h
sdl2 /usr/include/SDL2/SDL_events.h
sdl2 /usr/include/SDL2/SDL_filesystem.h
sdl2 /usr/include/SDL2/SDL_gamecontroller.h
sdl2 /usr/include/SDL2/SDL_gesture.h
sdl2 /usr/include/SDL2/SDL_guid.h
sdl2 /usr/include/SDL2/SDL_haptic.h
sdl2 /usr/include/SDL2/SDL_hidapi.h
sdl2 /usr/include/SDL2/SDL_hints.h
sdl2 /usr/include/SDL2/SDL_joystick.h
sdl2 /usr/include/SDL2/SDL_keyboard.h
sdl2 /usr/include/SDL2/SDL_keycode.h
sdl2 /usr/include/SDL2/SDL_loadso.h
sdl2 /usr/include/SDL2/SDL_locale.h
sdl2 /usr/include/SDL2/SDL_log.h
sdl2 /usr/include/SDL2/SDL_main.h
sdl2 /usr/include/SDL2/SDL_messagebox.h
sdl2 /usr/include/SDL2/SDL_metal.h
sdl2 /usr/include/SDL2/SDL_misc.h
sdl2 /usr/include/SDL2/SDL_mouse.h
sdl2 /usr/include/SDL2/SDL_mutex.h
sdl2 /usr/include/SDL2/SDL_name.h
sdl2 /usr/include/SDL2/SDL_opengl.h
sdl2 /usr/include/SDL2/SDL_opengl_glext.h
sdl2 /usr/include/SDL2/SDL_opengles.h
sdl2 /usr/include/SDL2/SDL_opengles2.h
sdl2 /usr/include/SDL2/SDL_opengles2_gl2.h
sdl2 /usr/include/SDL2/SDL_opengles2_gl2ext.h
sdl2 /usr/include/SDL2/SDL_opengles2_gl2platform.h
sdl2 /usr/include/SDL2/SDL_opengles2_khrplatform.h
sdl2 /usr/include/SDL2/SDL_pixels.h
sdl2 /usr/include/SDL2/SDL_platform.h
sdl2 /usr/include/SDL2/SDL_power.h
sdl2 /usr/include/SDL2/SDL_quit.h
sdl2 /usr/include/SDL2/SDL_rect.h
sdl2 /usr/include/SDL2/SDL_render.h
sdl2 /usr/include/SDL2/SDL_revision.h
sdl2 /usr/include/SDL2/SDL_rwops.h
sdl2 /usr/include/SDL2/SDL_scancode.h
sdl2 /usr/include/SDL2/SDL_sensor.h
sdl2 /usr/include/SDL2/SDL_shape.h
sdl2 /usr/include/SDL2/SDL_stdinc.h
sdl2 /usr/include/SDL2/SDL_surface.h
sdl2 /usr/include/SDL2/SDL_system.h
sdl2 /usr/include/SDL2/SDL_syswm.h
sdl2 /usr/include/SDL2/SDL_test.h
sdl2 /usr/include/SDL2/SDL_test_assert.h
sdl2 /usr/include/SDL2/SDL_test_common.h
sdl2 /usr/include/SDL2/SDL_test_compare.h
sdl2 /usr/include/SDL2/SDL_test_crc32.h
sdl2 /usr/include/SDL2/SDL_test_font.h
sdl2 /usr/include/SDL2/SDL_test_fuzzer.h
sdl2 /usr/include/SDL2/SDL_test_harness.h
sdl2 /usr/include/SDL2/SDL_test_images.h
sdl2 /usr/include/SDL2/SDL_test_log.h
sdl2 /usr/include/SDL2/SDL_test_md5.h
sdl2 /usr/include/SDL2/SDL_test_memory.h
sdl2 /usr/include/SDL2/SDL_test_random.h
sdl2 /usr/include/SDL2/SDL_thread.h
sdl2 /usr/include/SDL2/SDL_timer.h
sdl2 /usr/include/SDL2/SDL_touch.h
sdl2 /usr/include/SDL2/SDL_types.h
sdl2 /usr/include/SDL2/SDL_version.h
sdl2 /usr/include/SDL2/SDL_video.h
sdl2 /usr/include/SDL2/SDL_vulkan.h
sdl2 /usr/include/SDL2/begin_code.h
sdl2 /usr/include/SDL2/close_code.h
sdl2 /usr/lib/
sdl2 /usr/lib/cmake/
sdl2 /usr/lib/cmake/SDL2/
sdl2 /usr/lib/cmake/SDL2/SDL2Config.cmake
sdl2 /usr/lib/cmake/SDL2/SDL2ConfigVersion.cmake
sdl2 /usr/lib/cmake/SDL2/SDL2Targets-noconfig.cmake
sdl2 /usr/lib/cmake/SDL2/SDL2Targets.cmake
sdl2 /usr/lib/cmake/SDL2/SDL2mainTargets-noconfig.cmake
sdl2 /usr/lib/cmake/SDL2/SDL2mainTargets.cmake
sdl2 /usr/lib/cmake/SDL2/SDL2testTargets-noconfig.cmake
sdl2 /usr/lib/cmake/SDL2/SDL2testTargets.cmake
sdl2 /usr/lib/cmake/SDL2/sdlfind.cmake
sdl2 /usr/lib/libSDL2-2.0.so
sdl2 /usr/lib/libSDL2-2.0.so.0
sdl2 /usr/lib/libSDL2-2.0.so.0.3000.1
sdl2 /usr/lib/libSDL2.so
sdl2 /usr/lib/libSDL2_test.a
sdl2 /usr/lib/libSDL2main.a
sdl2 /usr/lib/pkgconfig/
sdl2 /usr/lib/pkgconfig/sdl2.pc
sdl2 /usr/share/
sdl2 /usr/share/aclocal/
sdl2 /usr/share/aclocal/sdl2.m4
sdl2 /usr/share/licenses/
sdl2 /usr/share/licenses/SDL2/
sdl2 /usr/share/licenses/SDL2/LICENSE.txt
sdl2 /usr/share/licenses/sdl2/
sdl2 /usr/share/licenses/sdl2/LICENSE
sdl2: 112 total files, 0 missing files

@mikeday0
Copy link
Contributor

Do you have pkg-config installed?

@kinker31
Copy link
Author

Do you have pkg-config installed?

Yep, re-installed it and tried it again just to make sure, which unfortunately resulted in the same problem.

@mikeday0
Copy link
Contributor

mikeday0 commented Mar 29, 2024

I think this might be a problem with the current release of SDL2_net. See: libsdl-org/SDL_net#89 If you're up for it, the best way to proceed here is to try manually building and installing the library from the latest commit on the SDL2 branch of the SDL_net repo. Unfortunately there doesn't seem to be an Arch *-git package for SDL2_net.

@kinker31
Copy link
Author

kinker31 commented Apr 3, 2024

I think this might be a problem with the current release of SDL2_net. See: libsdl-org/SDL_net#89 If you're up for it, the best way to proceed here is to try manually building and installing the library from the latest commit on the SDL2 branch of the SDL_net repo. Unfortunately there doesn't seem to be an Arch *-git package for SDL2_net.

Well, I finally managed to manually build/install the latest SDL2-net library, but alas, I'm still met with the same error when I try compiling. Same log, same debug messages, same... same.

@fabiangreffrath
Copy link
Owner

Could you run cmake with -DSDL2_NET_DIR=/usr?

@mikeday0
Copy link
Contributor

mikeday0 commented Apr 4, 2024

I think you're trying to build using yay, is that correct? If so, try setting the environment variable SDL2_NET_ROOT to /usr/local. This should cause cmake to find your manually-built (and hopefully fixed) library before the pacman-installed library. Something like:

env SDL2_NET_ROOT=/usr/local yay woof-doom

@kinker31
Copy link
Author

kinker31 commented Apr 4, 2024

Could you run cmake with -DSDL2_NET_DIR=/usr?

Sure, and presuming this is supposed to replace "cmake .." during compilation and installing, this is what I got:

-- The C compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /sbin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Configuring SDL2_net 2.3.0
-- Found SDL2test: /usr/lib/libSDL2_test.a
-- Performing Test HAVE_WL_NO_UNDEFINED
-- Performing Test HAVE_WL_NO_UNDEFINED - Success
-- Found SDL2main: /usr/lib/libSDL2main.a
-- Configuring done (0.3s)
-- Generating done (0.0s)
CMake Warning:
  Manually-specified variables were not used by the project:

    SDL2_NET_DIR


-- Build files have been written to: /home/kinker31/SDL_net/build

I think you're trying to build using yay, is that correct? If so, try setting the environment variable SDL2_NET_ROOT to /usr/local. This should cause cmake to find your manually-built (and hopefully fixed) library before the pacman-installed library. Something like:

env SDL2_NET_ROOT=/usr/local yay woof-doom

I am indeed using yay to build/install, and running the command you suggested at the bottom unfortunately does not work. Gives me the same exact error. No idea if I'm still doing something wrong, or if it's a library's fault.

@mikeday0
Copy link
Contributor

mikeday0 commented Apr 4, 2024

Okay, one last thing to try and then I'm out of ideas.

First, navigate to the build directory you created when compiling SDL_net. There should be a file named install_manifest.txt that (unsurprisingly) lists all of the files that were installed when running make install. You need to delete these files. You can do this by hand or all in one go with a command like:

cat install_manifest.txt | sudo xargs rm (Note that you'll need elevated permissions)

Next we're going to try building SDL_net via autotools. Create a fresh empty build directory as before and navigate to it. Then run:
../configure
make
sudo make install

Fingers crossed.

@kinker31
Copy link
Author

kinker31 commented Apr 6, 2024

Okay, one last thing to try and then I'm out of ideas.

First, navigate to the build directory you created when compiling SDL_net. There should be a file named install_manifest.txt that (unsurprisingly) lists all of the files that were installed when running make install. You need to delete these files. You can do this by hand or all in one go with a command like:

cat install_manifest.txt | sudo xargs rm (Note that you'll need elevated permissions)

Next we're going to try building SDL_net via autotools. Create a fresh empty build directory as before and navigate to it. Then run: ../configure make sudo make install

Fingers crossed.

Here's the log of the entire process, at least I think so:

[kinker31@renderinator build]$ dir
CMakeCache.txt		       SDL2_net.pc		    chatd		  libSDL2_net-2.0.so.0.300.0
CMakeFiles		       SDL2_net.pc.intermediate     cmake_install.cmake   libSDL2_net.so
Makefile		       SDL2_netConfig.cmake	    install_manifest.txt  showinterfaces
SDL2_net-.pc		       SDL2_netConfigVersion.cmake  libSDL2_net-2.0.so
SDL2_net-shared-targets.cmake  chat			    libSDL2_net-2.0.so.0
[kinker31@renderinator build]$ cat install_manifest.txt | sudo xargs rm
[kinker31@renderinator build]$ cd ..
[kinker31@renderinator SDL_net]$ rm -rf build
[kinker31@renderinator SDL_net]$ mkdir build
[kinker31@renderinator SDL_net]$ cd build
[kinker31@renderinator build]$ ../configure
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking for a sed that does not truncate output... /sbin/sed
checking for grep that handles long lines and -e... /sbin/grep
checking for egrep... /sbin/grep -E
checking for fgrep... /sbin/grep -F
checking for ld used by gcc... /sbin/ld
checking if the linker (/sbin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /sbin/nm -B
checking the name lister (/sbin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /sbin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /sbin/nm -B output from gcc object... ok
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/sbin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /sbin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of gcc... gcc3
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for windres... no
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /sbin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for sdl2 >= 2.0.4... yes
checking for GCC -Wall option... yes
checking for necessary GCC -Wno-multichar option... no
checking for GCC -fvisibility=hidden option... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sdl2_net-config.cmake
config.status: creating sdl2_net-config-version.cmake
config.status: creating SDL2_net.spec
config.status: creating SDL2_net.pc
config.status: executing libtool commands
config.status: executing depfiles commands
[kinker31@renderinator build]$ make
CDPATH="${ZSH_VERSION+.}:" && cd .. && /bin/sh '/home/kinker31/SDL_net/missing' aclocal-1.16 -I acinclude
 cd .. && /bin/sh /home/kinker31/SDL_net/missing automake-1.16 --foreign
CDPATH="${ZSH_VERSION+.}:" && cd .. && /bin/sh '/home/kinker31/SDL_net/missing' autoconf
/bin/sh ./config.status --recheck
running CONFIG_SHELL=/bin/sh /bin/sh ../configure --no-create --no-recursion
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for gcc... gcc
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 the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking for a sed that does not truncate output... /sbin/sed
checking for grep that handles long lines and -e... /sbin/grep
checking for egrep... /sbin/grep -E
checking for fgrep... /sbin/grep -F
checking for ld used by gcc... /sbin/ld
checking if the linker (/sbin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /sbin/nm -B
checking the name lister (/sbin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /sbin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /sbin/nm -B output from gcc object... ok
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/sbin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /sbin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports the include directive... yes (GNU style)
checking whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '1000' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking dependency style of gcc... gcc3
checking for gcc... (cached) gcc
checking whether the compiler supports GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to enable C11 features... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking for windres... no
checking whether make sets $(MAKE)... (cached) yes
checking for pkg-config... /sbin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for sdl2 >= 2.0.4... yes
checking for GCC -Wall option... yes
checking for necessary GCC -Wno-multichar option... no
checking for GCC -fvisibility=hidden option... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
 /bin/sh ./config.status
config.status: creating Makefile
config.status: creating sdl2_net-config.cmake
config.status: creating sdl2_net-config-version.cmake
config.status: creating SDL2_net.spec
config.status: creating SDL2_net.pc
config.status: executing libtool commands
config.status: executing depfiles commands
gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" -DPACKAGE_STRING=\"SDL2_net\ 2.3.0\" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I..  -I../include   -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT examples/showinterfaces-showinterfaces.o -MD -MP -MF examples/.deps/showinterfaces-showinterfaces.Tpo -c -o examples/showinterfaces-showinterfaces.o `test -f 'examples/showinterfaces.c' || echo '../'`examples/showinterfaces.c
mv -f examples/.deps/showinterfaces-showinterfaces.Tpo examples/.deps/showinterfaces-showinterfaces.Po
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" -DPACKAGE_STRING=\"SDL2_net\ 2.3.0\" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I..  -I../include   -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT src/libSDL2_net_la-SDLnet.lo -MD -MP -MF src/.deps/libSDL2_net_la-SDLnet.Tpo -c -o src/libSDL2_net_la-SDLnet.lo `test -f 'src/SDLnet.c' || echo '../'`src/SDLnet.c
libtool: compile:  gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" "-DPACKAGE_STRING=\"SDL2_net 2.3.0\"" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I.. -I../include -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT src/libSDL2_net_la-SDLnet.lo -MD -MP -MF src/.deps/libSDL2_net_la-SDLnet.Tpo -c ../src/SDLnet.c  -fPIC -DPIC -o src/.libs/libSDL2_net_la-SDLnet.o
libtool: compile:  gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" "-DPACKAGE_STRING=\"SDL2_net 2.3.0\"" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I.. -I../include -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT src/libSDL2_net_la-SDLnet.lo -MD -MP -MF src/.deps/libSDL2_net_la-SDLnet.Tpo -c ../src/SDLnet.c -o src/libSDL2_net_la-SDLnet.o >/dev/null 2>&1
mv -f src/.deps/libSDL2_net_la-SDLnet.Tpo src/.deps/libSDL2_net_la-SDLnet.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" -DPACKAGE_STRING=\"SDL2_net\ 2.3.0\" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I..  -I../include   -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT src/libSDL2_net_la-SDLnetTCP.lo -MD -MP -MF src/.deps/libSDL2_net_la-SDLnetTCP.Tpo -c -o src/libSDL2_net_la-SDLnetTCP.lo `test -f 'src/SDLnetTCP.c' || echo '../'`src/SDLnetTCP.c
libtool: compile:  gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" "-DPACKAGE_STRING=\"SDL2_net 2.3.0\"" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I.. -I../include -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT src/libSDL2_net_la-SDLnetTCP.lo -MD -MP -MF src/.deps/libSDL2_net_la-SDLnetTCP.Tpo -c ../src/SDLnetTCP.c  -fPIC -DPIC -o src/.libs/libSDL2_net_la-SDLnetTCP.o
libtool: compile:  gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" "-DPACKAGE_STRING=\"SDL2_net 2.3.0\"" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I.. -I../include -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT src/libSDL2_net_la-SDLnetTCP.lo -MD -MP -MF src/.deps/libSDL2_net_la-SDLnetTCP.Tpo -c ../src/SDLnetTCP.c -o src/libSDL2_net_la-SDLnetTCP.o >/dev/null 2>&1
mv -f src/.deps/libSDL2_net_la-SDLnetTCP.Tpo src/.deps/libSDL2_net_la-SDLnetTCP.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" -DPACKAGE_STRING=\"SDL2_net\ 2.3.0\" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I..  -I../include   -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT src/libSDL2_net_la-SDLnetUDP.lo -MD -MP -MF src/.deps/libSDL2_net_la-SDLnetUDP.Tpo -c -o src/libSDL2_net_la-SDLnetUDP.lo `test -f 'src/SDLnetUDP.c' || echo '../'`src/SDLnetUDP.c
libtool: compile:  gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" "-DPACKAGE_STRING=\"SDL2_net 2.3.0\"" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I.. -I../include -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT src/libSDL2_net_la-SDLnetUDP.lo -MD -MP -MF src/.deps/libSDL2_net_la-SDLnetUDP.Tpo -c ../src/SDLnetUDP.c  -fPIC -DPIC -o src/.libs/libSDL2_net_la-SDLnetUDP.o
libtool: compile:  gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" "-DPACKAGE_STRING=\"SDL2_net 2.3.0\"" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I.. -I../include -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT src/libSDL2_net_la-SDLnetUDP.lo -MD -MP -MF src/.deps/libSDL2_net_la-SDLnetUDP.Tpo -c ../src/SDLnetUDP.c -o src/libSDL2_net_la-SDLnetUDP.o >/dev/null 2>&1
mv -f src/.deps/libSDL2_net_la-SDLnetUDP.Tpo src/.deps/libSDL2_net_la-SDLnetUDP.Plo
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" -DPACKAGE_STRING=\"SDL2_net\ 2.3.0\" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I..  -I../include   -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT src/libSDL2_net_la-SDLnetselect.lo -MD -MP -MF src/.deps/libSDL2_net_la-SDLnetselect.Tpo -c -o src/libSDL2_net_la-SDLnetselect.lo `test -f 'src/SDLnetselect.c' || echo '../'`src/SDLnetselect.c
libtool: compile:  gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" "-DPACKAGE_STRING=\"SDL2_net 2.3.0\"" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I.. -I../include -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT src/libSDL2_net_la-SDLnetselect.lo -MD -MP -MF src/.deps/libSDL2_net_la-SDLnetselect.Tpo -c ../src/SDLnetselect.c  -fPIC -DPIC -o src/.libs/libSDL2_net_la-SDLnetselect.o
libtool: compile:  gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" "-DPACKAGE_STRING=\"SDL2_net 2.3.0\"" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I.. -I../include -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT src/libSDL2_net_la-SDLnetselect.lo -MD -MP -MF src/.deps/libSDL2_net_la-SDLnetselect.Tpo -c ../src/SDLnetselect.c -o src/libSDL2_net_la-SDLnetselect.o >/dev/null 2>&1
mv -f src/.deps/libSDL2_net_la-SDLnetselect.Tpo src/.deps/libSDL2_net_la-SDLnetselect.Plo
/bin/sh ./libtool  --tag=CC   --mode=link gcc  -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -no-undefined -release 2.0 -version-info 300:0:300   -o libSDL2_net.la -rpath /usr/local/lib src/libSDL2_net_la-SDLnet.lo src/libSDL2_net_la-SDLnetTCP.lo src/libSDL2_net_la-SDLnetUDP.lo src/libSDL2_net_la-SDLnetselect.lo  -lSDL2
libtool: link: gcc -shared  src/.libs/libSDL2_net_la-SDLnet.o src/.libs/libSDL2_net_la-SDLnetTCP.o src/.libs/libSDL2_net_la-SDLnetUDP.o src/.libs/libSDL2_net_la-SDLnetselect.o   -lSDL2    -Wl,-soname -Wl,libSDL2_net-2.0.so.0 -o .libs/libSDL2_net-2.0.so.0.300.0
libtool: link: (cd ".libs" && rm -f "libSDL2_net-2.0.so.0" && ln -s "libSDL2_net-2.0.so.0.300.0" "libSDL2_net-2.0.so.0")
libtool: link: (cd ".libs" && rm -f "libSDL2_net.so" && ln -s "libSDL2_net-2.0.so.0.300.0" "libSDL2_net.so")
libtool: link: ar cru .libs/libSDL2_net.a  src/libSDL2_net_la-SDLnet.o src/libSDL2_net_la-SDLnetTCP.o src/libSDL2_net_la-SDLnetUDP.o src/libSDL2_net_la-SDLnetselect.o
ar: `u' modifier ignored since `D' is the default (see `U')
libtool: link: ranlib .libs/libSDL2_net.a
libtool: link: ( cd ".libs" && rm -f "libSDL2_net.la" && ln -s "../libSDL2_net.la" "libSDL2_net.la" )
/bin/sh ./libtool  --tag=CC   --mode=link gcc  -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden   -o showinterfaces examples/showinterfaces-showinterfaces.o libSDL2_net.la -lSDL2
libtool: link: gcc -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -o .libs/showinterfaces examples/showinterfaces-showinterfaces.o  ./.libs/libSDL2_net.so -lSDL2 -Wl,-rpath -Wl,/usr/local/lib
gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" -DPACKAGE_STRING=\"SDL2_net\ 2.3.0\" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I..  -I../include   -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT examples/chat-chat.o -MD -MP -MF examples/.deps/chat-chat.Tpo -c -o examples/chat-chat.o `test -f 'examples/chat.c' || echo '../'`examples/chat.c
mv -f examples/.deps/chat-chat.Tpo examples/.deps/chat-chat.Po
/bin/sh ./libtool  --tag=CC   --mode=link gcc  -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden   -o chat examples/chat-chat.o libSDL2_net.la -lSDL2_test -lSDL2
libtool: link: gcc -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -o .libs/chat examples/chat-chat.o  ./.libs/libSDL2_net.so -lSDL2_test -lSDL2 -Wl,-rpath -Wl,/usr/local/lib
gcc -DPACKAGE_NAME=\"SDL2_net\" -DPACKAGE_TARNAME=\"SDL2_net\" -DPACKAGE_VERSION=\"2.3.0\" -DPACKAGE_STRING=\"SDL2_net\ 2.3.0\" -DPACKAGE_BUGREPORT=\"https://github.com/libsdl-org/SDL_net/issues\" -DPACKAGE_URL=\"\" -DHAVE_STDIO_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_STRINGS_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_UNISTD_H=1 -DSTDC_HEADERS=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSDL_BUILD_MAJOR_VERSION=2 -DSDL_BUILD_MINOR_VERSION=3 -DSDL_BUILD_MICRO_VERSION=0 -DPACKAGE=\"SDL2_net\" -DVERSION=\"2.3.0\" -I. -I..  -I../include   -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -MT examples/chatd-chatd.o -MD -MP -MF examples/.deps/chatd-chatd.Tpo -c -o examples/chatd-chatd.o `test -f 'examples/chatd.c' || echo '../'`examples/chatd.c
mv -f examples/.deps/chatd-chatd.Tpo examples/.deps/chatd-chatd.Po
/bin/sh ./libtool  --tag=CC   --mode=link gcc  -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden   -o chatd examples/chatd-chatd.o libSDL2_net.la -lSDL2
libtool: link: gcc -g -O2 -I/usr/include/SDL2 -D_REENTRANT -Wall -fvisibility=hidden -o .libs/chatd examples/chatd-chatd.o  ./.libs/libSDL2_net.so -lSDL2 -Wl,-rpath -Wl,/usr/local/lib
[kinker31@renderinator build]$ sudo make install
make[1]: Entering directory '/home/kinker31/SDL_net/build'
 /sbin/mkdir -p '/usr/local/lib'
 /bin/sh ./libtool   --mode=install /bin/install -c   libSDL2_net.la '/usr/local/lib'
libtool: install: /bin/install -c .libs/libSDL2_net-2.0.so.0.300.0 /usr/local/lib/libSDL2_net-2.0.so.0.300.0
libtool: install: (cd /usr/local/lib && { ln -s -f libSDL2_net-2.0.so.0.300.0 libSDL2_net-2.0.so.0 || { rm -f libSDL2_net-2.0.so.0 && ln -s libSDL2_net-2.0.so.0.300.0 libSDL2_net-2.0.so.0; }; })
libtool: install: (cd /usr/local/lib && { ln -s -f libSDL2_net-2.0.so.0.300.0 libSDL2_net.so || { rm -f libSDL2_net.so && ln -s libSDL2_net-2.0.so.0.300.0 libSDL2_net.so; }; })
libtool: install: /bin/install -c .libs/libSDL2_net.lai /usr/local/lib/libSDL2_net.la
libtool: install: /bin/install -c .libs/libSDL2_net.a /usr/local/lib/libSDL2_net.a
libtool: install: chmod 644 /usr/local/lib/libSDL2_net.a
libtool: install: ranlib /usr/local/lib/libSDL2_net.a
libtool: finish: PATH="/home/kinker31/.local/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/sbin" ldconfig -n /usr/local/lib
----------------------------------------------------------------------
Libraries have been installed in:
   /usr/local/lib

If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
   - add LIBDIR to the `LD_LIBRARY_PATH' environment variable
     during execution
   - add LIBDIR to the `LD_RUN_PATH' environment variable
     during linking
   - use the `-Wl,-rpath -Wl,LIBDIR' linker flag
   - have your system administrator add LIBDIR to `/etc/ld.so.conf'

See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
/sbin/mkdir -p /usr/local/lib/cmake/SDL2_net
/bin/install -c -m 644 sdl2_net-config.cmake /usr/local/lib/cmake/SDL2_net
/bin/install -c -m 644 sdl2_net-config-version.cmake /usr/local/lib/cmake/SDL2_net
 /sbin/mkdir -p '/usr/local/include/SDL2'
 /bin/install -c -m 644 ../include/SDL_net.h '/usr/local/include/SDL2'
 /sbin/mkdir -p '/usr/local/lib/pkgconfig'
 /bin/install -c -m 644 SDL2_net.pc '/usr/local/lib/pkgconfig'
make[1]: Leaving directory '/home/kinker31/SDL_net/build'

Still the same error when I try running yay -S woof-doom.

:(

@kinker31
Copy link
Author

kinker31 commented Apr 6, 2024

Actually... new idea. I'm gonna try building Woof from the source, maybe that could get me somewhere.

Here's to hopin'.

@fabiangreffrath
Copy link
Owner

Any news on this? Anything we can do to improve the situation from a Doom source port POV?

@kinker31
Copy link
Author

Any news on this? Anything we can do to improve the situation from a Doom source port POV?

Sorry for the late reply, but I did send a comment over to the package maintainer over at the AUR, but I haven't heard anything back yet. I also tried to look up the issue, but wasn't able to get anything relevant on the issue. Even with a -Syu or two, it still gives the same problem.

I did try to compile it directly from source, but only ran into the same issue.

@rfomin
Copy link
Collaborator

rfomin commented Apr 26, 2024

I did try to compile it directly from source, but only ran into the same issue.

I also use Arch, never tried the AUR package, but compiling from source works fine. Have you tried compiling other SDL projects, e.g. Chocolate/Crispy Doom?

@kinker31
Copy link
Author

I did try to compile it directly from source, but only ran into the same issue.

I also use Arch, never tried the AUR package, but compiling from source works fine. Have you tried compiling other SDL projects, e.g. Chocolate/Crispy Doom?

I did try compiling Chocolate Doom from source, and it did work. I'm gonna try compiling Woof from source again, but I'm not entirely optimistic it'll work.

@kinker31
Copy link
Author

At first I still got the same error, but then I went over to the main directory, and ran cmake -B build -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=OFF out of blind faith from the only other post I could find about this issue. One make and make install later... it worked, it installed, and it now runs.

I have no idea why.

@rfomin
Copy link
Collaborator

rfomin commented Apr 29, 2024

cmake -B build -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=OFF

It seems that there are problems with the CMake configs on your system. You are probably building Chocolate Doom with autogen.sh. Chocolate Doom also supports CMake, and it probably won't work by default.

@kinker31
Copy link
Author

It seems that there are problems with the CMake configs on your system.

Oh dear. Any way I can go about fixing the issue... and is this even the proper question to ask?

@fabiangreffrath
Copy link
Owner

Could you build Chocolate Doom with CMake, following the same build instruction as for Woof?

@kinker31
Copy link
Author

Could you build Chocolate Doom with CMake, following the same build instruction as for Woof?

That I did, and here's what I got:

-- The C compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /sbin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found ZLIB: /usr/lib/libz.so (found version "1.3.1")
-- Found PNG: /usr/lib/libpng.so (found version "1.6.43")
-- Found FluidSynth: /usr/lib/libfluidsynth.so (found suitable version "2.3.5", minimum required is "2.2.0")
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for strncasecmp
-- Looking for strncasecmp - found
-- Looking for dirent.h
-- Looking for dirent.h - found
-- Configuring done (0.8s)
CMake Error in src/CMakeLists.txt:
  Imported target "SDL2_net::SDL2_net" includes non-existent path

    "//include/SDL2"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/CMakeLists.txt:
  Imported target "SDL2_net::SDL2_net" includes non-existent path

    "//include/SDL2"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/doom/CMakeLists.txt:
  Imported target "SDL2_net::SDL2_net" includes non-existent path

    "//include/SDL2"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/heretic/CMakeLists.txt:
  Imported target "SDL2_net::SDL2_net" includes non-existent path

    "//include/SDL2"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/hexen/CMakeLists.txt:
  Imported target "SDL2_net::SDL2_net" includes non-existent path

    "//include/SDL2"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/strife/CMakeLists.txt:
  Imported target "SDL2_net::SDL2_net" includes non-existent path

    "//include/SDL2"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



-- Generating done (0.1s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

@fabiangreffrath
Copy link
Owner

See, something's wrong on your system. What does

pkg-config --variable pc_path pkg-config

give?

It will return a list of directories separated by colons. Please check these directories for copies of SDL2_net.pc. Please post the contents of these files here.

@fabiangreffrath
Copy link
Owner

dirs=`pkg-config --variable pc_path pkg-config | tr ':' ' '` ; for dir in $dirs ; do if test -f ${dir}/SDL2_net.pc ; then echo $dir ; cat ${dir}/SDL2_net.pc ; fi ; done

@kinker31
Copy link
Author

See, something's wrong on your system. What does pkg-config --variable pc_path pkg-config give?

/usr/lib/pkgconfig:/usr/share/pkgconfig

dirs=`pkg-config --variable pc_path pkg-config | tr ':' ' '` ; for dir in $dirs ; do if test -f ${dir}/SDL2_net.pc ; then echo $dir ; cat ${dir}/SDL2_net.pc ; fi ; done
/usr/lib/pkgconfig
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: SDL2_net
Description: net library for Simple DirectMedia Layer
Version: 2.2.0
Requires: sdl2 >= 2.0.4
Libs: -L${libdir} -lSDL2_net
#Libs.private:
#Libs: -L${libdir} -lSDL2_net
Cflags: -I${includedir}/SDL2

@joanbm
Copy link
Contributor

joanbm commented May 1, 2024

I think I managed to figure out what's causing the build to go wrong for you. The hint is in this line of your log:

-- Check for working C compiler: /sbin/cc - skipped

You appear to have /sbin on your $PATH. I'm not sure how it got there, but AFAICT this is not the way Arch comes out-of-the-box, and it's useless anyway since on Arch Linux /sbin is a symlink to /usr/bin anyway - but those kinds of setups often confuse build tools.

For me it works with the default $PATH without /sbin:

$ rm -rf build && cmake -B build
[...]
-- Configuring done (2.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/zealcharm/woof/build

But with /sbin in the $PATH I get your exact error:

$ rm -rf build && PATH=/sbin:$PATH cmake -B build
[...]
-- Configuring done (2.4s)
CMake Error in src/CMakeLists.txt:
  Imported target "SDL2_net::SDL2_net" includes non-existent path

    "//include/SDL2"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/CMakeLists.txt:
  Imported target "SDL2_net::SDL2_net" includes non-existent path

    "//include/SDL2"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



-- Generating done (0.0s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

I'd suggest removing it, for reference the $PATH of a clean Arch install currently is:

PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

@kinker31
Copy link
Author

kinker31 commented May 1, 2024

I think I managed to figure out what's causing the build to go wrong for you. The hint is in this line of your log:

-- Check for working C compiler: /sbin/cc - skipped

You appear to have /sbin on your $PATH. I'm not sure how it got there, but AFAICT this is not the way Arch comes out-of-the-box, and it's useless anyway since on Arch Linux /sbin is a symlink to /usr/bin anyway - but those kinds of setups often confuse build tools.

For me it works with the default $PATH without /sbin:

$ rm -rf build && cmake -B build
[...]
-- Configuring done (2.3s)
-- Generating done (0.0s)
-- Build files have been written to: /home/zealcharm/woof/build

But with /sbin in the $PATH I get your exact error:

$ rm -rf build && PATH=/sbin:$PATH cmake -B build
[...]
-- Configuring done (2.4s)
CMake Error in src/CMakeLists.txt:
  Imported target "SDL2_net::SDL2_net" includes non-existent path

    "//include/SDL2"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



CMake Error in src/CMakeLists.txt:
  Imported target "SDL2_net::SDL2_net" includes non-existent path

    "//include/SDL2"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.



-- Generating done (0.0s)
CMake Generate step failed.  Build files cannot be regenerated correctly.

I'd suggest removing it, for reference the $PATH of a clean Arch install currently is:

PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl

Well, I replaced $PATH with what you suggested, and lo and behold, it finally works properly.

@kinker31 kinker31 closed this as completed May 1, 2024
@fabiangreffrath
Copy link
Owner

Wow, thank you @joanbm !

@joanbm
Copy link
Contributor

joanbm commented May 2, 2024

Wow, thank you @joanbm !

Heh, I had someone run into similar problems with another AUR package I maintain a few years ago (albeit that package was unrelated to Woof and used autotools), so when I saw that "Check for working C compiler: /sbin/cc" I had a flash that it could be the same problem, and indeed it was.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

6 participants