Bug 254751 - devel/e2fsprogs-libss: fails to build with /bin/sh: compile_et: not found
Summary: devel/e2fsprogs-libss: fails to build with /bin/sh: compile_et: not found
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
Depends on:
Reported: 2021-04-03 22:08 UTC by Felix Palmen
Modified: 2021-04-03 22:12 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (kaduk-fbsd)

poudriere build log (28.90 KB, text/plain)
2021-04-03 22:08 UTC, Felix Palmen
no flags Details
workaround for build error (668 bytes, patch)
2021-04-03 22:12 UTC, Felix Palmen
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Felix Palmen 2021-04-03 22:08:05 UTC
Created attachment 223795 [details]
poudriere build log

FreeBSD 13.0-RC5, building with poudriere for i386, building fails with this:

===>  Building for e2fsprogs-libss-1.46.2
(cd /wrkdirs/usr/ports/devel/e2fsprogs-libss/work/e2fsprogs-1.46.2/lib/ss && compile_et ss_err.et &&  /usr/bin/sed -i.bak -f /usr/ports/devel/e2fsprogs-libss/files/fix-ss_err.h.sed ss_err.h)
/bin/sh: compile_et: not found
*** Error code 127

Full poudriere log attached.

Trying to fix this myself, I found I can build and use compile_et from inside the source tree itself, which leads to the next problem: libcom_err is required.

This is part of e2fsprogs package, which *depends* on e2fsprogs-libss.
Comment 1 Felix Palmen 2021-04-03 22:12:18 UTC
Created attachment 223796 [details]
workaround for build error

I made it build successfully with this patch, but I think it's the wrong thing to do. libcom_err.so will still be installed by e2fsprogs and yet be linked here…