Hi! Unexpected issue with our dev installs: when doing "make" (after the perl Makefile.PL, without errors), I now get make: *** No rule to make target 'api/v1/swagger/swagger_bundle.json', needed by 'pm_to_blib'. Stop. on master. First time I try in 2025. I see two possibilities: I need to upgrade my koha-deps package (we're at 24.05), or there's something wrong in the code. Can someone in a different timezone enlighten me ? Practically, I can't upgrade the packages to 24.11, our installs are all on 24.05. Any hack is welcomed :-) Cheers, -- Logo inLibro <https://inLibro.com> Philippe Blouin Directeur de la technologie T 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 230 C philippe.blouin@inLibro.com www.inLibro.com <https://inLibro.com>
Hi Philippe, I'm familiar with this type of error, but it's the first time I'm seeing mention of it for 'api/v1/swagger/swagger_bundle.json'. What do you see if you do "git log ./api/v1/swagger/swagger_bundle.json"? Are you sure that you're on "main" and not a custom branch? I'm on an up-to-date "main" branch, and I just did a "perl Makefile.PL; make" and I'm actually getting a different odd error: bundling api/v1/swagger/swagger.yaml... � Created a bundle for api/v1/swagger/swagger.yaml at api/v1/swagger/swagger_bundle.json 391ms. Done in 23.05s. cp -r koha-tmpl/intranet-tmpl/prog/js/vue/dist blib/INTRANET_TMPL_DIR/prog/js/vue/ cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.map': Permission denied make: *** [Makefile:9315: compile_css_js] Error 1 Extra weird since the files have actually been created... I'm going to keep looking at this one... David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Philippe Blouin via Koha-devel Sent: Wednesday, 7 May 2025 7:23 AM To: koha-devel@lists.koha-community.org Subject: [Koha-devel] Error on make Hi! Unexpected issue with our dev installs: when doing "make" (after the perl Makefile.PL, without errors), I now get make: *** No rule to make target 'api/v1/swagger/swagger_bundle.json', needed by 'pm_to_blib'. Stop. on master. First time I try in 2025. I see two possibilities: I need to upgrade my koha-deps package (we're at 24.05), or there's something wrong in the code. Can someone in a different timezone enlighten me ? Practically, I can't upgrade the packages to 24.11, our installs are all on 24.05. Any hack is welcomed :-) Cheers, -- <https://inLibro.com> Philippe Blouin Directeur de la technologie T 833-INLIBRO (465-4276) <tel:833-465-4276> , poste 230 C philippe.blouin@inLibro.com <mailto:philippe.blouin@inLibro.com> www.inLibro.com <https://inLibro.com>
I have some more testing to do, but at a glance I think the problem is that we have generated files in our git working directory, and Make is trying to copy those over when they shouldn't exist at all. Give me a few minutes and I'll get back to you again... David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: David Cook <dcook@prosentient.com.au> Sent: Wednesday, 7 May 2025 9:49 AM To: 'Philippe Blouin' <philippe.blouin@inlibro.com>; 'koha-devel@lists.koha-community.org' <koha-devel@lists.koha-community.org> Subject: RE: [Koha-devel] Error on make Hi Philippe, I'm familiar with this type of error, but it's the first time I'm seeing mention of it for 'api/v1/swagger/swagger_bundle.json'. What do you see if you do "git log ./api/v1/swagger/swagger_bundle.json"? Are you sure that you're on "main" and not a custom branch? I'm on an up-to-date "main" branch, and I just did a "perl Makefile.PL; make" and I'm actually getting a different odd error: bundling api/v1/swagger/swagger.yaml... � Created a bundle for api/v1/swagger/swagger.yaml at api/v1/swagger/swagger_bundle.json 391ms. Done in 23.05s. cp -r koha-tmpl/intranet-tmpl/prog/js/vue/dist blib/INTRANET_TMPL_DIR/prog/js/vue/ cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.map': Permission denied make: *** [Makefile:9315: compile_css_js] Error 1 Extra weird since the files have actually been created... I'm going to keep looking at this one... David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Philippe Blouin via Koha-devel Sent: Wednesday, 7 May 2025 7:23 AM To: koha-devel@lists.koha-community.org Subject: [Koha-devel] Error on make Hi! Unexpected issue with our dev installs: when doing "make" (after the perl Makefile.PL, without errors), I now get make: *** No rule to make target 'api/v1/swagger/swagger_bundle.json', needed by 'pm_to_blib'. Stop. on master. First time I try in 2025. I see two possibilities: I need to upgrade my koha-deps package (we're at 24.05), or there's something wrong in the code. Can someone in a different timezone enlighten me ? Practically, I can't upgrade the packages to 24.11, our installs are all on 24.05. Any hack is welcomed :-) Cheers, -- <https://inLibro.com> Philippe Blouin Directeur de la technologie T 833-INLIBRO (465-4276) <tel:833-465-4276> , poste 230 C philippe.blouin@inLibro.com <mailto:philippe.blouin@inLibro.com> www.inLibro.com <https://inLibro.com>
I did a "rm -rf koha-tmpl/intranet-tmpl/prog/js/vue/dist/*", re-ran "perl Makefile.PL; make; make install", and it worked without issue (when using a "single" or a "dev" install). However... after doing a bit of a deep dive *I can reproduce your issue*. -- In Makefile.PL, there is a mapping for swagger_bundle.json: 691 #API_CGI_DIR 692 $file_map->{'api/v1/swagger/swagger_bundle.json'} = 'blib/API_CGI_DIR/v1/swagger/swagger_bundle.json'; When I look on my make log, I see the following: cp api/v1/swagger/swagger_bundle.json blib/API_CGI_DIR/v1/swagger/swagger_bundle.json However, if I look carefully, I can see that the "api/v1/swagger/swagger_bundle.json" is actually built *after* the "cp" commands are done, which means that the file that was copied... was the pre-existing generated file in my git working directory from my previous dev work. ***So if I "rm api/v1/swagger/swagger_bundle.json" before doing my "perl Makefile.PL; make", then I get your Make error...*** But then if I "touch api/v1/swagger/swagger_bundle.json" and run "make" again, the "make" will succeed and the empty file gets copied to blib/API_CGI_DIR/v1/swagger/swagger_bundle.json. I then run "make install", which actually re-runs the build step from "make", which copies the newly generated file from api/v1/swagger/swagger_bundle.json to blib/API_CGI_DIR/v1/swagger/swagger_bundle.json 1511 Skip blib/API_CGI_DIR/v1/swagger/paths/record_sources.yaml (unchanged) 1512 cp api/v1/swagger/swagger_bundle.json blib/API_CGI_DIR/v1/swagger/swagger_bundle.json 1513 Skip blib/API_CGI_DIR/v1/swagger/paths/search_filters.yaml (unchanged) Turns out I added that file mapping to Makefile.PL with BZ 36546 which was added to 24.05... When it comes to Debian package building... you usually use "git archive --format=tar", which doesn't include a swagger_bundle.json. Interestingly... when I do my local Debian packaging (which includes BZ 39623 which streamlines the "make; make install" process)... it's running build-resources.PL *before* it does the "cp". It's in an older Debian container rather than a newer Ubuntu container, so that's interesting... I've got to take a phone call, but I'm going to come back to this shortly. David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of David Cook via Koha-devel Sent: Wednesday, 7 May 2025 9:52 AM To: 'Philippe Blouin' <philippe.blouin@inlibro.com>; koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Error on make I have some more testing to do, but at a glance I think the problem is that we have generated files in our git working directory, and Make is trying to copy those over when they shouldn't exist at all. Give me a few minutes and I'll get back to you again... David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: David Cook <dcook@prosentient.com.au> Sent: Wednesday, 7 May 2025 9:49 AM To: 'Philippe Blouin' <philippe.blouin@inlibro.com>; 'koha-devel@lists.koha-community.org' <koha-devel@lists.koha-community.org> Subject: RE: [Koha-devel] Error on make Hi Philippe, I'm familiar with this type of error, but it's the first time I'm seeing mention of it for 'api/v1/swagger/swagger_bundle.json'. What do you see if you do "git log ./api/v1/swagger/swagger_bundle.json"? Are you sure that you're on "main" and not a custom branch? I'm on an up-to-date "main" branch, and I just did a "perl Makefile.PL; make" and I'm actually getting a different odd error: bundling api/v1/swagger/swagger.yaml... Created a bundle for api/v1/swagger/swagger.yaml at api/v1/swagger/swagger_bundle.json 391ms. Done in 23.05s. cp -r koha-tmpl/intranet-tmpl/prog/js/vue/dist blib/INTRANET_TMPL_DIR/prog/js/vue/ cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.map': Permission denied make: *** [Makefile:9315: compile_css_js] Error 1 Extra weird since the files have actually been created... I'm going to keep looking at this one... David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Philippe Blouin via Koha-devel Sent: Wednesday, 7 May 2025 7:23 AM To: koha-devel@lists.koha-community.org Subject: [Koha-devel] Error on make Hi! Unexpected issue with our dev installs: when doing "make" (after the perl Makefile.PL, without errors), I now get make: *** No rule to make target 'api/v1/swagger/swagger_bundle.json', needed by 'pm_to_blib'. Stop. on master. First time I try in 2025. I see two possibilities: I need to upgrade my koha-deps package (we're at 24.05), or there's something wrong in the code. Can someone in a different timezone enlighten me ? Practically, I can't upgrade the packages to 24.11, our installs are all on 24.05. Any hack is welcomed :-) Cheers, -- <https://inLibro.com> Philippe Blouin Directeur de la technologie T 833-INLIBRO (465-4276) <tel:833-465-4276> , poste 230 C philippe.blouin@inLibro.com <mailto:philippe.blouin@inLibro.com> www.inLibro.com <https://inLibro.com> _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
Ahhh... I think I see. In "Bug 37911 - Prototype vue islands within static pages", I make "compile_css_js" depend on "pm_to_blib", so that pm_to_blib runs *before* "compile_css_js". The reason being that we need "blib" to exist before we can generate and copy the Vue files into "blib". "api/v1/swagger/swagger_bundle.json" is generated by "compile_css_js" but we need it for "pm_to_blib" because of the file mapping from BZ 36546. Ok... I think that I know what I need to do. See Bug 39849 for further updates, so I don't have to keep spamming everyone with emails. David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: David Cook <dcook@prosentient.com.au> Sent: Wednesday, 7 May 2025 10:37 AM To: 'David Cook' <dcook@prosentient.com.au>; 'Philippe Blouin' <philippe.blouin@inlibro.com>; koha-devel@lists.koha-community.org Subject: RE: [Koha-devel] Error on make I did a "rm -rf koha-tmpl/intranet-tmpl/prog/js/vue/dist/*", re-ran "perl Makefile.PL; make; make install", and it worked without issue (when using a "single" or a "dev" install). However... after doing a bit of a deep dive *I can reproduce your issue*. -- In Makefile.PL, there is a mapping for swagger_bundle.json: 691 #API_CGI_DIR 692 $file_map->{'api/v1/swagger/swagger_bundle.json'} = 'blib/API_CGI_DIR/v1/swagger/swagger_bundle.json'; When I look on my make log, I see the following: cp api/v1/swagger/swagger_bundle.json blib/API_CGI_DIR/v1/swagger/swagger_bundle.json However, if I look carefully, I can see that the "api/v1/swagger/swagger_bundle.json" is actually built *after* the "cp" commands are done, which means that the file that was copied... was the pre-existing generated file in my git working directory from my previous dev work. ***So if I "rm api/v1/swagger/swagger_bundle.json" before doing my "perl Makefile.PL; make", then I get your Make error...*** But then if I "touch api/v1/swagger/swagger_bundle.json" and run "make" again, the "make" will succeed and the empty file gets copied to blib/API_CGI_DIR/v1/swagger/swagger_bundle.json. I then run "make install", which actually re-runs the build step from "make", which copies the newly generated file from api/v1/swagger/swagger_bundle.json to blib/API_CGI_DIR/v1/swagger/swagger_bundle.json 1511 Skip blib/API_CGI_DIR/v1/swagger/paths/record_sources.yaml (unchanged) 1512 cp api/v1/swagger/swagger_bundle.json blib/API_CGI_DIR/v1/swagger/swagger_bundle.json 1513 Skip blib/API_CGI_DIR/v1/swagger/paths/search_filters.yaml (unchanged) Turns out I added that file mapping to Makefile.PL with BZ 36546 which was added to 24.05... When it comes to Debian package building... you usually use "git archive --format=tar", which doesn't include a swagger_bundle.json. Interestingly... when I do my local Debian packaging (which includes BZ 39623 which streamlines the "make; make install" process)... it's running build-resources.PL *before* it does the "cp". It's in an older Debian container rather than a newer Ubuntu container, so that's interesting... I've got to take a phone call, but I'm going to come back to this shortly. David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of David Cook via Koha-devel Sent: Wednesday, 7 May 2025 9:52 AM To: 'Philippe Blouin' <philippe.blouin@inlibro.com>; koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Error on make I have some more testing to do, but at a glance I think the problem is that we have generated files in our git working directory, and Make is trying to copy those over when they shouldn't exist at all. Give me a few minutes and I'll get back to you again... David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: David Cook <dcook@prosentient.com.au> Sent: Wednesday, 7 May 2025 9:49 AM To: 'Philippe Blouin' <philippe.blouin@inlibro.com>; 'koha-devel@lists.koha-community.org' <koha-devel@lists.koha-community.org> Subject: RE: [Koha-devel] Error on make Hi Philippe, I'm familiar with this type of error, but it's the first time I'm seeing mention of it for 'api/v1/swagger/swagger_bundle.json'. What do you see if you do "git log ./api/v1/swagger/swagger_bundle.json"? Are you sure that you're on "main" and not a custom branch? I'm on an up-to-date "main" branch, and I just did a "perl Makefile.PL; make" and I'm actually getting a different odd error: bundling api/v1/swagger/swagger.yaml... Created a bundle for api/v1/swagger/swagger.yaml at api/v1/swagger/swagger_bundle.json 391ms. Done in 23.05s. cp -r koha-tmpl/intranet-tmpl/prog/js/vue/dist blib/INTRANET_TMPL_DIR/prog/js/vue/ cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.map': Permission denied make: *** [Makefile:9315: compile_css_js] Error 1 Extra weird since the files have actually been created... I'm going to keep looking at this one... David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Philippe Blouin via Koha-devel Sent: Wednesday, 7 May 2025 7:23 AM To: koha-devel@lists.koha-community.org Subject: [Koha-devel] Error on make Hi! Unexpected issue with our dev installs: when doing "make" (after the perl Makefile.PL, without errors), I now get make: *** No rule to make target 'api/v1/swagger/swagger_bundle.json', needed by 'pm_to_blib'. Stop. on master. First time I try in 2025. I see two possibilities: I need to upgrade my koha-deps package (we're at 24.05), or there's something wrong in the code. Can someone in a different timezone enlighten me ? Practically, I can't upgrade the packages to 24.11, our installs are all on 24.05. Any hack is welcomed :-) Cheers, -- <https://inLibro.com> Philippe Blouin Directeur de la technologie T 833-INLIBRO (465-4276) <tel:833-465-4276> , poste 230 C philippe.blouin@inLibro.com <mailto:philippe.blouin@inLibro.com> www.inLibro.com <https://inLibro.com> _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
Hi again Philippe, I've fixed the problem in main/master via BZ 39849. My understanding of your original bug report is that you were trying to "perl Makefile.PL" and "make" on the main/master branch. If I'm wrong, please follow up here or on Bugzilla with more details. I don't really understand your references to 24.05 and 24.11 in the context of working on the "master" branch, but yes... let me know how you go. David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of David Cook via Koha-devel Sent: Wednesday, 7 May 2025 4:40 PM To: 'Philippe Blouin' <philippe.blouin@inlibro.com>; koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Error on make Ahhh... I think I see. In "Bug 37911 - Prototype vue islands within static pages", I make "compile_css_js" depend on "pm_to_blib", so that pm_to_blib runs *before* "compile_css_js". The reason being that we need "blib" to exist before we can generate and copy the Vue files into "blib". "api/v1/swagger/swagger_bundle.json" is generated by "compile_css_js" but we need it for "pm_to_blib" because of the file mapping from BZ 36546. Ok... I think that I know what I need to do. See Bug 39849 for further updates, so I don't have to keep spamming everyone with emails. David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: David Cook <dcook@prosentient.com.au> Sent: Wednesday, 7 May 2025 10:37 AM To: 'David Cook' <dcook@prosentient.com.au>; 'Philippe Blouin' <philippe.blouin@inlibro.com>; koha-devel@lists.koha-community.org Subject: RE: [Koha-devel] Error on make I did a "rm -rf koha-tmpl/intranet-tmpl/prog/js/vue/dist/*", re-ran "perl Makefile.PL; make; make install", and it worked without issue (when using a "single" or a "dev" install). However... after doing a bit of a deep dive *I can reproduce your issue*. -- In Makefile.PL, there is a mapping for swagger_bundle.json: 691 #API_CGI_DIR 692 $file_map->{'api/v1/swagger/swagger_bundle.json'} = 'blib/API_CGI_DIR/v1/swagger/swagger_bundle.json'; When I look on my make log, I see the following: cp api/v1/swagger/swagger_bundle.json blib/API_CGI_DIR/v1/swagger/swagger_bundle.json However, if I look carefully, I can see that the "api/v1/swagger/swagger_bundle.json" is actually built *after* the "cp" commands are done, which means that the file that was copied... was the pre-existing generated file in my git working directory from my previous dev work. ***So if I "rm api/v1/swagger/swagger_bundle.json" before doing my "perl Makefile.PL; make", then I get your Make error...*** But then if I "touch api/v1/swagger/swagger_bundle.json" and run "make" again, the "make" will succeed and the empty file gets copied to blib/API_CGI_DIR/v1/swagger/swagger_bundle.json. I then run "make install", which actually re-runs the build step from "make", which copies the newly generated file from api/v1/swagger/swagger_bundle.json to blib/API_CGI_DIR/v1/swagger/swagger_bundle.json 1511 Skip blib/API_CGI_DIR/v1/swagger/paths/record_sources.yaml (unchanged) 1512 cp api/v1/swagger/swagger_bundle.json blib/API_CGI_DIR/v1/swagger/swagger_bundle.json 1513 Skip blib/API_CGI_DIR/v1/swagger/paths/search_filters.yaml (unchanged) Turns out I added that file mapping to Makefile.PL with BZ 36546 which was added to 24.05... When it comes to Debian package building... you usually use "git archive --format=tar", which doesn't include a swagger_bundle.json. Interestingly... when I do my local Debian packaging (which includes BZ 39623 which streamlines the "make; make install" process)... it's running build-resources.PL *before* it does the "cp". It's in an older Debian container rather than a newer Ubuntu container, so that's interesting... I've got to take a phone call, but I'm going to come back to this shortly. David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of David Cook via Koha-devel Sent: Wednesday, 7 May 2025 9:52 AM To: 'Philippe Blouin' <philippe.blouin@inlibro.com>; koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Error on make I have some more testing to do, but at a glance I think the problem is that we have generated files in our git working directory, and Make is trying to copy those over when they shouldn't exist at all. Give me a few minutes and I'll get back to you again... David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: David Cook <dcook@prosentient.com.au> Sent: Wednesday, 7 May 2025 9:49 AM To: 'Philippe Blouin' <philippe.blouin@inlibro.com>; 'koha-devel@lists.koha-community.org' <koha-devel@lists.koha-community.org> Subject: RE: [Koha-devel] Error on make Hi Philippe, I'm familiar with this type of error, but it's the first time I'm seeing mention of it for 'api/v1/swagger/swagger_bundle.json'. What do you see if you do "git log ./api/v1/swagger/swagger_bundle.json"? Are you sure that you're on "main" and not a custom branch? I'm on an up-to-date "main" branch, and I just did a "perl Makefile.PL; make" and I'm actually getting a different odd error: bundling api/v1/swagger/swagger.yaml... Created a bundle for api/v1/swagger/swagger.yaml at api/v1/swagger/swagger_bundle.json 391ms. Done in 23.05s. cp -r koha-tmpl/intranet-tmpl/prog/js/vue/dist blib/INTRANET_TMPL_DIR/prog/js/vue/ cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.map': Permission denied make: *** [Makefile:9315: compile_css_js] Error 1 Extra weird since the files have actually been created... I'm going to keep looking at this one... David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Philippe Blouin via Koha-devel Sent: Wednesday, 7 May 2025 7:23 AM To: koha-devel@lists.koha-community.org Subject: [Koha-devel] Error on make Hi! Unexpected issue with our dev installs: when doing "make" (after the perl Makefile.PL, without errors), I now get make: *** No rule to make target 'api/v1/swagger/swagger_bundle.json', needed by 'pm_to_blib'. Stop. on master. First time I try in 2025. I see two possibilities: I need to upgrade my koha-deps package (we're at 24.05), or there's something wrong in the code. Can someone in a different timezone enlighten me ? Practically, I can't upgrade the packages to 24.11, our installs are all on 24.05. Any hack is welcomed :-) Cheers, -- <https://inLibro.com> Philippe Blouin Directeur de la technologie T 833-INLIBRO (465-4276) <tel:833-465-4276> , poste 230 C philippe.blouin@inLibro.com <mailto:philippe.blouin@inLibro.com> www.inLibro.com <https://inLibro.com> _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/ _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
Hi David! I love timezones! A big thanks for looking into it. I just signed it off. About my koha-deps comment, it has been often my experience that the package contains the correct tool to use (yarn version comes to mind). The same way as with CPAN libraries I need to install manually in between versions on my test boxes, to end up having the correct one once I upgrade my koha-perldeps. Best regards! Logo inLibro <https://inLibro.com> Philippe Blouin Directeur de la technologie T 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 230 C philippe.blouin@inLibro.com www.inLibro.com <https://inLibro.com> On 2025-05-07 03:24, David Cook wrote:
Hi again Philippe,
I've fixed the problem in main/master via BZ 39849.
My understanding of your original bug report is that you were trying to "perl Makefile.PL" and "make" on the main/master branch. If I'm wrong, please follow up here or on Bugzilla with more details. I don't really understand your references to 24.05 and 24.11 in the context of working on the "master" branch, but yes... let me know how you go.
David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia
Office: 02 9212 0899
-----Original Message----- From: Koha-devel<koha-devel-bounces@lists.koha-community.org> On Behalf Of David Cook via Koha-devel Sent: Wednesday, 7 May 2025 4:40 PM To: 'Philippe Blouin'<philippe.blouin@inlibro.com>;koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Error on make
Ahhh... I think I see.
In "Bug 37911 - Prototype vue islands within static pages", I make "compile_css_js" depend on "pm_to_blib", so that pm_to_blib runs *before* "compile_css_js". The reason being that we need "blib" to exist before we can generate and copy the Vue files into "blib".
"api/v1/swagger/swagger_bundle.json" is generated by "compile_css_js" but we need it for "pm_to_blib" because of the file mapping from BZ 36546.
Ok... I think that I know what I need to do.
See Bug 39849 for further updates, so I don't have to keep spamming everyone with emails.
David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia
Office: 02 9212 0899
-----Original Message----- From: David Cook<dcook@prosentient.com.au> Sent: Wednesday, 7 May 2025 10:37 AM To: 'David Cook'<dcook@prosentient.com.au>; 'Philippe Blouin'<philippe.blouin@inlibro.com>;koha-devel@lists.koha-community.org Subject: RE: [Koha-devel] Error on make
I did a "rm -rf koha-tmpl/intranet-tmpl/prog/js/vue/dist/*", re-ran "perl Makefile.PL; make; make install", and it worked without issue (when using a "single" or a "dev" install).
However... after doing a bit of a deep dive *I can reproduce your issue*.
--
In Makefile.PL, there is a mapping for swagger_bundle.json: 691 #API_CGI_DIR 692 $file_map->{'api/v1/swagger/swagger_bundle.json'} = 'blib/API_CGI_DIR/v1/swagger/swagger_bundle.json';
When I look on my make log, I see the following: cp api/v1/swagger/swagger_bundle.json blib/API_CGI_DIR/v1/swagger/swagger_bundle.json
However, if I look carefully, I can see that the "api/v1/swagger/swagger_bundle.json" is actually built *after* the "cp" commands are done, which means that the file that was copied... was the pre-existing generated file in my git working directory from my previous dev work.
***So if I "rm api/v1/swagger/swagger_bundle.json" before doing my "perl Makefile.PL; make", then I get your Make error...***
But then if I "touch api/v1/swagger/swagger_bundle.json" and run "make" again, the "make" will succeed and the empty file gets copied to blib/API_CGI_DIR/v1/swagger/swagger_bundle.json.
I then run "make install", which actually re-runs the build step from "make", which copies the newly generated file from api/v1/swagger/swagger_bundle.json to blib/API_CGI_DIR/v1/swagger/swagger_bundle.json 1511 Skip blib/API_CGI_DIR/v1/swagger/paths/record_sources.yaml (unchanged) 1512 cp api/v1/swagger/swagger_bundle.json blib/API_CGI_DIR/v1/swagger/swagger_bundle.json 1513 Skip blib/API_CGI_DIR/v1/swagger/paths/search_filters.yaml (unchanged)
Turns out I added that file mapping to Makefile.PL with BZ 36546 which was added to 24.05...
When it comes to Debian package building... you usually use "git archive --format=tar", which doesn't include a swagger_bundle.json.
Interestingly... when I do my local Debian packaging (which includes BZ 39623 which streamlines the "make; make install" process)... it's running build-resources.PL *before* it does the "cp". It's in an older Debian container rather than a newer Ubuntu container, so that's interesting...
I've got to take a phone call, but I'm going to come back to this shortly.
David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia
Office: 02 9212 0899
-----Original Message----- From: Koha-devel<koha-devel-bounces@lists.koha-community.org> On Behalf Of David Cook via Koha-devel Sent: Wednesday, 7 May 2025 9:52 AM To: 'Philippe Blouin'<philippe.blouin@inlibro.com>;koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Error on make
I have some more testing to do, but at a glance I think the problem is that we have generated files in our git working directory, and Make is trying to copy those over when they shouldn't exist at all.
Give me a few minutes and I'll get back to you again...
David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia
Office: 02 9212 0899
-----Original Message----- From: David Cook<dcook@prosentient.com.au> Sent: Wednesday, 7 May 2025 9:49 AM To: 'Philippe Blouin'<philippe.blouin@inlibro.com>; 'koha-devel@lists.koha-community.org'<koha-devel@lists.koha-community.org> Subject: RE: [Koha-devel] Error on make
Hi Philippe,
I'm familiar with this type of error, but it's the first time I'm seeing mention of it for 'api/v1/swagger/swagger_bundle.json'.
What do you see if you do "git log ./api/v1/swagger/swagger_bundle.json"? Are you sure that you're on "main" and not a custom branch?
I'm on an up-to-date "main" branch, and I just did a "perl Makefile.PL; make" and I'm actually getting a different odd error:
bundling api/v1/swagger/swagger.yaml... Created a bundle for api/v1/swagger/swagger.yaml at api/v1/swagger/swagger_bundle.json 391ms. Done in 23.05s. cp -r koha-tmpl/intranet-tmpl/prog/js/vue/dist blib/INTRANET_TMPL_DIR/prog/js/vue/ cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.map': Permission denied make: *** [Makefile:9315: compile_css_js] Error 1
Extra weird since the files have actually been created...
I'm going to keep looking at this one...
David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia
Office: 02 9212 0899
-----Original Message----- From: Koha-devel<koha-devel-bounces@lists.koha-community.org> On Behalf Of Philippe Blouin via Koha-devel Sent: Wednesday, 7 May 2025 7:23 AM To:koha-devel@lists.koha-community.org Subject: [Koha-devel] Error on make
Hi!
Unexpected issue with our dev installs: when doing "make" (after the perl Makefile.PL, without errors), I now get
make: *** No rule to make target 'api/v1/swagger/swagger_bundle.json', needed by 'pm_to_blib'. Stop.
on master. First time I try in 2025.
I see two possibilities: I need to upgrade my koha-deps package (we're at 24.05), or there's something wrong in the code.
Can someone in a different timezone enlighten me ? Practically, I can't upgrade the packages to 24.11, our installs are all on 24.05. Any hack is welcomed :-)
Cheers,
Hi! I had the problem in May, and a new one poped up in August. Any help or clue would be welcomed. When building 25.05 (dev), I get bundling api/v1/swagger/swagger.yaml... 📦 Created a bundle for api/v1/swagger/swagger.yaml at api/v1/swagger/swagger_bundle.json 267ms. cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.LICENSE.txt': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.LICENSE.txt': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.LICENSE.txt': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.230c80d3a1211e45fdc5.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.230c80d3a1211e45fdc5.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.191544db471be7303d3e.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.191544db471be7303d3e.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.8a28a6d56d52e95ad041.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.8a28a6d56d52e95ad041.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.5856da5859e07fc092ad.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.5856da5859e07fc092ad.js.map': Permission denied make: *** [Makefile:9439: move_compiled_js] Error 1 chmod: cannot access '/inlibro/koha/v25-dev-blou/man': No such file or directory make: *** [Makefile:12623: set_koha_permissions] Error 1 I'm a bit confused as to why it does that only for those. For example, "doc" is installed correctly, but "man" is not created. And the "cannot create" messages are doubly confusing because the files a ultimately created (albeit with 444 permissions). Logo inLibro <https://inLibro.com> Philippe Blouin Directeur de la technologie T 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 230 C philippe.blouin@inLibro.com www.inLibro.com <https://inLibro.com> On 2025-05-06 17:22, Philippe Blouin via Koha-devel wrote:
Hi!
Unexpected issue with our dev installs: when doing "make" (after the perl Makefile.PL, without errors), I now get
make: *** No rule to make target 'api/v1/swagger/swagger_bundle.json', needed by 'pm_to_blib'. Stop.
on master. First time I try in 2025.
I see two possibilities: I need to upgrade my koha-deps package (we're at 24.05), or there's something wrong in the code.
Can someone in a different timezone enlighten me ? Practically, I can't upgrade the packages to 24.11, our installs are all on 24.05. Any hack is welcomed :-)
Cheers,
-- Logo inLibro <https://inLibro.com> Philippe Blouin Directeur de la technologie
T 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 230 C philippe.blouin@inLibro.com
www.inLibro.com <https://inLibro.com>
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website :https://www.koha-community.org/ git :https://git.koha-community.org/ bugs :https://bugs.koha-community.org/
Hi Phillipe, please take a look at Bug 37911, specifically David’s commit message on 0d2ae2a10f86553285ce0c6107aa39c52f17f1a4 in 25.05.x. Just tested with dev while writing to /opt/koha which worked. With the default path I ran into the same permission issues that you mentioned. Hope this is helpful. Kind regards Paul -- LMSCloud GmbH Paul Derscheid - Software Engineer Bismarckstr. 3 - D-72764 Reutlingen e paul.derscheid@lmscloud.de w www.lmscloud.de
On 20. Aug 2025, at 17:48, Philippe Blouin via Koha-devel <koha-devel@lists.koha-community.org> wrote:
Hi!
I had the problem in May, and a new one poped up in August. Any help or clue would be welcomed.
When building 25.05 (dev), I get
bundling api/v1/swagger/swagger.yaml... 📦 Created a bundle for api/v1/swagger/swagger.yaml at api/v1/swagger/swagger_bundle.json 267ms. cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.LICENSE.txt': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.LICENSE.txt': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.LICENSE.txt': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.230c80d3a1211e45fdc5.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.230c80d3a1211e45fdc5.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.191544db471be7303d3e.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.191544db471be7303d3e.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.8a28a6d56d52e95ad041.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.8a28a6d56d52e95ad041.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.5856da5859e07fc092ad.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.5856da5859e07fc092ad.js.map': Permission denied make: *** [Makefile:9439 <makefile:9439>: move_compiled_js] Error 1 chmod: cannot access '/inlibro/koha/v25-dev-blou/man': No such file or directory make: *** [Makefile:12623 <makefile:12623>: set_koha_permissions] Error 1
I'm a bit confused as to why it does that only for those. For example, "doc" is installed correctly, but "man" is not created. And the "cannot create" messages are doubly confusing because the files a ultimately created (albeit with 444 permissions).
<https://inlibro.com/> PHILIPPE BLOUIN DIRECTEUR DE LA TECHNOLOGIE
T 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 230 C philippe.blouin@inLibro.com <mailto:philippe.blouin@inLibro.com>
WWW.INLIBRO.COM <https://inlibro.com/> On 2025-05-06 17:22, Philippe Blouin via Koha-devel wrote:
Hi!
Unexpected issue with our dev installs: when doing "make" (after the perl Makefile.PL, without errors), I now get
make: *** No rule to make target 'api/v1/swagger/swagger_bundle.json', needed by 'pm_to_blib'. Stop.
on master. First time I try in 2025.
I see two possibilities: I need to upgrade my koha-deps package (we're at 24.05), or there's something wrong in the code.
Can someone in a different timezone enlighten me ? Practically, I can't upgrade the packages to 24.11, our installs are all on 24.05. Any hack is welcomed :-)
Cheers,
-- <https://inlibro.com/> PHILIPPE BLOUIN DIRECTEUR DE LA TECHNOLOGIE
T 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 230 C philippe.blouin@inLibro.com <mailto:philippe.blouin@inLibro.com>
WWW.INLIBRO.COM <https://inlibro.com/>
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
Hi Paul, thanks for getting back to me! Unfortunately, this didn't get me ahead: $ make install chmod: cannot access '/opt/koha/var/spool': No such file or directory make: *** [Makefile:12586: set_koha_permissions] Error 1 I'm not sure either why targeting a different path than the default should make a difference. Am I missing a tool's update? Regards, Logo inLibro <https://inLibro.com> Philippe Blouin Directeur de la technologie T 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 230 C philippe.blouin@inLibro.com www.inLibro.com <https://inLibro.com> On 2025-08-20 12:13, Paul Derscheid wrote:
Hi Phillipe,
please take a look at Bug 37911, specifically David’s commit message on 0d2ae2a10f86553285ce0c6107aa39c52f17f1a4 in 25.05.x.
Just tested with dev while writing to /opt/koha which worked. With the default path I ran into the same permission issues that you mentioned.
Hope this is helpful.
Kind regards
Paul
-- LMSCloud GmbH Paul Derscheid - Software Engineer Bismarckstr. 3 - D-72764 Reutlingen e paul.derscheid@lmscloud.de w www.lmscloud.de
On 20. Aug 2025, at 17:48, Philippe Blouin via Koha-devel <koha-devel@lists.koha-community.org> wrote:
Hi!
I had the problem in May, and a new one poped up in August. Any help or clue would be welcomed.
When building 25.05 (dev), I get
bundling api/v1/swagger/swagger.yaml... 📦 Created a bundle for api/v1/swagger/swagger.yaml at api/v1/swagger/swagger_bundle.json 267ms. cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.LICENSE.txt': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.LICENSE.txt': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.LICENSE.txt': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.230c80d3a1211e45fdc5.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.230c80d3a1211e45fdc5.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.191544db471be7303d3e.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.191544db471be7303d3e.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.8a28a6d56d52e95ad041.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.8a28a6d56d52e95ad041.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.5856da5859e07fc092ad.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.5856da5859e07fc092ad.js.map': Permission denied make: *** [Makefile:9439: move_compiled_js] Error 1 chmod: cannot access '/inlibro/koha/v25-dev-blou/man': No such file or directory make: *** [Makefile:12623: set_koha_permissions] Error 1
I'm a bit confused as to why it does that only for those. For example, "doc" is installed correctly, but "man" is not created. And the "cannot create" messages are doubly confusing because the files a ultimately created (albeit with 444 permissions).
Logo inLibro <https://inlibro.com/> Philippe Blouin Directeur de la technologie
T 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 230 C philippe.blouin@inLibro.com
www.inLibro.com <https://inlibro.com/>
On 2025-05-06 17:22, Philippe Blouin via Koha-devel wrote:
Hi!
Unexpected issue with our dev installs: when doing "make" (after the perl Makefile.PL, without errors), I now get
make: *** No rule to make target 'api/v1/swagger/swagger_bundle.json', needed by 'pm_to_blib'. Stop.
on master. First time I try in 2025.
I see two possibilities: I need to upgrade my koha-deps package (we're at 24.05), or there's something wrong in the code.
Can someone in a different timezone enlighten me ? Practically, I can't upgrade the packages to 24.11, our installs are all on 24.05. Any hack is welcomed :-)
Cheers,
-- Logo inLibro <https://inlibro.com/> Philippe Blouin Directeur de la technologie
T 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 230 C philippe.blouin@inLibro.com
www.inLibro.com <https://inlibro.com/>
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website :https://www.koha-community.org/ git :https://git.koha-community.org/ bugs :https://bugs.koha-community.org/
_______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
Hi Philippe, For your original/first problem, I have a short answer and a long answer. The long answer I'll include at the end of this email. The short answer is that the build step was copying Vue dist files you'd previously generated during your dev activities, setting them to a 444 read only mode, and then the step that tries to build the Vue dist files failed to overwrite them. Removing the previously built files fixes this. This problem only exists for git installs, since tarball/package installs won't have previously generated files in them. As for your current problem, that's an odd error to get (as I would've expected it to fail sooner than that), and I cannot reproduce it with the "main" branch. Are you using a local custom branch or an upstream branch? Are you using KTD or a different system? This sounds like it could be a problem with your Makefile.PL or with the permissions/user you're using. For now, I'd suggest you review what files were installed into your /opt/koha and work backwards from there. Note: the install target shouldn't have an impact on your original problem, since that's a problem with the build step and not the install step. -- Long answer about Philippe's build problem: On the "main" branch in my KTD, I can reproduce Philippe's problem when I run "perl Makefile.PL", switch to a "single" install, and leave defaults for the rest: cp -r koha-tmpl/intranet-tmpl/prog/js/vue/dist blib/INTRANET_TMPL_DIR/prog/js/vue/ cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.esm.js': Permission denied ... cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.5bf0c875c64504eff7c0.js.map': Permission denied make: *** [Makefile:10344: move_compiled_js] Error 1 Now this is interesting... because if we actually look for that last file, we'll see that it exists: ls -lh blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.5bf0c875c64504eff7c0.js.map -r--r--r-- 1 kohadev-koha kohadev-koha 9.8K Aug 18 02:44 blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.5bf0c875c64504eff7c0.js.map But note the timestamp. That's not from today. That's from days ago. When we look at the commit message for 0d2ae2a10f86553285ce0c6107aa39c52f17f1a4, the answer becomes clear. In that test plan, there's this step: "rm -rf koha-tmpl/intranet-tmpl/prog/js/vue/dist/*" Without that step, we're copying the vue dist files that we've generated during our previous dev activities *before* we do the " cp -r koha-tmpl/intranet-tmpl/prog/js/vue/dist blib/INTRANET_TMPL_DIR/prog/js/vue/" step. If we look through "blib", we'll find most files have a readonly mode of 444 which means that we can't overwrite them - even as the owner of the files. Looking at Makefile.PL, ExtUtils::MakeMaker seems to copy files as 444 or 555 for some reason. But that's not a real problem. The problem is that pre-built files from koha-tmpl/intranet-tmpl/prog/js/vue/dist are being copied over. So if we run " rm -rf koha-tmpl/intranet-tmpl/prog/js/vue/dist/*" and try again, now we can run "make" successfully. If we use the default install target, we should be able to run "make install". If we're using /opt/koha, we need to make sure we've already created the directory and given ownership to the user that is going to be doing the install. David Cook Senior Software Engineer Prosentient Systems Suite 7.03 6a Glen St Milsons Point NSW 2061 Australia Office: 02 9212 0899 -----Original Message----- From: Koha-devel <koha-devel-bounces@lists.koha-community.org> On Behalf Of Philippe Blouin via Koha-devel Sent: Thursday, 21 August 2025 4:23 AM To: Paul Derscheid <paul.derscheid@lmscloud.de> Cc: koha-devel@lists.koha-community.org Subject: Re: [Koha-devel] Error on make Hi Paul, thanks for getting back to me! Unfortunately, this didn't get me ahead: $ make install chmod: cannot access '/opt/koha/var/spool': No such file or directory make: *** [Makefile:12586: set_koha_permissions] Error 1 I'm not sure either why targeting a different path than the default should make a difference. Am I missing a tool's update? Regards, <https://inLibro.com> Philippe Blouin Directeur de la technologie T 833-INLIBRO (465-4276) <tel:833-465-4276> , poste 230 C philippe.blouin@inLibro.com <mailto:philippe.blouin@inLibro.com> www.inLibro.com <https://inLibro.com> On 2025-08-20 12:13, Paul Derscheid wrote: Hi Phillipe, please take a look at Bug 37911, specifically David’s commit message on 0d2ae2a10f86553285ce0c6107aa39c52f17f1a4 in 25.05.x. Just tested with dev while writing to /opt/koha which worked. With the default path I ran into the same permission issues that you mentioned. Hope this is helpful. Kind regards Paul -- LMSCloud GmbH Paul Derscheid - Software Engineer Bismarckstr. 3 - D-72764 Reutlingen e paul.derscheid@lmscloud.de <mailto:paul.derscheid@lmscloud.de> w www.lmscloud.de <http://www.lmscloud.de> On 20. Aug 2025, at 17:48, Philippe Blouin via Koha-devel <koha-devel@lists.koha-community.org> <mailto:koha-devel@lists.koha-community.org> wrote: Hi! I had the problem in May, and a new one poped up in August. Any help or clue would be welcomed. When building 25.05 (dev), I get bundling api/v1/swagger/swagger.yaml... 📦 Created a bundle for api/v1/swagger/swagger.yaml at api/v1/swagger/swagger_bundle.json 267ms. cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.LICENSE.txt': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.LICENSE.txt': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.LICENSE.txt': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/admin/record_sources.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.38769fc438a3a4c1c380.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.c3686cdaddd6b0f30181.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/islands.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/erm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/preservation.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.230c80d3a1211e45fdc5.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.230c80d3a1211e45fdc5.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.191544db471be7303d3e.esm.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.191544db471be7303d3e.esm.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.8a28a6d56d52e95ad041.js.map': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/vendor-menu.8a28a6d56d52e95ad041.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.5856da5859e07fc092ad.js': Permission denied cp: cannot create regular file 'blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions-menu.5856da5859e07fc092ad.js.map': Permission denied make: *** [Makefile:9439: move_compiled_js] Error 1 chmod: cannot access '/inlibro/koha/v25-dev-blou/man': No such file or directory make: *** [Makefile:12623: set_koha_permissions] Error 1 I'm a bit confused as to why it does that only for those. For example, "doc" is installed correctly, but "man" is not created. And the "cannot create" messages are doubly confusing because the files a ultimately created (albeit with 444 permissions). <https://inlibro.com/> Philippe Blouin Directeur de la technologie T 833-INLIBRO (465-4276) <tel:833-465-4276> , poste 230 C philippe.blouin@inLibro.com <mailto:philippe.blouin@inLibro.com> www.inLibro.com <https://inlibro.com/> On 2025-05-06 17:22, Philippe Blouin via Koha-devel wrote: Hi! Unexpected issue with our dev installs: when doing "make" (after the perl Makefile.PL, without errors), I now get make: *** No rule to make target 'api/v1/swagger/swagger_bundle.json', needed by 'pm_to_blib'. Stop. on master. First time I try in 2025. I see two possibilities: I need to upgrade my koha-deps package (we're at 24.05), or there's something wrong in the code. Can someone in a different timezone enlighten me ? Practically, I can't upgrade the packages to 24.11, our installs are all on 24.05. Any hack is welcomed :-) Cheers, -- <https://inlibro.com/> Philippe Blouin Directeur de la technologie T 833-INLIBRO (465-4276) <tel:833-465-4276> , poste 230 C philippe.blouin@inLibro.com <mailto:philippe.blouin@inLibro.com> www.inLibro.com <https://inlibro.com/> _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/ _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha-community.org <mailto:Koha-devel@lists.koha-community.org> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel website : https://www.koha-community.org/ git : https://git.koha-community.org/ bugs : https://bugs.koha-community.org/
Hello David, I read you email quickly yesterday, was lost, then came back to it today after more digging, and it was clear (or so I thought). Thanks a lot for the precise explanations. But running rm -rf koha-tmpl/intranet-tmpl/prog/js/vue/dist/* blib beforehand did not make it work. Somehow I still got the same errors. The file blib/INTRANET_TMPL_DIR/prog/js/vue/dist/acquisitions.js.map exists, the timestamp is immediately recent, the mode is 444... and of course the error is the same. And the files are under blib/INTRANET_TMPL_DIR while not being under koha-tmpl/intranet-tmpl/prog/js/vue/dist I'm really confused as to where they are coming from. Regards, Philippe Logo inLibro <https://inLibro.com> Philippe Blouin Directeur de la technologie T 833-INLIBRO (465-4276) <tel:833-465-4276>, poste 230 C philippe.blouin@inLibro.com www.inLibro.com <https://inLibro.com> On 2025-08-20 20:08, David Cook wrote:
rm -rf koha-tmpl/intranet-tmpl/prog/js/vue/dist/*
participants (3)
-
David Cook -
Paul Derscheid -
Philippe Blouin