* `guix pack --target=arm-linux-gnueabihf guile` fails at phase unpack
@ 2017-07-08 6:19 Louis Pearson
2017-07-08 14:17 ` Leo Famulari
2017-07-17 13:18 ` Ludovic Courtès
0 siblings, 2 replies; 3+ messages in thread
From: Louis Pearson @ 2017-07-08 6:19 UTC (permalink / raw)
To: guix-devel
I am experimenting with different methods of building applications and
deploying them to embedded devices. I am currently experimenting with
`guix` and the `guix pack` command. When running `guix pack
--target=arm-linux-gnueabihf guile` with guile however, I encounter
this error:
```
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to
`/gnu/store/4jqlvfhg05jmamjf54qshgwadkrmv8mx-gcc-cross-x86_64-linux-5.4.0/bin:/gnu/store/yvkc7dchld236jkyplsdmzyf01armvap-binutils-cross-x86_64-linux-2.27/bin'
environment variable `CROSS_LIBRARY_PATH' set to
`/gnu/store/3i1rnjjq8sjfwc6312ri3wvl225yjy08-glibc-bootstrap-0/lib:/gnu/store/vi8s8ycw11ai753rp5yb4ss76xwl5y72-gcc-bootstrap-0/lib:/gnu/store/c2yma1ycj8gfzbvd7p44r08s8lk5ss3w-glibc-cross-x86_64-linux-2.25/lib'
environment variable `CROSS_C_INCLUDE_PATH' set to
`/gnu/store/3i1rnjjq8sjfwc6312ri3wvl225yjy08-glibc-bootstrap-0/include:/gnu/store/vi8s8ycw11ai753rp5yb4ss76xwl5y72-gcc-bootstrap-0/include:/gnu/store/c2yma1ycj8gfzbvd7p44r08s8lk5ss3w-glibc-cross-x86_64-linux-2.25/include:/gnu/store/kbjhc370r0b2vbwxr5383jncsw633gj9-linux-libre-headers-cross-x86_64-linux-4.4.47/include'
environment variable `CROSS_CPLUS_INCLUDE_PATH' set to
`/gnu/store/3i1rnjjq8sjfwc6312ri3wvl225yjy08-glibc-bootstrap-0/include:/gnu/store/vi8s8ycw11ai753rp5yb4ss76xwl5y72-gcc-bootstrap-0/include:/gnu/store/c2yma1ycj8gfzbvd7p44r08s8lk5ss3w-glibc-cross-x86_64-linux-2.25/include:/gnu/store/kbjhc370r0b2vbwxr5383jncsw633gj9-linux-libre-headers-cross-x86_64-linux-4.4.47/include'
environment variable `CROSS_OBJC_INCLUDE_PATH' set to
`/gnu/store/3i1rnjjq8sjfwc6312ri3wvl225yjy08-glibc-bootstrap-0/include:/gnu/store/vi8s8ycw11ai753rp5yb4ss76xwl5y72-gcc-bootstrap-0/include:/gnu/store/c2yma1ycj8gfzbvd7p44r08s8lk5ss3w-glibc-cross-x86_64-linux-2.25/include:/gnu/store/kbjhc370r0b2vbwxr5383jncsw633gj9-linux-libre-headers-cross-x86_64-linux-4.4.47/include'
environment variable `CROSS_OBJCPLUS_INCLUDE_PATH' set to
`/gnu/store/3i1rnjjq8sjfwc6312ri3wvl225yjy08-glibc-bootstrap-0/include:/gnu/store/vi8s8ycw11ai753rp5yb4ss76xwl5y72-gcc-bootstrap-0/include:/gnu/store/c2yma1ycj8gfzbvd7p44r08s8lk5ss3w-glibc-cross-x86_64-linux-2.25/include:/gnu/store/kbjhc370r0b2vbwxr5383jncsw633gj9-linux-libre-headers-cross-x86_64-linux-4.4.47/include'
environment variable `GUIX_LOCPATH' unset
environment variable `CPATH' set to
`/gnu/store/4jqlvfhg05jmamjf54qshgwadkrmv8mx-gcc-cross-x86_64-linux-5.4.0/include'
environment variable `LIBRARY_PATH' set to
`/gnu/store/4jqlvfhg05jmamjf54qshgwadkrmv8mx-gcc-cross-x86_64-linux-5.4.0/lib'
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
warning: failed to install 'en_US.utf8' locale: Invalid argument
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
In execvp of tar: No such file or directory
phase `unpack' failed after 0.0 seconds
builder for `/gnu/store/2igq71k5767mh00wwii6lw7b04yq753s-make-boot0-4.2.1.drv'
failed with exit code 1
cannot build derivation
`/gnu/store/xbwfrk8q029di2y7wbkb70x5j67b5zka-gcc-cross-boot0-5.4.0.drv':
1 dependencies couldn't be built
guix pack: error: build failed: build of
`/gnu/store/xbwfrk8q029di2y7wbkb70x5j67b5zka-gcc-cross-boot0-5.4.0.drv'
failed
```
What is going on? The important part appears to be `In execvp of tar:
No such file or directory`, but I'm not sure why tar is unable to find
the file/directory.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: `guix pack --target=arm-linux-gnueabihf guile` fails at phase unpack
2017-07-08 6:19 `guix pack --target=arm-linux-gnueabihf guile` fails at phase unpack Louis Pearson
@ 2017-07-08 14:17 ` Leo Famulari
2017-07-17 13:18 ` Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Leo Famulari @ 2017-07-08 14:17 UTC (permalink / raw)
To: Louis Pearson; +Cc: guix-devel
[-- Attachment #1: Type: text/plain, Size: 502 bytes --]
On Sat, Jul 08, 2017 at 01:19:16AM -0500, Louis Pearson wrote:
> starting phase `unpack'
> In execvp of tar: No such file or directory
> phase `unpack' failed after 0.0 seconds
> What is going on? The important part appears to be `In execvp of tar:
> No such file or directory`, but I'm not sure why tar is unable to find
> the file/directory.
I'm not sure what the root cause of the failure is, but I think it's
more likely this message is coming from execvp() and means that `tar`
cannot be found.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: `guix pack --target=arm-linux-gnueabihf guile` fails at phase unpack
2017-07-08 6:19 `guix pack --target=arm-linux-gnueabihf guile` fails at phase unpack Louis Pearson
2017-07-08 14:17 ` Leo Famulari
@ 2017-07-17 13:18 ` Ludovic Courtès
1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2017-07-17 13:18 UTC (permalink / raw)
To: Louis Pearson; +Cc: guix-devel
Hi Louis,
Louis Pearson <desttinghimgame@gmail.com> skribis:
> I am experimenting with different methods of building applications and
> deploying them to embedded devices. I am currently experimenting with
> `guix` and the `guix pack` command. When running `guix pack
> --target=arm-linux-gnueabihf guile` with guile however, I encounter
> this error:
[...]
> warning: failed to install 'en_US.utf8' locale: Invalid argument
> phase `install-locale' succeeded after 0.0 seconds
> starting phase `unpack'
> In execvp of tar: No such file or directory
> phase `unpack' failed after 0.0 seconds
> builder for `/gnu/store/2igq71k5767mh00wwii6lw7b04yq753s-make-boot0-4.2.1.drv'
> failed with exit code 1
> cannot build derivation
> `/gnu/store/xbwfrk8q029di2y7wbkb70x5j67b5zka-gcc-cross-boot0-5.4.0.drv':
> 1 dependencies couldn't be built
> guix pack: error: build failed: build of
> `/gnu/store/xbwfrk8q029di2y7wbkb70x5j67b5zka-gcc-cross-boot0-5.4.0.drv'
> failed
I think you found a bug in the “grafting” code, or in the specific
grafts that are currently applicable on master. Could you report it to
bug-guix@gnu.org so we keep track of it?
For now, you can work around it by running “guix pack guile
--no-grafts”. However, note that the resulting binaries will lack
important security updates, such as the stack-clash-related fix in
glibc. Use with care!
Thanks,
Ludo’.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-07-17 13:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-08 6:19 `guix pack --target=arm-linux-gnueabihf guile` fails at phase unpack Louis Pearson
2017-07-08 14:17 ` Leo Famulari
2017-07-17 13:18 ` 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.