I'm thinking of switching from Arch for Gentoo musl, and i would like to know if Trinity is working with musl.
On Wednesday 19 August 2020 10:36:17 am Luiz Antônio wrote:
I'm thinking of switching from Arch for Gentoo musl, and i would like to know if Trinity is working with musl.
Hi Luiz,
I'm sure a dev can answer you better regarding musl specifics, but my suggestion is to get a cheap/scrap computer and try anything *nix on that first. Makes life significantly easier...
Best, Michael
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
On Wed, 19 Aug 2020 12:36:17 -0300 Luiz Antônio luiz.antonio.rangel.30@gmail.com wrote:
I'm thinking of switching from Arch for Gentoo musl, and i would like to know if Trinity is working with musl.
Hi, I'm one of the people working on TDE ebuilds for Gentoo. The other two don't spend much time on the mailing lists.
I don't think anyone's tried to build against Gentoo musl yet (or any other Gentoo variant except standard amd64). Testing inside a chroot is probably the way to go. Doubly so if you're looking at hardened.
If you don't know how to proceed, I can see about setting up a chroot using stage3-amd64-musl-vanilla this weekend and testing to see whether tdebase and dependencies build and install. (This doesn't *absolutely* guarantee that they'll run properly, but they probably will.)
(For those who have no idea what this about: musl is a replacement for glibc. It's most commonly used for embedded systems, but Gentoo has installation media that allow it to be installed for desktop systems.)
E. Liddell
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
On 2020/08/20 01:45 AM, E. Liddell wrote:
On Wed, 19 Aug 2020 12:36:17 -0300 Luiz Ant??nio luiz.antonio.rangel.30@gmail.com wrote:
I'm thinking of switching from Arch for Gentoo musl, and i would like to know if Trinity is working with musl.
Hi, I'm one of the people working on TDE ebuilds for Gentoo. The other two don't spend much time on the mailing lists.
I don't think anyone's tried to build against Gentoo musl yet (or any other Gentoo variant except standard amd64). Testing inside a chroot is probably the way to go. Doubly so if you're looking at hardened.
If you don't know how to proceed, I can see about setting up a chroot using stage3-amd64-musl-vanilla this weekend and testing to see whether tdebase and dependencies build and install. (This doesn't *absolutely* guarantee that they'll run properly, but they probably will.)
(For those who have no idea what this about: musl is a replacement for glibc. It's most commonly used for embedded systems, but Gentoo has installation media that allow it to be installed for desktop systems.)
E. Liddell
Not sure about Gentoo, but in the past there has been changes incorporated into TDE for building on musl. So hopefully it will work out fine :-) Cheers Michele
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
On Thu, 20 Aug 2020 10:06:12 +0900 "Michele Calgaro via trinity-users" trinity-users@lists.pearsoncomputing.net wrote:
Not sure about Gentoo, but in the past there has been changes incorporated into TDE for building on musl. So hopefully it will work out fine :-)
No, unfortunately. tdelibs refuses to build:
[626/2229] /usr/bin/x86_64-gentoo-linux-musl-g++ -DHAVE_CONFIG_H -I/usr/tqt3/include -I/usr/include/tqt -Ikded -I. -I/var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8/kded -Itdecore -I/var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8/dcop -I/var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8/tdecore -I/var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8/tdeui -I/var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8/tdeio -I/var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8/tdeio/tdeio -DNDEBUG -O2 -pipe -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -I/usr/tqt3/include -I/usr/include/tqt -include tqt.h -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -MD -MT kded/CMakeFiles/kdontchangethehostname.dir/khostname.cpp.o -MF kded/CMakeFiles/kdontchangethehostname.dir/khostname.cpp.o.d -o kded/CMakeFiles/kdontchangethehostname.dir/khostname.cpp.o -c /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8/kded/khostname.cpp
[...snip mass of deprecation warnings...]
[627/2229] cd /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-14.0.8_build/tdeio && file -C -m /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8/tdeio/tdeio.magic FAILED: tdeio/tdeio.magic.mgc cd /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-14.0.8_build/tdeio && file -C -m /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8/tdeio/tdeio.magic ninja: build stopped: subcommand failed.
Should I file a bug?
E. Liddell
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512
Should I file a bug?
E. Liddell
Sounds good, even better file an issue on TGW. Cheers Michele
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting
On Sunday 23 of August 2020 19:42:34 E. Liddell wrote:
[627/2229] cd /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-14.0.8_build/t deio && file -C -m /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8 /tdeio/tdeio.magic FAILED: tdeio/tdeio.magic.mgc cd /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-14.0.8_build/t deio && file -C -m /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8 /tdeio/tdeio.magic ninja: build stopped: subcommand failed.
Should I file a bug?
E. Liddell
Hi,
am I correct that FAILED is tdeio.magic.mgc? It has nothing to do with libc, but it's a simple call to 'file -C -m ...'. Is it possible that you are missing the 'file' binary or is it not working as expected?
Cheers
On Tue, 25 Aug 2020 09:11:56 +0200 Slávek Banko slavek.banko@axis.cz wrote:
On Sunday 23 of August 2020 19:42:34 E. Liddell wrote:
[627/2229] cd /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-14.0.8_build/t deio && file -C -m /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8 /tdeio/tdeio.magic FAILED: tdeio/tdeio.magic.mgc cd /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-14.0.8_build/t deio && file -C -m /var/tmp/portage/trinity-base/tdelibs-14.0.8/work/tdelibs-trinity-14.0.8 /tdeio/tdeio.magic ninja: build stopped: subcommand failed.
Should I file a bug?
E. Liddell
Hi,
am I correct that FAILED is tdeio.magic.mgc? It has nothing to do with libc, but it's a simple call to 'file -C -m ...'. Is it possible that you are missing the 'file' binary or is it not working as expected?
Thanks, Slavek. It looks like there may indeed be a problem there:
(musl) ryu / # file /usr/bin/file Bad system call
where it should be returning "/usr/bin/file: ELF 64-bit LSB pie executable [etc.]".
I'll investigate further before doing any bug filing (and the bugs may have to go to the Gentoo musl project, anyway).
E. Liddell
--------------------------------------------------------------------- To unsubscribe, e-mail: trinity-users-unsubscribe@lists.pearsoncomputing.net For additional commands, e-mail: trinity-users-help@lists.pearsoncomputing.net Read list messages on the web archive: http://trinity-users.pearsoncomputing.net/ Please remember not to top-post: http://trinity.pearsoncomputing.net/mailing_lists/#top-posting