Probably a good idea to use koha-dpkg, as I think that’s fairly widely used 
now. 

 

However, if you’re feeling adventurous, you can try 
https://gitlab.com/minusdavid/koha-deb-builder-docker. 

 

It probably won’t work the first time, as I’m having issues where some 
dependencies (libcache-perl libconvert-basen-perl libcrypt-gcrypt-perl 
liblocale-maketext-lexicon-perl) aren’t being automagically detected. But if 
you install those manually in the Docker container and then run the build 
script, it should work a treat. (One of these days I’ll investigate that 
dependency issue. They’re missing from the Debian control file but in theory 
koha-dpkg doesn’t have this problem.)

 

Personally, I use koha-deb-builder-docker (which I wrote), because I use 
Windows as my host, and I recall having issues running older versions of 
koha-dpkg on it. I haven’t had much luck mounting Windows based Git 
repositories into Docker containers. In this case, you can do your dev work 
anywhere, export a Koha tarball, and then provide that to 
koha-deb-builder-docker. 

 

Anyway, I’m use koha-dpkg will meet your needs. 

 

(Also, I imagine warnings about “connection to Memcached server failed” will 
just be warnings and not errors. I think they can safely be ignored, since you 
shouldn’t need a real Memcached server running when doing a build/running unit 
tests…)

 

David Cook

Systems Librarian

Prosentient Systems

72/330 Wattle St

Ultimo, NSW 2007

Australia

 

Office: 02 9212 0899

Direct: 02 8005 0595

 

From: Koha-devel <[email protected]> On Behalf Of 
Tomas Cohen Arazi
Sent: Monday, 13 January 2020 5:40 AM
To: M.Wahls <[email protected]>
Cc: koha-devel <[email protected]>
Subject: Re: [Koha-devel] Build the easy way throws error

 

I recommend you try the koha-dpkg docker image.

 

El dom., 12 de enero de 2020 13:08, M.Wahls <[email protected] 
<mailto:[email protected]> > escribió:

Hehe, silly me!
i used a mounted directory from the host system within the virtualbox
guest. May be some write permission issues occured. The mounted
directory lays on an ext4 partition.

Using ~/.debian as directory (as described in the tutorial) was the
solution.

Now i have problems with some tests.
connection to memcached server failed.

'would sugest some package is missing. Stay tuned...

best wishes
Marco
_______________________________________________
Koha-devel mailing list
[email protected] 
<mailto:[email protected]> 
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Koha-devel mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to