icculus / mojosetup

A standalone installer for Linux software.
https://icculus.org/mojosetup/
Other
68 stars 7 forks source link

Add support for NixOS #69

Closed Ashvith10 closed 10 months ago

Ashvith10 commented 1 year ago

Currently, mojosetup is not available on NixOS.

Ashvith10 commented 1 year ago

I've tried creating a simple derivation on Nix, but the install phase fails:

@nix { "action": "setPhase", "phase": "unpackPhase" }
unpacking sources
unpacking source archive /nix/store/sn4m3az8cxv0z43zp177i00125rbzpns-source
source root is source
@nix { "action": "setPhase", "phase": "patchPhase" }
patching sources
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
configuring
fixing cmake files...
cmake flags: -DCMAKE_FIND_USE_SYSTEM_PACKAGE_REGISTRY=OFF -DCMAKE_FIND_USE_PACKAGE_REGISTRY=OFF -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=OFF -DCMAKE_INSTALL_LOCALEDIR=/nix/store/ib4dq52q91b2y3nwkwwhxnfjqj2ajnqc-mojosetup-1.0/share/locale -DCMAKE_INSTALL_LIBEXECDIR=/nix/store/ib4dq52q91b2y3nwkwwhxnfjqj2ajnqc-mojosetup-1.0/libexec -DCMAKE_INSTALL_LIBDIR=/nix/store/ib4dq52q91b2y3nwkwwhxnfjqj2ajnqc-mojosetup-1.0/lib -DCMAKE_INSTALL_DOCDIR=/nix/store/ib4dq52q91b2y3nwkwwhxnfjqj2ajnqc-mojosetup-1.0/share/doc/MojoSetup -DCMAKE_INSTALL_INFODIR=/nix/store/ib4dq52q91b2y3nwkwwhxnfjqj2ajnqc-mojosetup-1.0/share/info -DCMAKE_INSTALL_MANDIR=/nix/store/ib4dq52q91b2y3nwkwwhxnfjqj2ajnqc-mojosetup-1.0/share/man -DCMAKE_INSTALL_OLDINCLUDEDIR=/nix/store/ib4dq52q91b2y3nwkwwhxnfjqj2ajnqc-mojosetup-1.0/include -DCMAKE_INSTALL_INCLUDEDIR=/nix/store/ib4dq52q91b2y3nwkwwhxnfjqj2ajnqc-mojosetup-1.0/include -DCMAKE_INSTALL_SBINDIR=/nix/store/ib4dq52q91b2y3nwkwwhxnfjqj2ajnqc-mojosetup-1.0/sbin -DCMAKE_INSTALL_BINDIR=/nix/store/ib4dq52q91b2y3nwkwwhxnfjqj2ajnqc-mojosetup-1.0/bin -DCMAKE_INSTALL_NAME_DIR=/nix/store/ib4dq52q91b2y3nwkwwhxnfjqj2ajnqc-mojosetup-1.0/lib -DCMAKE_POLICY_DEFAULT_CMP0025=NEW -DCMAKE_OSX_SYSROOT= -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_STRIP=/nix/store/civqmfc14c8x7l59nfiwb3qggr8sghrg-gcc-wrapper-12.3.0/bin/strip -DCMAKE_RANLIB=/nix/store/civqmfc14c8x7l59nfiwb3qggr8sghrg-gcc-wrapper-12.3.0/bin/ranlib -DCMAKE_AR=/nix/store/civqmfc14c8x7l59nfiwb3qggr8sghrg-gcc-wrapper-12.3.0/bin/ar -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DCMAKE_INSTALL_PREFIX=/nix/store/ib4dq52q91b2y3nwkwwhxnfjqj2ajnqc-mojosetup-1.0 -DGTK2_GLIBCONFIG_INCLUDE_DIR=/nix/store/nr7qxmdvpjhff4fiqib66x557n7cb5y6-glib-2.76.4/lib/glib-2.0/include -DGTK2_GDKCONFIG_INCLUDE_DIR=/nix/store/wn3990mgapj2y5hr51y2dvp21lq4vaad-gtk+-2.24.33/lib/gtk-2.0/include 
-- The C compiler identification is GNU 12.3.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /nix/store/civqmfc14c8x7l59nfiwb3qggr8sghrg-gcc-wrapper-12.3.0/bin/gcc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Performing Test MOJOSETUP_HAVE_RESTRICT_KEYWORD
-- Performing Test MOJOSETUP_HAVE_RESTRICT_KEYWORD - Success
-- Performing Test MOJOSETUP_IS_GCC4
-- Performing Test MOJOSETUP_IS_GCC4 - Success
-- Performing Test MOJOSETUP_GCC_HAS_STACKPROT
-- Performing Test MOJOSETUP_GCC_HAS_STACKPROT - Success
-- Found Curses: /nix/store/n31yg2ngxgb1smg553q4kak5ckf9cnb3-ncurses-6.4/lib/libncursesw.so  
-- Found GTK2_GTK: /nix/store/wn3990mgapj2y5hr51y2dvp21lq4vaad-gtk+-2.24.33/lib/libgtk-x11-2.0.so  
-- Found PkgConfig: /nix/store/k72kzl52x5mhz53bwgrkz5lzwdks9n1w-pkg-config-wrapper-0.29.2/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'gtk+-3.0'
--   Found gtk+-3.0, version 3.24.38
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Looking for bzlib.h
-- Looking for bzlib.h - found
-- Looking for BZ2_bzDecompress in bz2
-- Looking for BZ2_bzDecompress in bz2 - found
-- Looking for lzma.h
-- Looking for lzma.h - found
-- Looking for lzma_stream_decoder in lzma
-- Looking for lzma_stream_decoder in lzma - found
-- Looking for sys/ucred.h
-- Looking for sys/ucred.h - not found
-- Looking for mntent.h
-- Looking for mntent.h - found
-- Performing Test HAVE_SYS_MNTTAB_H
-- Performing Test HAVE_SYS_MNTTAB_H - Failed
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Looking for sin in m
-- Looking for sin in m - found
-- Configuring done (7.9s)
-- Generating done (0.1s)
CMake Warning:
  Manually-specified variables were not used by the project:

    BUILD_TESTING
    CMAKE_CXX_COMPILER
    CMAKE_EXPORT_NO_PACKAGE_REGISTRY
    CMAKE_INSTALL_BINDIR
    CMAKE_INSTALL_DOCDIR
    CMAKE_INSTALL_INCLUDEDIR
    CMAKE_INSTALL_INFODIR
    CMAKE_INSTALL_LIBDIR
    CMAKE_INSTALL_LIBEXECDIR
    CMAKE_INSTALL_LOCALEDIR
    CMAKE_INSTALL_MANDIR
    CMAKE_INSTALL_OLDINCLUDEDIR
    CMAKE_INSTALL_SBINDIR


-- Build files have been written to: /build/source/build
cmake: enabled parallel building
cmake: enabled parallel installing
@nix { "action": "setPhase", "phase": "buildPhase" }
building
build flags: -j4 SHELL=/nix/store/r4vxljid3iq94jp7qvd639sps0fscwy3-bash-5.2-p15/bin/bash
[  1%] Building C object CMakeFiles/mojosetupgui_gtkplus3.dir/gui_gtkplus3.c.o
[  2%] Building C object CMakeFiles/mojosetupgui_ncurses.dir/gui_ncurses.c.o
[  3%] Building C object CMakeFiles/mojoluac.dir/lua/src/lapi.c.o
[  4%] Building C object CMakeFiles/mojosetupgui_gtkplus2.dir/gui_gtkplus2.c.o
In file included from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtkobject.h:37,
                 from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtkwidget.h:36,
                 from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtkcontainer.h:35,
                 from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtkbin.h:35,
                 from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtkwindow.h:36,
                 from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtkdialog.h:35,
                 from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
                 from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtk.h:33,
                 from /build/source/gui_gtkplus2.c:31:
/nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
  236 | void            gtk_type_init   (GTypeDebugFlags    debug_flags);
      | ^~~~
In file included from /nix/store/rdrs3wfg3bbhcg3773yimbx5mf2mpm8h-glib-2.76.4-dev/include/glib-2.0/gobject/gobject.h:26,
                 from /nix/store/rdrs3wfg3bbhcg3773yimbx5mf2mpm8h-glib-2.76.4-dev/include/glib-2.0/gobject/gbinding.h:31,
                 from /nix/store/rdrs3wfg3bbhcg3773yimbx5mf2mpm8h-glib-2.76.4-dev/include/glib-2.0/glib-object.h:24,
                 from /nix/store/rdrs3wfg3bbhcg3773yimbx5mf2mpm8h-glib-2.76.4-dev/include/glib-2.0/gio/gioenums.h:30,
                 from /nix/store/rdrs3wfg3bbhcg3773yimbx5mf2mpm8h-glib-2.76.4-dev/include/glib-2.0/gio/giotypes.h:30,
                 from /nix/store/rdrs3wfg3bbhcg3773yimbx5mf2mpm8h-glib-2.76.4-dev/include/glib-2.0/gio/gio.h:28,
                 from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30,
                 from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gdk/gdk.h:32,
                 from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtk.h:32:
