unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#20497: GuixSD installation - Build of system.drv failed
@ 2015-05-03 13:39 Jeffrey Serio
  2015-05-04 21:48 ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Jeffrey Serio @ 2015-05-03 13:39 UTC (permalink / raw)
  To: 20497

Hello,

Myself and at least one other are having a problem with GuixSD installation.  I am attempting to install it to a 
VDI via VirtualBox while the other person is trying to install it to his regular HDD; however, we both encounter 
the same issue.  Here is what IRC user marxy said in #guix:
	
	"I've attempted installing GuixSD a few times on the same PC (Different USBs, re-downloaded the image, etc.) 
	and always get the same error-- that the build of system.drv failed. I'm not exactly sure where to go from 
	this error message, though, and I was wondering if someone did... http://pastebin.com/3vG5GE4f"
	
I thought I would raise the issue in this list so as to make it visible in the archives.  Any help on this 
matter would be appreciated.  If you need any information about my hardware or setup environment, please let me 
know.  Please also let me know if there is anything else I could do to help solve the issue.

Thank you,
Jeffrey

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

* bug#20497: GuixSD installation - Build of system.drv failed
  2015-05-03 13:39 bug#20497: GuixSD installation - Build of system.drv failed Jeffrey Serio
@ 2015-05-04 21:48 ` Ludovic Courtès
  2015-05-05  0:57   ` Jeffrey Serio
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2015-05-04 21:48 UTC (permalink / raw)
  To: Jeffrey Serio; +Cc: 20497

Hi,

Jeffrey Serio <serio.jeffrey@gmail.com> skribis:

> 	"I've attempted installing GuixSD a few times on the same PC (Different USBs, re-downloaded the image, etc.) 
> 	and always get the same error-- that the build of system.drv failed. I'm not exactly sure where to go from 
> 	this error message, though, and I was wondering if someone did... http://pastebin.com/3vG5GE4f"

The log at pastebin.com reads:

  55. builder for 'gnu/store/[... long string of characters ...]-libarchive-3.1.2.drv' failed with exit code 1
  [...]
  62. cannot build derivation '/gnu/store/[... long string ...]-system.drv': 1 dependencies couldn't be built

This means that, to build the system configuration, Guix tried to build
libarchive, which failed.

It also means that somehow hydra.gnu.org was not providing pre-built
binaries for libarchive & co., perhaps because they have been GC’d.

What GuixSD version is it?

Thanks for your report!

Ludo’.

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

* bug#20497: GuixSD installation - Build of system.drv failed
  2015-05-04 21:48 ` Ludovic Courtès
@ 2015-05-05  0:57   ` Jeffrey Serio
  2015-05-05  7:49     ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Jeffrey Serio @ 2015-05-05  0:57 UTC (permalink / raw)
  To: Ludovic Courtès

Hello,

Thank you for your reply.  The GuixSD version is 0.8.1.  I figured part of the problem was with libarchive not 
being the pre-built binary.  I even tried reassuring that hydra was authorized, which apparently had no effect 
on the outcome.  Also, while using Guix as a package manager on my host system (Fedora 21), I attempted to 
install the package 'dfc' from source (not binary) and I encountered the 
libarchive-3.1.2.drv error there as well, so I checked the build log located at 
/tmp/nix-build*-libarchive-3.1.2.drv/.../test_option_b.log, and it mentioned that "File archive1.tar has size 
3072, expected 2048" and that "bsdtar does not pad archives written directly to regular files".  I hope this 
information helps narrow down the issue.  Do you have any suggestions as to how this could be resolved?

Best Regards,
Jeffrey

