Ghostscript fails while building with the ChromiumOS LLVM toolchain due to missing lfs flags: 21:18:42.431 * QA Notice: The following files were not built with LFS support: 21:18:42.438 * Please see https://issuetracker.google.com/201531268 for details. 21:18:42.444 * fopen /usr/bin/ijs_client_example 21:18:42.446 * fopen /usr/bin/ijs_server_example Adding append-lfs-flags to src_configure() fixes this problem since the ebuild already inherits flag-o-matic. Reproducible: Always Steps to Reproduce: Build latest cups-filters and ghostscript with the LLVM toolchain used by ChromeOS Actual Results: Build fails with a QA notice Expected Results: Build passes if we add append-lfs-flags
Please abidiff it before/after and share output
(I imagine it's fine given the file list, but let's be safe)
Here is the abidiff output: ``` for i in $(\ls -d lfs/*); do abidiff $i non-lfs/$(basename $i); done abidiff: Unknown content type for file non-lfs/ijs_client_example abidiff: Unknown content type for file non-lfs/ijs_server_example ``` The examples were binaries and now have become shell scripts
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8d55c278e674000d4ed1511e23f4b93ab1a5684 commit f8d55c278e674000d4ed1511e23f4b93ab1a5684 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-12 18:18:33 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-12 18:18:46 +0000 app-text/ghostscript-gpl: add LFS flags Been meaning to do this for a while... Closes: https://bugs.gentoo.org/899952 Signed-off-by: Sam James <sam@gentoo.org> ...hostscript-gpl-10.03.0.ebuild => ghostscript-gpl-10.03.0-r1.ebuild} | 3 +++ 1 file changed, 3 insertions(+)