/nix/store/rdrs3wfg3bbhcg3773yimbx5mf2mpm8h-glib-2.76.4-dev/include/glib-2.0/gobject/gtype.h:723:1: note: declared here
  723 | {
      | ^
In file included from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtktoolitem.h:31,
                 from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtktoolbutton.h:30,
                 from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30,
                 from /nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtk.h:126:
/nix/store/174kk8rwvzs7h27zmz2fi0w4xlswnqz7-gtk+-2.24.33-dev/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wdeprecated-declarations-Wdeprecated-declarations]8;;]
   73 |   GTimeVal last_popdown;
      |   ^~~~~~~~
In file included from /nix/store/rdrs3wfg3bbhcg3773yimbx5mf2mpm8h-glib-2.76.4-dev/include/glib-2.0/glib/galloca.h:34,
                 from /nix/store/rdrs3wfg3bbhcg3773yimbx5mf2mpm8h-glib-2.76.4-dev/include/glib-2.0/glib.h:32,
                 from /nix/store/rdrs3wfg3bbhcg3773yimbx5mf2mpm8h-glib-2.76.4-dev/include/glib-2.0/gobject/gbinding.h:30:
/nix/store/rdrs3wfg3bbhcg3773yimbx5mf2mpm8h-glib-2.76.4-dev/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
  580 | struct _GTimeVal
      |        ^~~~~~~~~
[  5%] Linking C shared library libmojosetupgui_gtkplus3.so
[  6%] Linking C shared library libmojosetupgui_gtkplus2.so
[  7%] Linking C shared library libmojosetupgui_ncurses.so
[  8%] Building C object CMakeFiles/mojoluac.dir/lua/src/ldebug.c.o
[  8%] Built target mojosetupgui_ncurses
[  8%] Built target mojosetupgui_gtkplus2
[  8%] Built target mojosetupgui_gtkplus3
[  9%] Building C object CMakeFiles/mojoluac.dir/lua/src/ldo.c.o
[ 10%] Building C object CMakeFiles/mojosetup.dir/buildver.c.o
[ 11%] Building C object CMakeFiles/make_self_extracting.dir/misc/make_self_extracting.c.o
[ 12%] Building C object CMakeFiles/mojosetup.dir/mojosetup.c.o
[ 13%] Building C object CMakeFiles/mojoluac.dir/lua/src/ldump.c.o
/build/source/mojosetup.c: In function 'panic':
/build/source/mojosetup.c:628:5: warning: infinite recursion detected []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Winfinite-recursion-Winfinite-recursion]8;;]
  628 | int panic(const char *err)
      |     ^~~~~
/build/source/mojosetup.c:636:9: note: recursive call
  636 |         panic(err);
      |         ^~~~~~~~~~
/build/source/mojosetup.c:649:13: note: recursive call
  649 |             panic(err);  /* no GUI plugin...double-panic. */
      |             ^~~~~~~~~~
