[Koha-devel] Build the easy way throws error

dcook at prosentient.com.au dcook at prosentient.com.au
Mon Jan 13 07:49:05 CET 2020


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 <koha-devel-bounces at lists.koha-community.org> On Behalf Of Tomas Cohen Arazi
Sent: Monday, 13 January 2020 5:40 AM
To: M.Wahls <marco.wahls at gmx.de>
Cc: koha-devel <koha-devel at lists.koha-community.org>
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 <marco.wahls at gmx.de <mailto:marco.wahls at gmx.de> > 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
Koha-devel at lists.koha-community.org <mailto:Koha-devel at lists.koha-community.org> 
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/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200113/15fbb1cb/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 484 bytes
Desc: not available
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20200113/15fbb1cb/attachment.sig>


More information about the Koha-devel mailing list