Troubles with building Xenocara on OpenBSD. In included picture is end of the output of the `make build` executed in the /usr/xenocara directory. I was following the release(8) manual page. reddit / BSD ---------------------------------------------------------------------- qci · 2022-02-13 18:57 Make sure you don't change the root shell and the default locale. Weird things like these can happen. ---------------------------------------------------------------------- zielonykid1234 · 2022-02-13 19:58 I'm sure. ---------------------------------------------------------------------- Current_Hearing_6138 · 2022-02-13 23:53 I have yet to have a single program build using the supplied makefile. People like to make things overcomplictated, including their makefiles. ---------------------------------------------------------------------- zielonykid1234 · 2022-02-14 02:41 What ---------------------------------------------------------------------- Current_Hearing_6138 · 2022-02-14 02:47 every time I attempt to compile from source, usually retrieved from git, the first thing I have to do is fix makefiles. ---------------------------------------------------------------------- zielonykid1234 · 2022-02-14 13:34 I fetch sources using cvs(1) and it works perfectly, but Xenocara is broken lol ---------------------------------------------------------------------- Current_Hearing_6138 · 2022-02-14 15:11 the problem isn't git, its people who write a 100+ line makefile ---------------------------------------------------------------------- zielonykid1234 · 2022-02-14 15:43 Do you have any idea how to build Xenocara? ---------------------------------------------------------------------- Current_Hearing_6138 · 2022-02-14 18:19 start with gcc --include $INCLUDEDIR -o *.o *.c then add gcc --include $INCLUDEDIR -fpic --shared -o $LIBDIR/*.o *.c for those files which need to be compiled as shared libraries and add $LIBDIR to the first example. ---------------------------------------------------------------------- zielonykid1234 · 2022-02-14 20:08 Add these lines to the Makefile? I do not understand. ---------------------------------------------------------------------- jggimi · 2022-02-14 21:28 Were you using `-j` again as you apparently did with your [userland b uild](https://www.reddit.com/r/BSD/comments/sqtufg/getting_errors_whil e_doing_a_release_of_openbsd/)? Using `-j` is not recommended in release(8), and might again be the cause of your problems. Please note that release(8) describes the provisioning required for `/usr/xobj`. Just like `/usr/obj`, which you had misconfigured, it must be owned by user `build`, in group `wobj`. The release(8) man page also recommends the directory be empty before beginning the build. Make sure it is correctly owned and has the correct file access modes, as well as being empty before beginning your build again. Xenocara has additional build details in `/usr/xenocara/README` which may be helpful. If you're still having problems after restarting the build with a correctly configured and clean object directory, consider logging the exact commands you enter as well as the output errors that you've been photographing. The script(1) utility can be helpful for capturing this. ---------------------------------------------------------------------- zielonykid1234 · 2022-02-14 21:40 I am going to clean the sources and objects directories and try again doing the release. ---------------------------------------------------------------------- Current_Hearing_6138 · 2022-02-14 23:06 just use your own makefile with something similar to that. Adjust it as necessary. ---------------------------------------------------------------------- zielonykid1234 · 2022-02-14 23:15 I'll try 🥲 ---------------------------------------------------------------------- jggimi · 2022-02-15 02:18 I don't think you've been getting OpenBSD-specific advice here. As an example, `gcc` is only available as a built-in compiler with the alpha, hppa, landisk, luna88k, and sparc64 architectures. OpenBSD's major architectures use the clang / LLVM toolchain instead.