[Bug 1489379] Re: LTE: ISST:leeklp4 no mpath choices for install ubuntu 15.10

2015-09-10 Thread Launchpad Bug Tracker
This bug was fixed in the package multipath-tools - 0.5.0-7ubuntu4

---
multipath-tools (0.5.0-7ubuntu4) wily; urgency=medium

  * Disable -fexceptions on multipath-udeb (LP: #1489379): the flag causes
libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
which is not available in the installer environment.
- debian/patches/disable-fexceptions-udeb.patch: conditionally disable
  -fexceptions with CFLAGS_DISABLE_FEXCEPTIONS.
- debian/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.

 -- Mauricio Faria de Oliveira   Thu, 03
Sep 2015 07:29:59 -0400

** Changed in: multipath-tools (Ubuntu)
   Status: Triaged => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489379

Title:
  LTE: ISST:leeklp4 no mpath choices for install ubuntu 15.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1489379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489379] Re: LTE: ISST:leeklp4 no mpath choices for install ubuntu 15.10

2015-09-04 Thread Mathieu Trudel-Lapierre
Assigning to me and unsubscribing sponsors, I'll just do the review and
upload the patch as necessary.

** Changed in: multipath-tools (Ubuntu)
   Status: New => Triaged

** Changed in: multipath-tools (Ubuntu)
   Importance: Undecided => High

** Changed in: multipath-tools (Ubuntu)
 Assignee: (unassigned) => Mathieu Trudel-Lapierre (mathieu-tl)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489379

Title:
  LTE: ISST:leeklp4 no mpath choices for install ubuntu 15.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1489379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489379] Re: LTE: ISST:leeklp4 no mpath choices for install ubuntu 15.10

2015-09-03 Thread Ubuntu Foundations Team Bug Bot
The attachment "Disable -fexceptions when building multipath-udeb" seems
to be a debdiff.  The ubuntu-sponsors team has been subscribed to the
bug report so that they can review and hopefully sponsor the debdiff.
If the attachment isn't a patch, please remove the "patch" flag from the
attachment, remove the "patch" tag, and if you are member of the
~ubuntu-sponsors, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issue please contact him.]

** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489379

Title:
  LTE: ISST:leeklp4 no mpath choices for install ubuntu 15.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1489379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489379] Re: LTE: ISST:leeklp4 no mpath choices for install ubuntu 15.10

2015-09-03 Thread Mauricio Faria de Oliveira
I'm attaching a patch that solves the issue; verification steps below.
It disables -fexceptions when building multipath-udeb.

(I had in mind something more elegant, like only adding -fno-exceptions
from debian/rules into DEB_CFLAGS_MAINT_APPEND as done w/ -static-
libgcc, but that way it doesn't override the post-added -fexceptions in
Makefile.inc).. and found no other variable that would override it w/
less changes. So it's adding a patch to Makefile.inc and it does the
job.)

Some comments with more details/explanation of the issue were not
mirrored yet; should be on their way.


Build verification:
--

Checking the build log, the 2 tur.o objects are built correctly:
1) multipath-udeb: with -static-libgcc and without -fexceptions
2) multipath deb: without -static-libgcc and with -fexceptions (default)

$ dpkg-buildpackage 2>&1 | tee ../dpkg-buildpackage.log

$ grep -- '-o tur.o' ../dpkg-buildpackage.log
cc -g -O3 -fPIE -fstack-protector-strong -Wformat 
-Werror=format-security -static-libgcc -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -Wunused 
-Wstrict-prototypes -fPIC -DLIB_STRING=\"lib\" -I.. -c -o tur.o tur.c
cc -g -O3 -fPIE -fstack-protector-strong -Wformat 
-Werror=format-security -D_FORTIFY_SOURCE=2 -O2 -g -pipe -Wall 
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector 
--param=ssp-buffer-size=4 -Wunused -Wstrict-prototypes -fPIC 
-DLIB_STRING=\"lib\" -I.. -c -o tur.o tur.c

