Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#68047 - [pcsx2] Cannot build PKGBUILD

Attached to Project: Community Packages
Opened by Dario (dario86) - Tuesday, 29 September 2020, 21:38 GMT
Last edited by freswa (frederik) - Tuesday, 29 September 2020, 22:13 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Unable to build pcsx2-1.7.0.r202.9c0865c0f-1 package with "$ makepkg -s".

Additional info:

[dario@ryzen pcsx2]$ makepkg -s
==> Creazione del pacchetto: pcsx2 1.7.0.r202.9c0865c0f-1 (mar 29 set 2020, 23:23:38)
==> Controllo delle dipendenze durante l'avvio in corso...
==> Controllo delle dipendenze durante la compilazione in corso...
==> Download dei sorgenti in corso...
-> Aggiornamento del repository pcsx2 git in corso...
Recupero di origin in corso
==> Validazione di source file con sha256sums...
pcsx2 ... Ignorato
==> Estrazione dei sorgenti in corso...
-> Creazione di una copia di lavoro del repository pcsx2 git in corso...
Ripristina il branch 'makepkg'
==> Avvio di pkgver() in corso...
==> Rimozione dell'esistente directory $pkgdir/ in corso...
==> Avvio di build() in corso...
-- The C compiler identification is Clang 10.0.1
-- The CXX compiler identification is Clang 10.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/clang
-- Check for working C compiler: /usr/bin/clang - broken
CMake Error at /usr/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
The C compiler

"/usr/bin/clang"

is not able to compile a simple test program.

It fails with the following output:

Change Dir: /home/dario/Scrivania/pcsx2/src/build/CMakeFiles/CMakeTmp

Run Build Command(s):/usr/bin/ninja cmTC_d83e2 && [1/2] Building C object CMakeFiles/cmTC_d83e2.dir/testCCompiler.c.o
FAILED: CMakeFiles/cmTC_d83e2.dir/testCCompiler.c.o
/usr/bin/clang -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -g -fvar-tracking-assignments -fdebug-prefix-map=/home/dario/Scrivania/pcsx2/src=/usr/src/debug -Wno-argument-outside-range -MD -MT CMakeFiles/cmTC_d83e2.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_d83e2.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_d83e2.dir/testCCompiler.c.o -c testCCompiler.c
clang-10: error: unknown argument: '-fvar-tracking-assignments'
ninja: build stopped: subcommand failed.





CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:2 (project)


-- Configuring incomplete, errors occurred!
See also "/home/dario/Scrivania/pcsx2/src/build/CMakeFiles/CMakeOutput.log".
See also "/home/dario/Scrivania/pcsx2/src/build/CMakeFiles/CMakeError.log".
==> ERRORE: Si รจ verificato un errore in build().
L'operazione sta per essere interrotta...


Steps to reproduce: download MAKEPKG for pcsx2-1.7.0.r202.9c0865c0f-1 and issue "makepkg -s".
This task depends upon

Closed by  freswa (frederik)
Tuesday, 29 September 2020, 22:13 GMT
Reason for closing:  Works for me
Comment by Magnus Boman (katt) - Tuesday, 29 September 2020, 22:07 GMT
Builds just fine here both building normally and in a clean chroot, there's clearly something wrong with your system. Also please use `LANG=C yourcommand` next time as not everyone can read your language.

Loading...