mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Bruno Thomsen <bth@kamstrup.com>
Subject: Re: [ptxdist] [PATCH] sudo: version bump 1.8.22 -> 1.8.28
Date: Wed, 23 Oct 2019 12:28:35 +0200	[thread overview]
Message-ID: <20191023102835.rfp5qoi2xzico2wd@pengutronix.de> (raw)
In-Reply-To: <20191023090527.tfew4xtrbo2z5sc3@pengutronix.de>

On Wed, Oct 23, 2019 at 11:05:27AM +0200, Roland Hieber wrote:
> 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!

This is the wrong fix. Use --disable-asan instead.

Michael

>  - 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
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

      reply	other threads:[~2019-10-23 10:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-15 11:58 Roland Hieber
2019-10-23  8:56 ` Bruno Thomsen
2019-10-23  9:05   ` Roland Hieber
2019-10-23 10:28     ` Michael Olbrich [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20191023102835.rfp5qoi2xzico2wd@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=bth@kamstrup.com \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox