[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] Issue with dwz when trying to build a Debian 12 package



Hi Cole,

thanks a lot for your answer!

To solve the issue, I have appended the lines:

override_dh_dwz:
ÂÂ Âdh_dwz --exclude=condor_producer_mytoken

to the file:

build/packaging/debian/rules.in

So that dh_dwz ignores the go-lang executable which is at the origin of the issue.

Cheers,
Benoit


On 05/07/2024 15:20, Cole Bollig via HTCondor-users wrote:
Hi Benoit,

I hope someone with more packaging knowledge will chime in, but from a little bit of internet sleuthing it seems like one of the packaging commands (dwz) doesn't handle compressed debug sections. I found this email thread talking about the same issue. There is a follow up that states:

ââââââIt turns out there is a `remove_command` API in debhelper, so
ââââââdh-golang/1.58 now calls `remove_command('dh_dwz')`.

Not sure if you already came across this or is helpful, but I thought I would share.

-Cole Bollig

From: HTCondor-users <htcondor-users-bounces@xxxxxxxxxxx> on behalf of Benoit Roland <benoit.roland@xxxxxxx>
Sent: Tuesday, July 2, 2024 3:13 AM
To: HTCondor-Users Mail List <htcondor-users@xxxxxxxxxxx>
Subject: [HTCondor-users] Issue with dwz when trying to build a Debian 12 package
Â
Dear all,

I need to build a Debian 12 package for the following PR [1] to be potentially deployed at Nikhef.

One of my plugin is written in go-lang, and I am getting the following error when trying to build the pkg:

dwz: debian/condor/usr/sbin/condor_producer_mytoken: Found compressed .debug_aranges section, not attempting dwz compression

I am not familiar with debian packages, was only building rpms so far.

Would you know please how to solve this issue?

Thanks a lot in advance for your help!

Cheers,
benoit

[1] https://github.com/htcondor/htcondor/pull/2424

_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users

The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/