Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

freebsd epm uses pkg_create, which does not exist anymore? #14

Open
johanhenselmans opened this issue Dec 8, 2023 · 0 comments
Open

Comments

@johanhenselmans
Copy link

I tried to create a package with epm for FreeBSD. Unfortunately, epm creates something else as pkg expects nowadays.
pkg-create does not exist anymore.
When trying to create a package name boca (epm -vv -f native -a amd64 boca.amd64) I get this error:
/usr/sbin/pkg_create -p / -c freebsd-14.0-amd64/boca.amd64.comment -d freebsd-14.0-amd64/boca.amd64.descr -f freebsd-14.0-amd64/boca.amd64.plist freebsd-14.0-amd64/boca.amd64-3.3.2-freebsd-14.0-amd64.tbz
epm: Unable to execute "/usr/sbin/pkg_create" program: No such file or directory
Packaging failed!

This is what is available in freebsd-14.0-amd64
This is what epm creates:
drwxr-xr-x 3 root wheel 3 Dec 7 16:27 boca.amd64.buildroot
-rw-r--r-- 1 root wheel 355 Dec 8 14:23 boca.amd64.comment
-rw-r--r-- 1 root wheel 43 Dec 8 14:23 boca.amd64.descr
-rw-r--r-- 1 root wheel 657 Dec 8 14:23 boca.amd64.plist

pkg create expects something like this:
-rwxr-xr-x 1 root wheel 1820 Dec 7 23:51 +MANIFEST
drwxr-xr-x 3 root wheel 8 Dec 7 23:51 .
drwxr-xr-x 5 root wheel 7 Dec 8 03:08 ..
-rw-r--r-- 1 root wheel 312 Dec 7 16:08 LICENSE
-rwxr-xr-x 1 root wheel 55 Dec 7 16:08 pkg-deinstall
-rwxr-xr-x 1 root wheel 57 Dec 7 16:08 pkg-install
drwxr-xr-x 3 root wheel 3 Dec 7 16:08 usr

Or is there perhaps a pkg-create that I have to install from somewhere?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant