Skip to contentSkip to conversation

Configure uses wrong libtool on Darwin

Qemu-devel C.W. Betts 3 participants 3 messages Sep 23, 2012 – Nov 7, 2017

lore
Share & tools
lore

C.W. Betts

author
#0 lore raw

Public bug reported:

On Darwin/OS X, there are two versions of libtool: the GNU libtool, and Apple's libtool. Both are installed, but Apple's libtool (libtool) won't build libcacard that Qemu uses, but Gnu's libtool (glibtool) does. I get around using Apple's libtool by passing LIBTOOL=glibtool when configuring; unfortunately this variable isn't preserved so when Qemu's configure changes it's not passed. A simple switch in the configure script could check for Darwin, then if present, use glibtool. Or configure could check the features of libtool, see if they can build libcacard, then look for alternatives like glibtool.

This bug was probably introduced when libcacard was added to Qemu, and is present in commit 93b6599734f81328ee3d608f57667742cafeea72.

** Affects: qemu
Importance: Undecided
Status: New

Signature · 26 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1054812

Title:
  Configure uses wrong libtool on Darwin

Status in QEMU:
  New

Bug description:
  On Darwin/OS X, there are two versions of libtool: the GNU libtool,
  and Apple's libtool. Both are installed, but Apple's libtool (libtool)
  won't build libcacard that Qemu uses, but Gnu's libtool (glibtool)
  does. I get around using Apple's libtool by passing LIBTOOL=glibtool
  when configuring; unfortunately this variable isn't preserved so when
  Qemu's configure changes it's not passed. A simple switch in the
  configure script could check for Darwin, then if present, use
  glibtool. Or configure could check the features of libtool, see if
  they can build libcacard, then look for alternatives like glibtool.

  This bug was probably introduced when libcacard was added to Qemu, and
  is present in commit 93b6599734f81328ee3d608f57667742cafeea72.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1054812/+subscriptions
#1 lore raw

Since libcacard is not longer part of QEMU, I assume this is not an issue anymore today. So can we close this bug nowadays?

** Changed in: qemu
Status: New => Incomplete

Signature · 26 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1054812

Title:
  Configure uses wrong libtool on Darwin

Status in QEMU:
  Incomplete

Bug description:
  On Darwin/OS X, there are two versions of libtool: the GNU libtool,
  and Apple's libtool. Both are installed, but Apple's libtool (libtool)
  won't build libcacard that Qemu uses, but Gnu's libtool (glibtool)
  does. I get around using Apple's libtool by passing LIBTOOL=glibtool
  when configuring; unfortunately this variable isn't preserved so when
  Qemu's configure changes it's not passed. A simple switch in the
  configure script could check for Darwin, then if present, use
  glibtool. Or configure could check the features of libtool, see if
  they can build libcacard, then look for alternatives like glibtool.

  This bug was probably introduced when libcacard was added to Qemu, and
  is present in commit 93b6599734f81328ee3d608f57667742cafeea72.

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1054812/+subscriptions
#2 lore raw
In reply to C.W. Betts

Yes, libtool handling was removed entirely in commit e999ee443496b, so this bug is no longer present.

** Changed in: qemu
Status: Incomplete => Fix Released

Signature · 26 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1054812

Title:
  Configure uses wrong libtool on Darwin

Status in QEMU:
  Fix Released

Bug description:
  On Darwin/OS X, there are two versions of libtool: the GNU libtool,
  and Apple's libtool. Both are installed, but Apple's libtool (libtool)
  won't build libcacard that Qemu uses, but Gnu's libtool (glibtool)
  does. I get around using Apple's libtool by passing LIBTOOL=glibtool
  when configuring; unfortunately this variable isn't preserved so when
  Qemu's configure changes it's not passed. A simple switch in the
  configure script could check for Darwin, then if present, use
  glibtool. Or configure could check the features of libtool, see if
  they can build libcacard, then look for alternatives like glibtool.

  This bug was probably introduced when libcacard was added to Qemu, and
  is present in commit 93b6599734f81328ee3d608f57667742cafeea72.

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