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/