Skip to contentSkip to conversation

package/avahi: configure option pygtk was renamed to pygobject

PATCH New Bernd Kuhls 4 participants 5 messages Nov 27, 2017 – Dec 3, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/avahi: configure option pygtk was renamed to pygobject

See corresponding commit:
https://github.com/lathiat/avahi/commit/142124dae6f043085aba59fca4657c56b2b23b65

Fixes
http://autobuild.buildroot.net/results/1e9/1e974c814ae4236077a869339be1143a9af7e5cd/
http://autobuild.buildroot.net/results/010/0101b1205aec5a0c9c6509edf3d302aeaa3bd0ca/
http://autobuild.buildroot.net/results/572/5721634ffa2a4544a82dda08c1fcea331ecdadaf/

---
 package/avahi/avahi.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/avahi/avahi.mk +1 -1
index b89887b4c7..c8f1af9a9d 100644
@@ -77,7 +77,7 @@ AVAHI_CONF_OPTS = \
 	--disable-gtk \
 	--disable-gtk3 \
 	--disable-gdbm \
-	--disable-pygtk \
+	--disable-pygobject \
 	--disable-mono \
 	--disable-monodoc \
 	--disable-stack-protector \
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 package/avahi: configure option pygtk was renamed to pygobject

Bernd, All,

On 2017-11-27 21:27 +0100, Bernd Kuhls spake thusly:

Quoted 18 lines

See corresponding commit:
https://github.com/lathiat/avahi/commit/142124dae6f043085aba59fca4657c56b2b23b65

Fixes
http://autobuild.buildroot.net/results/1e9/1e974c814ae4236077a869339be1143a9af7e5cd/
http://autobuild.buildroot.net/results/010/0101b1205aec5a0c9c6509edf3d302aeaa3bd0ca/
http://autobuild.buildroot.net/results/572/5721634ffa2a4544a82dda08c1fcea331ecdadaf/

---
 package/avahi/avahi.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/avahi/avahi.mk +0 -0
index b89887b4c7..c8f1af9a9d 100644

package/avahi/avahi.mk AVAHI_CONF_OPTS = \ · line 80

Quoted 5 lines
package/avahi/avahi.mk +1 -1
@@ -77,7 +77,7 @@ AVAHI_CONF_OPTS = \
 	--disable-gtk \
 	--disable-gtk3 \
 	--disable-gdbm \
-	--disable-pygtk \
+	--disable-pygobject \

This is incorrect, because then this disables the full python support.

So, either we do without python-gobject and we remove all the python handling in avahi.mk, or we bump python-gobject and fix the dependency chain.

Regards,
Yann E. MORIN.

Quoted 10 lines
package/avahi/avahi.mk +0 -0
 	--disable-mono \
 	--disable-monodoc \
 	--disable-stack-protector \
Signature · 6 lines
2.11.0

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#2 lore raw

PATCH 1/1 package/avahi: configure option pygtk was renamed to pygobject

Hi Yann,

Quoted 27 lines · Yann E. MORIN

On 2017-11-27 21:27 +0100, Bernd Kuhls spake thusly:

Quoted 18 lines

See corresponding commit:
https://github.com/lathiat/avahi/commit/142124dae6f043085aba59fca4657c56b2b23b65

Fixes
http://autobuild.buildroot.net/results/1e9/1e974c814ae4236077a869339be1143a9af7e5cd/
http://autobuild.buildroot.net/results/010/0101b1205aec5a0c9c6509edf3d302aeaa3bd0ca/
http://autobuild.buildroot.net/results/572/5721634ffa2a4544a82dda08c1fcea331ecdadaf/

---
 package/avahi/avahi.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/avahi/avahi.mk +0 -0
index b89887b4c7..c8f1af9a9d 100644

package/avahi/avahi.mk AVAHI_CONF_OPTS = \ · line 80

