Jump to content

zyli

Community Members
  • Posts

    58
  • Joined

  • Last visited

  • Days Won

    2

zyli last won the day on September 28

zyli had the most liked content!

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

zyli's Achievements

Discens

Discens (2/14)

12

Reputation

  1. Thank you for your answer. Here's what I did: 1. I installed Debian Trixie on a USB flash drive (USB 3.0) just like on a hard drive (with its own UEFI partition and additionally with grub-pc so that it can be run on older computers without UEFI). Now I have: rustc ver. 1.83.0, python 3.12.6, libopenal* ver. 1.24.1. 2. I copied my previous directory from 0ad nightly 'svn_2024/0ad/trunk/' to the above-mentioned Debian Trixie drive. I made sure that the directories I placed in had exactly the same names. Once I unnecessarily changed the name 'svn_2024' to something else and 0ad wouldn't build - the absolute path was remembered somewhere. 3. I issued the commands: cd trunk/ svn update cd libraries/ nproc # I got: 20 ./build-source-libs.sh -j20 cd ../build/workspaces/ ./update-workspaces.sh -j20 cd gcc make clean make -j20 4. Now check: cd ../../../binaries/system/ ./test # I got: Running cxxtest tests (416 tests)...OK! ./pyrogenesis # It works fine! cat ~/svn_2024_october/0ad/trunk/build/build_version/build_version.txt L"main, 5f1f8" (yesterday, today 17 Dec: L"main, dba968") 5. Of course, there were some surprises. I struggled with, among others: with the problem: It helped to install the package: llvm. 6. I think that on the page: https://gitea.wildfiregames.com/0ad/0ad/wiki/BuildInstructions in the "Dependencies - Debian, Ubuntu" section for Debian 13 Trixie in the sentence starting with: "sudo apt install" it would be good to add the following packages: python-is-python3 rustfmt llvm Adding the 'ccache' package wouldn't hurt either. 7. When I executed './clean-source-libs.sh' it gave me a warning: './clean-source-libs.sh: 13: git: not found'. But I think that for 'svn update' the 'git' package is not needed. 8. After starting './pyrogenesis' it displays: [W][01203.830396] pw.conf | [ conf.c: 1214 try_load_conf()] can't load config client.conf: No such file or directory [E][01203.830423] pw.conf | [ conf.c: 1243 pw_conf_load_conf_for_context()] can't load config client.conf: No such file or directory But it probably has no visible effect. 9. You can't download the 0ad-spirv mod using Settings – Mod selection, which was once needed for Vulkan to work. So I copied the '0ad-spirv-0.27.22-b8sl.zip' file I had, enabled it in the settings and everything works. 0ad + Vulkan on the 'nouveau' driver (sic!). The game is playable, but Debian files and game files on a pendrive instead of a hard drive do their thing. I noticed that when there is no '0ad-spirv' mod, after exiting the game a warning window appears - I'm attaching the 'crash' file. That would be it - maybe someone will find it useful. Best regards. crashlog_2024-12-17_no_spirv-mod.txt
  2. Debian 12.8 Bookworm Today (2024-12-16) I tried to compile 0ad with nightly-build (commands: 'svn update' etc.) I got the message: In the '0ad/trunk/libraries/' directory I had to give executable permissions to *.sh files, because the update downloaded newer files without these permissions: chmod +x build-source-libs.sh source/cxxtest-4.4/build.sh source/fcollada/build.sh source/nvtt/build.sh source/premake-core/build.sh source/spidermonkey/build.sh source/spirv-reflect/build.sh But that's a minor thing. Being in the 'libraries/' directory I issued the command './build-source-libs.sh' During "Building SpiderMonkey..." I received the information: And then: Finally: In stable Debian 12.8 there is: rustc --version rustc 1.63.0 Can't the requirements be lowered to version 1.63, which would allow building a 0ad nightly build in Debian Bookworm? I know that Debian has been waiting for quite a long time to update rustc. Debian Testing already has the current version 1.83, but the new Debian Stable is still a long way off (half a year?). The previous 0ad build, i.e. 99, made by me, worked fine. Regards.
  3. https://tracker.debian.org/pkg/0ad [2024-11-28] Accepted 0ad 0.0.26-8 (source) into unstable (Vincent Cheng) Changelog: 0ad (0.0.26-8) unstable; urgency=medium [ Antoine Le Gonidec ] * Honour DEB_BUILD_OPTIONS when setting the maximum number of jobs. (Closes: #1000235) * Avoid a crash on launch with openal 1.24.0 (Closes: #1087990) [ Vincent Cheng ] * Fix FTBFS when attempting to build twice in a row. (Closes: #1043705) * Update Standards version to 4.7.0, no changes needed. -- Vincent Cheng <vcheng@debian.org> Thu, 28 Nov 2024 14:26:39 -0800
  4. @bigsmit19 You're not the only one with this problem. In my opinion, it follows that there are two types of players: 1. Let's call them 'builders' - they plan, build, develop the economy and at the same time develop the army, 2. Let's call them 'rowdy' - at the beginning they focus on producing soldiers and at all costs send them immediately to the opponent. The first one has no chance against the second one (and this is how Petra plays) - unless there is some obstacle, e.g. the sea. That's why I suggest you try your hand at naval maps (random). For example, the Migration map, a very large map, four players (human + 3 computer players). There are four islands (each for one player) and a continent. In order for the computer player to attack you, he must first develop the economy - just like you, because he must build warships. Even if he attacks you later, you will defeat him, because you will already be at a certain level of development. I suggest playing as Carthaginians and sending a crew to the continent as soon as possible in a merchant ship to set up a base somewhere in the interior, because the resources on the island will soon run out. It is best if you play on the outermost island - you land in the corner of the map, build a port and a trade route, etc. Once you get the hang of it, you will win every time on the most difficult level. A more interesting (but also more difficult) map is Elephantine (very large, four players). Because on the central island (Elephantine) you can take over a wonder defended by Gaia warriors. As soon as you start building your own wonder, send heavy cavalry (approx. 80) to the central island to take over the Gaia wonder. When you have two wonders, no one will threaten you. First, you have to defend yourself against one opponent from the same coast or form an alliance with him (neutrality). And taking a third wonder from an opponent is a real joy. Good luck.
  5. So where did 'neofetch' get this data: "Kernel: 6.5.0-5-amd64"? The current kernel in Trixie is: 6.11.5 https://packages.debian.org/trixie/linux-image-amd64 In my opinion, in the file '/etc/apt/sources.list': 1. The last two lines ('proposed-updates' and 'bookworm-backports') are unnecessary. 2. Instead of 'ftp.it.debian.org/debian' I would use: 'http://deb.debian.org/debian/'. 3. Instead of 'ftp.it.debian.org/debian/ trixie-security' I would use: 'deb http://security.debian.org/debian-security/ trixie-security' Best regards.
  6. Sorry, but... Debian Trixie with kernel 6.5.0-5 was in December 2023. https://snapshot.debian.org/package/linux-signed-amd64/6.5.13%2B1/#linux-image-6.5.0-5-amd64_6.5.13-1 Are other packages that old too? Best regards
  7. Nothing disappears without a reason. At that time '0ad' did not compile with python 3.12. https://wildfiregames.com/forum/topic/100249-alpha-26-doesnt-start-ubuntu-2204/?do=findComment&comment=585068 Therefore, the solution was to take '0ad' from 'mantic'. But time passes and now there is no 'mantic' repository, because 'plucky' was released. '0ad' is already present in 'plucky'. https://packages.ubuntu.com/plucky/0ad Compare the required dependencies, in particular: 'libboost-filesystem1.83.0' and 'libicu74'. In 'noble' they are probably appropriate. Then download the '0ad' package ( http://cz.archive.ubuntu.com/ubuntu/pool/universe/0/0ad/0ad_0.0.26-6ubuntu1_amd64.deb ) and install manually (dpkg -i file.deb). Installing with flatpak is not recommended: https://wildfiregames.com/forum/topic/100249-alpha-26-doesnt-start-ubuntu-2204/?do=findComment&comment=585183 Best regards.
  8. And so it happened ... 0ad 0.0.26 returns to Debian Testing – Trixie. https://tracker.debian.org/pkg/0ad If it is already in Debian, it will be in Debian-based systems soon.
  9. It's good that it went smoothly for you and you're happy Regarding this inscription: "Potentially unsafe". It's strange that this Ubuntu is oversensitive to packages from its own repository one branch lower ('mantic' vs. 'noble'). And somehow Ubuntu doesn't care about "Potentially unsafe" in the case of snap packages that it promotes so widely. But never mind. "Potentially unsafe" most often applies to older kernels, older web browsers, etc. when newer versions have been released. However, in this case it does not apply to the 0ad package, which would be compiled on 'noble' from the same source (0.0.26) as on 'mantic'. And why wasn't 0ad compiled on 'noble' (and also on Debian Trixie, Mint 22)? Answer: Because now in Debian Trixie ('noble' etc) the default python version is 3.12, which for some strange reason prevents compilation of 0ad (only 0ad, because 0ad-data compiles correctly). It's only about compilation, because python is not needed to run 0ad. It goes without saying that on 'mantic' python was in a lower version. And that's why the 0ad package will not be in Debian Trixie (noble etc.), until this problem is solved. News: I think auspicious winds are beginning to blow: https://wildfiregames.com/forum/topic/124266-0adpython312-%E2%80%93-a-positive-signal/ And that would be it. Regards. Postscript Given that "Potentially unsafe" label, for peace of mind you can always handle "serious matters" on another ("Potentially safe") computer.
  10. Sorry if my answer stings a little bit. If the problem for you is downloading two files (in words: two) from the Ubuntu repository and executing the command 'dpkg -i', then forgive me... I suggest Windows. Good luck. Best regards.
  11. A little note from me. ThomasCollignon has Ubuntu 24.04.1, or 'noble'. Since 'noble' there is no 0ad package anymore. There are 0ad-data and 0ad-data-common. But there is no 0ad. https://packages.ubuntu.com/search?suite=noble&searchon=names&keywords=0ad The same case as Debian Trixie. 0ad can be installed on Ubuntu Noble - you have to take the 0ad package from 'mantic' and install it manually. https://packages.ubuntu.com/mantic/0ad But first you have to manually install the libicu72 package (72.1-3ubuntu3) from 'mantic'. https://packages.ubuntu.com/mantic/libicu72 In 'noble' there is libicu74. Both of these packages can be together. I have tested this on Linux Mint 22, which is based on 'noble'. Regards. Postscriptum. You may need to install dependencies: libenet 7, libgloox18.
  12. Today (October 19) I found the 0ad_0.0.26-6_amd64.deb package in https://incoming.debian.org. You can read there, among other things: "Fix FTBFS with Python 3.12. (Closes: #1085385)" https://tracker.debian.org/media/packages/0/0ad/changelog-0.0.26-6 https://tracker.debian.org/news/1576808/accepted-0ad-0026-6-source-into-unstable/ Does this mean that the problem with the "python 3.12 + 0ad" duo has already been solved? Regards.
  13. Why? 1) Because when using svn, after issuing the command './pyrogenesis' the hash is displayed on the title page: 'b5d08a' (similarly pyrogenesis.exe for Windows). 2) You have 'custom' + compilation date. 3) You write: "now the game runs fine". 4) There is a known bug: https://gitea.wildfiregames.com/0ad/0ad/issues/7103 5) On the page: https://gitea.wildfiregames.com/0ad/0ad the hash 'b5d08a4833' has not changed since 2024-10-09. Due to the above facts, the currently compiled game should not start correctly (this is not about the game's welcome page). For me, using svn update (+ subsequent compilation commands) the game cannot be launched under both Debian and Windows (item 4). On the welcome page I have had the same hash for three days: 'b5d08a'. That is why I asked this question. Best regards.
  14. Good news. Could you write what build is displayed on the welcome window after starting the game (bottom left corner of the screen)?
  15. I think there's something to it. I compile nightly-build using svn under Debian Bookworm according to the recipe: https://wildfiregames.com/forum/topic/123667-trying-to-compile-0ad-nightly-build-%E2%80%93-debian-bookworm/?do=findComment&comment=583917 At first it was fine, but for a few days now I can't start the game (At revision 51, 52). After typing './pyrogenesis' a welcome window appears, but after selecting any game the screen goes to a window where nothing can be done and there is information about errors. The same thing happens in Windows when 'pyrogenesis.exe' is started. Debian: ./pyrogenesis (final fragment) GAME STARTED, ALL INIT COMPLETE Assertion failed: "!!m_Receiver" Location: Future.h:200 (Get) Call stack: (0x55c61253dfde) ./pyrogenesis(+0x88bfde) [0x55c61253dfde] (0x55c6124e4f6f) ./pyrogenesis(+0x832f6f) [0x55c6124e4f6f] (0x55c6124e517e) ./pyrogenesis(+0x83317e) [0x55c6124e517e] (0x55c6124e7171) ./pyrogenesis(+0x835171) [0x55c6124e7171] (0x55c611eae49e) ./pyrogenesis(+0x1fc49e) [0x55c611eae49e] (0x55c611dffbdc) ./pyrogenesis(+0x14dbdc) [0x55c611dffbdc] (0x55c611e0ae5a) ./pyrogenesis(+0x158e5a) [0x55c611e0ae5a] (0x55c611e5ffdb) ./pyrogenesis(+0x1adfdb) [0x55c611e5ffdb] (0x55c6120431ec) ./pyrogenesis(+0x3911ec) [0x55c6120431ec] (0x55c611d85671) ./pyrogenesis(+0xd3671) [0x55c611d85671] (0x55c611d6d2f8) ./pyrogenesis(+0xbb2f8) [0x55c611d6d2f8] (0x7f8117d6724a) /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x7f8117d6724a] (0x7f8117d67305) /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x85) [0x7f8117d67305] (0x55c611d7ea31) ./pyrogenesis(+0xcca31) [0x55c611d7ea31] errno = 11 (Try again later) OS error = ? Redirecting call to abort() to mozalloc_abort Segmentation fault cat ../../build/build_version/build_version.txt L"main, b5d08a" grep build_version ~/.config/0ad/logs/userreport_hwdetect.txt "build_version": "main, b5d08a", "build_version": "2.26.5", "build_version": 20100, sed -n '200p' ../../source/ps/Future.h ENSURE(!!m_Receiver); md5sum ../../source/ps/Future.h e490987bb4fa469b609474dd627a6042 ../../source/ps/Future.h cd /tmp/ wget https://svn.wildfiregames.com/nightly-build/trunk/source/ps/Future.h md5sum Future.h e490987bb4fa469b609474dd627a6042 Future.h But the 'test' runs fine: ./test Running cxxtest tests (413 tests)...OK! Under Windows the list of errors is longer – see the attached file. Regards. Assertion failed !!m_Receiver_52_2024-10-11.txt.zip
×
×
  • Create New...