[Slackbuilds-users] Call for Help

KB_SBo sbo at linuxgalaxy.org
Sun Apr 28 01:35:52 UTC 2024


On 4/27/24 17:37, andrew.clemons at gmail.com wrote:
> On 28/04/24 09:14, KB_SBo wrote:
>> Hint file? Isn't that the README?
> 
> Yes. To help us automate approving the many submission and thousands of
> scripts in the repo, we sometimes need to add a hint to the bot based on
> the README. Willy meant for this one, we don't have any hints setup, so
> it just builds by downloading the source tarball and running the script.
> 
>> the options I listed are autodetected
>> at compile time and are not required to build.  libslirp (user mode
>> networking) is optional, not required, but recommended. The build script
>> already has suitable default options built in.
>>
>> In other words, if it doesn't build, with or without options, it's your
>> build-bot and not the fault of the script. > But, hey, I'll be a team player today:
>>
>> clean Slackware{32,64}-15.0 VM, full default install, updated, no
>> additional packages.
>>
>> Invocation for qemu-8.2.2
>>
>> ./qemu.SlackBuild
>>
>> x86_64: passed (compiles, runs)
>> x86   : passed (compiles)
> 
> It actually needs internet access, so could add that to the README and
> we'll add a hint to the bot to allow it to access the internet. Many
> scripts that require it have a block like this:
> 
> https://github.com/SlackBuildsOrg/slackbuilds/blob/68ac93024440c1dcb61e579018ce241a1ab44180/graphics/opencolorio/README#L10-L12
> 
> But also check my other message in this thread. It is downloading
> something to compile, so it might be better instead to add a dependency
> for what it needs or to explicitly list that source in DOWNLOAD?
>

Slackware 15.0 meson is too old (0.59.4).  I mentioned this awhile back.

from 7.2 changelog:
'Build Dependencies

     Meson 0.61 or newer is now required. QEMU ships with Meson 0.61.5, 
which will be used if necessary.'

and was told qemu will use it's "internal" meson.  Guess what?  There is 
no "internal" meson.  Any build system requirements qemu needs it will 
download.

you can add to configure "--disable-downloads" but that will result in 
qemu failing to build for meson, libftd etc.

'The libfdt library is no longer bundled with QEMU. However, if QEMU is 
configured with --enable-download and the library is absent, then it 
will be downloaded and built together if any emulators need it.'

and disabling will shut off most targets. Other deps are just skipped if 
not vital.

So for now qemu will need internet access to build.  I'll pop that into 
the README.  For the next version update I'll see if that can be 
changed, or we will need to wait for Current -> Stable.

-KB








More information about the SlackBuilds-users mailing list