Page MenuHomeSolus

phoronix-test-suite doesn't run any tests.
Closed, ResolvedPublic

Description

All tests that I run give errors and the phoronix log file icludes the following:

mkdir -p bin
make -C CPP/7zip/Bundles/Alone all
make[1]: Entering directory '/home/user/.phoronix-test-suite/installed-tests/pts/compress-7zip-1.7.0/p7zip_16.02/CPP/7zip/Bundles/Alone'
gcc -c -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE   ../../../../C/7zCrc.c
gcc -c -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE   ../../../../C/7zCrcOpt.c
gcc -c -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE   ../../../../C/7zStream.c
gcc -c -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE   ../../../../C/Aes.c
gcc -c -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE   ../../../../C/Alloc.c
gcc -c -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE   ../../../../C/Bcj2.c
gcc -c -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE   ../../../../C/Bcj2Enc.c
gcc -c -I. -I../../../../C -I../../../../CPP/myWindows -I../../../../CPP/include_windows -I../../../../CPP -O -s -pipe -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -DNDEBUG -D_REENTRANT -DENV_UNIX -D_7ZIP_LARGE_PAGES  -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -DENV_UNIX -DBREAK_HANDLER -DUNICODE -D_UNICODE -DUNIX_USE_WIN_FILE   ../../../../C/Bra.c
gcc: error trying to exec 'as': execvp: No such file or directory
gcc: error trying to exec 'as': execvp: No such file or directory
gcc: error trying to exec 'as': execvp: No such file or directory
gcc: error trying to exec 'as': execvp: No such file or directory
gcc: error trying to exec 'as': execvp: No such file or directory
gcc: error trying to exec 'as': execvp: No such file or directory
../../../../C/7zStream.c:6:10: fatal error: string.h: No such file or directory
 #include <string.h>
          ^~~~~~~~~~
compilation terminated.
make[1]: *** [makefile.list:248: 7zStream.o] Error 1
make[1]: *** Waiting for unfinished jobs....
In file included from ../../../../CPP/include_windows/windows.h:20,
                 from ../../../../C/Bcj2Enc.c:15:
../../../../CPP/Common/MyWindows.h:13:10: fatal error: string.h: No such file or directory
 #include <string.h>
          ^~~~~~~~~~
compilation terminated.
../../../../C/Alloc.c:9:10: fatal error: stdio.h: No such file or directory
 #include <stdio.h>
          ^~~~~~~~~
compilation terminated.
make[1]: *** [makefile.list:252: Alloc.o] Error 1
gcc: error trying to exec 'as': execvp: No such file or directory
make[1]: *** [makefile.list:256: Bcj2Enc.o] Error 1
../../../../C/7zCrc.c:128:1: fatal error: error closing -: Broken pipe
 }
 ^
compilation terminated.
make[1]: *** [makefile.list:244: 7zCrc.o] Error 1
gcc: error trying to exec 'as': execvp: No such file or directory
../../../../C/Bcj2.c:256:1: fatal error: error writing to -: Broken pipe
 }
 ^
compilation terminated.
make[1]: *** [makefile.list:254: Bcj2.o] Error 1
../../../../C/7zCrcOpt.c:55:1: fatal error: error closing -: Broken pipe
 }
 ^
compilation terminated.
make[1]: *** [makefile.list:246: 7zCrcOpt.o] Error 1
../../../../C/Bra.c:135:1: fatal error: error writing to -: Broken pipe
 }
 ^
compilation terminated.
make[1]: *** [makefile.list:258: Bra.o] Error 1
../../../../C/Aes.c:297:1: fatal error: error writing to -: Broken pipe
 }
 ^
compilation terminated.
make[1]: *** [makefile.list:250: Aes.o] Error 1
make[1]: Leaving directory '/home/user/.phoronix-test-suite/installed-tests/pts/compress-7zip-1.7.0/p7zip_16.02/CPP/7zip/Bundles/Alone'
make: *** [makefile:17: 7za] Error 2

Event Timeline

DataDrake added a subscriber: DataDrake.EditedAug 31 2018, 12:42 AM

You need to install the dev tools or piecemeal install the utilities (and libraries) it needs.

sudo eopkg install -c system.devel

EDIT: This is one of the rare cases where we do not have an exhaustive list of dependencies, as it depends heavily on the benchmarks being run. Rather than install everything you might need, we only specify the bare minimum for it to run and tell you what it needs.

Thank you! That worked out real fine!

DataDrake closed this task as Resolved.Aug 31 2018, 1:53 AM
DataDrake claimed this task.
sunnyflunk added a subscriber: sunnyflunk.EditedAug 31 2018, 4:00 AM

This is a test profile issue imo. PTS can request the installation of system.devel (I added the code), simply the test does not indicate that it's required (many of the older tests don't do this, likely because the option didn't exist when the test profile was made).

Also note that this means it's not really testing the performance of Solus, as it's building an external
binary to run that isn't shipped as part of Solus.