Coder Social home page Coder Social logo

lnp-forge's People

Contributors

corollari avatar dhmike57 avatar grossws avatar kribylet avatar mcarcady avatar ramblurr avatar theasp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lnp-forge's Issues

Will not start on fedora 35

I have installed the latest rpm package and whenever I try to start the game nothing happens. I have tried reinstalling and still no avail. I simply click on "play dwarf fortress" and nothing at all happens. No windows open nothing. I would be very thankful if I could get some help dealing with this as I don't understand what could be going wrong

Cannot fetch dwarf fortress executable from bay12games.com

Trying to fetch the archive from http://www.bay12games.com/dwarves/df_47_04_linux.tar.bz2 with wget (as it is done when running the build script) results in the following errors:

ERROR: The certificate of 'www.bay12games.com' is not trusted.
ERROR: The certificate of 'www.bay12games.com' has expired.

This is pretty weird because when you access www.bay12games.com using any browser the certificate is reported to be valid, but, after some digging, it seems that the root of trust for the bay12game.com certificate is the following:
USERTrust RSA Certification Authority (Root) -> Sectigo RSA Domain Validation Secure Server CA (Intermediate) -> Certificate on www.bay12games.com

And, while the certificates of both Certigo and bay12games.com are still valid, the USERTrust certificate expired on May 30th, thus breaking the root of trust, which I believe is what causes the problem.

Build fails extracting and patching components CT_DoExecLog

Hey there - I'm getting this error each time I try to build...
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Extracting and patching components'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@261]
[ERROR] >> called from: do_kloker_extract[scripts/build/kloker.sh@33]
[ERROR] >> called from: main[scripts/lnp-forge.sh@608]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '@@CT_DOCDIR@@/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 0:02.38)
make: *** [bin/lnp-forge:151: build] Error 127

attached build.log
build.log

Linking error building dfhack

I'm trying to build 0.47.04-r2 with soundsense support and here is what I am getting for output

[INFO ]    Building dfhack-0.47.04-r1
[ERROR]      ../plugins/twbt/png++/error.hpp: In static member function 'static std::string png::std_error::thread_safe_strerror(int)':
[ERROR]      collect2: error: ld returned 1 exit status
[ERROR]
[ERROR]  >>
[ERROR]  >>  Build failed in step 'Building dfhack-0.47.04-r1'
[ERROR]  >>        called in step 'Building components'
[ERROR]  >>        called in step '(top-level)'
[ERROR]  >>
[ERROR]  >>  Error happened in: CT_DoExecLog[scripts/functions@261]
[ERROR]  >>        called from: do_dfhack_build[scripts/build/dfhack.sh@55]
[ERROR]  >>        called from: main[scripts/lnp-forge.sh@630]
[ERROR]  >>
[ERROR]  >>  For more info on this error, look at the file: 'build.log'
[ERROR]  >>  There is a list of known issues, some with workarounds, in:
[ERROR]  >>      '@@CT_DOCDIR@@/B - Known issues.txt'
[ERROR]
[ERROR]  (elapsed: 1:17.76)
[01:18] / make: *** [bin/lnp-forge:151: build] Error 1

build.log

Would be grateful for any help resolving these.

Something is wrong with Meph raws

On fresh new install of 0.47.05-r2 after I changed graphics to Meph materials become all messed up. Pretty much all non-ore stone is now in economic category, eg on new embark I can't make blocks or build furnaces from Periclase. Other Stone category contains carpets and other seemingly unrelated stuff.

Meph modpack new workshops also appeared in game.

it looks like wrong, full version, was used that changes the raws and potentially changes it only halfway since other bits of meph pack are not there.

archlinux

Builded on newly create archlinix from git:

