-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
PLIST fails to include all files #4222
Comments
@th0ma7 can you describe the real error? I never ever had a problem with this (but I used only the synocommunitity/spksrc docker image). |
It all started with @ymartin59 comment #4211 (comment) where From there the idea was that the issue might come from the recent changes I did in the framework thus I've tried to find since when
Voilà! You are absolutely right! Files do get properly installed in Now, making some mileage on @ymartin59 comment, still, should |
In fact Here, I guess something has changed in fossil build chain which now use dynamic linking instead of static linking (may a change in configure default options... And so it requires now to declare "openssl" as |
See cross-commenting in reference to #4221 (comment) Another approach (perhaps longer-term) could be to package only the lib portion of |
So was not a framework bug |
Current
PLIST
code does not include each and every files it should. In some cases there are dependencies left aside. Problem is really obvious withfossil-scm
and seems to have been existing since 2019+.Setup
Package Name:
fossil-scm
Package Version: any
Linked issues: #4221, #4211, #4215
NAS Model: all
NAS Architecture: all
DSM version: 6.1, 6.2.3
Proposal
Option 1) Rewrite the
PLIST
code:Interestingly this option refers to a previous comment at #4215 (comment)
spksrc.install.mk
in order to rename the post-processed file$(WORK_DIR)/$(PKG_NAME).plist
as something else (e.g. ?$(WORK_DIR)/$(PKG_NAME).files
) to free-up the.plist
extensionspksrc.plist.mk
using similarCOOKIE
handling in order to create an$(WORK_DIR)/$(PKG_NAME).plist
for each packages at post-install time. Include in this.mk
the ability to check (spksrc.plist-check.mk
?) that every file is really existing so if an error happens it is caught at the dependency level right away instead of at the complete end of the build process. This new mk would be called afterspksrc.install.mk
in probably (to be confirmed)spksrc.cross-cc.mk
,spksrc.cross-go.mk
andspksrc.install-resources.mk
plist
code (currentlyspksrc.plist.mk
) running at the end of spk build process in order to simplyPLIST_TRANSFORM
over all$(WORK_DIR)/$(PKG_NAME).plist
files available from within the$(WORK_DIR)
.The text was updated successfully, but these errors were encountered: