[Slackbuilds-users] Call for Help

andrew.clemons at gmail.com andrew.clemons at gmail.com
Sat Apr 27 22:46:23 UTC 2024


On 28/04/24 03:04, Willy Sudiarto Raharjo wrote:
>> QEMU builds successfully in my clean Slackware64-15.0 qemu VM (updated
>> on April 25, 2024).
>>
>> options installed:
>> libslirp
>> device-tree-compiler
>> snappy
>> spice
>> usbredir
>> virglrenderer
>>
>> build date: April 26, 2024
>>
>> invocation:
>> SLIRP=yes BRIDGE_HELPER_SETUID=yes ./qemu.SlackBuild
> 
> Since there's no hint file on qemu, please try without any options?
> or if you want them to be used as default options, please let us know 
> and we can add hint file into it

https://github.com/SlackBuildsOrg/slackbuilds/issues/5827#issuecomment-2081218380

Seems it has changed since we opened the repo for 15.0. It now requires 
internet access to clone a git repo.

```
Run-time dependency capstone found: NO (tried pkgconfig)
Library fdt found: NO

../meson.build:3129:18: ERROR: Git command failed: ['/usr/bin/git', 
'fetch', '--depth', '1', 'origin', 
'b6910bec11614980a21e46fbccc35934b671bd81']

A full log can be found at 
/tmp/SBo/repo.nc2oYP/build_qemu/qemu-8.2.2/build/meson-logs/meson-log.txt

ERROR: meson setup failed
```

snip of meson-log.txt:

```
Reading depfile: 
/tmp/SBo/qemu-8.2.2/build/meson-private/xtensaeb-softmmu-config-devices.mak.d
Configuring xtensaeb-softmmu-config-devices.h using configuration
Program scripts/make-config-poison.sh found: YES 
(/tmp/SBo/qemu-8.2.2/scripts/make-config-poison.sh)
Pkg-config binary for 1 is cached.
Determining dependency 'capstone' with pkg-config executable 
'/usr/bin/pkg-config'
env[PKG_CONFIG_PATH]: 
/usr/local/lib64/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig
-----------
Called: `/usr/bin/pkg-config --modversion capstone` -> 1
stderr:
Package capstone was not found in the pkg-config search path.
Perhaps you should add the directory containing `capstone.pc'
to the PKG_CONFIG_PATH environment variable
No package 'capstone' found
-----------
Run-time dependency capstone found: NO (tried pkgconfig)
Running compile:
Working directory:  /tmp/SBo/qemu-8.2.2/build/meson-private/tmpj4w73q67
Code:
  int main(void) { return 0; }

-----------
Command line: `cc -m64 -mcx16 
/tmp/SBo/qemu-8.2.2/build/meson-private/tmpj4w73q67/testfile.c -o 
/tmp/SBo/qemu-8.2.2/build/meson-private/tmpj4w73q67/output.exe -O2 -fPIC 
-D_FILE_OFFSET_BITS=64 -O0 -Wl,--start-group -lfdt -Wl,--end-group 
-Wl,--allow-shlib-undefined` -> 1
stderr:
/usr/bin/ld: cannot find -lfdt
collect2: error: ld returned 1 exit status
-----------
Library fdt found: NO

../meson.build:3129:18: ERROR: Git command failed: ['/usr/bin/git', 
'fetch', '--depth', '1', 'origin', 
'b6910bec11614980a21e46fbccc35934b671bd81']
```

Are we actually missing a dependency as the root cause?


More information about the SlackBuilds-users mailing list