Quoted 5 lines
package/avahi/avahi.mk +1 -1
@@ -77,7 +77,7 @@ AVAHI_CONF_OPTS = \
 	--disable-gtk \
 	--disable-gtk3 \
 	--disable-gdbm \
-	--disable-pygtk \
+	--disable-pygobject \

This is incorrect, because then this disables the full python support.

Quoted 3 lines

So, either we do without python-gobject and we remove all the python handling in avahi.mk, or we bump python-gobject and fix the dependency chain.

Newer versions of python-gobject depend on GObject introspection. Buildroot does not currently support introspection.

http://lists.busybox.net/pipermail/buildroot/2017-February/184645.html

Cross compiling introspection is a painful exercise:

http://patchwork.ozlabs.org/patch/828791/

baruch

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 package/avahi: configure option pygtk was renamed to pygobject

Baruch, All,

On 2017-11-28 15:17 +0200, Baruch Siach spake thusly:

Quoted 28 lines · Yann E. MORIN
Quoted 27 lines

On 2017-11-27 21:27 +0100, Bernd Kuhls spake thusly:

Quoted 18 lines

See corresponding commit:
https://github.com/lathiat/avahi/commit/142124dae6f043085aba59fca4657c56b2b23b65

Fixes
http://autobuild.buildroot.net/results/1e9/1e974c814ae4236077a869339be1143a9af7e5cd/
http://autobuild.buildroot.net/results/010/0101b1205aec5a0c9c6509edf3d302aeaa3bd0ca/
http://autobuild.buildroot.net/results/572/5721634ffa2a4544a82dda08c1fcea331ecdadaf/

---
 package/avahi/avahi.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/avahi/avahi.mk +0 -0
index b89887b4c7..c8f1af9a9d 100644

package/avahi/avahi.mk AVAHI_CONF_OPTS = \ · line 80

Quoted 5 lines
package/avahi/avahi.mk +1 -1
@@ -77,7 +77,7 @@ AVAHI_CONF_OPTS = \
 	--disable-gtk \
 	--disable-gtk3 \
 	--disable-gdbm \
-	--disable-pygtk \
+	--disable-pygobject \

This is incorrect, because then this disables the full python support.

Quoted 8 lines
Quoted 3 lines

So, either we do without python-gobject and we remove all the python handling in avahi.mk, or we bump python-gobject and fix the dependency chain.

Newer versions of python-gobject depend on GObject introspection. Buildroot does not currently support introspection.

http://lists.busybox.net/pipermail/buildroot/2017-February/184645.html

So, we'll have to do without python support in avahi... :-/

However, coming back to the original problem. Disabliong pygobject does disable building of avahi-python:

Building avahi-python: no (You need python, pygobject and python-dbus!)

But it seems that python support might still be enabled:

Enable Python: yes

But none of the ELF files installed by avahi depend on libpython.

That's weird...

Bernd, the commit log should explain all this...

Quoted 2 lines

Cross compiling introspection is a painful exercise:
http://patchwork.ozlabs.org/patch/828791/

Yep, I'm aware of that effort. This gobject introspection is a real PITA...

Regards,
Yann E. MORIN.

Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
#4 lore raw

PATCH 1/1 package/avahi: configure option pygtk was renamed to pygobject

In reply to Bernd Kuhls

Hello,

Quoted 8 lines · Bernd Kuhls

See corresponding commit:
https://github.com/lathiat/avahi/commit/142124dae6f043085aba59fca4657c56b2b23b65

Fixes
http://autobuild.buildroot.net/results/1e9/1e974c814ae4236077a869339be1143a9af7e5cd/
http://autobuild.buildroot.net/results/010/0101b1205aec5a0c9c6509edf3d302aeaa3bd0ca/
http://autobuild.buildroot.net/results/572/5721634ffa2a4544a82dda08c1fcea331ecdadaf/

Quoted 4 lines
---
 package/avahi/avahi.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

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