troglobit / finit

Fast init for Linux. Cookies included
https://troglobit.com/projects/finit/
MIT License
633 stars 63 forks source link

Drop '--enable-static' configure option, broken with too much maint overhead #368

Open az143 opened 1 year ago

az143 commented 1 year ago

that's with the code from git, head at efed0db16bc03ac. ./autogen.sh, ./configure --enable-static and make results in a fully dynamic finit

$ ldd ./src/finit
    linux-vdso.so.1 (0x00007ffe7f358000)
    libite.so.5 => /lib/x86_64-linux-gnu/libite.so.5 (0x00007f6d2e7ef000)
    libuev.so.2 => /lib/x86_64-linux-gnu/libuev.so.2 (0x00007f6d2e7e8000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f6d2e614000)
    /lib64/ld-linux-x86-64.so.2 (0x00007f6d2e855000)

trying to force this a bit harder with ./configure --enable-static=yes --enable-shared=no doesn't get me anywhere either:

$ make 
...
Making all in plugins
make[2]: Entering directory '/tmp/finitupstream/finit/plugins
...
  CCLD     libplug.la
libtool:   error: cannot build a shared library See the libtool documentation for more information. Fatal configuration error.
troglobit commented 1 year ago

This support was requested over 10 years ago and should probably be dropped since I have no interest in maintaining something I don't use and which also makes maintenance of Finit quite a lot more difficult.

Thanks for reminding me, I'll put this up for removal in v5.0

az143 commented 1 year ago

On Wed, 20 Sep 2023 22:24:44 -0700, Joachim Wiberg writes:

This support was requested over 10 years ago and should probably be dropped since I have no interest in maintaining something I don't use and which also makes maintenance of Finit quite a lot more difficult.

fair enough. i hope you won't categorically rule out a return, if i do manage to resurrect that feature at some point in the future?

regards az

-- Alexander Zangerl + GPG Key 2FCCF66BB963BD5F + https://snafu.priv.at/ Unix is user-friendly. It is not ignorant-friendly and idiot-friendly.

troglobit commented 1 year ago

fair enough. i hope you won't categorically rule out a return, if i do manage to resurrect that feature at some point in the future? regards az

Well, that depends. Getting it to work is one thing, but since Finit evolves and more code is added, other parts refactored, it just adds drag. I've spent way too much time maintaining all the compatibility functions and trying to test this myself, so that's what I'd like to see go, the overhead. But if you want to stick around supporting the static builds for the long haul you're of course welcome to do so.

vazub commented 11 months ago

Please don't drop. I am building statically linked distro and can compile Finit just fine with Zig/musl.

troglobit commented 11 months ago

Please don't drop. I am building statically linked distro and can compile Finit just fine with Zig/musl.

Great, now you're team that can help out maintaining this. Looking forward to the collaboration.

(I'm being both a bit sarcastic and genuine here. If you want a less used feature to remain, I will no longer do the job for you, you will have to step up.)