Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 899952 - app-text/ghostscript-gpl: missing lfs flags
Summary: app-text/ghostscript-gpl: missing lfs flags
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Codec Project
Depends on:
Blocks: lfs-tracker
  Show dependency tree
Reported: 2023-03-06 19:20 UTC by adrian.ratiu
Modified: 2023-03-10 07:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description adrian.ratiu 2023-03-06 19:20:50 UTC
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 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
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-06 20:57:29 UTC
Please abidiff it before/after and share output
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-06 20:57:47 UTC
(I imagine it's fine given the file list, but let's be safe)
Comment 3 adrian.ratiu 2023-03-08 12:25:52 UTC
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