Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiler cc can not compile programs when compiling for Alpine Linux #53

Open
dtoraelek opened this issue Sep 16, 2022 · 0 comments
Open

Comments

@dtoraelek
Copy link

The command run is "/tmp/brisk-menu% meson --buildtype plain build --prefix=/usr"

Output:
The Meson build system
Version: 0.62.1
Source dir: /tmp/brisk-menu
Build dir: /tmp/brisk-menu/build
Build type: native build
Project name: brisk-menu
Project version: 0.6.2

meson.build:1:0: ERROR: Compiler cc can not compile programs.

A full log can be found at /tmp/brisk-menu/build/meson-logs/meson-log.txt

Full log:
ERROR: unable to select packages:
gcc-multilib (no such package):
required by: world[gcc-multilib]

josiah@postmarketos-amd64:/tmp/brisk-menu% cat /tmp/brisk-menu/build/meson-logs/meson-log.txt
Build started at 2022-09-15T23:44:23.625946
Main binary: /usr/bin/python3
Build Options: -Dprefix=/usr -Dbuildtype=plain
Python system: Linux
The Meson build system
Version: 0.62.1
Source dir: /tmp/brisk-menu
Build dir: /tmp/brisk-menu/build
Build type: native build
Project name: brisk-menu
Project version: 0.6.2
Sanity testing C compiler: cc
Is cross compiler: False.
Sanity check compiler command line: cc sanitycheckc.c -o sanitycheckc.exe -D_FILE_OFFSET_BITS=64
Sanity check compile stdout:


Sanity check compile stderr:
/usr/lib/gcc/x86_64-alpine-linux-musl/11.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find Scrt1.o: No such file or directory
/usr/lib/gcc/x86_64-alpine-linux-musl/11.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find crti.o: No such file or directory
/usr/lib/gcc/x86_64-alpine-linux-musl/11.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lssp_nonshared: No such file or directory
collect2: error: ld returned 1 exit status


meson.build:1:0: ERROR: Compiler cc can not compile programs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant