[opensuse-buildservice] Way to ignore errors
Hi, Is there a way to ignore this error and continue with build, may sound strange but the link targets don't exist on purpose and no rpm will provide them.
ERROR: link target doesn't exist (neither in build root nor in installed system):
Thanks in advance, Damian -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am 24.04.20 um 08:33 schrieb Damian Ivanov:
Hi,
Is there a way to ignore this error and continue with build, may sound strange but the link targets don't exist on purpose and no rpm will provide them.
ERROR: link target doesn't exist (neither in build root nor in installed system):
Set NO_BRP_STALE_LINK_ERROR=1 in %install section Greetings, Stephan -- Lighten up, just enjoy life, smile more, laugh more, and don't get so worked up about things. Kenneth Branagh -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Hello Stephan, Thanks for the response. I tried: %install export NO_BRP_STALE_LINK_ERROR=1 %define NO_BRP_STALE_LINK_ERROR 1 #as well as placed at the top of the .spec as well as export NO_BRP_STALE_LINK_ERROR=yes %define NO_BRP_STALE_LINK_ERROR yes #as well as placed at the top of the .spec https://lists.opensuse.org/opensuse-bugs/2016-02/msg03904.html It had no effect though. On Fri, Apr 24, 2020 at 9:42 AM Stephan Kulow <coolo@suse.de> wrote:
Am 24.04.20 um 08:33 schrieb Damian Ivanov:
Hi,
Is there a way to ignore this error and continue with build, may sound strange but the link targets don't exist on purpose and no rpm will provide them.
ERROR: link target doesn't exist (neither in build root nor in installed system):
Set NO_BRP_STALE_LINK_ERROR=1 in %install section
Greetings, Stephan
-- Lighten up, just enjoy life, smile more, laugh more, and don't get so worked up about things. Kenneth Branagh -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Am 24.04.20 um 09:12 schrieb Damian Ivanov:
Hello Stephan,
Thanks for the response.
I tried: %install export NO_BRP_STALE_LINK_ERROR=1 %define NO_BRP_STALE_LINK_ERROR 1 #as well as placed at the top of the .spec
as well as export NO_BRP_STALE_LINK_ERROR=yes %define NO_BRP_STALE_LINK_ERROR yes #as well as placed at the top of the .spec https://lists.opensuse.org/opensuse-bugs/2016-02/msg03904.html
It had no effect though.
https://build.opensuse.org/package/view_file/openSUSE:Factory/quilt/quilt.sp... Line 96 - seems to work there. The 1 vs yes was my fault. Greetings, Stephan -- Lighten up, just enjoy life, smile more, laugh more, and don't get so worked up about things. Kenneth Branagh -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Yes, I was confused it still showed the errors, but the build continues now. Thanks Stephan! On Fri, Apr 24, 2020 at 10:18 AM Stephan Kulow <coolo@suse.de> wrote:
Am 24.04.20 um 09:12 schrieb Damian Ivanov:
Hello Stephan,
Thanks for the response.
I tried: %install export NO_BRP_STALE_LINK_ERROR=1 %define NO_BRP_STALE_LINK_ERROR 1 #as well as placed at the top of the .spec
as well as export NO_BRP_STALE_LINK_ERROR=yes %define NO_BRP_STALE_LINK_ERROR yes #as well as placed at the top of the .spec https://lists.opensuse.org/opensuse-bugs/2016-02/msg03904.html
It had no effect though.
https://build.opensuse.org/package/view_file/openSUSE:Factory/quilt/quilt.sp...
Line 96 - seems to work there. The 1 vs yes was my fault.
Greetings, Stephan
-- Lighten up, just enjoy life, smile more, laugh more, and don't get so worked up about things. Kenneth Branagh
-- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (2)
-
Damian Ivanov
-
Stephan Kulow