pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: firefox and rust build failure
Date: Tue, 7 Jul 2020 07:59:43 -0400 (EDT)
From: mlh%goathill.org@localhost (MLH)
Message-ID: <20200707115943.7E2BD12AB8%chopper.goathill.org@localhost>
| error: process didn't exit successfully: `rustc -vV` (exit code: 2)
| --- stderr
| /bin/sh: Cannot execute ELF binary /usr/pkgnew/bin/rustc
That message indicates that sh was trying to run the binary as a
script, which means it has 'x' permission, but exec() on it failed.
It would be useful to know why. Try running
main()
{
execl("/usr/pkgnew/bin/rustc", "rustc", "-vV", (char *)0);
perror("execl");
return 1;
}
(with whatever include files are needed to keep gcc happy), and see
what the exec failure is, that might provide a clue.
kre
Home |
Main Index |
Thread Index |
Old Index