On Wed, Oct 23, 2019 at 08:56:39AM +0000, Bruno Thomsen wrote:
> 
> Hi Roland
> 
> > Subject: [ptxdist] [PATCH] sudo: version bump 1.8.22 -> 1.8.28
> >
> > Pin down more configure options, and update the license MD5, which added
> > some more file headers of files under ISC license, reformatted the
> > existing license file headers, and bumped the copyright date to 2019.
> 
> Thanks for updating the rule.
> 
> After using this updated rule I hit a few runtime issues:
> 
> sudo --version
> sudo: error while loading shared libraries: libasan.so.5: cannot open shared 
> object file: No such file or directory
> 
> sudo --version
> sudo: error while loading shared libraries: libubsan.so.1: cannot open shared 
> object file: No such file or directory
> 
> sudo --version
> Sudo version 1.8.28
> 
> Below is a quick-and-dirty patch that fixes the issues.
> 
> I can send a proper patch if this is the correct way of fixing it as
> it's most likely caused by a changed in the pinned configure options.

Please feel free to do so, and thanks for testing!

 - Roland

> 
> /Bruno
> 
> --------------------8<--------------------
> 
> diff --git a/rules/sudo.in b/rules/sudo.in
> index 480c90cd9..aa47e4444 100644
> --- a/rules/sudo.in
> +++ b/rules/sudo.in
> @@ -2,6 +2,8 @@
>  menuconfig SUDO
>         tristate
>         prompt "sudo                          "
> +       select GCCLIBS_LIBASAN
> +       select GCCLIBS_LIBUBSAN
>         select LIBC_CRYPT
>         select LIBC_UTIL
>         select LIBC_DL
> 

-- 
Roland Hieber                     | [email protected]     |
Pengutronix e.K.                  | https://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim | Phone: +49-5121-206917-5086 |
Amtsgericht Hildesheim, HRA 2686  | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
[email protected]

Reply via email to