Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2023 08:58:54 -0600
From:      Jason Bacon <bacon4000@gmail.com>
To:        Rainer Hurling <rhurlin@FreeBSD.org>, Dima Panov <fluffy@FreeBSD.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 9adb7c18c470 - main - sysutils/slurm-wlm: upgrade to 23.11.1
Message-ID:  <18436e60-7c12-43af-9503-dbf639c33034@gmail.com>
In-Reply-To: <54ef94fd-9cf2-46b2-9cfd-df25a491f897@gwdg.de>
References:  <202312182127.3BILR2Pk007195@gitrepo.freebsd.org> <1e689317-66a2-47b8-86a3-ff551c549536@FreeBSD.org> <ZYHcpFwP2nZ5fbS2@graf.pompo.net> <d5f938f7-243f-4436-93d3-a215b67028e0@FreeBSD.org> <54ef94fd-9cf2-46b2-9cfd-df25a491f897@gwdg.de>

index | next in thread | previous in thread | raw e-mail

On 12/19/23 15: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.
> 
> HTH,
> Rainer
> 

I thought I had added a check to error out if SLURM was currently 
installed, but maybe not.  In any case, I'd advise adding one, as this 
is a long-standing issue with SLURM builds.

-- 
Life is a game.  Play hard.  Play fair.  Have fun.


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18436e60-7c12-43af-9503-dbf639c33034>