debuginfo packages always get built

Hi, I noticed that on my private instance, my packages always have the debuginfo package built, despite of whether the flag is on or off on the project repository page. Am I missing anything? Thanks, Kai

On Okt 25 2021, Kai Liu wrote:
I noticed that on my private instance, my packages always have the debuginfo package built, despite of whether the flag is on or off on the project repository page. Am I missing anything?
Does the buildinfo contain <debuginfo>? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."

On 2021/10/25 Mon 13:59, Andreas Schwab wrote:
On Okt 25 2021, Kai Liu wrote:
I noticed that on my private instance, my packages always have the debuginfo package built, despite of whether the flag is on or off on the project repository page. Am I missing anything?
Does the buildinfo contain <debuginfo>?
Yes, I just checked one and it has <debuginfo>0</debuginfo>. Does this flag only work for openSUSE/SLE distribution? I'm building openEuler which is kinda like CentOS from build PoV.

On Mon, Oct 25, 2021 at 08:09:40PM +0800, Kai Liu wrote:
On 2021/10/25 Mon 13:59, Andreas Schwab wrote:
On Okt 25 2021, Kai Liu wrote:
I noticed that on my private instance, my packages always have the debuginfo package built, despite of whether the flag is on or off on the project repository page. Am I missing anything?
Does the buildinfo contain <debuginfo>?
Yes, I just checked one and it has <debuginfo>0</debuginfo>.
Does this flag only work for openSUSE/SLE distribution? I'm building openEuler which is kinda like CentOS from build PoV.
CentOS always creates debuginfo via their own mechanism, it can't be turned on/off from OBS. Cheers, Michael. -- Michael Schroeder SUSE Software Solutions Germany GmbH mls@suse.de GF: Felix Imendoerffer HRB 36809, AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);}

On 2021/10/25 Mon 12:16, Michael Schroeder wrote:
On Mon, Oct 25, 2021 at 08:09:40PM +0800, Kai Liu wrote:
On 2021/10/25 Mon 13:59, Andreas Schwab wrote:
On Okt 25 2021, Kai Liu wrote:
I noticed that on my private instance, my packages always have the debuginfo package built, despite of whether the flag is on or off on the project repository page. Am I missing anything?
Does the buildinfo contain <debuginfo>?
Yes, I just checked one and it has <debuginfo>0</debuginfo>.
Does this flag only work for openSUSE/SLE distribution? I'm building openEuler which is kinda like CentOS from build PoV.
CentOS always creates debuginfo via their own mechanism, it can't be turned on/off from OBS.
Ah... Thanks for that info. So how is this debuginfo flag hooked into the build process (like via any rpm macro or command flag)? I would like to to understand this and see if I could integrate that into my build process. Always building with debuginfo caused quite some unneeded disk IO for my instance. Regards, Kai

On Okt 25 2021, Kai Liu wrote:
So how is this debuginfo flag hooked into the build process (like via any rpm macro or command flag)?
Grep for BUILD_DEBUG in the build scripts. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
participants (3)
-
Andreas Schwab
-
Kai Liu
-
Michael Schroeder