[Buildroot] [PATCH] Fix avahi build

Peter Korsgaard jacmet at uclibc.org
Sat May 16 12:04:55 UTC 2009


>>>>> "Thiago" == Thiago A Corrêa <thiago.correa at gmail.com> writes:

Hi,

 >> What exactly does this fix? It seems like we should have /var/lib/ as
 >> we're removing /var/lib/avahi-autoipd?
 >> 
 >> A bit more detailed description in your commit message would be good.

 Thiago> Perhaps the order of packages influenced it once that it built onetime
 Thiago> for whoever wrote that.

We use it for several projects (most not using much else than
busybox), so it gets built atleast one a day here without problems.

 Thiago> make atngw100-extended_defconfig && make

I take it that you mean atngw100-expanded_defconfig? Did you try
building that after your latest changes? The defconfig seems
completely bogus to me - docker tried to use pkg-config from
staging_dir instead of host_dir (fixed now), and you had turned off
the X stuff and still tried to build libgtk2/webkit/docker/openmotif.

Furthermore, enabling the Xserver doesn't work as there seems to be
missing some avr32 support:

xf86Bus.c: In function 'xf86FindPrimaryDevice':
compiler.h:1447: error: impossible constraint in 'asm'
compiler.h:1447: error: impossible constraint in 'asm'
compiler.h:1428: error: impossible constraint in 'asm'
compiler.h:1447: error: impossible constraint in 'asm'
compiler.h:1428: error: impossible constraint in 'asm'
compiler.h:1428: error: impossible constraint in 'asm'
compiler.h:1447: error: impossible constraint in 'asm'
compiler.h:1428: error: impossible constraint in 'asm'
make[6]: *** [xf86Bus.lo] Error 1

And there's indeed no avr32 conditionals in hw/xfree86/common/compiler.h.

Are you using this?

 Thiago> and it will fail there, because the folder $(TARGET_DIR)/var/lib/ doesn't exist.

Sorry, I never got that far in the build. I can disable all the X
stuff, but then I guess it will behave just like the other platforms I
normally compile avahi for.

 Thiago> I found the problem testing the atngw100*_defconfig's from
 Thiago> the other patches.

And you didn't run into the above issues?

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list