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

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

Open
cinnamonmatexfce opened this issue Nov 5, 2023 · 0 comments
Open

Comments

@cinnamonmatexfce
Copy link

cinnamonmatexfce commented Nov 5, 2023

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

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