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 <dc...@prosentient.com.au> 
Sent: Wednesday, 7 May 2025 9:49 AM
To: 'Philippe Blouin' <philippe.blo...@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-boun...@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.blo...@inlibro.com <mailto:philippe.blo...@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/

Reply via email to