[ 14%] Linking C executable make_self_extracting
[ 15%] Building C object CMakeFiles/mojoluac.dir/lua/src/lfunc.c.o
[ 15%] Built target make_self_extracting
[ 16%] Building C object CMakeFiles/mojoluac.dir/lua/src/lgc.c.o
[ 17%] Building C object CMakeFiles/mojoluac.dir/lua/src/lmem.c.o
[ 18%] Building C object CMakeFiles/mojoluac.dir/lua/src/lobject.c.o
[ 19%] Building C object CMakeFiles/mojoluac.dir/lua/src/lopcodes.c.o
[ 20%] Building C object CMakeFiles/mojoluac.dir/lua/src/lstate.c.o
[ 21%] Building C object CMakeFiles/mojosetup.dir/gui.c.o
[ 22%] Building C object CMakeFiles/mojoluac.dir/lua/src/lstring.c.o
[ 23%] Building C object CMakeFiles/mojoluac.dir/lua/src/ltable.c.o
[ 26%] Building C object CMakeFiles/mojosetup.dir/fileio.c.o
[ 26%] Building C object CMakeFiles/mojoluac.dir/lua/src/ltm.c.o
[ 27%] Building C object CMakeFiles/mojoluac.dir/lua/src/lundump.c.o
[ 28%] Building C object CMakeFiles/mojosetup.dir/archive_zip.c.o
[ 29%] Building C object CMakeFiles/mojoluac.dir/lua/src/lvm.c.o
[ 30%] Building C object CMakeFiles/mojoluac.dir/lua/src/lzio.c.o
[ 31%] Building C object CMakeFiles/mojoluac.dir/lua/src/lauxlib.c.o
[ 32%] Building C object CMakeFiles/mojosetup.dir/archive_tar.c.o
[ 33%] Building C object CMakeFiles/mojosetup.dir/archive_uz2.c.o
[ 34%] Building C object CMakeFiles/mojosetup.dir/archive_pck.c.o
[ 35%] Building C object CMakeFiles/mojosetup.dir/archive_pkg.c.o
[ 36%] Building C object CMakeFiles/mojoluac.dir/lua/src/lbaselib.c.o
[ 37%] Building C object CMakeFiles/mojosetup.dir/checksum_crc32.c.o
[ 38%] Building C object CMakeFiles/mojoluac.dir/lua/src/lstrlib.c.o
[ 39%] Building C object CMakeFiles/mojosetup.dir/checksum_md5.c.o
[ 40%] Building C object CMakeFiles/mojosetup.dir/checksum_sha1.c.o
[ 41%] Building C object CMakeFiles/mojosetup.dir/platform_unix.c.o
[ 42%] Building C object CMakeFiles/mojosetup.dir/platform_windows.c.o
[ 43%] Building C object CMakeFiles/mojosetup.dir/lua_glue.c.o
[ 44%] Building C object CMakeFiles/mojosetup.dir/lua/src/lapi.c.o
[ 45%] Building C object CMakeFiles/mojoluac.dir/lua/src/ltablib.c.o
[ 46%] Building C object CMakeFiles/mojoluac.dir/lua/src/lctype.c.o
[ 47%] Building C object CMakeFiles/mojoluac.dir/lua/src/lparser.c.o
[ 48%] Building C object CMakeFiles/mojoluac.dir/lua/src/llex.c.o
[ 50%] Building C object CMakeFiles/mojosetup.dir/lua/src/ldebug.c.o
[ 51%] Building C object CMakeFiles/mojosetup.dir/lua/src/ldo.c.o
[ 52%] Building C object CMakeFiles/mojoluac.dir/lua/src/lcode.c.o
[ 53%] Building C object CMakeFiles/mojosetup.dir/lua/src/ldump.c.o
[ 54%] Building C object CMakeFiles/mojoluac.dir/lua/src/luac.c.o
[ 55%] Building C object CMakeFiles/mojosetup.dir/lua/src/lfunc.c.o
[ 56%] Building C object CMakeFiles/mojosetup.dir/lua/src/lgc.c.o
[ 57%] Building C object CMakeFiles/mojosetup.dir/lua/src/lmem.c.o
[ 58%] Building C object CMakeFiles/mojoluac.dir/lua/src/linit.c.o
[ 59%] Building C object CMakeFiles/mojosetup.dir/lua/src/lobject.c.o
[ 60%] Building C object CMakeFiles/mojoluac.dir/lua/src/ldblib.c.o
[ 61%] Building C object CMakeFiles/mojosetup.dir/lua/src/lopcodes.c.o
[ 62%] Building C object CMakeFiles/mojosetup.dir/lua/src/lstate.c.o
[ 63%] Building C object CMakeFiles/mojoluac.dir/lua/src/liolib.c.o
[ 64%] Building C object CMakeFiles/mojoluac.dir/lua/src/lmathlib.c.o
[ 65%] Building C object CMakeFiles/mojosetup.dir/lua/src/lstring.c.o
[ 66%] Building C object CMakeFiles/mojosetup.dir/lua/src/ltable.c.o
[ 67%] Building C object CMakeFiles/mojosetup.dir/lua/src/ltm.c.o
[ 68%] Building C object CMakeFiles/mojosetup.dir/lua/src/lundump.c.o
[ 69%] Building C object CMakeFiles/mojoluac.dir/lua/src/loslib.c.o
[ 70%] Building C object CMakeFiles/mojoluac.dir/lua/src/lbitlib.c.o
[ 71%] Building C object CMakeFiles/mojosetup.dir/lua/src/lvm.c.o
[ 72%] Building C object CMakeFiles/mojosetup.dir/lua/src/lzio.c.o
[ 73%] Building C object CMakeFiles/mojoluac.dir/lua/src/lcorolib.c.o
[ 75%] Building C object CMakeFiles/mojoluac.dir/lua/src/loadlib.c.o
[ 76%] Building C object CMakeFiles/mojosetup.dir/lua/src/lauxlib.c.o
[ 77%] Building C object CMakeFiles/mojosetup.dir/lua/src/lbaselib.c.o
[ 78%] Linking C executable mojoluac
[ 79%] Building C object CMakeFiles/mojosetup.dir/lua/src/lstrlib.c.o
[ 79%] Built target mojoluac
[ 80%] Building C object CMakeFiles/mojosetup.dir/lua/src/ltablib.c.o
[ 81%] Building C object CMakeFiles/mojosetup.dir/lua/src/lctype.c.o
[ 82%] Building C object CMakeFiles/mojosetup.dir/lua/src/lparser.c.o
[ 83%] Building C object CMakeFiles/mojosetup.dir/lua/src/llex.c.o
[ 84%] Building C object CMakeFiles/mojosetup.dir/lua/src/lcode.c.o
[ 85%] Building C object CMakeFiles/mojosetup.dir/lua/src/liolib.c.o
[ 86%] Building C object CMakeFiles/mojosetup.dir/lua/src/loslib.c.o
[ 87%] Building C object CMakeFiles/mojosetup.dir/lua/src/lmathlib.c.o
[ 88%] Building C object CMakeFiles/mojosetup.dir/lua/src/ldblib.c.o
[ 89%] Building C object CMakeFiles/mojosetup.dir/lua/src/loadlib.c.o
[ 90%] Building C object CMakeFiles/mojosetup.dir/lua/src/lcorolib.c.o
[ 91%] Building C object CMakeFiles/mojosetup.dir/lua/src/lbitlib.c.o
[ 92%] Building C object CMakeFiles/mojosetup.dir/gui_stdio.c.o
[ 93%] Building C object CMakeFiles/mojosetup.dir/stb_image.c.o
[ 94%] Building C object CMakeFiles/mojosetup.dir/libfetch/fetch.c.o
[ 95%] Building C object CMakeFiles/mojosetup.dir/libfetch/common.c.o
[ 96%] Building C object CMakeFiles/mojosetup.dir/libfetch/ftp.c.o
[ 97%] Building C object CMakeFiles/mojosetup.dir/libfetch/http.c.o
[ 98%] Building C object CMakeFiles/mojosetup.dir/miniz.c.o
/build/source/stb_image.c: In function 'parse_png_file':
/build/source/stb_image.c:2495:25: warning: writing 1 byte into a region of size 0 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=]8;;]
 2495 |                   tc[k] = (uint8) get16(); // non 8-bit images will be larger
      |                   ~~~~~~^~~~~~~~~~~~~~~~~
/build/source/stb_image.c:2428:23: note: at offset 3 into destination object 'tc' of size 3
 2428 |    uint8 has_trans=0, tc[3];
      |                       ^~
/build/source/stb_image.c:2495:25: warning: writing 1 byte into a region of size 0 []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wstringop-overflow=-Wstringop-overflow=]8;;]
 2495 |                   tc[k] = (uint8) get16(); // non 8-bit images will be larger
      |                   ~~~~~~^~~~~~~~~~~~~~~~~
/build/source/stb_image.c:2428:23: note: at offset 3 into destination object 'tc' of size 3
 2428 |    uint8 has_trans=0, tc[3];
      |                       ^~
[100%] Linking C executable mojosetup
[100%] Built target mojosetup
.
|-- CMakeCache.txt
|-- CMakeFiles
|   |-- 3.26.4
|   |   |-- CMakeCCompiler.cmake
|   |   |-- CMakeDetermineCompilerABI_C.bin
|   |   |-- CMakeSystem.cmake
|   |   `-- CompilerIdC
|   |       |-- CMakeCCompilerId.c
|   |       |-- a.out
|   |       `-- tmp
|   |-- CMakeConfigureLog.yaml
|   |-- CMakeDirectoryInformation.cmake
|   |-- CMakeRuleHashes.txt
|   |-- CMakeScratch
|   |-- Makefile.cmake
|   |-- Makefile2
|   |-- TargetDirectories.txt
|   |-- cmake.check_cache
|   |-- lua.dir
|   |   |-- DependInfo.cmake
|   |   |-- build.make
|   |   |-- cmake_clean.cmake
|   |   |-- compiler_depend.make
|   |   |-- compiler_depend.ts
|   |   `-- progress.make
|   |-- make_self_extracting.dir
|   |   |-- DependInfo.cmake
|   |   |-- build.make
|   |   |-- cmake_clean.cmake
|   |   |-- compiler_depend.make
|   |   |-- compiler_depend.ts
|   |   |-- depend.make
|   |   |-- flags.make
|   |   |-- link.txt
|   |   |-- misc
|   |   |   |-- make_self_extracting.c.o
|   |   |   `-- make_self_extracting.c.o.d
|   |   `-- progress.make
|   |-- mojoluac.dir
|   |   |-- DependInfo.cmake
|   |   |-- build.make
|   |   |-- cmake_clean.cmake
|   |   |-- compiler_depend.make
|   |   |-- compiler_depend.ts
|   |   |-- depend.make
|   |   |-- flags.make
|   |   |-- link.txt
|   |   |-- lua
|   |   |   `-- src
|   |   |       |-- lapi.c.o
|   |   |       |-- lapi.c.o.d
|   |   |       |-- lauxlib.c.o
|   |   |       |-- lauxlib.c.o.d
|   |   |       |-- lbaselib.c.o
|   |   |       |-- lbaselib.c.o.d
|   |   |       |-- lbitlib.c.o
|   |   |       |-- lbitlib.c.o.d
|   |   |       |-- lcode.c.o
|   |   |       |-- lcode.c.o.d
|   |   |       |-- lcorolib.c.o
|   |   |       |-- lcorolib.c.o.d
|   |   |       |-- lctype.c.o
|   |   |       |-- lctype.c.o.d
|   |   |       |-- ldblib.c.o
|   |   |       |-- ldblib.c.o.d
|   |   |       |-- ldebug.c.o
|   |   |       |-- ldebug.c.o.d
|   |   |       |-- ldo.c.o
|   |   |       |-- ldo.c.o.d
|   |   |       |-- ldump.c.o
|   |   |       |-- ldump.c.o.d
|   |   |       |-- lfunc.c.o
|   |   |       |-- lfunc.c.o.d
|   |   |       |-- lgc.c.o
|   |   |       |-- lgc.c.o.d
|   |   |       |-- linit.c.o
|   |   |       |-- linit.c.o.d
|   |   |       |-- liolib.c.o
|   |   |       |-- liolib.c.o.d
|   |   |       |-- llex.c.o
|   |   |       |-- llex.c.o.d
|   |   |       |-- lmathlib.c.o
|   |   |       |-- lmathlib.c.o.d
|   |   |       |-- lmem.c.o
|   |   |       |-- lmem.c.o.d
|   |   |       |-- loadlib.c.o
|   |   |       |-- loadlib.c.o.d
|   |   |       |-- lobject.c.o
|   |   |       |-- lobject.c.o.d
|   |   |       |-- lopcodes.c.o
|   |   |       |-- lopcodes.c.o.d
|   |   |       |-- loslib.c.o
|   |   |       |-- loslib.c.o.d
|   |   |       |-- lparser.c.o
|   |   |       |-- lparser.c.o.d
|   |   |       |-- lstate.c.o
|   |   |       |-- lstate.c.o.d
|   |   |       |-- lstring.c.o
|   |   |       |-- lstring.c.o.d
|   |   |       |-- lstrlib.c.o
|   |   |       |-- lstrlib.c.o.d
|   |   |       |-- ltable.c.o
|   |   |       |-- ltable.c.o.d
|   |   |       |-- ltablib.c.o
|   |   |       |-- ltablib.c.o.d
|   |   |       |-- ltm.c.o
|   |   |       |-- ltm.c.o.d
|   |   |       |-- luac.c.o
|   |   |       |-- luac.c.o.d
|   |   |       |-- lundump.c.o
|   |   |       |-- lundump.c.o.d
|   |   |       |-- lvm.c.o
|   |   |       |-- lvm.c.o.d
|   |   |       |-- lzio.c.o
|   |   |       `-- lzio.c.o.d
|   |   `-- progress.make
|   |-- mojosetup.dir
|   |   |-- DependInfo.cmake
|   |   |-- archive_pck.c.o
|   |   |-- archive_pck.c.o.d
|   |   |-- archive_pkg.c.o
|   |   |-- archive_pkg.c.o.d
|   |   |-- archive_tar.c.o
|   |   |-- archive_tar.c.o.d
|   |   |-- archive_uz2.c.o
|   |   |-- archive_uz2.c.o.d
|   |   |-- archive_zip.c.o
|   |   |-- archive_zip.c.o.d
|   |   |-- build.make
|   |   |-- buildver.c.o
|   |   |-- buildver.c.o.d
|   |   |-- checksum_crc32.c.o
|   |   |-- checksum_crc32.c.o.d
|   |   |-- checksum_md5.c.o
|   |   |-- checksum_md5.c.o.d
|   |   |-- checksum_sha1.c.o
|   |   |-- checksum_sha1.c.o.d
|   |   |-- cmake_clean.cmake
|   |   |-- compiler_depend.make
|   |   |-- compiler_depend.ts
|   |   |-- depend.make
|   |   |-- fileio.c.o
|   |   |-- fileio.c.o.d
|   |   |-- flags.make
|   |   |-- gui.c.o
|   |   |-- gui.c.o.d
|   |   |-- gui_stdio.c.o
|   |   |-- gui_stdio.c.o.d
|   |   |-- libfetch
|   |   |   |-- common.c.o
|   |   |   |-- common.c.o.d
|   |   |   |-- fetch.c.o
|   |   |   |-- fetch.c.o.d
|   |   |   |-- ftp.c.o
|   |   |   |-- ftp.c.o.d
|   |   |   |-- http.c.o
|   |   |   `-- http.c.o.d
|   |   |-- link.txt
|   |   |-- lua
|   |   |   `-- src
|   |   |       |-- lapi.c.o
|   |   |       |-- lapi.c.o.d
|   |   |       |-- lauxlib.c.o
|   |   |       |-- lauxlib.c.o.d
|   |   |       |-- lbaselib.c.o
|   |   |       |-- lbaselib.c.o.d
|   |   |       |-- lbitlib.c.o
|   |   |       |-- lbitlib.c.o.d
|   |   |       |-- lcode.c.o
|   |   |       |-- lcode.c.o.d
|   |   |       |-- lcorolib.c.o
|   |   |       |-- lcorolib.c.o.d
|   |   |       |-- lctype.c.o
|   |   |       |-- lctype.c.o.d
|   |   |       |-- ldblib.c.o
|   |   |       |-- ldblib.c.o.d
|   |   |       |-- ldebug.c.o
|   |   |       |-- ldebug.c.o.d
|   |   |       |-- ldo.c.o
|   |   |       |-- ldo.c.o.d
|   |   |       |-- ldump.c.o
|   |   |       |-- ldump.c.o.d
|   |   |       |-- lfunc.c.o
|   |   |       |-- lfunc.c.o.d
|   |   |       |-- lgc.c.o
|   |   |       |-- lgc.c.o.d
|   |   |       |-- liolib.c.o
|   |   |       |-- liolib.c.o.d
|   |   |       |-- llex.c.o
|   |   |       |-- llex.c.o.d
|   |   |       |-- lmathlib.c.o
|   |   |       |-- lmathlib.c.o.d
|   |   |       |-- lmem.c.o
|   |   |       |-- lmem.c.o.d
|   |   |       |-- loadlib.c.o
|   |   |       |-- loadlib.c.o.d
|   |   |       |-- lobject.c.o
|   |   |       |-- lobject.c.o.d
|   |   |       |-- lopcodes.c.o
|   |   |       |-- lopcodes.c.o.d
|   |   |       |-- loslib.c.o
|   |   |       |-- loslib.c.o.d
|   |   |       |-- lparser.c.o
|   |   |       |-- lparser.c.o.d
|   |   |       |-- lstate.c.o
|   |   |       |-- lstate.c.o.d
|   |   |       |-- lstring.c.o
|   |   |       |-- lstring.c.o.d
|   |   |       |-- lstrlib.c.o
|   |   |       |-- lstrlib.c.o.d
|   |   |       |-- ltable.c.o
|   |   |       |-- ltable.c.o.d
|   |   |       |-- ltablib.c.o
|   |   |       |-- ltablib.c.o.d
|   |   |       |-- ltm.c.o
|   |   |       |-- ltm.c.o.d
|   |   |       |-- lundump.c.o
|   |   |       |-- lundump.c.o.d
|   |   |       |-- lvm.c.o
|   |   |       |-- lvm.c.o.d
|   |   |       |-- lzio.c.o
|   |   |       `-- lzio.c.o.d
|   |   |-- lua_glue.c.o
|   |   |-- lua_glue.c.o.d
|   |   |-- miniz.c.o
|   |   |-- miniz.c.o.d
|   |   |-- mojosetup.c.o
|   |   |-- mojosetup.c.o.d
|   |   |-- platform_unix.c.o
|   |   |-- platform_unix.c.o.d
|   |   |-- platform_windows.c.o
|   |   |-- platform_windows.c.o.d
|   |   |-- progress.make
|   |   |-- stb_image.c.o
|   |   `-- stb_image.c.o.d
|   |-- mojosetupgui_gtkplus2.dir
|   |   |-- DependInfo.cmake
|   |   |-- build.make
|   |   |-- cmake_clean.cmake
|   |   |-- compiler_depend.make
|   |   |-- compiler_depend.ts
|   |   |-- depend.make
|   |   |-- flags.make
|   |   |-- gui_gtkplus2.c.o
|   |   |-- gui_gtkplus2.c.o.d
|   |   |-- link.txt
|   |   `-- progress.make
|   |-- mojosetupgui_gtkplus3.dir
|   |   |-- DependInfo.cmake
|   |   |-- build.make
|   |   |-- cmake_clean.cmake
|   |   |-- compiler_depend.make
|   |   |-- compiler_depend.ts
|   |   |-- depend.make
|   |   |-- flags.make
|   |   |-- gui_gtkplus3.c.o
|   |   |-- gui_gtkplus3.c.o.d
|   |   |-- link.txt
|   |   `-- progress.make
|   |-- mojosetupgui_ncurses.dir
|   |   |-- DependInfo.cmake
|   |   |-- build.make
|   |   |-- cmake_clean.cmake
|   |   |-- compiler_depend.make
|   |   |-- compiler_depend.ts
|   |   |-- depend.make
|   |   |-- flags.make
|   |   |-- gui_ncurses.c.o
|   |   |-- gui_ncurses.c.o.d
|   |   |-- link.txt
|   |   `-- progress.make
|   |-- pkgRedirects
|   |-- progress.marks
|   `-- skeleton.dir
|       |-- DependInfo.cmake
|       |-- build.make
|       |-- cmake_clean.cmake
|       |-- compiler_depend.make
|       |-- compiler_depend.ts
|       `-- progress.make
|-- Makefile
|-- cmake_install.cmake
|-- libmojosetupgui_gtkplus2.so
|-- libmojosetupgui_gtkplus3.so
|-- libmojosetupgui_ncurses.so
|-- make_self_extracting
|-- mojoluac
`-- mojosetup

21 directories, 268 files
@nix { "action": "setPhase", "phase": "glibPreInstallPhase" }
glibPreInstallPhase
@nix { "action": "setPhase", "phase": "installPhase" }
installing
install flags: -j4 SHELL=/nix/store/r4vxljid3iq94jp7qvd639sps0fscwy3-bash-5.2-p15/bin/bash gsettingsschemadir=/nix/store/ib4dq52q91b2y3nwkwwhxnfjqj2ajnqc-mojosetup-1.0/share/gsettings-schemas/mojosetup-1.0/glib-2.0/schemas/ install
make: *** No rule to make target 'install'.  Stop.