From mboxrd@z Thu Jan 1 00:00:00 1970 From: mikadoZero Subject: Re: guix lint questions Date: Fri, 22 Mar 2019 12:37:40 -0400 Message-ID: References: <87y359c5qv.fsf@nckx> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:47880) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h7NSx-0002tX-FD for help-guix@gnu.org; Fri, 22 Mar 2019 12:56:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1h7NBe-0003Pz-Ow for help-guix@gnu.org; Fri, 22 Mar 2019 12:38:32 -0400 Received: from forward100p.mail.yandex.net ([77.88.28.100]:52722) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1h7NBa-00033a-6E for help-guix@gnu.org; Fri, 22 Mar 2019 12:38:29 -0400 In-reply-to: <87y359c5qv.fsf@nckx> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Tobias Geerinckx-Rice Cc: Help Guix Thank you for your helpful reply. I can now successfully run: `./pre-inst-env guix lint emacs-ace-link` `./pre-inst-env guix build --rounds=3D4 emacs-ace-link` Tobias Geerinckx-Rice writes: > mikadoZero, > > mikadoZero wrote: >> I have three questions about the output of: >> `./pre-inst-env guix lint emacs-ace-link` >> >> 1) What is the significance of: >> >> ;;; note: source file >> /home/guix/u/guix/guix/gnu/packages/image-processing.scm >> ;;; newer than compiled >> /home/guix/u/guix/guix/gnu/packages/image-processing.g >> o >> ;;; note: source file >> /home/guix/u/guix/guix/gnu/packages/image-processing.scm >> ;;; newer than compiled >> /run/current-system/profile/lib/guile/2.2/site-ccache/ >> gnu/packages/image-processing.go=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20 >> >> This shows up many times for different scm files. > > There is none. These are mere warnings that the pre-built object > files no longer match the source files you have checked out (i.e. the > sources have changed). They have nothing to do with your package. > > You can use =E2=80=98guix environment guix -- make=E2=80=99 to make them = go away if > they really annoy you. > > I just ignore them. > >> 2) How should this be addressed? >> >> gnu/packages/emacs-xyz.scm:1099:5: emacs-ace-link@0.5.0: the source >> URI should not b >> e an autogenerated tarball >> >> Line 1099 is referring to origin. > > You're downloading a =E2=80=98github.com/=E2=80=A6/achive/=E2=80=A6=E2=80= =99 tarball. These tarballs > aren't guaranteed to be stable over time (GitHub can regenerate them, > changing the metadata and hence the hash, and has done so in the > past). > > They must not be used. > > Instead, use (method git-fetch), (git-reference =E2=80=A6) and friends to > download the git repository directly. Tonnes of examples of this in > Guix already, unfortunately, since many projects can't be bothered to > make proper releases=E2=80=A6 GitHub culture? > > See =E2=80=98progress=E2=80=99 in gnu/packages/admin.scm for an example. = Don't forget > to add (file-name (git-file-name name version)) when doing this, by > the way. > >> 3) How should this be addressed? >> >> /home/guix/u/guix/guix/gnu/packages/emacs-xyz.scm:1095:2: >> emacs-ace-link@0.5.0: line >> 1113 is way too long (417 characters) >> >> Line 1113 is referring to the text of the description. >> >> Looking at other packages in emacs-xyz.scm there are other packages >> that >> have longer descriptions than the one here for emacs-ace-link. > > Yes, but they're not all on one single line. ;-) > > Add a few well-placed newlines to wrap the text to eighty characters > and the warning will go away. > > Kind regards, > > T G-R