[philippehenin@redmibook-16 lnp-forge]$ ./bin/lnp-forge build
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20200718.124841
[INFO ] Building environment variables
[INFO ] =================================================================
[INFO ] Retrieving needed components' tarballs
[INFO ] Retrieving 'lnp-0.14a' from 'https://github.com/Pidgeot/python-lnp'
[INFO ] Got 'lnp-0.14a'
[INFO ] Retrieving 'df_47_04_linux' from http://www.bay12games.com/dwarves/
[INFO ] Got 'df_47_04_linux'
[INFO ] Retrieving 'graphics-47.04' from 'https://github.com/McArcady/DFgraphics.git'
[INFO ] Got 'graphics-47.04'
[INFO ] Retrieving 'advanced_profiles' from https://raw.githubusercontent.com/Lazy-Newb-Pack/LNP-shared-core/master/embarks/
[INFO ] Got 'advanced_profiles'
[INFO ] Retrieving 'default_profiles' from https://raw.githubusercontent.com/Lazy-Newb-Pack/LNP-shared-core/master/embarks/
[INFO ] Got 'default_profiles'
[INFO ] Retrieving 'starting_scenarios' from https://raw.githubusercontent.com/Lazy-Newb-Pack/LNP-shared-core/master/embarks/
[INFO ] Got 'starting_scenarios'
[INFO ] Retrieving 'tutorial_profiles' from https://raw.githubusercontent.com/Lazy-Newb-Pack/LNP-shared-core/master/embarks/
[INFO ] Got 'tutorial_profiles'
[INFO ] Retrieving 'Classic_LNP' from https://raw.githubusercontent.com/Lazy-Newb-Pack/LNP-shared-core/master/keybinds/
[INFO ] Got 'Classic_LNP'
[INFO ] Retrieving 'New_LNP' from https://raw.githubusercontent.com/Lazy-Newb-Pack/LNP-shared-core/master/keybinds/
[INFO ] Got 'New_LNP'
[INFO ] Retrieving 'PeridexisErrant' from https://raw.githubusercontent.com/Lazy-Newb-Pack/LNP-shared-core/master/keybinds/
[INFO ] Got 'PeridexisErrant'
[INFO ] Retrieving 'Keyboard_FR' from https://raw.githubusercontent.com/McArcady/LNP-shared-core/master/keybinds/
[INFO ] Got 'Keyboard_FR'
[INFO ] Retrieving 'dfhack-0.47.04-r1' from 'https://github.com/DFHack/dfhack.git'
[INFO ] Got 'dfhack-0.47.04-r1'
[INFO ] Retrieving 'twbt-04704' from 'https://github.com/thurin/df-twbt.git'
[INFO ] Got 'twbt-04704'
[INFO ] Retrieving 'therapist-v41.1.7' from 'https://github.com/Dwarf-Therapist/Dwarf-Therapist'
[INFO ] Got 'therapist-v41.1.7'
[INFO ] Retrieving 'soundSense_2015-1_194' from http://df.zweistein.cz/soundsense
[INFO ] Got 'soundSense_2015-1_194'
[INFO ] Retrieving 'legendsbrowser-1.19.0' from https://github.com/robertjanetzko/LegendsBrowser/releases/download/1.19
[INFO ] Got 'legendsbrowser-1.19.0'
[INFO ] Retrieving 'announcement-v1.3.0' from 'https://github.com/BrachystochroneSD/AnnouncementWindow'
[INFO ] Got 'announcement-v1.3.0'
[INFO ] Retrieving needed components' tarballs: done in 148.61s (at 02:30)
[INFO ] =================================================================
[INFO ] Extracting and patching components
[INFO ] Extracting 'lnp-0.14a'
[INFO ] Patching 'lnp-0.14a'
[INFO ] Extracting 'df_47_04_linux'
[INFO ] Extracting 'graphics-47.04'
[INFO ] Extracting 'dfhack-0.47.04-r1'
[INFO ] Patching 'dfhack-0.47.04-r1'
[INFO ] Extracting 'twbt-04704'
[INFO ] Extracting 'therapist-v41.1.7'
[INFO ] Patching 'therapist-v41.1.7'
[INFO ] Extracting 'soundSense_2015-1_194'
[INFO ] Extracting 'announcement-v1.3.0'
[INFO ] Patching 'announcement-v1.3.0'
[INFO ] Extracting and patching components: done in 2.95s (at 02:33)
[INFO ] =================================================================
[INFO ] Building components
[INFO ] =================================================================
[INFO ] Building lnp-0.14a
[INFO ] Building lnp-0.14a: done in 0.06s (at 02:33)
[INFO ] =================================================================
[INFO ] Credits for lnp-0.14a
[INFO ] Credits for lnp-0.14a: done in 0.01s (at 02:33)
[INFO ] =================================================================
[INFO ] Building df-47_04_linux
[INFO ] Already extracted 'df_47_04_linux'
[INFO ] Building df-47_04_linux: done in 0.23s (at 02:33)
[INFO ] =================================================================
[INFO ] Credits for df-47_04_linux
[INFO ] Credits for df-47_04_linux: done in 0.01s (at 02:33)
[INFO ] =================================================================
[INFO ] Building graphics-47.04
[INFO ] Building graphics-47.04: done in 0.12s (at 02:34)
[INFO ] =================================================================
[INFO ] Credits for graphics-47.04
[INFO ] Credits for graphics-47.04: done in 0.00s (at 02:34)
[INFO ] =================================================================
[INFO ] Building embark-2014-v3
[INFO ] Building embark-2014-v3: done in 0.04s (at 02:34)
[INFO ] =================================================================
[INFO ] Credits for embark-2014-v3
[INFO ] Credits for embark-2014-v3: done in 0.01s (at 02:34)
[INFO ] =================================================================
[INFO ] Building keybinds-master
[INFO ] Building keybinds-master: done in 0.07s (at 02:34)
[INFO ] =================================================================
[INFO ] Credits for keybinds-master
[INFO ] Credits for keybinds-master: done in 0.00s (at 02:34)
[INFO ] =================================================================
[INFO ] Building dfhack-0.47.04-r1
[INFO ] Building dfhack-0.47.04-r1: done in 153.28s (at 05:07)
[INFO ] =================================================================
[INFO ] Credits for dfhack-0.47.04-r1
[INFO ] Credits for dfhack-0.47.04-r1: done in 0.01s (at 05:07)
[INFO ] =================================================================
[INFO ] Building twbt-04704
[INFO ] Building twbt-04704: done in 0.02s (at 05:07)
[INFO ] =================================================================
[INFO ] Credits for twbt-04704
[INFO ] Credits for twbt-04704: done in 0.01s (at 05:07)
[INFO ] =================================================================
[INFO ] Building therapist-v41.1.7
[INFO ] Building therapist-v41.1.7: done in 35.83s (at 05:43)
[INFO ] =================================================================
[INFO ] Credits for therapist-v41.1.7
[INFO ] Credits for therapist-v41.1.7: done in 0.01s (at 05:43)
[INFO ] =================================================================
[INFO ] Building soundsense-2015-1_194
[INFO ] Building soundsense-2015-1_194: done in 0.10s (at 05:43)
[INFO ] =================================================================
[INFO ] Credits for soundsense-2015-1_194
[INFO ] Credits for soundsense-2015-1_194: done in 0.01s (at 05:43)
[INFO ] =================================================================
[INFO ] Building legends-1.19.0
[INFO ] Building legends-1.19.0: done in 0.03s (at 05:43)
[INFO ] =================================================================
[INFO ] Credits for legends-1.19.0
[INFO ] Credits for legends-1.19.0: done in 0.01s (at 05:43)
[INFO ] =================================================================
[INFO ] Building announcement-v1.3.0
[INFO ] Building announcement-v1.3.0: done in 0.07s (at 05:43)
[INFO ] =================================================================
[INFO ] Credits for announcement-v1.3.0
[INFO ] Credits for announcement-v1.3.0: done in 0.01s (at 05:43)
[INFO ] Building components: done in 190.26s (at 05:43)
[INFO ] Build completed at 20200718.125424
[INFO ] (elapsed: 5:42.90)
[INFO ] Finishing installation (may take a few seconds)...

There were my dependencies from a new base-devel archlinux install:

sudo pacman -Syu base-devel cmake dos2unix git help2man jdk8-openjdk libxslt mercurial mesa ninja perl perl-xml-libxml perl-xml-libxslt python qt5-base qt5-tools sdl_image sdl_ttf tcl tk
sudo pacman -Syu libxml2
sudo pacman -Syu gperf
sudo pacman -Syu wget
sudo pacman -Syu rsync
sudo pacman -S extra/qt5-declarative

Don't know if it helps.

After that everything went well.

Have a good day.

P.

Arch Linux: ./bin/lnp-forge build error 1

Running on Arch Linux, installed all dependencies and replaced whatever I had previously
I tried following the error and the code to see if I could solve it myself but didn't get very far.
Attached is the build.log: build.log

Does not find dwarf fortress

The created lnp does not launch because it can't find dwarf fortress:

ERROR: Could not find any Dwarf Fortress installations.
['Traceback (most recent call last):\n', '  File "./launch.py", line 12, in <module>\n    lnp.PyLNP()\n', '  File "/opt/lnp/core/lnp.py", line 113, in __init__\n    self.initialize_program()\n', '  File "/opt/lnp/core/lnp.py", line 132, in initialize_program\n    self.detect_basedir()\n', '  File "/opt/lnp/core/lnp.py", line 309, in detect_basedir\n    sys.exit(2)\n', 'SystemExit: 2\n']

`./configure && make install` doesn't check existence of ninja-build

The ninja build system is used in the building process but it's availability is not checked in the initial script, while the availability of the other tools used in the building system is checked. This could be by design but I though I would just give you a heads up in case it is not 👍

Unresizeable window

The minimum size is specified to be all the available space at the moment of spawning the program. Thus the window cannot be reduced, and can only be expanded.

I am using a tiling window manager, dwm.

Output of xprop below. Note that my screen resolution is 1600x900.

WM_STATE(WM_STATE):
		window state: Withdrawn
		icon window: 0x0
_NET_WM_STATE(ATOM) = 
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified minimum size: 1598 by 879
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
_NET_WM_ICON(CARDINAL) = 	Icon (64 x 64):
_NET_WM_NAME(UTF8_STRING) = "PyLNP"
WM_NAME(STRING) = "PyLNP"
WM_CLASS(STRING) = "tk", "Tk"

Hidden dependancy python-tk

I'm on Ubuntu (18.04.4) and though I installed the dependencies recommended in the wiki while trying to launch I got:

WARNING: JSONConfiguration: File PyLNP.user does not exist
['Traceback (most recent call last):\n', '  File "launch.py", line 12, in <module>\n    lnp.PyLNP()\n', '  File "[REDACTED]/lnp-forge-master/.build/src/lnp-0.14a/core/lnp.py", line 119, in __init__\n    self.initialize_ui()\n', '  File "[REDACTED]/lnp-forge-master/.build/src/lnp-0.14a/core/lnp.py", line 211, in initialize_ui\n    from tkgui.tkgui import TkGui\n', '  File "tkgui/tkgui.py", line 16, in <module>\n    from . import controls, binding\n', '  File "tkgui/controls.py", line 11, in <module>\n    from . import binding\n', '  File "tkgui/binding.py", line 18, in <module>\n    from Tkinter import END\n', '  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 42, in <module>\n    raise ImportError, str(msg) + \', please install the python-tk package\'\n', 'ImportError: No module named _tkinter, please install the python-tk package\n']

If you reformat that you can see it's asking me to install python-tk, and doing that seemed to solve the problem. Needs to be added to the Ubuntu/Debian dependency list?

