Re: git: 9adb7c18c470 - main - sysutils/slurm-wlm: upgrade to 23.11.1

From: Dima Panov <fluffy_at_FreeBSD.org>
Date: Wed, 20 Dec 2023 12:42:20 UTC

On 20.12.2023 00:20, Rainer Hurling wrote:
> Am 19.12.23 um 22:07 schrieb Dima Panov:
>>
>>
>> On 19.12.2023 21:10, Thierry Thomas wrote:
>>> Le mar. 19 déc. 23 à 15:36:03 +0100, Dima Panov <fluffy@FreeBSD.org>
>>>   écrivait :
>>>
>>>> Moin-moin!
>>>
>>> Hello Dima,
>>>
>>>> [skip]
>>>> It fail to build on 15/aarch64 :(
>>>>
>>>> curr_dir=/wrkdirs/usr/ports/sysutils/slurm-wlm/work/slurm-23.11.1/src/sacctmgr; cd /wrkdirs/usr/ports/sysutils/slurm-wlm/work/slurm-23.11.1/src/sacctmgr; /usr/bin/ld -r -m elf_aarch64 -o "/wrkdirs/usr/ports/sysutils/slurm-wlm/work/slurm-23.11.1/src/sacctmgr/usage.bino" -z noexecstack --format=binary "usage.txt"; cd $curr_dir
>>>> mv -f .deps/problem_functions.Tpo .deps/problem_functions.Po
>>>> mv -f .deps/tres_function.Tpo .deps/tres_function.Po
>>>> ld: error: unknown emulation: elf_aarch64
>>>> objcopy --rename-section .data=.rodata,alloc,load,readonly,data,contents "usage.bino"
>>>> gmake[6]: Entering directory '/wrkdirs/usr/ports/sysutils/slurm-wlm/work/slurm-23.11.1/src/api'
>>>> objcopy: open usage.bino failed: No such file or directory
>>>> gmake[4]: *** [Makefile:957: usage.bino] Error 1
>>>> gmake[4]: *** Waiting for unfinished jobs....
>>>
>>> Are you running -CURRENT with clang-17 or just before with 16.0.6?
>>
>> FreeBSD 15.0-CURRENT #0 main-c711af7727: Sat Dec  9 01:13:58 MSK 2023
>>
>> % clang --version
>> FreeBSD clang version 17.0.6 (https://github.com/llvm/llvm-project.git llvmorg-17.0.6-0-g6009708b4367)
>> Target: aarch64-unknown-freebsd15.0
>> Thread model: posix
>> InstalledDir: /usr/bin
>>
>>
>> I can try to build it with ports' llvm16 version of clang/ld/everything
>>
> 
> Hi Dima,
> 
> For me it was not necessary to switch to another compiler than the base llvm17.
> 
> But, as for most versions of slurm-wlm before, it was necessary to deinstall the old version before I was able to build the new one.
> 
> I am on 15.0-CURRENT 150007 amd64.


Had upgraded my testbox at morning, still fails on aarch64 but fine on amd64 :(
All builds runs in poudriere's clean  environment

https://people.freebsd.org/~fluffy/-log/150aarch64/slurm-wlm-23.11.1.log



-- 
Sincerely,
Dima (fluffy@FreeBSD.org, https://t.me/FluffyBSD)
(desktop, kde, x11, office, ports-secteam)@FreeBSD team