Bug#899422: Jessie behavior

2018-05-31 Thread zigifex
Sorry, the behavior with Jessie is not the same as that with Stretch. dmsetup.static and lvm.static require $(PTHREAD_LIBS) and -lpcre in any order If --disable-selinux is also given then dmsetup.static and lvm.static require $(PTHREAD_LIBS)

Bug#899422:

2018-05-24 Thread zigifex
Control: found -1 lvm2/2.02.111-2.2+deb8u1 Control: found -1 lvm2/2.02.176-4.1 -- The behavior with Jessie is the same as that with Stretch. So something changed between Wheezy and Jessie which doesn't allow reversing -lpcre and -lpthread.

Bug#899422: bug exists since Wheezy

2018-05-24 Thread zigifex
Control: found -1 lvm2/2.02.95-8 -- The bug exists in the source since Wheezy. From what I can tell, the targets dmsetup.static and lvm.static in tools/Makefile.in are the only ones that need to be modified. Depending on the source version the following fixes work: Wheezy: dmsetup.static and l

Bug#899422: compiling with static linking results in linker errors

2018-05-23 Thread zigifex
Source: lvm2 Version: 2.02.168-2 I downloaded the package source files by running "apt-get source lvm2" Then I ran "./configure --enable-static-link && make" Configuration was successful but compilation throws up linker errors when it gets to dmsetup.c. Below is the last part of the compiler log