icu-catalyzed rebuild of avahi-app-0.6.29 fails (stable/8 @r223930)

Scot Hetzel swhetzel at gmail.com
Mon Jul 11 15:12:22 UTC 2011


On Mon, Jul 11, 2011 at 8:21 AM, David Wolfskill <david at catwhisker.org> wrote:
> The last port that was successful in taht list was abiword-2.8.4_1; the
> one that followed it was avahi-app-0.6.29.  The tail end of that attempt
> looked like:
>
> ...
>  CC     libavahi_gobject_la-ga-service-resolver.lo
>  CC     libavahi_gobject_la-signals-marshal.lo
> signals-marshal.c: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_STRING
> _STRING_STRING_POINTER_INT_POINTER_INT':
> signals-marshal.c:90: warning: ISO C forbids conversion of object pointer to fun
> ction pointer type
> signals-marshal.c: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_STRING
> _STRING_UINT':
> signals-marshal.c:139: warning: ISO C forbids conversion of object pointer to function pointer type
> signals-marshal.c: In function '_ga_signals_marshal_VOID__INT_ENUM_STRING_UINT_UINT_POINTER_INT_INT':
> signals-marshal.c:186: warning: ISO C forbids conversion of object pointer to function pointer type
>  CC     libavahi_gobject_la-ga-client-enumtypes.lo
>  CC     libavahi_gobject_la-ga-entry-group-enumtypes.lo
>  CC     libavahi_gobject_la-ga-enums-enumtypes.lo
>  CCLD   libavahi-gobject.la
>  GISCAN Avahi-0.6.gir
> g-ir-scanner: warning: Option --strip-prefix has been deprecated;
> see --identifier-prefix and --symbol-prefix.
> /usr/include/machine/endian.h:107: syntax error, unexpected '{' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at '{'
> /usr/include/machine/endian.h:107: syntax error, unexpected ';' in ' return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap %0" : "+r" (__X)); __X; }));' at ';'
> /libexec/ld-elf.so.1: Shared object "libicui18n.so.46" not found, required by "libavahi-glib.so.1"
> Command '['/common/ports/net/avahi-app/work/avahi-0.6.29/avahi-gobject/tmp-introspectBAUhNY/Avahi-0.6', '--introspect-dump=/common/ports/net/avahi-app/work/avahi-0.6.29/avahi-gobject/tmp-introspectBAUhNY/types.txt,/common/ports/net/avahi-app/work/avahi-0.6.29/avahi-gobject/tmp-introspectBAUhNY/dump.xml']' returned non-zero exit status 1
> gmake[3]: *** [Avahi-0.6.gir] Error 1
> gmake[3]: Leaving directory `/common/ports/net/avahi-app/work/avahi-0.6.29/avahi-gobject'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/common/ports/net/avahi-app/work/avahi-0.6.29/avahi-gobject'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/common/ports/net/avahi-app/work/avahi-0.6.29'
> gmake: *** [all] Error 2
> *** Error code 1
>
> Stop in /common/ports/net/avahi-app.

I also ran into this problem this morning.  The problem is that the
build is picking up /usr/local/lib/libavahi-glib.so.1 (from the old
avahi-app install) instead of the newly rebuilt libavahi-glib.so.1.

The way I solved it was to uninstall the old avahi-app and then re-install it.

Scot


More information about the freebsd-ports mailing list