Project

General

Profile

Bugless #33

hscloud: nix-shell in hscloud checkout fails to fetch/build/install psycopg2 because it fails to find gcc

Added by ar about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-

Description

Snip from "nix-shell":
``` building 'psycopg2._psycopg' extension
creating build/temp.linux-x86_64-3.8
creating build/temp.linux-x86_64-3.8/psycopg
gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DPSYCOPG_VERSION=2.8.5 (dt dec pq3 ext lo64) -DPG_VERSION_NUM=110010 -DHAVE_LO64=1 -I/nix/store/wkw6fsjasr7jbbrlakxxpbiapa8hws42-python3-3.8.7/include/python3.8 -I. -I/usr/include -I/usr/include/server -c psycopg/psycopgmodule.c -o build/temp.linux-x86_64-3.8/psycopg/psycopgmodule.o -Wdeclaration-after-statement
unable to execute 'gcc': No such file or directory
```

Full log attached in error.log

nix-info:
- system: `"x86_64-linux"`
- host os: `Linux 5.11.1, NixOS, 21.05pre273435.0aeba64fb26 (Okapi)`
- multi-user?: `yes`
- sandbox: `yes`
- version: `nix-env (Nix) 2.3.10`
- channels(root): `"nixos-21.05pre273435.0aeba64fb26"`
- channels(arachnist): `""`
- nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`


Files

error.log (95.8 KB) error.log ar, 03/07/2021 03:08 PM

Also available in: Atom PDF