Package Details: multipath-tools 0.7.4-1

Git Clone URL: https://aur.archlinux.org/multipath-tools.git (read-only)
Package Base: multipath-tools
Description: Multipath tools for Linux (including kpartx)
Upstream URL: http://christophe.varoqui.free.fr/
Licenses: GPL2
Conflicts: multipath-tools-git
Submitter: xyproto
Maintainer: Bevan
Last Packager: Bevan
Votes: 78
Popularity: 1.488406
First Submitted: 2013-01-24 14:33
Last Updated: 2017-11-15 23:20

Dependencies (7)

Sources (1)

Latest Comments

Bevan commented on 2017-11-12 12:48

On requiring systemd:

As far as I can see, the only additional feature is the systemd integration itself. If this was a package in the official repos, adding systemd as dependency would probably be the right thing to do. Here in AUR it depends on whether there are more people running their systems without systemd or more people with systemd building this package in a clean chroot. My gut feeling is that the first group is larger, so I have added systemd as an optional dependency only.

Enabling multipathd.{service,socket} fails:

Running "systemctl enable multipathd.service" currently fails because multipathd.socket is lacking an [Install] section. This is an upstream issue which will be reported soon.

Bevan commented on 2017-10-19 20:53

daniel_shub: Thanks for the hint! Although this package does not require systemd, it probably provides some additional functionality if systemd is installed while building. I will have a look at this (probably not before next week).

Although, if the additional functionality is limited, it may be a good idea to leave systemd as an optional dependency for those who want it (as it is currently the case for ceph).

daniel_shub commented on 2017-10-19 20:13

Although systemd is included in the base group and therefore does not need to be included in depends, it is not in the base-devel group and therefore does need to be included in makedepends to enable the package to be built in a clean chroot: https://wiki.archlinux.org/index.php/DeveloperWiki:Building_in_a_Clean_Chroot

Bevan commented on 2017-09-30 20:29

alaricljs: Thanks for the report! This is an upstream bug which should be easy to fix. I added a corresponding patch. Could you please confirm that it solves the issue?

alaricljs commented on 2017-09-30 17:31

Don't know if this is upstream but the build dies on me because I have a Samba domain, previous versions have worked.

ln -sf libdmmp.so.0.1.0 libdmmp.so
install: creating directory 'docs/man'
'docs/libdmmp.h.3' -> 'docs/man/libdmmp.h.3'
cat libdmmp/libdmmp.h | \
perl docs/doc-preclean.pl > /tmp/MYDOMAIN\mylogin/tmp.VAFmG0J7Zh
/bin/sh: line 1: /tmp/MYDOMAINmylogin/tmp.VAFmG0J7Zh: No such file or directory

I obfuscated my domain and login, but as you can see since there is a \ it needs to be quoted or escaped.

Case_Of commented on 2017-09-20 20:45

@Bevan: It works now, thanks. And you're right, I do not have systemd here.

Bevan commented on 2017-09-20 19:45

Case_Of: This looks like you don't use systemd on your system and there is an upstream bug in this situation. I added a patch which should resolve this issue. Can you confirm it works now and that you are indeed having no systemd installed?

Case_Of commented on 2017-09-20 19:33

An error occurs during build:

cc -O2 -g -pipe -Wall -Wextra -Wformat=2 -Werror=implicit-int -Werror=implicit-function-declaration -Werror=format-security -Wno-sign-compare -Wno-unused-parameter -Wno-clobbered -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=4 -DLIB_STRING=\"lib64\" -DRUN_DIR=\"run\" -fPIE -DPIE -I../libmultipath -I../libmpathpersist -I../libmpathcmd -I../third-party -c -o main.o main.c
main.c: In function 'do_sd_notify':
main.c:182:2: error: implicit declaration of function 'sd_notify'; did you mean 'do_sd_notify'? [-Werror=implicit-function-declaration]
sd_notify(0, sd_notify_status());
^~~~~~~~~
do_sd_notify
main.c: In function 'post_config_state':
main.c:194:22: warning: unused variable 'old_state' [-Wunused-variable]
enum daemon_status old_state = running_state;
^~~~~~~~~
main.c: In function 'set_config_state':
main.c:212:22: warning: unused variable 'old_state' [-Wunused-variable]
enum daemon_status old_state = running_state;
^~~~~~~~~
At top level:
main.c:172:13: warning: 'do_sd_notify' defined but not used [-Wunused-function]
static void do_sd_notify(enum daemon_status old_state)
^~~~~~~~~~~~
cc1: some warnings being treated as errors
make[1]: *** [../Makefile.inc:128: main.o] Error 1
make[1]: Leaving directory '/home/quentin/multipath-tools/src/multipath-tools/multipathd'
make: *** [Makefile:24: recurse] Error 2
==> ERROR: A failure occurred in build().
Aborting...

kalsan commented on 2017-02-25 12:41

Would you mind adding 'armv7h' to the supported architectures? It's the only thing missing to install this package on a Raspberry Pi. Tested (modified the PKGBUILD and updated arch line only), works fine.

Bevan commented on 2017-02-02 21:31

Thanks. That should be fixed now.

All comments