Skip to contentSkip to conversation

package/libcdio: needs host-pkgconf

PATCH In review Bernd Kuhls 3 participants 4 messages Feb 9, 2025 – Mar 11, 2025 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/libcdio: needs host-pkgconf

With commit
https://github.com/libcdio/libcdio/commit/1f94664f766ef66b992e1c53a5e817a37988d894
upstream added a mandatory dependency to pkgconf in version 2.1.1.

Buildroot bumped libcdio with 920f45bd244166c8401dd05e054fc894eba143bf, a backport is not needed.

---
 package/libcdio/libcdio.mk | 1 +
 1 file changed, 1 insertion(+)
package/libcdio/libcdio.mk +1 -0
index b84ae27759..d4b277a15b 100644
@@ -12,6 +12,7 @@ LIBCDIO_LICENSE = GPL-3.0+
 LIBCDIO_LICENSE_FILES = COPYING
 LIBCDIO_CPE_ID_VENDOR = gnu
 LIBCDIO_CONF_OPTS = --disable-example-progs --disable-cddb
+LIBCDIO_DEPENDENCIES = host-pkgconf
 
 ifeq ($(BR2_ENABLE_LOCALE),)
 LIBCDIO_DEPENDENCIES += libiconv
Signature · 6 lines
2.39.5

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

Hello Bernd,

Le 09/02/2025 à 12:29, Bernd Kuhls a écrit :

Quoted 3 lines

With commit
https://github.com/libcdio/libcdio/commit/1f94664f766ef66b992e1c53a5e817a37988d894
upstream added a mandatory dependency to pkgconf in version 2.1.1.

Actually, host-pkgconf seems missing since it was added into Buildroot.

https://github.com/libcdio/libcdio/commit/146bba9e1efc02fec2cdec68fab3b033adb590d1

https://src.fedoraproject.org/rpms/libcdio/blob/rawhide/f/libcdio.spec#_20

https://src.fedoraproject.org/rpms/libcdio/blob/5e8b21af231f2237e6f66759556ebe8e3e81493b/f/libcdio.spec#_14

Quoted 3 lines

Buildroot bumped libcdio with 920f45bd244166c8401dd05e054fc894eba143bf, a backport is not needed.

So a backport seems required instead.

Best regards,
Romain

Quoted 11 lines
---
 package/libcdio/libcdio.mk | 1 +
 1 file changed, 1 insertion(+)
package/libcdio/libcdio.mk +0 -0
index b84ae27759..d4b277a15b 100644

package/libcdio/libcdio.mk LIBCDIO_LICENSE = GPL-3.0+ · line 18

Quoted 7 lines
package/libcdio/libcdio.mk +1 -0
@@ -12,6 +12,7 @@ LIBCDIO_LICENSE = GPL-3.0+
 LIBCDIO_LICENSE_FILES = COPYING
 LIBCDIO_CPE_ID_VENDOR = gnu
 LIBCDIO_CONF_OPTS = --disable-example-progs --disable-cddb
+LIBCDIO_DEPENDENCIES = host-pkgconf
 
 ifeq ($(BR2_ENABLE_LOCALE),)
 LIBCDIO_DEPENDENCIES += libiconv

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

#2 lore raw

Hi Romain, Bernd,

Quoted 13 lines · Romain Naour via buildroot

Hello Bernd,

Le 09/02/2025 à 12:29, Bernd Kuhls a écrit :

Quoted 3 lines

With commit
https://github.com/libcdio/libcdio/commit/1f94664f766ef66b992e1c53a5e817a37988d894
upstream added a mandatory dependency to pkgconf in version 2.1.1.

Actually, host-pkgconf seems missing since it was added into Buildroot.

https://github.com/libcdio/libcdio/commit/146bba9e1efc02fec2cdec68fab3b033adb590d1

https://src.fedoraproject.org/rpms/libcdio/blob/rawhide/f/libcdio.spec#_20

Quoted 7 lines

https://src.fedoraproject.org/rpms/libcdio/blob/5e8b21af231f2237e6f66759556ebe8e3e81493b/f/libcdio.spec#_14

Quoted 3 lines

Buildroot bumped libcdio with 920f45bd244166c8401dd05e054fc894eba143bf, a backport is not needed.

So a backport seems required instead.

I finally applied this patch on master in its original form (that is, with the comment saying that a backport is _not_ needed).

I tested in lts branches and the issue is not happening. Even if libcdio always generated a pkgconfig .pc file (to be used by other packages with pkgconfig), its use of pkgconfig at configure time was introduced in 2.1.1.

Quoted 5 lines

Best regards,
Romain

Quoted 2 lines

Best regards,

Julien.
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot

A message that is not in the archive (sent off-list or not yet received): f638ed96-aa7b-46af-8c5a-1ca9763e41f7__42677.383792919$1739226794$gmane$org@smile.fr

#4 lore raw

Am Mon, 10 Feb 2025 23:32:43 +0100 schrieb Romain Naour via buildroot:

Quoted 5 lines

Hello Bernd,

Le 09/02/2025 à 12:29, Bernd Kuhls a écrit :

Quoted 2 lines

With commit
https://github.com/libcdio/libcdio/commit/

1f94664f766ef66b992e1c53a5e817a37988d894

Quoted 5 lines
Quoted 1 line

upstream added a mandatory dependency to pkgconf in version 2.1.1.

Actually, host-pkgconf seems missing since it was added into Buildroot.

https://github.com/libcdio/libcdio/commit/

146bba9e1efc02fec2cdec68fab3b033adb590d1

Hi Romain,

I fail to see why the creation of libcdio.pc by libcdio requires pkgconf during buildtime. In fact I reverted the bump to 2.2.0 and build libcdio using this defconfig

BR2_x86_64=y
BR2_x86_corei7=y
BR2_TOOLCHAIN_EXTERNAL=y BR2_TOOLCHAIN_EXTERNAL_BOOTLIN_X86_64_CORE_I7_GLIBC_BLEEDING_EDGE=y BR2_PACKAGE_LIBCDIO=y

without problems:

$ ls -la output/build/ | grep "cdio\|pkgconf"
drwxr-xr-x 11 bernd bernd 4096 17. Feb 19:25 libcdio-2.1.0
$ 

Regards, Bernd

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot