From: Jason Gunthorpe <jgunthorpe-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
To: Jarod Wilson <jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [PATCH rdma-core 0/6] redhat/spec: various fixes and cleanups
Date: Wed, 21 Dec 2016 16:40:14 -0700 [thread overview]
Message-ID: <20161221234014.GA13538@obsidianresearch.com> (raw)
In-Reply-To: <20161221220840.36268-1-jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
On Wed, Dec 21, 2016 at 05:08:34PM -0500, Jarod Wilson wrote:
> Fedora package review bug:
> https://bugzilla.redhat.com/show_bug.cgi?id=1404043
To elaborate on that discussion..
>> lrwxrwxrwx. 1 honli honli 15 Dec 20 00:37 librspreload.so.1 -> librspreload.so
>> lrwxrwxrwx. 1 honli honli 15 Dec 20 00:37 librspreload.so.1.0.0 -> librspreload.so
> This looks like an upstream problem, just doing a build in a freshly
> unpacked tree sans-rpm has similar results. I'll address it there.
I see you found the packaging bug.. FYI the mechanism in cmake is to
produce build/lib/librspreload.so and no symlinks.
Two symlinks are produces under build/librdmacm/ but those are just
artifacts of how the install install process works for symlinks.
Once installed via DESTDIR=`pwd`/inst ninja install everything ends up
properly:
$ ls -l build/inst/usr/local/lib/rsocket/
-rw-r--r-- 1 jgg orc 117696 Dec 12 17:29 librspreload.so
lrwxrwxrwx 1 jgg orc 15 Dec 21 16:12 librspreload.so.1 -> librspreload.so
lrwxrwxrwx 1 jgg orc 15 Dec 21 16:12 librspreload.so.1.0.0 -> librspreload.so
It is appropriate for all these links to be in the same package as the
.so - these are not 'devel' links. They are compat for people using
the wrong name of the preload library. Eg users should be doing
LD_PRELOAD=/usr/lib/rsocket/librspreload.so foo
But since the old build system didn't build with the plugin option we
go out of our way to include these historical symlinks just incase
someone is using them improperly.
>> The service had been named as "srpd" since 2009, should we keep the old name?
> I'd stick with following upstream.
srp_daemon.service hasn't migrated out of redhat/ yet, I've got no
objection to adding a systemd alias for srpd if it is a well known
historical name..
+[Install]
+Alias=srpd.service
> Question 2: why libibacmp.so.* removed for new ibacm-12-1.fc26 pkg?
> (libibcm.f26 keeps libibcm.so.1.0.12)
The presence of the .so and .so.1 files was a bug in the old build
system that did not call libtool with the plugin option. This library
is only for dlopen and should never be used by the linker, so no need
for the aliases.
> Comment 2: iwpmd no longer start after syslog.target, as it does not write
> any log files. iwpmd send log message to /var/log/messages.
syslog.target is obsolete, Upstream systemd says not to use it.
> honli: libnl3-devel is required for iwpmd libibverbs
As you say, taken care of by pkgconfig(libnl-3.0), etc
> BuildRequires: valgrind-devel
> honli: systemd and dracut also needed.
Not to build?
> honli: Please add "Requires:" entries against rsyslog, systemd, kmod,
> honli: logrotate, initscripts, and dracut.
It might make sense to depend on kmod in rdma core since it is using
the module loading infrastructure..
rsyslog/logrotate are just examples for srp, as packaged it uses the
standard syslog logger, so they are not Requires
dracut.. we don't need it, but if it is present there are plugins
included, not a Requires..
Not sure why initscripts?
systemd is automatic via rpm, right?
> I could, but this situation is temporary, there will be an upstream
> release and a full URL shortly. This was noted in comment #1, but I
> could add that same text to
Use this for now:
https://github.com/linux-rdma/rdma-core/archive/v12-rc2.tar.gz
Best to make sure the release process is going to work :)
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2016-12-21 23:40 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-21 22:08 [PATCH rdma-core 0/6] redhat/spec: various fixes and cleanups Jarod Wilson
[not found] ` <20161221220840.36268-1-jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-21 22:08 ` [PATCH rdma-core 1/6] redhat/spec: call it srp_daemon in desc, not srptools Jarod Wilson
2016-12-21 22:08 ` [PATCH rdma-core 2/6] redhat/spec: improve base package description Jarod Wilson
2016-12-21 22:08 ` [PATCH rdma-core 3/6] redhat/spec: use fully versioned Requires on base package Jarod Wilson
2016-12-21 22:08 ` [PATCH rdma-core 4/6] redhat/spec: fix up %post scriptlets Jarod Wilson
2016-12-21 22:08 ` [PATCH rdma-core 5/6] redhat/spec: clean up rsocket packaging Jarod Wilson
[not found] ` <20161221220840.36268-6-jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22 7:17 ` Jarod Wilson
[not found] ` <140dc3aa-6088-c4cf-5a8a-1a0426f55cd3-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22 17:33 ` Jason Gunthorpe
[not found] ` <20161222173302.GA29518-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-12-22 18:15 ` Doug Ledford
[not found] ` <74c5651b-4125-0a7a-3184-d510814cdc0d-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22 18:22 ` Jason Gunthorpe
2016-12-22 18:23 ` Jarod Wilson
[not found] ` <5f0f6060-deb4-da27-c6a0-12d1ede4ca2b-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22 18:28 ` Doug Ledford
2016-12-21 22:08 ` [PATCH rdma-core 6/6] redhat/spec: make sure docdir is owned Jarod Wilson
2016-12-21 23:40 ` Jason Gunthorpe [this message]
[not found] ` <20161221234014.GA13538-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-12-22 7:32 ` [PATCH rdma-core 0/6] redhat/spec: various fixes and cleanups Jarod Wilson
[not found] ` <0d77c962-607b-1e05-4fbf-41195446128d-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22 17:38 ` Jason Gunthorpe
[not found] ` <20161222173807.GA15461-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-12-22 18:17 ` Doug Ledford
[not found] ` <e300b2ab-c963-d755-895d-29c8a6dbdc94-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22 20:28 ` Jason Gunthorpe
[not found] ` <20161222202832.GA10732-ePGOBjL8dl3ta4EC/59zMFaTQe2KTcn/@public.gmane.org>
2016-12-22 21:38 ` Doug Ledford
2016-12-22 16:53 ` Doug Ledford
[not found] ` <fe84ce7a-dd7f-1b63-ac84-5a0ed5f3bcea-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2016-12-22 17:06 ` Jarod Wilson
2016-12-22 18:03 ` Jarod Wilson
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=20161221234014.GA13538@obsidianresearch.com \
--to=jgunthorpe-epgobjl8dl3ta4ec/59zmfatqe2ktcn/@public.gmane.org \
--cc=jarod-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
--cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/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