From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Date: Wed, 23 Oct 2019 11:05:27 +0200 From: Roland Hieber Message-ID: <20191023090527.tfew4xtrbo2z5sc3@pengutronix.de> References: <20191015115823.3946-1-rhi@pengutronix.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: Subject: Re: [ptxdist] [PATCH] sudo: version bump 1.8.22 -> 1.8.28 List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ptxdist-bounces@pengutronix.de Sender: "ptxdist" To: Bruno Thomsen Cc: "ptxdist@pengutronix.de" 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 | r.hieber@pengutronix.de | 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 ptxdist@pengutronix.de