[Koha-devel] Bug 32609 and package building

Mason James mtj at kohaaloha.com
Thu Apr 27 16:20:24 CEST 2023


the other required patch is here... https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33629


which saves poeple from having to use the following system-wide fix

  echo "USENETWORK=yes" >> /etc/pbuilderrc



On 28/04/23 1:45 am, Kyle Hall wrote:
> Thanks Mason! It looks like you were working from an out of date version of koha-dpkg-docker. Luckily I was working on a similar solution!
> 
> Kyle
> ---
> http://www.kylehall.info <http://www.kylehall.info>
> ByWater Solutions ( http://bywatersolutions.com <http://bywatersolutions.com> )
> Meadville Public Library ( http://www.meadvillelibrary.org <http://www.meadvillelibrary.org> )
> Crawford County Federated Library System ( http://www.ccfls.org <http://www.ccfls.org> )
> 
> 
> On Thu, Apr 27, 2023 at 9:14 AM Mason James <mtj at kohaaloha.com <mailto:mtj at kohaaloha.com>> wrote:
> 
>     On 27/04/23 11:18 am, Tomas Cohen Arazi wrote:
>      > The original implementation installed yarn inside the pdebuilder image [1]. But THERE'S a yarn/nodejs BUG [2] that prevents it from detecting networking is available and thus cannot be run.
>      >
>      > Looking forward for enhancing pull requests :-D
>      >
>      > [1] https://gitlab.com/koha-community/koha-dpkg-docker/-/blob/bfdbbd326e9e1e59fb903953205c8fe122f596d4/pbuilder.sh#L47 <https://gitlab.com/koha-community/koha-dpkg-docker/-/blob/bfdbbd326e9e1e59fb903953205c8fe122f596d4/pbuilder.sh#L47> <https://gitlab.com/koha-community/koha-dpkg-docker/-/blob/bfdbbd326e9e1e59fb903953205c8fe122f596d4/pbuilder.sh#L47 <https://gitlab.com/koha-community/koha-dpkg-docker/-/blob/bfdbbd326e9e1e59fb903953205c8fe122f596d4/pbuilder.sh#L47>>
>      > [2] The error we got:
>      >
>      > "/usr/bin/perl" build-resources.PL
>      >
>      > yarn install v1.22.19
>      >
>      > warning You don't appear to have an internet connection. Try the --offline flag to use the cache for registry queries.
> 
>     hi, the following patch should fix this error
> 
>     https://gitlab.com/koha-community/koha-dpkg-docker/-/merge_requests/7 <https://gitlab.com/koha-community/koha-dpkg-docker/-/merge_requests/7>
> 
>     _______________________________________________
>     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 <https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel>
>     website : https://www.koha-community.org/ <https://www.koha-community.org/>
>     git : https://git.koha-community.org/ <https://git.koha-community.org/>
>     bugs : https://bugs.koha-community.org/ <https://bugs.koha-community.org/>
> 



More information about the Koha-devel mailing list