All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Hesse <list@eworm.de>
To: Martin Wilck <mwilck@suse.com>
Cc: Christian Hesse <mail@eworm.de>, dm-devel@redhat.com
Subject: Re: [PATCH 2/2] libmultipath: create libdir on install
Date: Fri, 8 May 2020 00:18:02 +0200	[thread overview]
Message-ID: <20200508001802.3d559e01@leda> (raw)
In-Reply-To: <858eb4ffcd9405ba7c10ed11f1d4c720a8ed496f.camel@suse.com>


[-- Attachment #1.1: Type: text/plain, Size: 1831 bytes --]

Martin Wilck <mwilck@suse.com> on Thu, 2020/05/07 23:13:
> On Wed, 2020-05-06 at 09:48 +0200, Christian Hesse wrote:
> > Christian Hesse <list@eworm.de> on Wed, 2020/05/06 09:35:  
> > > From: Christian Hesse <mail@eworm.de>
> > > 
> > > Without this installation fails with:
> > > 
> > > install: target '$DESTDIR/usr/lib/multipath' is not a directory
> > > Signed-off-by: Christian Hesse <mail@eworm.de>
> > > ---
> > >  libmultipath/prioritizers/Makefile | 1 +
> > >  1 file changed, 1 insertion(+)
> > > 
> > > diff --git a/libmultipath/prioritizers/Makefile
> > > b/libmultipath/prioritizers/Makefile index 9d0fe03c..11da5be2
> > > 100644
> > > --- a/libmultipath/prioritizers/Makefile
> > > +++ b/libmultipath/prioritizers/Makefile
> > > @@ -35,6 +35,7 @@ libprio%.so: %.o
> > >  	$(CC) $(LDFLAGS) $(SHARED_FLAGS) -o $@ $^
> > >  
> > >  install: $(LIBS)
> > > +	$(INSTALL_PROGRAM) -d $(DESTDIR)$(libdir)
> > >  	$(INSTALL_PROGRAM) -m 755 libprio*.so $(DESTDIR)$(libdir)
> > >  
> > >  uninstall:  
> > 
> > Ignore this one... It does not fix the issue. The build system has to
> > be
> > fixed for simultaneous jobs when installing.
> > 
> > For now installing with just one job (`make -j1`).  
> 
> Right. Feel free to send patches for this. I've never felt the urge to
> run "make install" parallelized; it takes less then 1s on my laptop.

Well, doing things in parallel is the default on our build servers... Via
environment variable MAKEFLAGS="-j#". Running just one job is extra work. :-p

If I have some spare time I will have a look again.
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}

[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

[-- Attachment #2: Type: text/plain, Size: 0 bytes --]



  reply	other threads:[~2020-05-07 22:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-06  7:35 [PATCH 1/2] libmpathpersist: depend on libmultipath Christian Hesse
2020-05-06  7:35 ` [PATCH 2/2] libmultipath: create libdir on install Christian Hesse
2020-05-06  7:48   ` Christian Hesse
2020-05-07 21:13     ` Martin Wilck
2020-05-07 22:18       ` Christian Hesse [this message]
2020-05-07 21:18 ` [PATCH 1/2] libmpathpersist: depend on libmultipath Martin Wilck
2020-05-07 22:14   ` Christian Hesse

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=20200508001802.3d559e01@leda \
    --to=list@eworm.de \
    --cc=dm-devel@redhat.com \
    --cc=mail@eworm.de \
    --cc=mwilck@suse.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.