autospec icon indicating copy to clipboard operation
autospec copied to clipboard

make: *** [../common/Makefile.common:176: autospec] Error 1

Open cinnamonmatexfce opened this issue 2 years ago • 0 comments

I'm trying building Supermodel (a SEGA Model 3 emulator)

Processing https://github.com/trzy/Supermodel/archive/refs/heads/master.zip
=========================================================================================================
Name        : supermodel
Version     : master
Prefix      : Supermodel-master
Warning: Set [autospec][packages_file] path to package list file for requires validation
Warning: Set [autospec][git] upstream template for remote git URI configuration
Warning: Set [autospec][license_fetch] uri for license fetch support
Warning: Set [autospec][license_show] uri for license link check support
Warning: Set [autospec][yum_conf] path to yum.conf file for whatrequires validation
Adding additional build requirement: SDL2-dev.
Adding additional build requirement: SDL2_net-dev.
Adding additional build (cache) requirement: glu-dev.
Adding additional build (cache) requirement: pkgconfig(x11).
Adding additional build (cache) requirement: pkgconfig(zlib).
Buildreqs   : SDL2-dev SDL2_net-dev glu-dev pkgconfig(x11) pkgconfig(zlib) 
Summary     : No detailed summary available
Licenses    :  GPL-2.0+


-------------------------------------------------------------------------------
[INFO] Performing package integrity verification
[INFO] None of master.zip.(asc|sig|sign|sha256) is found in .
[INFO] Skipping domain verification
-------------------------------------------------------------------------------
Building package supermodel round 1
supermodel mock chroot at /var/lib/mock/clear-supermodel
Password: 
[FATAL] Build failed, aborting
make: *** [../common/Makefile.common:176: autospec] Error 1

Manual modifications:

$ cat buildreq_add 
# This file contains additional build requirements that did not get
# picked up automatically. One name per line, no whitespace.
SDL2-dev
SDL2_net-dev



$ cat supermodel.license 
GPL-2.0-or-later



$ cat make_args 
-f Makefiles/Makefile.UNIX
NET_BOARD=1

Seems building supermodel went fine:

find /var/ -type f -name supermodel -exec file {} \;
/var/lib/mock/clear-supermodel/root/builddir/build/BUILD/Supermodel-master/bin/supermodel: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=075fa7010ada288ca52f746a7471e70164ecb299, for GNU/Linux 3.10.0, stripped

Furthermore, manually compiling supermodel works:

git clone https://github.com/trzy/Supermodel.git
cd Supermodel
$ make -f Makefiles/Makefile.UNIX NET_BOARD=1 -j 4
$ file bin/supermodel 
bin/supermodel: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=075fa7010ada288ca52f746a7471e70164ecb299, for GNU/Linux 3.10.0, stripped

I'm wondering: maybe the error is cause due to missing install rules?

$ make -f Makefiles/Makefile.UNIX install
make: *** No rule to make target 'install'.  Stop.

logs.zip

cinnamonmatexfce avatar Nov 05 '23 20:11 cinnamonmatexfce