all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15052: guix-0.3 make check fails, on gentoo-prefix setup
@ 2013-08-08 21:30 Cyprien Nicolas
  2013-08-15 11:36 ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Cyprien Nicolas @ 2013-08-08 21:30 UTC (permalink / raw)
  To: 15052


[-- Attachment #1.1: Type: text/plain, Size: 2318 bytes --]

Hi,

I tried to make an ebuild for guix for the Gentoo meta-distribution.

I don't have a full Gentoo system at the moment, but an install known
as Gentoo Prefix [1], where you install packges in your home
directory, using the regular Gentoo tools (a bit like what guix does
on another distro).  So I wrote an ebuild for guix [2] atop of Gentoo
prefix (that sounds a weird setup as I write it).

So I run an uptodate Fedora 17, amd64, with a gentoo prefix in
~/gprefix.

The compilation goes fine. Except I don't get why guix-0.3 attempts to
download guile-2.0.7.tar.xz during compilation phase, while I do have
guile-2.0.9 installed.

However, make check fails:

============================================================================
Testsuite summary for GNU Guix 0.3
============================================================================
# TOTAL: 19
# PASS:  11
# SKIP:  0
# XFAIL: 0
# FAIL:  8
# XPASS: 0
# ERROR: 0
============================================================================
See ./test-suite.log
Please report to bug-guix@gnu.org
============================================================================
make[4]: *** [test-suite.log] Error 1
make[4]: Leaving directory `/home/cnicolas/gprefix/var/tmp/portage/sys-apps/guix-0.3/work/guix-0.3'
make[3]: *** [check-TESTS] Error 2
make[3]: Leaving directory `/home/cnicolas/gprefix/var/tmp/portage/sys-apps/guix-0.3/work/guix-0.3'
make[2]: *** [check-am] Error 2
make[2]: Leaving directory `/home/cnicolas/gprefix/var/tmp/portage/sys-apps/guix-0.3/work/guix-0.3'
make[1]: *** [check-recursive] Error 1
make[1]: Leaving directory `/home/cnicolas/gprefix/var/tmp/portage/sys-apps/guix-0.3/work/guix-0.3'
make: *** [check] Error 2

I join the test-suite.log (compressed) and full build log (compressed
too).

I don't understand all failures, some are due to socket path length:

ERROR: In procedure connect:
ERROR: In procedure scm_to_sockaddr: unix address path too long: /home/cnicolas/gprefix/var/tmp/portage/sys-apps/guix-0.3/work/guix-0.3/test-tmp/var/7770/daemon-socket/socket

1. http://www.gentoo.org/proj/en/gentoo-alt/prefix/
2. https://bitbucket.org/fulax/fulax-gentoo-overlay/src/61d0d4420dd1600c008173f4b5344b766f56ff49/sys-apps/guix/guix-0.3.ebuild

-- 
Cyprien/Fulax

[-- Attachment #1.2: test-suite.log.xz --]
[-- Type: application/x-xz, Size: 3400 bytes --]

[-- Attachment #1.3: guix-0.3_20130808-211631.log.xz --]
[-- Type: application/x-xz, Size: 7504 bytes --]

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#15052: guix-0.3 make check fails, on gentoo-prefix setup
  2013-08-08 21:30 bug#15052: guix-0.3 make check fails, on gentoo-prefix setup Cyprien Nicolas
@ 2013-08-15 11:36 ` Ludovic Courtès
  2013-08-29 21:56   ` Cyprien Nicolas
  0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2013-08-15 11:36 UTC (permalink / raw)
  To: 15052

Hi!

Cyprien Nicolas <cyprien@nicolas.tf> skribis:

> I don't understand all failures, some are due to socket path length:
>
> ERROR: In procedure connect:
> ERROR: In procedure scm_to_sockaddr: unix address path too long: /home/cnicolas/gprefix/var/tmp/portage/sys-apps/guix-0.3/work/guix-0.3/test-tmp/var/7770/daemon-socket/socket

Apff, yes, that’s a problem.  Guix clients connect to the build daemon
over a Unix-domain socket, and that has a shameful 108 character limit
on GNU/Linux.  Thus, all the test cases that try to connect to the build
daemon fail.

As a workaround, you could try to build in a shorter directory, if
that’s an option at all.

Alternately, you could try changing the ‘test-env’ script to use
relative directory names instead.

Can you try and report back?

TIA,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#15052: guix-0.3 make check fails, on gentoo-prefix setup
  2013-08-15 11:36 ` Ludovic Courtès
@ 2013-08-29 21:56   ` Cyprien Nicolas
  2013-08-30  9:52     ` Ludovic Courtès
  0 siblings, 1 reply; 4+ messages in thread
From: Cyprien Nicolas @ 2013-08-29 21:56 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 15052

[-- Attachment #1: Type: text/plain, Size: 1100 bytes --]

Hello,

Il y a 14 jours, Ludovic Courtès écrivit :

> Hi!
>
> Cyprien Nicolas <cyprien@nicolas.tf> skribis:
>
> > I don't understand all failures, some are due to socket path length:
> >
> > ERROR: In procedure connect:
> > ERROR: In procedure scm_to_sockaddr: unix address path too long: /home/cnicolas/gprefix/var/tmp/portage/sys-apps/guix-0.3/work/guix-0.3/test-tmp/var/7770/daemon-socket/socket
>
> Apff, yes, that’s a problem.  Guix clients connect to the build daemon
> over a Unix-domain socket, and that has a shameful 108 character limit
> on GNU/Linux.  Thus, all the test cases that try to connect to the build
> daemon fail.
>
> As a workaround, you could try to build in a shorter directory, if
> that’s an option at all.

Yes, I exported PORTAGE_TMPDIR=/tmp before running emerge, and all 19
tests went fine :-)

> Alternately, you could try changing the ‘test-env’ script to use
> relative directory names instead.

I haven't try it.  No real opinion on which one would be prefered.

> Can you try and report back?

Done!
-- 
Cyprien/Fulax

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#15052: guix-0.3 make check fails, on gentoo-prefix setup
  2013-08-29 21:56   ` Cyprien Nicolas
@ 2013-08-30  9:52     ` Ludovic Courtès
  0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2013-08-30  9:52 UTC (permalink / raw)
  To: Cyprien Nicolas; +Cc: 15052-done

Cyprien Nicolas <cyprien@nicolas.tf> skribis:

> Il y a 14 jours, Ludovic Courtès écrivit :
>
>> Hi!
>>
>> Cyprien Nicolas <cyprien@nicolas.tf> skribis:
>>
>> > I don't understand all failures, some are due to socket path length:
>> >
>> > ERROR: In procedure connect:
>> > ERROR: In procedure scm_to_sockaddr: unix address path too long: /home/cnicolas/gprefix/var/tmp/portage/sys-apps/guix-0.3/work/guix-0.3/test-tmp/var/7770/daemon-socket/socket
>>
>> Apff, yes, that’s a problem.  Guix clients connect to the build daemon
>> over a Unix-domain socket, and that has a shameful 108 character limit
>> on GNU/Linux.  Thus, all the test cases that try to connect to the build
>> daemon fail.
>>
>> As a workaround, you could try to build in a shorter directory, if
>> that’s an option at all.
>
> Yes, I exported PORTAGE_TMPDIR=/tmp before running emerge, and all 19
> tests went fine :-)

Excellent!

BTW, if there’s a Gentoo package for Guix, you might want to send a note
on guix-devel.

Thanks,
Ludo’.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-30  9:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-08 21:30 bug#15052: guix-0.3 make check fails, on gentoo-prefix setup Cyprien Nicolas
2013-08-15 11:36 ` Ludovic Courtès
2013-08-29 21:56   ` Cyprien Nicolas
2013-08-30  9:52     ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.