On Mon, May 04, 2015 at 11:48:32PM +0200, Ludovic Courtès wrote:
> Hi,
> 
> Jeffrey Serio <serio.jeffrey@gmail.com> skribis:
> 
> > 	"I've attempted installing GuixSD a few times on the same PC (Different USBs, re-downloaded the image, etc.) 
> > 	and always get the same error-- that the build of system.drv failed. I'm not exactly sure where to go from 
> > 	this error message, though, and I was wondering if someone did... http://pastebin.com/3vG5GE4f"
> 
> The log at pastebin.com reads:
> 
>   55. builder for 'gnu/store/[... long string of characters ...]-libarchive-3.1.2.drv' failed with exit code 1
>   [...]
>   62. cannot build derivation '/gnu/store/[... long string ...]-system.drv': 1 dependencies couldn't be built
> 
> This means that, to build the system configuration, Guix tried to build
> libarchive, which failed.
> 
> It also means that somehow hydra.gnu.org was not providing pre-built
> binaries for libarchive & co., perhaps because they have been GC’d.
> 
> What GuixSD version is it?
> 
> Thanks for your report!
> 
> Ludo’.

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

* bug#20497: GuixSD installation - Build of system.drv failed
  2015-05-05  0:57   ` Jeffrey Serio
@ 2015-05-05  7:49     ` Ludovic Courtès
  2015-05-16 20:09       ` Ludovic Courtès
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2015-05-05  7:49 UTC (permalink / raw)
  To: Jeffrey Serio; +Cc: 20497

Jeffrey Serio <serio.jeffrey@gmail.com> skribis:

> Thank you for your reply.  The GuixSD version is 0.8.1.  I figured part of the problem was with libarchive not 
> being the pre-built binary.  I even tried reassuring that hydra was authorized, which apparently had no effect 
> on the outcome.  Also, while using Guix as a package manager on my host system (Fedora 21), I attempted to 
> install the package 'dfc' from source (not binary) and I encountered the 
> libarchive-3.1.2.drv error there as well, so I checked the build log located at 
> /tmp/nix-build*-libarchive-3.1.2.drv/.../test_option_b.log, and it mentioned that "File archive1.tar has size 
> 3072, expected 2048" and that "bsdtar does not pad archives written directly to regular files".  I hope this 
> information helps narrow down the issue.  Do you have any suggestions as to how this could be resolved?

One problem is that hydra.gnu.org didn’t keep the pre-built binaries.
We ought to fix it, but our current server is quite limited in resources
(hopefully we will change it soon.)

As for the exact build issue, I don’t know.  You may be able to work
around it by running ‘guix pull’ right before running ‘guix system init’
in the installation image (likewise on your Fedora system: just run
‘guix pull’ before trying to install software.)

Besides, note that 0.8.2 will hopefully be released within two weeks.

Ludo’.

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

* bug#20497: GuixSD installation - Build of system.drv failed
  2015-05-05  7:49     ` Ludovic Courtès
@ 2015-05-16 20:09       ` Ludovic Courtès
       [not found]         ` <20150517001358.GA812@jas-pc>
  0 siblings, 1 reply; 6+ messages in thread
From: Ludovic Courtès @ 2015-05-16 20:09 UTC (permalink / raw)
  To: Jeffrey Serio; +Cc: 20497

ludo@gnu.org (Ludovic Courtès) skribis:

> Besides, note that 0.8.2 will hopefully be released within two weeks.

It was just released, if you want to give it another try:

  http://www.gnu.org/software/guix/

Ludo’.

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

* bug#20497: GuixSD installation - Build of system.drv failed
       [not found]         ` <20150517001358.GA812@jas-pc>
@ 2015-05-18 19:02           ` Ludovic Courtès
  0 siblings, 0 replies; 6+ messages in thread
From: Ludovic Courtès @ 2015-05-18 19:02 UTC (permalink / raw)
  To: Jeffrey Serio; +Cc: 20497-done

Jeffrey Serio <serio.jeffrey@gmail.com> skribis:

> Yes, it works now with 0.8.2. :)

Excellent, closing this bug now.  Thanks for the feedback!

Ludo’.

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

end of thread, other threads:[~2015-05-18 19:03 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-05-03 13:39 bug#20497: GuixSD installation - Build of system.drv failed Jeffrey Serio
2015-05-04 21:48 ` Ludovic Courtès
2015-05-05  0:57   ` Jeffrey Serio
2015-05-05  7:49     ` Ludovic Courtès
2015-05-16 20:09       ` Ludovic Courtès
     [not found]         ` <20150517001358.GA812@jas-pc>
2015-05-18 19:02           ` Ludovic Courtès

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).