jami
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jami client


From: Maxim Cournoyer
Subject: Re: jami client
Date: Thu, 17 Aug 2023 14:34:42 -0400 (EDT)

Hi Johnny,

----- Original Message -----
> From: "Johnny Markiewicz" <johnny@sonicwebdev.com>
> To: "Maxim Cournoyer" <maxim.cournoyer@savoirfairelinux.com>
> Cc: "jami" <jami@gnu.org>
> Sent: Tuesday, August 15, 2023 6:58:30 AM
> Subject: Re: jami client

> Hey Maxim,
> 
> I'm trying to build package for ubuntu by command:
> make -f extras/packaging/gnu-linux/Makefile ubuntu_22.04
> But I receive following error:
> command -v guix > /dev/null 2>&1 || \
>  (echo 'guix' is required to build the 'has-guix-p' target && exit 1)
> output=$(guix pack -C xz -f deb -m
> /home/ubuntu/jami-client-qt/extras/packaging/gnu-linux/guix/guix-pack-manifest.scm
> -v3 -S /usr/bin/jami=bin/jami -S
> /usr/share/applications/jami.desktop=share/applications/jami.desktop -S
> /usr/share/icons/hicolor/scalable/apps/jami.svg=share/icons/hicolor/scalable/apps/jami.svg
> -S
> /usr/share/icons/hicolor/48x48/apps/jami.png=share/icons/hicolor/48x48/apps/jami.png
> -S /usr/share/metainfo/jami.appdata.xml=share/metainfo/jami.appdata.xml
> --postinst-file=/home/ubuntu/jami-client-qt/extras/packaging/gnu-linux/guix/guix-pack-deb.postinst
> --system=x86_64-linux ) && mkdir -p "$(dirname
> "extras/packaging/gnu-linux/packages/guix-deb-pack/jami-20230727.0-x86_64.deb")"
> && cp --reflink=auto "$output"
> "extras/packaging/gnu-linux/packages/guix-deb-pack/jami-20230727.0-x86_64.deb"
> && guix gc --delete "$output"
> guix pack: error:
> postinst-file=/home/ubuntu/jami-client-qt/extras/packaging/gnu-linux/guix/guix-pack-deb.postinst:
> unrecognized option
> make: *** [extras/packaging/gnu-linux/Makefile:273:
> extras/packaging/gnu-linux/packages/guix-deb-pack/jami-20230727.0-x86_64.deb]
> Error 1
> 
> Do you know any issues with that flag? The file exists so I think it might
> be something wrong with that flag.

It seems you asked it to build the 'deb-pack' target per the above error, not 
'ubuntu_22.04', as the error was produced by Guix.  It seems your version of 
Guix is too old, and doesn't know about the --postinst-file argument of 'guix 
pack -f deb'.  You should update it by running 'guix pull'.

> When I try to build package by command:
> make -f extras/packaging/gnu-linux/Makefile debian_12
> I receive other error:
> /jami/work/daemon/contrib/src/gnutls/rules.mak:15: *** Trying to download
> https://www.gnupg.org/ftp/gcrypt/gnutls/v3.7/gnutls-3.7.6.tar.xz but
> DISABLE_CONTRIB_DOWNLOADS is TRUE, aborting..  Stop.
> make[2]: Leaving directory '/jami/work/daemon/contrib/native'
> make[1]: *** [debian/rules:63: override_dh_auto_build] Error 2
> make[1]: Leaving directory '/jami/work'
> make: *** [debian/rules:56: build] Error 2
> dpkg-buildpackage: error: debian/rules build subprocess returned exit
> status 2
> 
> Do you have any idea how to move forward with those?
> I have already updated guix, but nothing changes.
> What is the command you use to build packages by docker

I think the build expects to proceed from a tarball including all the potential 
bundled libraries it may need.
To produce one, you should run this target:

make -f extras/packaging/gnu-linux/Makefile portable-release-tarball

prior to running your packaging target.

I hope that helps,

Maxim



reply via email to

[Prev in Thread] Current Thread [Next in Thread]