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
xbps-src throws an error of unknown trigger #26717
Comments
Can't reproduce..print the /builddir/.xbps-st/do_install.log |
Sure
|
|
This is not supported, it looks up the xbps-triggers package to verify that the trigger exist. |
Maybe that's the case. I always try to keep as little extra files as possible... |
Its 100% the case, xbps-src needs the tree of all involved packages to function normally, including all dependencies of the package you build and their dependencies and all the packages that are required to setup and update the masterdir. Here is the exact place where the error happens, it looks up the xbps-triggers source package to verify that the trigger it tries to include exist: void-packages/common/hooks/post-install/04-create-xbps-metadata-scripts.sh Lines 317 to 320 in e4be86c
Line 543 in 795429f
|
Yep, it works, my fault! |
I just ran into the same problem.
How can the users create repository for their own templates? |
It's needed for building packages that use triggers. See void-linux/void-packages#26717
System
Expected behavior
Custom package is created.
Actual behavior
I'm trying to build a custom package for
st
, but I can't copy a.desktop
file to/usr/share/applications
.xbps-src pkg st
aborts with the errorunknown trigger update-desktopdb
while executing04-create-xbps-metadata-scripts
hook.Steps to reproduce the behavior
I've cloned
void-packages
and calledxbps-src binary-bootstrap
.I've deleted all folders from
srcpkgs
exceptst
&st-terminfo
.I've used the template file in template.zip.
Specifically, I've added
vinstall ${FILESDIR}/st.desktop 644 usr/share/applications
to thepost_install
function.The text was updated successfully, but these errors were encountered: