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
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Codec Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: lfs-tracker
  Show dependency tree
 
Reported: 2023-03-06 19:20 UTC by Adrian Ratiu
Modified: 2024-03-12 18:18 UTC (History)
1 user (show)

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


Attachments

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 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
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
Comment 4 Larry the Git Cow gentoo-dev 2024-03-12 18:18:53 UTC
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(+)