Skip to contentSkip to conversation

lighttpd: remove fam as a PACKAGECONFIG option

PATCH Superseded Trevor Gamblin 4 participants 6 messages Sep 23, 2019 – Sep 27, 2019

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lighttpd: remove fam as a PACKAGECONFIG option

From: Trevor Gamblin <[email protected]>

lighttpd builds fail if "fam" (and therefore gamin) is enabled.

In conf/local.conf:

CORE_IMAGE_EXTRA_INSTALL += "lighttpd"
PACKAGECONFIG_append_pn-lighttpd = " fam"

bitbake error:

ERROR: Nothing PROVIDES 'gamin' (but /yow-lpggp31/tgamblin/oe-core.git/meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'lighttpd' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lighttpd', 'gamin']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'lighttpd', 'gamin']

Since gamin doesn't appear to have a recipe and hasn't been maintained for several years, this should be removed from the list of lighttpd PACKAGECONFIG options.

---
 meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb | 1 -
 1 file changed, 1 deletion(-)
meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb +0 -1
index 72990d02e5..3f9e4fec18 100644
@@ -39,7 +39,6 @@ PACKAGECONFIG[krb5] = "--with-krb5,--without-krb5,krb5"
 PACKAGECONFIG[pcre] = "--with-pcre,--without-pcre,libpcre"
 PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
 PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2"
-PACKAGECONFIG[fam] = "--with-fam,--without-fam,gamin"
 PACKAGECONFIG[webdav-props] = "--with-webdav-props,--without-webdav-props,libxml2 sqlite3"
 PACKAGECONFIG[webdav-locks] = "--with-webdav-locks,--without-webdav-locks,util-linux"
 PACKAGECONFIG[gdbm] = "--with-gdbm,--without-gdbm,gdbm"
Signature · 1 line
2.21.0
#1 lore raw
Quoted 31 lines · Trevor Gamblin

From: Trevor Gamblin <[email protected]>

lighttpd builds fail if "fam" (and therefore gamin) is enabled.

In conf/local.conf:

CORE_IMAGE_EXTRA_INSTALL += "lighttpd"
PACKAGECONFIG_append_pn-lighttpd = " fam"

bitbake error:

ERROR: Nothing PROVIDES 'gamin' (but /yow-lpggp31/tgamblin/oe-core.git/meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'lighttpd' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lighttpd', 'gamin']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'lighttpd', 'gamin']

Since gamin doesn't appear to have a recipe and hasn't been maintained for several years, this should be removed from the list of lighttpd PACKAGECONFIG options.

---
  meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb | 1 -
  1 file changed, 1 deletion(-)
meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb +0 -0
index 72990d02e5..3f9e4fec18 100644

meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb PACKAGECONFIG[krb5] = "--with-krb5,--without-krb5,krb5" · line 44

Quoted 7 lines
meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb +0 -1
@@ -39,7 +39,6 @@ PACKAGECONFIG[krb5] = "--with-krb5,--without-krb5,krb5"
  PACKAGECONFIG[pcre] = "--with-pcre,--without-pcre,libpcre"
  PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
  PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2"
-PACKAGECONFIG[fam] = "--with-fam,--without-fam,gamin"
  PACKAGECONFIG[webdav-props] = "--with-webdav-props,--without-webdav-props,libxml2 sqlite3"
  PACKAGECONFIG[webdav-locks] = "--with-webdav-locks,--without-webdav-locks,util-linux"
  PACKAGECONFIG[gdbm] = "--with-gdbm,--without-gdbm,gdbm"

While troubleshooting I learned that gamin has not been maintained for several years. See:

https://bugzilla.gnome.org/show_bug.cgi?id=454124

https://gitlab.gnome.org/Archive/gamin

Is there a reason why we'd want to keep it in the PACKAGECONFIG options list?

#2 lore raw
Quoted 51 lines · Trevor Gamblin
Quoted 4 lines · Trevor Gamblin

From: Trevor Gamblin <[email protected]>

lighttpd builds fail if "fam" (and therefore gamin) is enabled.

Quoted 8 lines

In conf/local.conf:

CORE_IMAGE_EXTRA_INSTALL += "lighttpd"
PACKAGECONFIG_append_pn-lighttpd = " fam"

bitbake error:

ERROR: Nothing PROVIDES 'gamin' (but

/yow-lpggp31/tgamblin/oe-core.git/meta/recipes-extended/lighttpd/ lighttpd_1.4.54.bb DEPENDS on or otherwise requires it)

Quoted 3 lines

NOTE: Runtime target 'lighttpd' is unbuildable, removing... Missing or unbuildable dependency chain was: ['lighttpd', 'gamin']
ERROR: Required build target 'core-image-minimal' has no buildable

providers.

Quoted 1 line

Missing or unbuildable dependency chain was: ['core-image-minimal',

'lighttpd', 'gamin']

Review

Quoted 11 lines

Since gamin doesn't appear to have a recipe and hasn't been maintained for several years, this should be removed from the list of lighttpd PACKAGECONFIG options.

---
  meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb | 1 -
  1 file changed, 1 deletion(-)
(quoted diff) +0 -0

b/meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb

meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb PACKAGECONFIG[krb5] = "--with-krb5,--without-krb5,krb5" · line 42

Quoted 9 lines

index 72990d02e5..3f9e4fec18 100644

meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb +0 -1
@@ -39,7 +39,6 @@ PACKAGECONFIG[krb5] = "--with-krb5,--without-krb5,krb5"
  PACKAGECONFIG[pcre] = "--with-pcre,--without-pcre,libpcre"
  PACKAGECONFIG[zlib] = "--with-zlib,--without-zlib,zlib"
  PACKAGECONFIG[bzip2] = "--with-bzip2,--without-bzip2,bzip2"
-PACKAGECONFIG[fam] = "--with-fam,--without-fam,gamin"
  PACKAGECONFIG[webdav-props] =

"--with-webdav-props,--without-webdav-props,libxml2 sqlite3"

meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb PACKAGECONFIG[krb5] = "--with-krb5,--without-krb5,krb5" · line 43

Quoted 1 line
meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb +0 -0
  PACKAGECONFIG[webdav-locks] =

"--with-webdav-locks,--without-webdav-locks,util-linux"

meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb PACKAGECONFIG[krb5] = "--with-krb5,--without-krb5,krb5" · line 44

Quoted 1 line
meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb +0 -0
  PACKAGECONFIG[gdbm] = "--with-gdbm,--without-gdbm,gdbm"

While troubleshooting I learned that gamin has not been maintained for several years. See:

Quoted 7 lines

https://bugzilla.gnome.org/show_bug.cgi?id=454124

https://gitlab.gnome.org/Archive/gamin

Is there a reason why we'd want to keep it in the PACKAGECONFIG options list?

Gamin was dropped from oe-core four years ago:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=aa05be4882eed830c2fc91f93653223edfab2a0c

Gamin itself has not been updated since 2008.

Seems like it is safe to drop the option.

Quoted 7 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw
In reply to Trevor Gamblin
Quoted 17 lines · Trevor Gamblin

From: Trevor Gamblin<[email protected]>

lighttpd builds fail if "fam" (and therefore gamin) is enabled.

In conf/local.conf:

CORE_IMAGE_EXTRA_INSTALL += "lighttpd"
PACKAGECONFIG_append_pn-lighttpd = " fam"

bitbake error:

ERROR: Nothing PROVIDES 'gamin' (but /yow-lpggp31/tgamblin/oe-core.git/meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'lighttpd' is unbuildable, removing...
Missing or unbuildable dependency chain was: ['lighttpd', 'gamin']
ERROR: Required build target 'core-image-minimal' has no buildable providers.
Missing or unbuildable dependency chain was: ['core-image-minimal', 'lighttpd', 'gamin']

Quoted 3 lines

Since gamin doesn't appear to have a recipe and hasn't been maintained for several years, this should be removed from the list of lighttpd PACKAGECONFIG options.

Non-default PACKAGECONFIGs are allowed to depend on recipes that are not in core, plenty of recipes do this. Otherwise there'd be no way to turn on options that have dependencies in other layers.

However, the fact that Gamin is very much dead is a good reason to remove the PACKAGECONFIG and simply hardcode --without-fam for good measure.

Ross

#4 lore raw
Quoted 33 lines · Ross Burton
Quoted 22 lines · Trevor Gamblin

From: Trevor Gamblin<[email protected]>

lighttpd builds fail if "fam" (and therefore gamin) is enabled.

In conf/local.conf:

CORE_IMAGE_EXTRA_INSTALL += "lighttpd"
PACKAGECONFIG_append_pn-lighttpd = " fam"

bitbake error:

ERROR: Nothing PROVIDES 'gamin' (but /yow-lpggp31/tgamblin/oe-
core.git/meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'lighttpd' is unbuildable, removing... Missing or unbuildable dependency chain was: ['lighttpd',
'gamin']
ERROR: Required build target 'core-image-minimal' has no
buildable providers.
Missing or unbuildable dependency chain was: ['core-image-
minimal', 'lighttpd', 'gamin']

Quoted 3 lines

Since gamin doesn't appear to have a recipe and hasn't been maintained for several years, this should be removed from the list of lighttpd PACKAGECONFIG options.

Non-default PACKAGECONFIGs are allowed to depend on recipes that are not
in core, plenty of recipes do this. Otherwise there'd be no way to turn
on options that have dependencies in other layers.

Quoted 3 lines

However, the fact that Gamin is very much dead is a good reason to remove the PACKAGECONFIG and simply hardcode --without-fam for good measure.

Agreed, can we have a v2 with --without-fam hardcoded in EXTRA_OECONF please?

Cheers,

Richard

#5 lore raw
Quoted 36 lines · Richard Purdie
Quoted 32 lines · Ross Burton
Quoted 22 lines · Trevor Gamblin

From: Trevor Gamblin<[email protected]>

lighttpd builds fail if "fam" (and therefore gamin) is enabled.

In conf/local.conf:

CORE_IMAGE_EXTRA_INSTALL += "lighttpd"
PACKAGECONFIG_append_pn-lighttpd = " fam"

bitbake error:

ERROR: Nothing PROVIDES 'gamin' (but /yow-lpggp31/tgamblin/oe-
core.git/meta/recipes-extended/lighttpd/lighttpd_1.4.54.bb DEPENDS on or otherwise requires it)
NOTE: Runtime target 'lighttpd' is unbuildable, removing... Missing or unbuildable dependency chain was: ['lighttpd',
'gamin']
ERROR: Required build target 'core-image-minimal' has no
buildable providers.
Missing or unbuildable dependency chain was: ['core-image-
minimal', 'lighttpd', 'gamin']

Quoted 3 lines

Since gamin doesn't appear to have a recipe and hasn't been maintained for several years, this should be removed from the list of lighttpd PACKAGECONFIG options.

Non-default PACKAGECONFIGs are allowed to depend on recipes that are not
in core, plenty of recipes do this. Otherwise there'd be no way to turn
on options that have dependencies in other layers.

Quoted 3 lines

However, the fact that Gamin is very much dead is a good reason to remove the PACKAGECONFIG and simply hardcode --without-fam for good measure.

Quoted 7 lines

Agreed, can we have a v2 with --without-fam hardcoded in EXTRA_OECONF please?

Cheers,

Richard

Done!