pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: firefox and rust build failure
> kre wrote:
>> mlh wrote:
>
>> 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
$ ./test.o
execl: Exec format error
$ /usr/pkgnew/bin/rustc
/bin/sh: Cannot execute ELF binary /usr/pkgnew/bin/rustc
Home |
Main Index |
Thread Index |
Old Index