Bug 2026656
| Summary: | Requiring /usr/bin/latex during build breaks flatpaked simple-scan | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Alessio <alciregi> |
| Component: | sane-backends | Assignee: | Nils Philippsen <nphilipp> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 35 | CC: | nphilipp, thibault, zdohnal |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-12-01 11:24:29 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Hi Alessio, I'm sorry for missing this one and thanks for the report! Yep, LGTM - the whole package is brought in either way IIUC, so the change is ok, I'll merge your PR. Merged as https://src.fedoraproject.org/rpms/sane-backends/c/5da3040a6b2ad52bfa9b141b5aca19ce7c9a9ce1?branch=rawhide . Is it okay for you to have just in rawhide or do you need it in F35 as well? Great. Thanks. I think that it is more safe to keep it only in rawhide. Is it? IMO there is no concern about it, but let's keep there for a while. Usually I get it into stable release once there is a bug which needs fixing. |
Hello. I was trying to build a flatpak for simple-scan (just for fun, probably there will be other issues). simple-scan requires sane-backends But it happens that when it will install the build requirements inside the "container", %{_bindir} is /app/bin and not the canonical /usr/bin (I'm not sure of what I'm writing). So dnf fails to find the package containing latex because of no package contains /app/bin/latex Is it possible to modify the spec file in order to have BuildRequires: texlive-base Instead of BuildRequires: %{_bindir}/latex What do you think?