jcreedcmu / twelf-mac

Other
0 stars 1 forks source link

Change Retro68 package from 'standalone' to 'monolithic' #4

Closed jcreedcmu closed 3 months ago

jcreedcmu commented 3 months ago

This doesn't work yet. The tail of the errors arising from

nix develop .#mlton-m68k-runtime

are

       > checking for cos in -lm... yes
       > configure: updating cache ./config.cache
       > checking that generated files are newer than configure... done
       > configure: creating ./config.status
       > config.status: creating Makefile
       > config.status: creating po/Makefile.in
       > config.status: creating config.h
       > config.status: executing depfiles commands
       > config.status: executing libtool commands
       > config.status: executing default-1 commands
       > config.status: creating po/POTFILES
       > config.status: creating po/Makefile
       > make[1]: Leaving directory '/build/binutils-build'
       > make: *** [Makefile:1003: all] Error 2

and I don't understand yet.

jcreedcmu commented 3 months ago

the other thing I tried was observing the

      For full logs, run 'nix-store -l /nix/store/w0i2380qa4nn3skpak1hh40mjz23hgkn-retro68.monolithic.drv'.
error: 1 dependencies of derivation '/nix/store/kc0iawr0rmxpy3jq86ixdkjn1sbf8l0i-mlton-m68k-runtime-env.drv' failed to build

that accompanied the above error, and so I did

nix derivation show /nix/store/kc0iawr0rmxpy3jq86ixdkjn1sbf8l0i-mlton-m68k-runtime-env.drv

and saw

...
    "args": [
      "-e",
      "/nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh"
    ],
...

so I inspected

$ cat /nix/store/v6x3cs394jgqfbi0a42pam708flxaphh-default-builder.sh
if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi

source $stdenv/setup
genericBuild

so I thought I'd tried

nix shell /nix/store/kc0iawr0rmxpy3jq86ixdkjn1sbf8l0i-mlton-m68k-runtime-env.drv

or maybe nix develop or nix-shell but now I can't reproduce the results I thought I got before.

jcreedcmu commented 3 months ago

@agoode points out the error seems to be happening because of missing texinfo, which on some level seems like it shouldn't be required, and yet it is listed as a dependency on the Retro68 page.

jcreedcmu commented 3 months ago

Putting this on hold until we figure out some better way of doing nix.