Checking the build output, the ELF objects (don't) dyn-link to libgcc_s as 
appropriate:
1) multipath-udeb: ELF objects don't dyn-link with libgcc_s
2) multipath deb: ELF objects dyn-link with libgcc_s

$ find debian/tmp-multipath-udeb/ | while read file; do file $file | 
grep -q ELF && objdump -x $file | grep -q 'NEEDED.*libgcc_s' && echo $file 
needs libgcc_s; done
$

$ find debian/tmp/ | while read file; do file $file | grep -q ELF && 
objdump -x $file | grep -q 'NEEDED.*libgcc_s' && echo $file needs libgcc_s; done
debian/tmp/lib/libmultipath.so.0 needs libgcc_s
debian/tmp/lib/multipath/libchecktur.so needs libgcc_s
debian/tmp/sbin/multipathd needs libgcc_s
$


Installer verification:
---

Configure multipath.conf for using tur with QEMU/KVM SCSI disks:

~ # cat  | A dynamic linking error occurred: (libgcc_s.so.1: cannot open 
shared object file: No such file or directory)
uuid hcildev dev_t pri dm_st chk_st vend/prod/rev  dev_st 
 0:0:1:0 sda 8:0   -1  undef faulty QEMU,QEMU HARDDISK running
 0:0:2:0 sdb 8:16  -1  undef faulty QEMU,QEMU HARDDISK running
...

Install the new udeb:

~ # udpkg -i multipath-
udeb_0.5.0-7ubuntu3fexceptions1_ppc64el.udeb

Re-test (now OK):

~ # multipath -v3
...
= paths list =
uuid   hcildev dev_t pri dm_st chk_st 
vend/prod/re
0QEMU_QEMU_HARDDISK_helloworld 0:0:1:0 sda 8:0   1   undef ready  
QEMU,QEMU HA
0QEMU_QEMU_HARDDISK_helloworld 0:0:2:0 sdb 8:16  1   undef ready  
QEMU,QEMU HA
...
create: mpatha (0QEMU_QEMU_HARDDISK_helloworld) undef QEMU,QEMU HARDDISK
size=128G features='0' hwhandler='0' wp=undef
|-+- policy='round-robin 0' prio=1 status=undef
| `- 0:0:1:0 sda 8:0  undef ready running
`-+- policy='round-robin 0' prio=1 status=undef
  `- 0:0:2:0 sdb 8:16 undef ready running
...

** Patch added: "Disable -fexceptions when building multipath-udeb"
   
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1489379/+attachment/4457034/+files/multipath-tools_disable-fexceptions-udeb.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489379

Title:
  LTE: ISST:leeklp4 no mpath choices for install ubuntu 15.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1489379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489379] Re: LTE: ISST:leeklp4 no mpath choices for install ubuntu 15.10

2015-08-27 Thread Brahadambal Srinivasan
** Package changed: ubuntu => multipath-tools (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489379

Title:
  LTE: ISST:leeklp4 no mpath choices for install ubuntu 15.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1489379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1489379] Re: LTE: ISST:leeklp4 no mpath choices for install ubuntu 15.10

2015-08-27 Thread Ubuntu Foundations Team Bug Bot
Thank you for taking the time to report this bug and helping to make
Ubuntu better.  It seems that your bug report is not filed about a
specific source package though, rather it is just filed against Ubuntu
in general.  It is important that bug reports be filed about source
packages so that people interested in the package can find the bugs
about it.  You can find some hints about determining what package your
bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage.
You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit
https://bugs.launchpad.net/ubuntu/+bug/1489379/+editstatus and add the
package name in the text box next to the word Package.

[This is an automated message.  I apologize if it reached you
inappropriately; please just reply to this message indicating so.]

** Tags added: bot-comment

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1489379

Title:
  LTE: ISST:leeklp4 no mpath choices for install ubuntu 15.10

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/1489379/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs