[opensuse-packaging] What to do about %{go_nostrip} on Leap?
Hi I'm packaging golang libraries and I realized that most of my stuff doesn't work leap, just on tumbleweed because of lack of %{go_nostrip}. Is there something I can do to conditionally apply that but at the same time, should I? I recall that stripping go executables is not safe. Best regards ZK-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
Hi On 07/06/2016 11:02 PM, Zygmunt Krynicki wrote:
Hi
I'm packaging golang libraries and I realized that most of my stuff doesn't work leap, just on tumbleweed because of lack of %{go_nostrip}.
Is there something I can do to conditionally apply that but at the same time, should I? I recall that stripping go executables is not safe.
yes, you should apply that to your packages since stripping tools written in Go got some sideeffects which we want to avoid. Best, Thomas Boerger -- Thomas Boerger <tboerger@suse.de> Docker Developer SUSE Linux GmbH, Maxfeldstr. 5, D-90409 Nürnberg Tel: +49-911-74053-0; Fax: +49-911-7417755; https://www.suse.com/ SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
Wiadomość napisana przez Thomas Boerger <tboerger@suse.de> w dniu 07.07.2016, o godz. 10:03:
Hi
On 07/06/2016 11:02 PM, Zygmunt Krynicki wrote:
Hi
I'm packaging golang libraries and I realized that most of my stuff doesn't work leap, just on tumbleweed because of lack of %{go_nostrip}.
Is there something I can do to conditionally apply that but at the same time, should I? I recall that stripping go executables is not safe.
yes, you should apply that to your packages since stripping tools written in Go got some sideeffects which we want to avoid.
Yes and I do use it but then I hit issues such as this one: https://build.opensuse.org/package/live_build_log/home:zyga/golang-github-je... [ 38s] + exec rpmbuild -ba --define '_srcdefattr (-,root,root)' --nosignature --define 'disturl obs://build.opensuse.org/home:zyga/openSUSE_Leap_42.1/e22025387e4f99da60fcbde53870ffea-golang-github-jessevdk-flags' /home/abuild/rpmbuild/SOURCES/golang-github-jessevdk-flags.spec [ 38s] error: line 15: Unknown tag: %{go_nostrip} What puzzles me is that not all packages fail this way. ZK-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
go_nostrip should be in the golang-packaging package. Include this package in your repo and you'll be able to use the macro. On 07/06/2016 11:02 PM, Zygmunt Krynicki wrote:
Hi
I'm packaging golang libraries and I realized that most of my stuff doesn't work leap, just on tumbleweed because of lack of %{go_nostrip}.
Is there something I can do to conditionally apply that but at the same time, should I? I recall that stripping go executables is not safe.
Best regards ZK-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-packaging+owner@opensuse.org
participants (3)
-
Jordi Massaguer Pla
-
Thomas Boerger
-
Zygmunt Krynicki