Package Details: guix 1.4.0-1

Git Clone URL: https://aur.archlinux.org/guix.git (read-only, click to copy)
Package Base: guix
Description: A purely functional package manager for the GNU system
Upstream URL: https://guix.gnu.org
Keywords: guile nix package system
Licenses: GPL3
Submitter: lantw44
Maintainer: lantw44
Last Packager: lantw44
Votes: 36
Popularity: 0.40
First Submitted: 2013-04-22 11:06 (UTC)
Last Updated: 2023-03-19 04:18 (UTC)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 .. 12 Next › Last »

simona commented on 2022-03-15 09:32 (UTC)

configure: error: in /home/simona/.cache/yay/guile-avahi/src/guile-avahi-0.4': configure: error: searching for guile development files for versions 2.0 1.8, but previously found /bin/guile version 2.2<br> Seeconfig.log' for more details

valandil commented on 2022-03-15 01:35 (UTC)

Yeah ok. I just removed tidy_strip locally to make it work :)

lantw44 commented on 2022-03-14 10:10 (UTC)

@valandil I fixed it by ignoring the return value of tidy_strip.

valandil commented on 2022-02-15 02:41 (UTC)

I get the following errow when trying to build guix-1.3.0-1. It seems that calling tidy_strip fails at the end. Have you seen this erro before?

/build/guix/pkg/guix/usr/lib/systemd/system/guix-daemon.service /build/guix/pkg/guix/usr/lib/systemd/system/guix-daemon-latest.service differ: byte 223, line 6
/build/guix/pkg/guix/usr/lib/systemd/system/guix-publish.service /build/guix/pkg/guix/usr/lib/systemd/system/guix-publish-latest.service differ: byte 226, line 6
  -> Stripping unneeded symbols from binaries and libraries...
==> ERROR: A failure occurred in package().
    Aborting...
==> ERROR: Build failed, check /var/lib/aurbuild/x86_64/valandil/build
error: failed to build 'guix-1.3.0-1': failed to run: makechrootpkg -r /var/lib/aurbuild/x86_64 -D /var/lib/repo/aur -d /var/cache/pacman/pkg/ -- -feA --noconfirm --noprepare --holdver --nocheck: 
error: packages failed to build: guix-1.3.0-1

lantw44 commented on 2021-10-09 16:47 (UTC)

@vv111y Yes, you can build it in /tmp. For the guile-lib issue, you can patch the PKGBUILD of guile-lib like this:

diff --git a/PKGBUILD b/PKGBUILD
index 2b1f839..82b9f27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,11 +14,11 @@ md5sums=('e52648afc567f202352e07e0ab732d79')
 build(){
   cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr
-  make
+  make moddir=/usr/share/guile/site/2.2 godir=/usr/lib/guile/2.2/site-ccache
 }

 package() {
   cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  make moddir=/usr/share/guile/site/2.2 godir=/usr/lib/guile/2.2/site-ccache DESTDIR="${pkgdir}" install
   rm -f "${pkgdir}/usr/share/info/dir"
 }

Unfortunately, the maintainer of guile-lib doesn't respond to my comment: https://aur.archlinux.org/packages/guile-lib/#comment-812838.

vv111y commented on 2021-10-04 19:37 (UTC) (edited on 2021-10-05 15:38 (UTC) by vv111y)

I got this:

make[2]: Leaving directory '/home/will/.cache/yay/guix/src/guix-1.3.0'
make[1]: Leaving directory '/home/will/.cache/yay/guix/src/guix-1.3.0'
==> Starting check()...
==> ERROR: /home/will/.cache/yay/guix/src/guix-1.3.0 is too long.
==> ERROR: The working directory cannot be longer than 36 bytes.
==> ERROR: A failure occurred in check().

update: okay I see the comment in pkg-build. so what am I supposed to do? do a manual build in /tmp?

update II: Now I ran into the latest issue for guile-lib. I just used the alternative guix-installer package instead.

lantw44 commented on 2021-09-02 16:04 (UTC)

@cxor It is used to get the fish completion directory.

cxor commented on 2021-09-01 23:47 (UTC)

why is fish a dependency for this build? did someone watch too many distrotube videos?

lantw44 commented on 2021-07-18 10:29 (UTC)

@twilk I can't reproduce the error. For tests/go.scm, you probably have to patch guile-lib PKGBUILD because it doesn't install into the standard location.

diff --git a/PKGBUILD b/PKGBUILD
index 2b1f839..82b9f27 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,11 +14,11 @@ md5sums=('e52648afc567f202352e07e0ab732d79')
 build(){
   cd ${pkgname}-${pkgver}
   ./configure --prefix=/usr
-  make
+  make moddir=/usr/share/guile/site/2.2 godir=/usr/lib/guile/2.2/site-ccache
 }

 package() {
   cd ${pkgname}-${pkgver}
-  make DESTDIR="${pkgdir}" install
+  make moddir=/usr/share/guile/site/2.2 godir=/usr/lib/guile/2.2/site-ccache DESTDIR="${pkgdir}" install
   rm -f "${pkgdir}/usr/share/info/dir"
 }

twilk commented on 2021-07-16 19:39 (UTC) (edited on 2021-07-16 19:42 (UTC) by twilk)

Hi, I get unit test errors after building:

FAIL: tests/go.scm
FAIL: tests/git-authenticate.scm
FAIL: tests/channels.scm
FAIL: tests/git.scm

The full log of tests is here.

Errors include GPG errors from git:

error: gpg failed to sign the data
fatal: failed to write commit object

And even some errors from guile:

actual-error:
+ (unbound-variable
+   "module-lookup"
+   "Unbound variable: ~S"
+   (html->sxml)
+   #f)

[...]

Syntax error: unexpected token : (ghc-options (-Wall)) (at line 11, column 2)
Syntax error: unexpected end of input

[...]

Syntax error: unexpected token : (buildable (False)) (at line 12, column 4)
Syntax error: unexpected end of input

I have the following guile-* packages installed, which include all of this package's regular, build and optional guile-* dependencies:

  • guile 2.2.7-1
  • guile-avahi 0.4-1
  • guile-bytestructures 1.0.7-1
  • guile-gcrypt 0.3.0-1
  • guile-git-lib 0.5.1-1
  • guile-json 4.5.2-1
  • guile-lib 0.2.7-2
  • guile-lzlib 0.0.2-1
  • guile-semver 0.1.1-1
  • guile-sqlite3 0.1.3-1
  • guile-ssh 0.13.1-1
  • guile-zlib 0.1.0-1
  • guile-zstd 0.1.1-1