Mattia, please kindly use bottom-posting style instead of top-positing.

On 16 March 2024 23:05:54 GMT+01:00, Mattia Moffa <[email protected]> wrote:
>Please, note that it has already been decided multiple times by trusted users 
>that Eclipse packages should not include the -bin suffix. The eclipse-java-bin 
>and the eclipse-jee-bin packages have been deleted in the past for the same 
>reason. Also, back when Eclipse was in the official repositories, it was not 
>built from source, in the same way as here.
>
>https://lists.archlinux.org/hyperkitty/list/[email protected]/message/IYMHUXXUK6ZAHG2WOY57K4NBZ52WH6J7/
>
>https://lists.archlinux.org/hyperkitty/list/[email protected]/message/5DVQBXP2VGUTUKLLDD2KOL6DAY2OQIHW/
>
>Thank you.
>


Citing bad precedent should not be used as a valid argument here.

AUR non-bin-suffixed packages should not carry architecture-specific ELF files 
in case the source is open – that should be the ground rule.

The original rationale behind the Java jar exception was because it was said 
that such Java bytecode binaries are already platform-neutral and that 
rebuilding from source would yield the same bytecode, and would yield the same 
execution performance and security.

However, Eclipse as a desktop GUI application binds to ELF libraries installed 
in the system, like Gtk3 and many of its downstream libraries, and therefore it 
is not platform-independent.

Therefore the non-bin pkgname should be reserved for the source-based build, 
because AUR users should have the right to build platform-dependent code from 
source.


Additionally, Eclipse's upstream configures their binary build for maximum 
compatibility, not performance or security.

The prebuilt Eclipse-CPP ELF .so files lack RELRO and Intel shadow stack 
support, and some even have executable stack!

They also have insecure RPATHs.


It is fine as an alternative choice to offer eclipse-cpp-bin, as a user can 
choose it for convenience.

But such a binary build should not forcefully occupy the non-bin-suffixed 
namespace of this application on AUR.

A source-based PKGBUILD should not be relegated to second-class status, to use 
a suffixed pkgname like eclipse-cpp-src. 

(The ArchWiki does not have any provisions for having something like an '-src' 
suffix when a prebuilt non-bin package occupies the namespace of an open-source 
platform-dependent application.)

Reply via email to