guix-devel
[Top][All Lists]
Advanced

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

Re: [Telegram-Desktop]: Help with packaging


From: Julien Lepiller
Subject: Re: [Telegram-Desktop]: Help with packaging
Date: Fri, 08 Jan 2021 07:20:26 -0500
User-agent: K-9 Mail for Android


Le 8 janvier 2021 07:11:38 GMT-05:00, Ekaitz Zarraga <ekaitz@elenq.tech> a 
écrit :
>Hi,
>
>I'm not sure about what I'm going to say so take it with care:
>
>About the permission error I think the build directories are write
>protected by default it Guix, please someone correct me if I'm wrong.
>I'd say you can change the permissions of the folder with the chmod
>util, you can see many packages do it. Just call it like:
>
>(chmod filename mode)
>
>Being `mode` something like #o664 for an equivalent `chmod 664
>filename` bash call.

Well, not by default: /gnu is read-only, but the package wants to write to 
/tmp, which is read-write. However, since you're using the git-fetch method for 
the sources, they are copied as is. Since they come from the store, the files 
are read-only, whicg makes your sources read-only.

>
>So I guess you need an extra build phase to correct the permissions on
>the folder so the script can write to it.
>
>Maybe that will fix both errors, but make sure also that you have the
>dependencies for ElementTree, just in case.
>
>I hope this helps...
>
>Best,
>Ekaitz



reply via email to

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