Skip to contentSkip to conversation

xorriso: disable libcdio

PATCH New Baruch Siach 3 participants 4 messages Apr 22, 2017 – Apr 26, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xorriso: disable libcdio

xorriso and libcdio define identically named symbols. This breaks static linking.

Besides, upstream suggested that on Linux the built-in libburn adapter is much better tested than libcdio.

Disable libcdio.

Fixes:
http://autobuild.buildroot.net/results/430/430a6b548fcc311f20ea71cecaa11fafac1d5a19/
http://autobuild.buildroot.net/results/a5d/a5d0f8bec0d39e48f6dfe4ecc07fe0ca3c6bd70a/

---
 package/xorriso/xorriso.mk | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)
package/xorriso/xorriso.mk +4 -9
index b2055804302e..1f095911f80f 100644
@@ -18,19 +18,14 @@ HOST_XORRISO_CONF_OPTS = \
 	--disable-libedit \
 	--disable-libacl
 
+# libcdio doesn't make sense for Linux
+# http://lists.gnu.org/archive/html/bug-xorriso/2017-04/msg00004.html
+XORRISO_CONF_OPTS = --disable-libcdio
+
 ifeq ($(BR2_PACKAGE_LIBICONV),y)
 XORRISO_DEPENDENCIES += libiconv
 endif
 
-ifeq ($(BR2_PACKAGE_LIBCDIO),y)
-XORRISO_DEPENDENCIES += host-pkgconf libcdio
-XORRISO_CONF_OPTS += \
-	--enable-pkg-check-modules \
-	--enable-libcdio
-else
-XORRISO_CONF_OPTS += --disable-libcdio
-endif
-
 ifeq ($(BR2_PACKAGE_READLINE),y)
 XORRISO_DEPENDENCIES += readline
 XORRISO_CONF_OPTS += --enable-libreadline
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 xorriso: disable libcdio

Looks good to me

Ack - Steve Kenton

Quoted 47 lines · Baruch Siach

xorriso and libcdio define identically named symbols. This breaks static linking.

Besides, upstream suggested that on Linux the built-in libburn adapter is much better tested than libcdio.

Disable libcdio.

Fixes:
http://autobuild.buildroot.net/results/430/430a6b548fcc311f20ea71cecaa11fafac1d5a19/
http://autobuild.buildroot.net/results/a5d/a5d0f8bec0d39e48f6dfe4ecc07fe0ca3c6bd70a/

---
  package/xorriso/xorriso.mk | 13 ++++---------
  1 file changed, 4 insertions(+), 9 deletions(-)
package/xorriso/xorriso.mk +4 -9
index b2055804302e..1f095911f80f 100644
@@ -18,19 +18,14 @@ HOST_XORRISO_CONF_OPTS = \
  	--disable-libedit \
  	--disable-libacl
 
+# libcdio doesn't make sense for Linux
+# http://lists.gnu.org/archive/html/bug-xorriso/2017-04/msg00004.html
+XORRISO_CONF_OPTS = --disable-libcdio
+
  ifeq ($(BR2_PACKAGE_LIBICONV),y)
  XORRISO_DEPENDENCIES += libiconv
  endif
 
-ifeq ($(BR2_PACKAGE_LIBCDIO),y)
-XORRISO_DEPENDENCIES += host-pkgconf libcdio
-XORRISO_CONF_OPTS += \
-	--enable-pkg-check-modules \
-	--enable-libcdio
-else
-XORRISO_CONF_OPTS += --disable-libcdio
-endif
-
  ifeq ($(BR2_PACKAGE_READLINE),y)
  XORRISO_DEPENDENCIES += readline
  XORRISO_CONF_OPTS += --enable-libreadline
#2 lore raw

PATCH 1/1 xorriso: disable libcdio

Hi Steve,

Quoted 3 lines · Steve Kenton

Looks good to me

Ack - Steve Kenton

Thanks.

I'll repeat your ack below in a format that patchwork understands:

The ack should be visible at http://patchwork.ozlabs.org/patch/753835/.

baruch

Quoted 47 lines · Baruch Siach
Quoted 45 lines

xorriso and libcdio define identically named symbols. This breaks static linking.

Besides, upstream suggested that on Linux the built-in libburn adapter is much better tested than libcdio.

Disable libcdio.

Fixes:
http://autobuild.buildroot.net/results/430/430a6b548fcc311f20ea71cecaa11fafac1d5a19/
http://autobuild.buildroot.net/results/a5d/a5d0f8bec0d39e48f6dfe4ecc07fe0ca3c6bd70a/

---
  package/xorriso/xorriso.mk | 13 ++++---------
  1 file changed, 4 insertions(+), 9 deletions(-)
package/xorriso/xorriso.mk +4 -9
index b2055804302e..1f095911f80f 100644
@@ -18,19 +18,14 @@ HOST_XORRISO_CONF_OPTS = \
  	--disable-libedit \
  	--disable-libacl
+# libcdio doesn't make sense for Linux
+# http://lists.gnu.org/archive/html/bug-xorriso/2017-04/msg00004.html
+XORRISO_CONF_OPTS = --disable-libcdio
+
  ifeq ($(BR2_PACKAGE_LIBICONV),y)
  XORRISO_DEPENDENCIES += libiconv
  endif
-ifeq ($(BR2_PACKAGE_LIBCDIO),y)
-XORRISO_DEPENDENCIES += host-pkgconf libcdio
-XORRISO_CONF_OPTS += \
-	--enable-pkg-check-modules \
-	--enable-libcdio
-else
-XORRISO_CONF_OPTS += --disable-libcdio
-endif
-
  ifeq ($(BR2_PACKAGE_READLINE),y)
  XORRISO_DEPENDENCIES += readline
  XORRISO_CONF_OPTS += --enable-libreadline
Signature · 3 lines
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.52.368.4656, http://www.tkos.co.il -
#3 lore raw

PATCH 1/1 xorriso: disable libcdio

In reply to Baruch Siach

Hello,

Quoted 12 lines · Baruch Siach

xorriso and libcdio define identically named symbols. This breaks static linking.

Besides, upstream suggested that on Linux the built-in libburn adapter is much better tested than libcdio.

Disable libcdio.

Fixes:
http://autobuild.buildroot.net/results/430/430a6b548fcc311f20ea71cecaa11fafac1d5a19/
http://autobuild.buildroot.net/results/a5d/a5d0f8bec0d39e48f6dfe4ecc07fe0ca3c6bd70a/

Quoted 6 lines
---
 package/xorriso/xorriso.mk | 13 ++++---------
 1 file changed, 4 insertions(+), 9 deletions(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com