While I'm here, a couple ease of use issues:

  1. I jumped right into the usage instructions and started installing packages one by one because I didn't realize a list was provided. My fault for not reading the whole README first but maybe mention it in the usage instructions just to make it more obvious.
  2. (I'm not an experienced DF player) I didn't really get what you meant in the last line of the instructions where you say, 'The pack is ready to use in...'. For example I wouldn't know if I'm supposed to start DF and run this at the same time or if it'll launch it for me, etc. (I think I get that now so no need to explain). I navigated to that folder and tried to read the README in there, but it was broken looking for a doc file that didn't exist, so I tried reading the raw doc files and ended up reading what I now realize is the README for PyLNP. (Aside: that file, at least in its raw form, says 'There's not much to it: run the launcher (see below)' and then goes on to say nothing else about running any launcher 😆) So I figured I should just try to launch it, but there was both a startlnp.sh and a launch.py so I wasn't sure which to run. I tried one and got the error above, so I was still unsure if I was supposed to be running it directly until I tried installing python-tk. Which is all just to say I think you should try to be more explicit about exactly you do to use the project to help out the titular newb.

If you take contributions I'd be happy to reformat some of these suggestions as a PR.

Error building lnp-forge on macOS

I'm getting an error trying to build lnp-forge:

[myhost:/Projects/lnp-forge] me % ./configure --prefix=$PWD && make install
checking build system type... x86_64-apple-darwin19.6.0
checking host system type... x86_64-apple-darwin19.6.0
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking whether sed understands -r -i -e... no
configure: error:
[myhost:
/Projects/lnp-forge] me%

.configure script doesn't see tkinter on Arch

when running

./configure --prefix=$PWD && make install

I get this error

checking for python... /usr/bin/python checking python module: Tkinter... no configure: error: failed to find required module Tkinter

when I have the tk package installed.

should I try pip?

log for reference:
config.log

[Suggestion] Splitting the dependencies

At the moment, the dependencies listed on the wiki are the ones needed to build the pack, whereas I expect that most users will just want to use a precompiled version of the pack instead of building it by themselves and, therefore, will not need to install the majority of the dependencies. Thus, it may make sense to split the current list of dependencies into two: one for users and another for developers, what are your thoughts on this?

I'd also like to suggest moving the wiki page to a normal file that is part of the repository, as that would allow external contributors like me to make pull requests against it.

Building dfhack failed, cannot find -lz

build.log
I'm trying to build lnp-forge on i386 Debian 10 Buster. I have installed all of the recommended build dependencies EXCEPT for lib32z1-dev, which is what I suspect is causing the problem. However, that package isn't available for i386. I tried installing libz1/zlib1g instead, Google said it's the multiarch equivalent, but it's still returning this error.

Thank you very much in advance. I hope you can help me out, I'm very excited to play Dwarf Fortress!!!

Tkinter not found when running lnp

Following the build instructions and leaving all the configuration the same gets me to this error when running ./startlnp.sh

['Traceback (most recent call last):\n', '  File "./launch.py", line 12, in <module>\n    lnp.PyLNP()\n', '  File ".build/src/lnp-0.14a/core/lnp.py", line 119, in __init__\n
   self.initialize_ui()\n', '  File ".build/src/lnp-0.14a/core/lnp.py", line 211, in initialize_ui\n    from tkgui.tkgui import TkGui\n', '  File "./tkgui/tkgui.py", line 16, in <module>\n    from . import controls, binding\n', '  File "./tkgui/controls.py", line 11, in <module>\n    from . import binding\n', '  File "./tkgui/binding.py", line 18, in <module>\n
  from Tkinter import END\n', '  File "/usr/lib/python2.7/lib-tk/Tkinter.py", line 42, in <module>\n    raise ImportError, str(msg) + \', please install the python-tk package\'\n', 'ImportError: No module named _tkinter, please install the python-tk package\n']

I noticed Tkinter was found during the installation process, not sure why this error is happening now. Perhaps the initial check looked at Python3 modules? There's something to fix here either way.

I installed Tkinter and it is running fine now.

Pre-made Docker container

It would be really nice if the pack would be shipped in a Docker container.

It would make it much less hassle to make sure all the dependencies exist and so on. Would also make it much more distribution agnostic.

Segfault on installing in debian

A clean install from todays pull (2021-12-14) dies on installing:
Building soundsensers-master
/home/bongard/local/source/lnp-forge/lib/0.47.05-rc4/scripts/functions: line 275: 13138 Segmentation fault "${@}" 2>&1
13139 Done | CT_DoLog "${level}"
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Building soundsensers-master'
[ERROR] >> called in step 'Building components'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@261]
[ERROR] >> called from: do_soundsensers_build[scripts/build/soundsensers.sh@32]
[ERROR] >> called from: main[scripts/lnp-forge.sh@631]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '@@CT_DOCDIR@@/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 7:01.32)
make: *** [bin/lnp-forge:151: build] Error 139
build.log
config.log

Arch packaging fails

Occurs with github workflow Ubuntu 16.40 and 18.04:

[INFO ]    Building arch-
[DEBUG]      ==> Executing: 'find' '/home/runner/work/lnp-forge/lnp-forge/.build/src/lnp-0.14a' '-type' 'd' '!' '-perm' '/o+rx' '-exec' 'chmod' 'a+rx' '{}' ';' 
[DEBUG]      ==> Executing: 'cp' 'appimage/linux-dwarf-pack.sh' '/home/runner/work/lnp-forge/lnp-forge/.build/src/lnp-0.14a/' 
[DEBUG]      ==> Executing: 'cp' 'appimage/linux-dwarf-pack.png' '/home/runner/work/lnp-forge/lnp-forge/.build/src/lnp-0.14a/' 
[DEBUG]      ==> Executing: 'cp' 'appimage/com.bay12forums.linuxdwarfpack.desktop' '/home/runner/work/lnp-forge/lnp-forge/.build/src/lnp-0.14a/' 
[DEBUG]      ==> Executing: 'sed' '-i' '-e' 's|%EXEC%|/opt/linux-dwarf-pack/linux-dwarf-pack.sh|g' '-e' 's|%ICON%|/opt/linux-dwarf-pack/linux-dwarf-pack.png|g' '/home/runner/work/lnp-forge/lnp-forge/.build/src/lnp-0.14a/com.bay12forums.linuxdwarfpack.desktop' 
[DEBUG]      ==> Executing: '/usr/local/bin/fpm' '-s' 'dir' '-t' 'pacman' '-n' 'linux-dwarf-pack' '--force' '--depends' 'sdl_image' '-d' 'sdl_ttf' '-d' 'gnome-terminal' '-d' 'jre8-openjdk' '-d' 'python' '-d' 'tk' '-d' 'qt5-base' '-d' 'unionfs-fuse' '--prefix' '/opt/linux-dwarf-pack' '--chdir' '/home/runner/work/lnp-forge/lnp-forge/.build/src/lnp-0.14a' '--version' '0.47.05-experimental' '--maintainer' '<[email protected]>' '--vendor' 'www.bay12forums.com' '--url' 'http://www.bay12forums.com/smf/index.php?topic=157712' '--description' 'A simple ready-to-play Dwarf Fortress starter pack' '--license' 'mixed (see /opt/linux-dwarf-pack/PRAISE_THE_MODDERS)' '--after-install' '/home/runner/work/lnp-forge/lnp-forge/.build/src/lnp-0.14a/post-install.sh' '--before-remove' '/home/runner/work/lnp-forge/lnp-forge/.build/src/lnp-0.14a/pre-uninstall.sh' 
[ALL  ]      {:timestamp=>"2021-01-30T15:30:07.281735+0000", :message=>"Process failed: tar failed (exit code 64). Full command was:["tar", "--zstd", "-cf", "/home/runner/work/lnp-forge/lnp-forge/linux-dwarf-pack-0.47.05-experimental-1-x86_64.pkg.tar.zst", "--numeric-owner", "--owner", "0", "--numeric-owner", "--group", "0", ".MTREE", ".INSTALL", ".PKGINFO", "opt"]", :level=>:error}
[ERROR]  

Dwarf Therapist seg faults

SHA 256 sums:

cf2d12a32a045d448b553e36b4bcbbaa6e61284f5e6a5aebf5a9b270a173ddd4 ./Dwarf_Fortress-0.47.05-r3-x86_64.AppImage

933a3db1a65678aa85d5f23036dd576f862e72fefc6bd4dc610ea03681edfeb8 ./dwarftherapist

Log attached
dwarftherapist.log

Log doesn't show the seg fault, but if dwarftherapist.sh I get the following (lines truncated to the last few lines since they line up with the log).

2022-Apr-05 09:20:55.200 INFO	core	opening layout "/tmp/lnp-hT9dd6/share/memory_layouts/linux/v0.47.05_linux64.ini" [/home/runner/work/lnp-forge/lnp-forge/.build/src/therapist-v41.2.2/src/memorylayoutmanager.cpp:59] (reload)
2022-Apr-05 09:20:55.201 INFO	core	adding valid layout "v0.47.05 linux64" checksum: "0x65dbcb22" SHA: "2e358941633f736ac451447fc7040575cd464ec9" [/home/runner/work/lnp-forge/lnp-forge/.build/src/therapist-v41.2.2/src/memorylayoutmanager.cpp:70] (reload)
Segmentation fault (core dumped)

Build fails for Archlinux/Manjaro and Appimage [SOLVED]

As the title says I keep getting this error on the build:

[INFO ] Building arch-
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Building arch-'
[ERROR] >> called in step 'Building components'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@261]
[ERROR] >> called from: do_fpm_build[scripts/build/fpm.sh@59]
[ERROR] >> called from: do_arch_build[scripts/build/arch.sh@26]
[ERROR] >> called from: main[scripts/lnp-forge.sh@631]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '@@CT_DOCDIR@@/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 13:30.25)
make: *** [bin/lnp-forge:151: build] Error 127

zconf.hash.c:167:1: error: conflicting types for ‘kconf_id_lookup’

One of the depedencies fails to build:

› git rev-parse HEAD
f05f8aad15b9987ac13731421fced33feff075ce


