-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
I use pkg_create to create a package which I can then release. However, after upgrading to the new v1 action, a segfault occurs. The segfault does not occur in the v0 action, does not occur when I run the same code in the shell-netbsd action, and I cannot reproduce the segfault in a NetBSD VM. Therefore, I think the error is with the netbsd-vm action.
I have created the following minimal GitHub actions workflow that causes a segfault. I found that the segfault occurs only when I use pkg_create's -B option.
on: [push]
jobs:
netbsd-job:
runs-on: ubuntu-22.04
steps:
- uses: vmactions/netbsd-vm@v1
with:
run: |
set -e
touch packlist buildinfo
echo "::group::Without buildinfo"
/usr/sbin/pkg_create -c -comment -d -desc -f packlist pkg-name.tgz
echo "::endgroup::"
echo "::group::With buildinfo"
/usr/sbin/pkg_create -B ./buildinfo -c -comment -d -desc -f packlist pkg-name.tgz
echo "::endgroup::"
Here are the full logs from running that action. The segfault occurs just below ##[group]With buildinfo.
Metadata
Metadata
Assignees
Labels
No labels