› ./configure --prefix=/tmp/lnp
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking whether sed understands -r -i -e... yes
checking whether ln -s works... yes
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 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 how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for gobjcopy... no
checking for objcopy... objcopy
checking for absolute path to objcopy... /usr/bin/objcopy
checking for gobjdump... no
checking for objdump... objdump
checking for absolute path to objdump... /usr/bin/objdump
checking for greadelf... no
checking for readelf... readelf
checking for absolute path to readelf... /usr/bin/readelf
checking for gperf... gperf
checking for absolute path to gperf... /usr/bin/gperf
checking for bison... bison
checking for flex... flex
checking for makeinfo... makeinfo
checking for cut... cut
checking for stat... stat
checking for readlink... readlink
checking for wget... wget
checking for tar... tar
checking for gzip... gzip
checking for bzip2... bzip2
checking for help2man... help2man
checking for gpatch... no
checking for patch... patch
checking for absolute path to patch... /usr/bin/patch
checking for bash >= 3.1... /bin/bash
checking for GNU awk... /usr/bin/gawk
checking for GNU make >= 3.80... /usr/bin/gmake
checking whether /usr/bin/gmake sets $(MAKE)... yes
checking for make 3.81... no
checking for cmake... /usr/bin/cmake
checking for qmake-qt5... /usr/bin/qmake-qt5
checking for GNU libtoolize >= 1.5.26... /usr/bin/libtoolize
checking for GNU automake >= 1.10... /usr/bin/automake
checking for tclsh... /usr/bin/tclsh
checking for wish... /usr/bin/wish
checking tcl version... 8.6
checking for python... /usr/bin/python
checking python module: Tkinter... yes
checking for java... /usr/bin/java
checking for java 1.8... yes
checking for git... /usr/bin/git
checking for hg... /usr/bin/hg
checking for perl... perl
checking for perl module XML::LibXML... ok
checking for perl module XML::LibXSLT... ok
checking for library containing IMG_Load... no
checking for library containing TTF_OpenFont... no
checking for library containing gzopen... no
configure: WARNING: Some 32-bits dependencies are missing, DwarfFortress < 0.43.05 will not be available
checking for IMG_Load in -l:libSDL_image-1.2.so.0... yes
checking for TTF_OpenFont in -l:libSDL_ttf-2.0.so.0... yes
checking for gzopen in -lz... yes
checking for xz... xz
checking for inline... inline
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 for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether gettext is declared... yes
checking for library containing bindtextdomain... none required
checking ncurses/ncurses.h usability... yes
checking ncurses/ncurses.h presence... yes
checking for ncurses/ncurses.h... yes
checking for library containing initscr... -lncursesw
checking for library containing tgetent... none required
configure: creating ./config.status
config.status: creating Makefile


› make
  SED    'lnp-forge'
  SED    'scripts/lnp-forge.sh'
  SED    'scripts/showTuple.sh'
  GEN    'config/configure.in'
  GEN    'paths.mk'
  GEN    'paths.sh'
  DEP    'nconf.gui.dep'
  DEP    'nconf.dep'
  DEP    'lxdialog/yesno.dep'
  DEP    'lxdialog/util.dep'
  DEP    'lxdialog/textbox.dep'
  DEP    'lxdialog/menubox.dep'
  DEP    'lxdialog/inputbox.dep'
  DEP    'lxdialog/checklist.dep'
  DEP    'mconf.dep'
  DEP    'conf.dep'
  BISON  'zconf.tab.c'
  GPERF  'zconf.hash.c'
  LEX    'zconf.lex.c'
  DEP    'zconf.tab.dep'
  CC     'zconf.tab.o'
In file included from zconf.tab.c:212:0:
zconf.hash.c:167:1: error: conflicting types for ‘kconf_id_lookup’
 kconf_id_lookup (register const char *str, register size_t len)
 ^~~~~~~~~~~~~~~
zconf.hash.c:34:31: note: previous declaration of ‘kconf_id_lookup’ was here
 static const struct kconf_id *kconf_id_lookup(register const char *str, register unsigned int len);
                               ^~~~~~~~~~~~~~~
make[2]: *** [Makefile:89: zconf.tab.o] Fehler 1
make[1]: *** [Makefile:171: build-lib-kconfig] Fehler 2
make: *** [Makefile:132: build] Fehler 2

Missing dependencies

Missing dependencies for therapist and dfhack in order to build on Ubuntu-20.04:
ninja-build qt5-qmake qttools5-dev-tools qt5-default libqt5svg5-dev qt5-image-formats-plugins qtbase5-dev qtdeclarative5-dev
dependencies that fixed tkinter error:
python-tk python3-tk
Also on Ubuntu-20.04 theres no packages for qt4. Installing qt5 packages listed above fixed errors.

Arch-Linux / Manjaro dependencies

Hi,

had to change dependencies in Arch-Linux package to the following to be able to install the package:

depend = sdl_image
depend = sdl_ttf
depend = gnome-terminal
depend = jre8-openjdk
depend = tk
depend = qt5-base
depend = unionfs-fuse

Can't compile due to f-permissive error

I tried to git clone --recursive then compile but it failed. I use Debian Sid and I am on latest packages

`debian@debian:$ git clone --recursive https://github.com/McArcady/lnp-forge
Cloning into 'lnp-forge'...
remote: Enumerating objects: 1808, done.
remote: Counting objects: 100% (664/664), done.
remote: Compressing objects: 100% (386/386), done.
remote: Total 1808 (delta 382), reused 439 (delta 204), pack-reused 1144
Receiving objects: 100% (1808/1808), 562.71 KiB | 1.29 MiB/s, done.
Resolving deltas: 100% (1104/1104), done.
debian@debian:
$ cd lnp*
debian@debian:/lnp-forge$ sudo ./configure --prefix=$PWD && sudo make install
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking whether sed understands -r -i -e... yes
checking whether ln -s works... yes
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 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 how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for gobjcopy... no
checking for objcopy... objcopy
checking for absolute path to objcopy... /usr/bin/objcopy
checking for gobjdump... no
checking for objdump... objdump
checking for absolute path to objdump... /usr/bin/objdump
checking for greadelf... no
checking for readelf... readelf
checking for absolute path to readelf... /usr/bin/readelf
checking for gperf... gperf
checking for absolute path to gperf... /usr/bin/gperf
checking for bison... bison
checking for flex... flex
checking for makeinfo... makeinfo
checking for cut... cut
checking for stat... stat
checking for readlink... readlink
checking for wget... wget
checking for tar... tar
checking for gzip... gzip
checking for bzip2... bzip2
checking for help2man... help2man
checking for rsync... rsync
checking for gpatch... no
checking for patch... patch
checking for absolute path to patch... /usr/bin/patch
checking for bash >= 3.1... /usr/bin/bash
checking for GNU awk... /usr/bin/gawk
checking for GNU make >= 3.80... /usr/bin/gmake
checking whether /usr/bin/gmake sets $(MAKE)... yes
checking for make 3.81... no
checking for cmake... /usr/bin/cmake
checking for qmake-qt5... no
checking for qmake-qt4... no
checking for qmake... /usr/bin/qmake
checking for GNU libtoolize >= 1.5.26... /usr/bin/libtoolize
checking for GNU automake >= 1.10... /usr/bin/automake
checking for the type used in gperf declarations... size_t
checking for tclsh... /usr/bin/tclsh
checking for wish... /usr/bin/wish
checking tcl version... 8.6
checking for python3... /usr/bin/python3
checking python3 module: tkinter... yes
checking for java... /usr/bin/java
checking for java 1.8 or 11... yes
checking for fpm... no
configure: WARNING: Ruby gem 'fpm' (Effing package management) is missing: rpm, deb and arch packaging will not be available
checking for git... /usr/bin/git
checking for hg... /usr/bin/hg
checking for ninja... /usr/bin/ninja
checking for cargo... /usr/bin/cargo
checking for perl... perl
checking for perl module XML::LibXML... ok
checking for perl module XML::LibXSLT... ok
checking for library containing IMG_Load... no
checking for library containing TTF_OpenFont... no
checking for library containing gzopen... -lz
configure: WARNING: Some 32-bits dependencies are missing, DwarfFortress < 0.43.05 will not be available
checking for IMG_Load in -l:libSDL_image-1.2.so.0... yes
checking for TTF_OpenFont in -l:libSDL_ttf-2.0.so.0... yes
checking for gzopen in -lz... yes
checking for xz... xz
checking for inline... inline
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 for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking whether gettext is declared... yes
checking for library containing bindtextdomain... none required
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking ncurses/curses.h usability... no
checking ncurses/curses.h presence... no
checking for ncurses/curses.h... no
checking ncursesw/curses.h usability... yes
checking ncursesw/curses.h presence... yes
checking for ncursesw/curses.h... yes
checking for library containing initscr... -lncursesw
checking for library containing tgetent... none required
configure: creating ./config.status
config.status: creating Makefile
SED 'lnp-forge'
SED 'scripts/lnp-forge.sh'
SED 'scripts/showTuple.sh'
GEN 'config/configure.in'
GEN 'paths.mk'
GEN 'paths.sh'
DEP 'nconf.gui.dep'
DEP 'nconf.dep'
DEP 'lxdialog/yesno.dep'
DEP 'lxdialog/util.dep'
DEP 'lxdialog/textbox.dep'
DEP 'lxdialog/menubox.dep'
DEP 'lxdialog/inputbox.dep'
DEP 'lxdialog/checklist.dep'
DEP 'mconf.dep'
DEP 'conf.dep'
BISON 'zconf.tab.c'
GPERF 'zconf.hash.c'
LEX 'zconf.lex.c'
DEP 'zconf.tab.dep'
CC 'zconf.tab.o'
CC 'conf.o'
LD 'conf'
CC 'lxdialog/checklist.o'
CC 'lxdialog/inputbox.o'
CC 'lxdialog/menubox.o'
CC 'lxdialog/textbox.o'
CC 'lxdialog/util.o'
CC 'lxdialog/yesno.o'
CC 'mconf.o'
LD 'mconf'
CC 'nconf.o'
CC 'nconf.gui.o'
LD 'nconf'
MKDIR '/home/debian/lnp-forge/bin/'
INST 'lnp-forge'
MKDIR '/home/debian/lnp-forge/lib/0.47.05-rc4/'
INSTDIR 'config/'
INSTDIR 'patches/'
INSTDIR 'scripts/'
INST 'steps.mk'
INST 'paths'
INST 'kconfig/'
debian@debian:
/lnp-forge$ ./bin/lnp-forge menuconfig
MKDIR config.gen
IN config.gen/arch.in
IN config.gen/kernel.in
IN config.gen/cc.in
IN config.gen/binutils.in
IN config.gen/libc.in
IN config.gen/debug.in
CONF config/config.in
configuration written to .config

*** End of the configuration.
*** Execute 'lnp-forge build' to start the build or try 'lnp-forge help'.

debian@debian:/lnp-forge$ ls
appimage config config.log configure COPYING kconfig lnp-forge m4 Makefile.in paths.mk README.md steps.mk
bin config.gen config.status configure.ac fedora.spec lib lnp-forge.in Makefile patches paths.sh scripts version.sh
debian@debian:
/lnp-forge$ ./bin/lnp-forge build
[INFO ] Performing some trivial sanity checks
[INFO ] Build started 20220211.170328
[INFO ] Building environment variables
[INFO ] =================================================================
[INFO ] Retrieving needed components' tarballs
[INFO ] Retrieving 'lnp-0.14a' from 'https://github.com/Pidgeot/python-lnp'
[INFO ] Got 'lnp-0.14a'
[INFO ] Retrieving 'df_47_05_linux' from http://www.bay12games.com/dwarves/
[INFO ] Got 'df_47_05_linux'
[INFO ] Retrieving 'graphics-master' from 'https://github.com/McArcady/DFgraphics.git'
[INFO ] Got 'graphics-master'
[INFO ] Retrieving 'shared-master' from 'https://github.com/Lazy-Newb-Pack/LNP-shared-core'
[INFO ] Got 'shared-master'
[INFO ] Retrieving 'Keyboard_FR' from https://raw.githubusercontent.com/McArcady/LNP-shared-core/master/keybinds
[INFO ] Got 'Keyboard_FR'
[INFO ] Retrieving 'dfhack-0.47.05-r3' from 'https://github.com/DFHack/dfhack.git'
[INFO ] Got 'dfhack-0.47.05-r3'
[INFO ] Retrieving 'twbt-0.47.05-r3' from 'https://github.com/thurin/df-twbt.git'
[INFO ] Got 'twbt-0.47.05-r3'
[INFO ] Retrieving 'kloker-master' from 'https://github.com/strainer/cavekeeperdf'
[INFO ] Got 'kloker-master'
[INFO ] Retrieving 'therapist-v41.2.3' from 'https://github.com/Dwarf-Therapist/Dwarf-Therapist'
[INFO ] Got 'therapist-v41.2.3'
[INFO ] Retrieving 'soundsense-rs-master' from 'https://github.com/prixt/soundsense-rs.git'
[INFO ] Got 'soundsense-rs-master'
[INFO ] Retrieving 'legendsbrowser-1.19.2' from https://github.com/robertjanetzko/LegendsBrowser/releases/download/1.19.2
[INFO ] Got 'legendsbrowser-1.19.2'
[INFO ] Retrieving 'announcement-v1.3.0' from 'https://github.com/BrachystochroneSD/AnnouncementWindow'
[INFO ] Got 'announcement-v1.3.0'
[INFO ] Retrieving needed components' tarballs: done in 1007.65s (at 16:51)
[INFO ] =================================================================
[INFO ] Extracting and patching components
[INFO ] Extracting 'lnp-0.14a'
[INFO ] Patching 'lnp-0.14a'
[INFO ] Extracting 'df_47_05_linux'
[INFO ] Extracting 'graphics-master'
[INFO ] Patching 'graphics-master'
[INFO ] Extracting 'shared-master'
[INFO ] Patching 'shared-master'
[INFO ] Extracting 'dfhack-0.47.05-r3'
[INFO ] Patching 'dfhack-0.47.05-r3'
[INFO ] Extracting 'twbt-0.47.05-r3'
[INFO ] Extracting 'kloker-master'
[INFO ] Patching 'kloker-master'
[INFO ] Extracting 'therapist-v41.2.3'
[INFO ] Patching 'therapist-v41.2.3'
[INFO ] Extracting 'soundsense-rs-master'
[INFO ] Patching 'soundsense-rs-master'
[INFO ] Extracting 'announcement-v1.3.0'
[INFO ] Patching 'announcement-v1.3.0'
[INFO ] Extracting and patching components: done in 14.29s (at 17:05)
[INFO ] =================================================================
[INFO ] Building components
[INFO ] =================================================================
[INFO ] Building lnp-0.14a
[INFO ] Building lnp-0.14a: done in 0.56s (at 17:06)
[INFO ] =================================================================
[INFO ] Credits for lnp-0.14a
[INFO ] Credits for lnp-0.14a: done in 0.04s (at 17:06)
[INFO ] =================================================================
[INFO ] Building df-47_05_linux
[INFO ] Already extracted 'df_47_05_linux'
[INFO ] Building df-47_05_linux: done in 1.23s (at 17:07)
[INFO ] =================================================================
[INFO ] Credits for df-47_05_linux
[INFO ] Credits for df-47_05_linux: done in 0.05s (at 17:08)
[INFO ] =================================================================
[INFO ] Building graphics-master
[INFO ] Building graphics-master: done in 8.96s (at 17:17)
[INFO ] =================================================================
[INFO ] Credits for graphics-master
[INFO ] Credits for graphics-master: done in 0.05s (at 17:17)
[INFO ] =================================================================
[INFO ] Building shared-master
[INFO ] Building shared-master: done in 1.16s (at 17:18)
[INFO ] =================================================================
[INFO ] Credits for shared-master
[INFO ] Credits for shared-master: done in 0.05s (at 17:18)
[INFO ] =================================================================
[INFO ] Building dfhack-0.47.05-r3
[ERROR] /home/debian/lnp-forge/.build/src/dfhack-0.47.05-r3/plugins/twbt/config.hpp:580:77: error: taking address of rvalue [-fpermissive]
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Building dfhack-0.47.05-r3'
[ERROR] >> called in step 'Building components'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@261]
[ERROR] >> called from: do_dfhack_build[scripts/build/dfhack.sh@58]
[ERROR] >> called from: main[scripts/lnp-forge.sh@631]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '@@CT_DOCDIR@@/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 44:25.65)
gmake: *** [bin/lnp-forge:151: build] Error 1
debian@debian:/lnp-forge$ htop
debian@debian:
/lnp-forge$`

,and here are my build.log and config.log files
build.log
config.log

Additional build dependencies needed for Fedora

I am building lnp-forge in a Fedora toolbox and had to install the following additional dependencies (besides those given in the wiki) to be able to successfully run configure:

  • bison
  • flex
  • patch
  • libtool
  • SDL_image
  • SDL_ttf

df_hack additionaly requires

  • libpng-devel (twbt)
  • SDL-devel (stonesense)

(so I guess those should be added to configure)

It won't configure terminal

Running PyLNP 0.14a (OS: linux, Compiled: False)
WARNING: JSONConfiguration: File PyLNP.user does not exist
INFO: Installing extras content for first time
WARNING: Could not determine installed graphics, tileset is curses_640x300.png/curses_square_16x16.png
Exception in Tkinter callback
Traceback (most recent call last):
  File "/usr/lib/python3.8/tkinter/__init__.py", line 1892, in __call__
    return self.func(*args)
  File "/tmp/lnp-2u08lE/core/launcher.py", line 52, in run_df
    result = run_program(executable, force, True, spawn_terminal)
  File "/tmp/lnp-2u08lE/core/launcher.py", line 91, in run_program
    run_args = terminal.get_terminal_command([path,])
  File "/tmp/lnp-2u08lE/core/terminal.py", line 30, in get_terminal_command
    raise Exception(
Exception: No terminal configured! Use File > Configure Terminal.

this is what my stderr.txt says

Bad cursor spec

i just download and unpack LinuxDwarfPack-0.47.05-r3.tar.bz2, after that, i tried to launch the game with ./startlnp.sh and get this error:

WARNING: JSONConfiguration: File PyLNP.user does not exist
['Traceback (most recent call last):\n', '  File "./launch.py", line 12, in <module>\n    lnp.PyLNP()\n', '  File "/home/yoru/Downloads/LinuxDwarfPack-0.47.05-r3/core/lnp.py", line 119, in __init__\n    self.initialize_ui()\n', '  File "/home/yoru/Downloads/LinuxDwarfPack-0.47.05-r3/core/lnp.py", line 212, in initialize_ui\n    self.ui = TkGui()\n', '  File "/home/yoru/Downloads/LinuxDwarfPack-0.47.05-r3/./tkgui/tkgui.py", line 137, in __init__\n    self.root = root = Tk()\n', '  File "/usr/lib/python3.8/tkinter/__init__.py", line 2270, in __init__\n    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)\n', '_tkinter.TclError: bad cursor spec "#00ffff"\n']

Does not install additional TWBT graphics files

I think the additional files for TWBT support in graphics are not being installed properly. This is making shadows not work correctly, missing tiles for up/down stairs, etc. I think LNP does this correctly.

These instructions are from the README.md for Phoebus, and work for me when I do them by hand:

2.1.1 - Installing all the TWBT content:
To install all the TWBT content,

  • Copy the contents of the /data/twbt_art/ folder to the /data/art/.
  • Copy the contents of the /data/twbt_init/ folder to the /data/init/.
  • Copy the contents of the /raw/twbt_graphics/ folder to the /raw/graphics/.
  • Copy the contents of the /raw/twbt_objects/ folder to the /raw/objects/.
  • Copy the "onLoad_gfx_Phoebus.init" file into the /raw/ folder.

DT error on Ubuntu with ptrace protection

Dwarf Therapist has a known issue on distros with ptrace protection (e.g. ubuntu) -- resolving that seems to conflict with the approach you're taking to run the app from within a temp sandbox.
I have been able to get it to work without the --portable option by running it directly from /opt/bin and redirecting the log to my user folder, after I disabled ptrace on the executable. sudo setcap cap_sys_ptrace=ep dwarftherapist

Broken PyLNP menu: Folders > Dwarf Fortress folder

Menu Folders > Dwarf Fortress folder fails to open the file explorer with error:

gio: file:///tmp/lnp-k2HLYK/df_linux: Error when getting information for file “/tmp/lnp-k2HLYK/df_linux”: No such file or directory
ERROR: Could not open file df_linux

The other folders work fine.

Error 127 after building on Arch Linux from soundsense-rs

[INFO ] =================================================================
[INFO ] Building components
[INFO ] =================================================================
[INFO ] Building lnp-0.14a
[INFO ] Building lnp-0.14a: done in 0.04s (at 03:23)
[INFO ] =================================================================
[INFO ] Credits for lnp-0.14a
[INFO ] Credits for lnp-0.14a: done in 0.00s (at 03:23)
[INFO ] =================================================================
[INFO ] Building df-47_05_linux
[INFO ] Already extracted 'df_47_05_linux'
[INFO ] Building df-47_05_linux: done in 0.19s (at 03:23)
[INFO ] =================================================================
[INFO ] Credits for df-47_05_linux
[INFO ] Credits for df-47_05_linux: done in 0.00s (at 03:23)
[INFO ] =================================================================
[INFO ] Building graphics-master
[INFO ] Building graphics-master: done in 0.80s (at 03:24)
[INFO ] =================================================================
[INFO ] Credits for graphics-master
[INFO ] Credits for graphics-master: done in 0.00s (at 03:24)
[INFO ] =================================================================
[INFO ] Building shared-master
[INFO ] Building shared-master: done in 0.57s (at 03:24)
[INFO ] =================================================================
[INFO ] Credits for shared-master
[INFO ] Credits for shared-master: done in 0.00s (at 03:24)
[INFO ] =================================================================
[INFO ] Building dfhack-0.47.05-r1
[INFO ] Building dfhack-0.47.05-r1: done in 512.22s (at 11:57)
[INFO ] =================================================================
[INFO ] Credits for dfhack-0.47.05-r1
[INFO ] Credits for dfhack-0.47.05-r1: done in 0.00s (at 11:57)
[INFO ] =================================================================
[INFO ] Building twbt-0.47.05-r1
[INFO ] Building twbt-0.47.05-r1: done in 0.01s (at 11:57)
[INFO ] =================================================================
[INFO ] Credits for twbt-0.47.05-r1
[INFO ] Credits for twbt-0.47.05-r1: done in 0.00s (at 11:57)
[INFO ] =================================================================
[INFO ] Building kloker-master
[INFO ] Building kloker-master: done in 0.02s (at 11:57)
[INFO ] =================================================================
[INFO ] Credits for kloker-master
[INFO ] Credits for kloker-master: done in 0.00s (at 11:57)
[INFO ] =================================================================
[INFO ] Building therapist-v41.2.2
[INFO ] Building therapist-v41.2.2: done in 163.54s (at 14:40)
[INFO ] =================================================================
[INFO ] Credits for therapist-v41.2.2
[INFO ] Credits for therapist-v41.2.2: done in 0.00s (at 14:40)
[INFO ] =================================================================
[INFO ] Building soundsensers-master
[ERROR]
[ERROR] >>
[ERROR] >> Build failed in step 'Building soundsensers-master'
[ERROR] >> called in step 'Building components'
[ERROR] >> called in step '(top-level)'
[ERROR] >>
[ERROR] >> Error happened in: CT_DoExecLog[scripts/functions@261]
[ERROR] >> called from: do_soundsensers_build[scripts/build/soundsensers.sh@32]
[ERROR] >> called from: main[scripts/lnp-forge.sh@631]
[ERROR] >>
[ERROR] >> For more info on this error, look at the file: 'build.log'
[ERROR] >> There is a list of known issues, some with workarounds, in:
[ERROR] >> '@@CT_DOCDIR@@/B - Known issues.txt'
[ERROR]
[ERROR] (elapsed: 14:39.86)
make: *** [bin/lnp-forge:151: build] Error 127

Hello, I am getting Error 127 after attempting to build on Arch Linux using ./bin/lnp-forge build. When excluding sounsense-rs from the menuconfig, the package installs without issue. I have attached the log below.

build.log

Arch Configure Terminal issues

Whenever I try to launch the appimage or the script in the tar ball I am asked to set up my terminal. I normally use alacritty so I put that asw the command but it seems to be trying to run "alacritty /usr/bin/python3" which makes no sense. I also tried konsole, xterm, and terminator with similar issues. I cannot get any terminal to work for this as it seems to be strangely trying to pass that file path into the arguments of running the terminal. Anyone have any ideas?

Cannot start on Fedora 34

I cannot get the linux-dwarf-pack to start as expected.

What I tried:

  1. Downloading and running the AppImage file from the latest release
  2. Downloading and sudo dnf installing the .rpm packe from the latest release

Error in both cases:

Missing package unionfs/unionfs-fuse!
Aborted.

In Fedora, the command is called funionfs, not unionfs (if I understand correctly). With a symlink unionfs -> funionfs it errors that it cannot create the overlay:

Creating overlay of /home/masc/.local/share/linux-dwarf-pack and /tmp/.mount_Dwarf_6cbcqK in /tmp/lnp-QXOhKD...
Failed to mount overlay, check your install of unionfs/unionfs-fuse.
Aborted.

Manually running the unionfs command from /opt/linux-dwarf-pack/linux-dwarf-pack.sh results in a non-zero exit code without any explanation from unionfs what the error is (and the file system not being mounted to the /tmp/lnp-... directory.

I cannot get it running from the start script/.desktop file.

What does work: cp -r /opt/linux-dwarf-pack ~/Applications/ and run ~/Applications/linux-dwarf-pack/startlnp.sh. I assume this is not ideal.

I assume the Wiki page for Fedora dependencies is therefore outdated. There is no package unionfs-fuse. There is only funionfs. (Again, if I understand correctly)

Thank you for your time!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.