Date: Mon, 15 Jul 2013 17:14:47 +0200 From: Carlos Jacobo Puga Medina <cjpugmed@gmail.com> To: FreeBSD GNOME Users <gnome@freebsd.org> Subject: Re: net/avahi-app-0.6.31 build fails Message-ID: <CAHHLbRNZBvf8L7uN6MnoKmto3rzihR89YhN_5Q9G7KWToen%2BKg@mail.gmail.com> In-Reply-To: <CAHHLbRNMS7Mwu5X3hqSE-wkg89KHSmXo7Fh1o0hon%2BM=HXbWHw@mail.gmail.com> References: <CAHHLbRNMS7Mwu5X3hqSE-wkg89KHSmXo7Fh1o0hon%2BM=HXbWHw@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Fix: Add missing variable USE_GMAKE in /usr/ports/net/avahi-app/Makefile ... GROUPS?= ${USERS} USE_GMAKE= yes USE_GNOME= ltverhack glib20 intltool ... Regards, CJPM 2013/7/15 Carlos Jacobo Puga Medina <cjpugmed@gmail.com> > I tried to update to latest version without success. > > Here's the log: > > # cd /usr/ports/net/avahi-app && make install clean > > ===> Fetching all distfiles required by avahi-app-0.6.31 for building > ===> Extracting for avahi-app-0.6.31 > => SHA256 Checksum OK for avahi-0.6.31.tar.gz. > ===> Patching for avahi-app-0.6.31 > ===> avahi-app-0.6.31 depends on package: libtool>=2.4 - found > ===> Applying FreeBSD patches for avahi-app-0.6.31 > ===> avahi-app-0.6.31 depends on executable: g-ir-scanner - found > ===> avahi-app-0.6.31 depends on executable: gmake - found > ===> avahi-app-0.6.31 depends on package: libtool>=2.4 - found > ===> avahi-app-0.6.31 depends on file: /usr/local/bin/intltool-extract - > found > ===> avahi-app-0.6.31 depends on shared library: expat - found > ===> avahi-app-0.6.31 depends on shared library: daemon.0 - found > ===> avahi-app-0.6.31 depends on shared library: dbus-glib-1 - found > ===> avahi-app-0.6.31 depends on shared library: gdbm - found > ===> avahi-app-0.6.31 depends on shared library: intl - found > ===> avahi-app-0.6.31 depends on shared library: glib-2.0 - found > ===> avahi-app-0.6.31 depends on shared library: pcre - found > ===> Configuring for avahi-app-0.6.31 > configure: loading site script /usr/ports/Templates/config.site > checking for a BSD-compatible install... /usr/bin/install -c -o root -g > wheel > checking whether build environment is sane... yes > checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p > checking for gawk... (cached) /usr/bin/awk > checking whether gmake sets $(MAKE)... yes > checking whether gmake supports nested variables... yes > checking how to create a pax tar archive... gnutar > checking build system type... i386-portbld-freebsd9.1 > checking host system type... i386-portbld-freebsd9.1 > checking whether gmake supports nested variables... (cached) yes > checking for stow... no > checking for gcc... cc > checking whether the C compiler works... yes > checking for C compiler default output file name... a.out > checking for suffix of executables... > checking whether we are cross compiling... no > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether cc accepts -g... yes > checking for cc option to accept ISO C89... none needed > checking for style of include used by gmake... GNU > checking dependency style of cc... gcc3 > checking for cc option to accept ISO C99... -std=gnu99 > checking whether we are using the GNU C++ compiler... yes > checking whether c++ accepts -g... yes > checking dependency style of c++... gcc3 > checking whether cc -std=gnu99 and cc understand -c and -o together... yes > checking how to run the C preprocessor... cpp > checking for grep that handles long lines and -e... (cached) /usr/bin/grep > checking for egrep... (cached) /usr/bin/egrep > checking for ANSI C header files... (cached) yes > checking for sys/types.h... (cached) yes > checking for sys/stat.h... (cached) yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking for memory.h... (cached) yes > checking for strings.h... (cached) yes > checking for inttypes.h... (cached) yes > checking for stdint.h... (cached) yes > checking for unistd.h... (cached) yes > checking for minix/config.h... (cached) no > checking whether it is safe to define __EXTENSIONS__... yes > checking how to run the C preprocessor... cpp > checking whether ln -s works... yes > checking whether gmake sets $(MAKE)... (cached) yes > checking whether cc -std=gnu99 needs -traditional... no > checking whether libssp exists... yes > checking whether stack-smashing protection is available... yes > checking whether stack-smashing protection is buggy... yes > checking how to print strings... printf > checking for a sed that does not truncate output... (cached) /usr/bin/sed > checking for fgrep... (cached) /usr/bin/fgrep > checking for ld used by cc -std=gnu99... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B > checking the name lister (/usr/bin/nm -B) interface... BSD nm > checking the maximum length of command line arguments... (cached) 262144 > checking whether the shell understands some XSI constructs... yes > checking whether the shell understands "+="... no > checking how to convert i386-portbld-freebsd9.1 file names to > i386-portbld-freebsd9.1 format... func_convert_file_noop > checking how to convert i386-portbld-freebsd9.1 file names to toolchain > format... func_convert_file_noop > checking for /usr/bin/ld option to reload object files... -r > checking for objdump... objdump > checking how to recognize dependent libraries... pass_all > checking for dlltool... no > checking how to associate runtime and link libraries... printf %s\n > checking for ar... ar > checking for archiver @FILE support... no > checking for strip... strip > checking for ranlib... ranlib > checking command to parse /usr/bin/nm -B output from cc -std=gnu99 > object... ok > checking for sysroot... no > checking for mt... mt > checking if mt is a manifest tool... no > checking for dlfcn.h... (cached) yes > checking for objdir... .libs > checking if cc -std=gnu99 supports -fno-rtti -fno-exceptions... no > checking for cc -std=gnu99 option to produce PIC... -fPIC -DPIC > checking if cc -std=gnu99 PIC flag -fPIC -DPIC works... yes > checking if cc -std=gnu99 static flag -static works... yes > checking if cc -std=gnu99 supports -c -o file.o... yes > checking if cc -std=gnu99 supports -c -o file.o... (cached) yes > checking whether the cc -std=gnu99 linker (/usr/bin/ld) supports shared > libraries... yes > checking whether -lc should be explicitly linked in... no > checking dynamic linker characteristics... freebsd9.1 ld.so > checking how to hardcode library paths into programs... immediate > checking whether stripping libraries is possible... yes > checking if libtool supports shared libraries... yes > checking whether to build shared libraries... yes > checking whether to build static libraries... yes > checking how to run the C++ preprocessor... c++ -E > checking for ld used by c++... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking whether the c++ linker (/usr/bin/ld) supports shared libraries... > yes > checking for c++ option to produce PIC... -fPIC -DPIC > checking if c++ PIC flag -fPIC -DPIC works... yes > checking if c++ static flag -static works... yes > checking if c++ supports -c -o file.o... yes > checking if c++ supports -c -o file.o... (cached) yes > checking whether the c++ linker (/usr/bin/ld) supports shared libraries... > yes > checking dynamic linker characteristics... freebsd9.1 ld.so > checking how to hardcode library paths into programs... immediate > checking whether the C++ compiler works... yes > checking for the pthreads library -lpthreads... no > checking whether pthreads work without any flags... no > checking whether pthreads work with -Kthread... no > checking whether pthreads work with -kthread... no > checking for the pthreads library -llthread... no > checking whether pthreads work with -pthread... yes > checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE > checking if more special flags are required for pthreads... -D_THREAD_SAFE > checking whether to check for GCC pthread/shared inconsistencies... no > checking for linux/netlink.h... no > checking for net/route.h... yes > checking for sys/filio.h... yes > checking for sys/sysctl.h... yes > checking for struct lifconf... no > checking for struct ip_mreqn... yes > checking whether cc -std=gnu99 accepts -std=c99... yes > checking whether cc -std=gnu99 accepts -Wall... yes > checking whether cc -std=gnu99 accepts -W... yes > checking whether cc -std=gnu99 accepts -Wextra... yes > checking whether cc -std=gnu99 accepts -pedantic... yes > checking whether cc -std=gnu99 accepts -pipe... yes > checking whether cc -std=gnu99 accepts -Wformat... yes > checking whether cc -std=gnu99 accepts -Wold-style-definition... yes > checking whether cc -std=gnu99 accepts -Wdeclaration-after-statement... yes > checking whether cc -std=gnu99 accepts -Wfloat-equal... yes > checking whether cc -std=gnu99 accepts -Wmissing-declarations... yes > checking whether cc -std=gnu99 accepts -Wmissing-prototypes... yes > checking whether cc -std=gnu99 accepts -Wstrict-prototypes... yes > checking whether cc -std=gnu99 accepts -Wredundant-decls... yes > checking whether cc -std=gnu99 accepts -Wmissing-noreturn... yes > checking whether cc -std=gnu99 accepts -Wshadow... yes > checking whether cc -std=gnu99 accepts -Wendif-labels... yes > checking whether cc -std=gnu99 accepts -Wpointer-arith... yes > checking whether cc -std=gnu99 accepts -Wbad-function-cast... yes > checking whether cc -std=gnu99 accepts -Wcast-qual... yes > checking whether cc -std=gnu99 accepts -Wcast-align... yes > checking whether cc -std=gnu99 accepts -Wwrite-strings... yes > checking whether cc -std=gnu99 accepts -fdiagnostics-show-option... yes > checking whether cc -std=gnu99 accepts -Wno-cast-qual... yes > checking whether cc -std=gnu99 accepts -fno-strict-aliasing... yes > checking for ANSI C header files... (cached) yes > checking for arpa/inet.h... (cached) yes > checking fcntl.h usability... yes > checking fcntl.h presence... yes > checking for fcntl.h... yes > checking for inttypes.h... (cached) yes > checking for limits.h... (cached) yes > checking for netinet/in.h... (cached) yes > checking for stdlib.h... (cached) yes > checking for string.h... (cached) yes > checking sys/ioctl.h usability... yes > checking sys/ioctl.h presence... yes > checking for sys/ioctl.h... yes > checking for sys/socket.h... (cached) yes > checking for sys/time.h... (cached) yes > checking for unistd.h... (cached) yes > checking for netdb.h... (cached) yes > checking syslog.h usability... yes > checking syslog.h presence... yes > checking for syslog.h... yes > checking for stdbool.h that conforms to C99... (cached) yes > checking for _Bool... (cached) yes > checking for an ANSI C-conforming const... yes > checking for size_t... (cached) yes > checking whether time.h and sys/time.h may both be included... yes > checking for sys/wait.h that is POSIX.1 compatible... (cached) yes > checking for library containing inet_ntop... none required > checking for library containing recv... none required > checking whether CMSG_SPACE is declared... yes > checking for working memcmp... yes > checking for sys/select.h... (cached) yes > checking for sys/socket.h... (cached) yes > checking types of arguments for select... int,fd_set *,struct timeval * > checking for gethostname... (cached) yes > checking for memchr... (cached) yes > checking for memmove... (cached) yes > checking for memset... (cached) yes > checking for mkdir... yes > checking for select... (cached) yes > checking for socket... yes > checking for strchr... yes > checking for strcspn... (cached) yes > checking for strdup... (cached) yes > checking for strerror... (cached) yes > checking for strrchr... yes > checking for strspn... yes > checking for strstr... yes > checking for uname... yes > checking for setresuid... yes > checking for setreuid... yes > checking for setresgid... yes > checking for setregid... yes > checking for strcasecmp... (cached) yes > checking for gettimeofday... (cached) yes > checking for putenv... (cached) yes > checking for strncasecmp... yes > checking for strlcpy... yes > checking for gethostbyname... (cached) yes > checking for seteuid... yes > checking for setegid... yes > checking for setproctitle... yes > checking for getprogname... yes > checking for uid_t in sys/types.h... (cached) yes > checking for unistd.h... (cached) yes > checking for working chown... yes > checking whether lstat correctly handles trailing slash... (cached) yes > checking whether stat accepts an empty string... no > checking for mode_t... (cached) yes > checking for pid_t... (cached) yes > checking whether environ is declared... no > checking for gcc -fvisibility=hidden support... yes > checking sys/capability.h usability... yes > checking sys/capability.h presence... yes > checking for sys/capability.h... yes > checking sys/prctl.h usability... no > checking sys/prctl.h presence... no > checking for sys/prctl.h... no > checking for chroot... yes > checking for dlopen in ... yes > checking for dlfcn.h... (cached) yes > checking sys/inotify.h usability... yes > checking sys/inotify.h presence... yes > checking for sys/inotify.h... yes > checking for kqueue... yes > checking whether NLS is requested... yes > checking for intltool >= 0.35.0... 0.50.2 found > checking for intltool-update... /usr/local/bin/intltool-update > checking for intltool-merge... /usr/local/bin/intltool-merge > checking for intltool-extract... /usr/local/bin/intltool-extract > checking for xgettext... /usr/local/bin/xgettext > checking for msgmerge... /usr/local/bin/msgmerge > checking for msgfmt... /usr/local/bin/msgfmt > checking for gmsgfmt... /usr/local/bin/msgfmt > checking for perl... /usr/bin/perl > checking for perl >= 5.8.1... 5.14.4 > checking for XML::Parser... ok > checking locale.h usability... yes > checking locale.h presence... yes > checking for locale.h... yes > checking for LC_MESSAGES... yes > checking libintl.h usability... yes > checking libintl.h presence... yes > checking for libintl.h... yes > checking for ngettext in libc... no > checking for bindtextdomain in -lintl... yes > checking for ngettext in -lintl... yes > checking for dgettext in -lintl... yes > checking for bind_textdomain_codeset... yes > checking for msgfmt... (cached) /usr/local/bin/msgfmt > checking for dcgettext... yes > checking if msgfmt accepts -c... yes > checking for gmsgfmt... (cached) /usr/local/bin/msgfmt > checking for xgettext... (cached) /usr/local/bin/xgettext > checking for pkg-config... yes > checking for pkg-config... /usr/local/bin/pkg-config > checking pkg-config is at least version 0.9.0... yes > checking for GLIB20... yes > checking for GOBJECT... yes > checking for gobject-introspection... yes > checking for DBUS... yes > Your D-Bus version is 1,6,12. > checking for dbus_connection_close... yes > checking for dbus_bus_get_private... yes > checking for XML_ParserCreate in -lexpat... yes > checking expat.h usability... yes > checking expat.h presence... yes > checking for expat.h... yes > checking for XML_ParserCreate in -lbsdxml... yes > checking bsdxml.h usability... yes > checking bsdxml.h presence... yes > checking for bsdxml.h... yes > checking for gdbm_open in -lgdbm... yes > checking gdbm.h usability... yes > checking gdbm.h presence... yes > checking for gdbm.h... yes > checking for LIBDAEMON... yes > checking for xmltoman... no > configure: WARNING: *** Not rebuilding man pages as xmltoman is not found > *** > configure: creating ./config.status > config.status: creating Makefile > config.status: creating avahi-common/Makefile > config.status: creating avahi-core/Makefile > config.status: creating avahi-glib/Makefile > config.status: creating avahi-gobject/Makefile > config.status: creating avahi-qt/Makefile > config.status: creating avahi-daemon/Makefile > config.status: creating avahi-daemon/avahi-dbus.conf > config.status: creating avahi-discover-standalone/Makefile > config.status: creating avahi-client/Makefile > config.status: creating initscript/Makefile > config.status: creating initscript/debian/Makefile > config.status: creating initscript/gentoo/Makefile > config.status: creating initscript/archlinux/Makefile > config.status: creating initscript/suse/Makefile > config.status: creating initscript/fedora/Makefile > config.status: creating initscript/lfs/Makefile > config.status: creating initscript/mandriva/Makefile > config.status: creating initscript/darwin/Makefile > config.status: creating initscript/freebsd/Makefile > config.status: creating initscript/slackware/Makefile > config.status: creating avahi-dnsconfd/Makefile > config.status: creating avahi-utils/Makefile > config.status: creating avahi-python/Makefile > config.status: creating avahi-python/avahi/Makefile > config.status: creating avahi-python/avahi-discover/Makefile > config.status: creating examples/Makefile > config.status: creating common/Makefile > config.status: creating man/Makefile > config.status: creating tests/Makefile > config.status: creating service-type-database/Makefile > config.status: creating avahi-sharp/Makefile > config.status: creating avahi-ui-sharp/Makefile > config.status: creating avahi-compat-libdns_sd/Makefile > config.status: creating avahi-compat-howl/Makefile > config.status: creating avahi-compat-howl/samples/Makefile > config.status: creating avahi-autoipd/Makefile > config.status: creating avahi-ui/Makefile > config.status: creating po/Makefile.in > config.status: creating config.h > config.status: executing depfiles commands > config.status: executing libtool commands > config.status: executing default-1 commands > config.status: executing po/stamp-it commands > > ---{ avahi 0.6.31 }--- > > prefix: /usr/local > sysconfdir: ${prefix}/etc > localstatedir: /var > avahi socket: /var/run/avahi-daemon/socket > dbus-1 system.d dir: > ${prefix}/etc/dbus-1/system.d > dbus-1 version: 1.6.12 > dbus-1 system socket: > unix:path=/var/run/dbus/system_bus_socket > C Compiler: cc -std=gnu99 > CFLAGS: -O2 -pipe > -fno-strict-aliasing -std=c99 -Wall -W -Wextra -pedantic -pipe -Wformat > -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal > -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes > -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels > -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align > -Wwrite-strings -fdiagnostics-show-option -Wno-cast-qual > -fno-strict-aliasing > Enable GLIB: yes > Enable GLIB GObject: yes > Enable GObject Introspection: yes > Enable GTK 2.0: no > Enable GTK 3.0: no > Enable D-Bus: yes > With XML: expat > Enable GDBM: yes > Enable DBM: no > Enable libdaemon: yes > Enable Python: no > Enable pygtk: no > Enable python-dbus: no > Enable QT3: no > Enable QT4: no > Enable Mono: no > Enable Monodoc: no > Distribution/OS: freebsd > User for avahi-daemon: avahi > Group for avahi-daemon: avahi > Priviliged access group for Avahi clients: network > User for avahi-autoipd: avahi-autoipd > Group for avahi-autoipd: avahi-autoipd > Enable chroot(): no > Enable Linux inotify: no > Enable stack-smashing protection: no > systemd unit directory: > > Building libavahi-core yes > Building avahi-daemon: yes > Building avahi-dnsconfd: yes > Building libavahi-client: yes > Building avahi-utils: yes > Building avahi-python: no (You need python, pygtk and > python-dbus!) > Building libavahi-glib: yes > Building libavahi-gobject: yes > Building avahi-discover-standalone: no > Building libavahi-qt3: no > Building libavahi-qt4: no > Building avahi-sharp: no > Building avahi-compat-libdns_sd: no > Building avahi-compat-howl: yes > Building tests: no > Building avahi-core documentation: no > Building avahi-autoipd: no > Building libavahi-ui: no > > ===> Building for avahi-app-0.6.31 > make all-recursive > Making all in common > Making all in avahi-common > CC libavahi_common_la-malloc.lo > CC libavahi_common_la-address.lo > CC libavahi_common_la-alternative.lo > CC libavahi_common_la-error.lo > CC libavahi_common_la-strlst.lo > CC libavahi_common_la-domain.lo > CC libavahi_common_la-timeval.lo > CC libavahi_common_la-simple-watch.lo > CC libavahi_common_la-thread-watch.lo > CC libavahi_common_la-rlist.lo > CC libavahi_common_la-utf8.lo > CC libavahi_common_la-i18n.lo > CCLD libavahi-common.la > Making all in avahi-core > CC libavahi_core_la-timeeventq.lo > CC libavahi_core_la-iface.lo > CC libavahi_core_la-server.lo > CC libavahi_core_la-entry.lo > CC libavahi_core_la-prioq.lo > CC libavahi_core_la-cache.lo > CC libavahi_core_la-socket.lo > socket.c: In function 'avahi_send_dns_packet_ipv4': > socket.c:536: warning: pointer type mismatch in conditional expression > socket.c:472: warning: unused parameter 'interface' [-Wunused-parameter] > CC libavahi_core_la-response-sched.lo > CC libavahi_core_la-query-sched.lo > CC libavahi_core_la-probe-sched.lo > CC libavahi_core_la-announce.lo > CC libavahi_core_la-browse.lo > CC libavahi_core_la-rrlist.lo > CC libavahi_core_la-resolve-host-name.lo > CC libavahi_core_la-resolve-address.lo > CC libavahi_core_la-browse-domain.lo > CC libavahi_core_la-browse-service-type.lo > CC libavahi_core_la-browse-service.lo > CC libavahi_core_la-resolve-service.lo > CC libavahi_core_la-dns.lo > CC libavahi_core_la-rr.lo > CC libavahi_core_la-log.lo > CC libavahi_core_la-browse-dns-server.lo > CC libavahi_core_la-fdutil.lo > CC libavahi_core_la-util.lo > CC libavahi_core_la-hashmap.lo > CC libavahi_core_la-wide-area.lo > CC libavahi_core_la-multicast-lookup.lo > CC libavahi_core_la-querier.lo > CC libavahi_core_la-addr-util.lo > CC libavahi_core_la-domain-util.lo > CC libavahi_core_la-iface-pfroute.lo > CCLD libavahi-core.la > Making all in avahi-qt > make all-am > Making all in avahi-client > CC libavahi_client_la-client.lo > CC libavahi_client_la-entrygroup.lo > CC libavahi_client_la-browser.lo > CC libavahi_client_la-resolver.lo > CC libavahi_client_la-xdg-config.lo > CC libavahi_client_la-check-nss.lo > CC libavahi_client_la-dbus.lo > CC libavahi_client_la-dbus-watch-glue.lo > CCLD libavahi-client.la > Making all in avahi-glib > CC libavahi_glib_la-glib-watch.lo > glib-watch.c: In function 'prepare_func': > glib-watch.c:273: warning: 'g_source_get_current_time' is deprecated > (declared at /usr/local/include/glib-2.0/glib/gmain.h:416) > [-Wdeprecated-declarations] > glib-watch.c: In function 'check_func': > glib-watch.c:301: warning: 'g_source_get_current_time' is deprecated > (declared at /usr/local/include/glib-2.0/glib/gmain.h:416) > [-Wdeprecated-declarations] > glib-watch.c: In function 'dispatch_func': > glib-watch.c:326: warning: 'g_source_get_current_time' is deprecated > (declared at /usr/local/include/glib-2.0/glib/gmain.h:416) > [-Wdeprecated-declarations] > CC libavahi_glib_la-glib-malloc.lo > CCLD libavahi-glib.la > Making all in avahi-gobject > "Makefile", line 990: Need an operator > make: fatal errors encountered -- cannot continue > *** [all-recursive] Error code 1 > > Stop in /usr/ports/net/avahi-app/work/avahi-0.6.31. > *** [all] Error code 1 > > Stop in /usr/ports/net/avahi-app/work/avahi-0.6.31. > *** [do-build] Error code 1 > > Stop in /usr/ports/net/avahi-app. > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHHLbRNZBvf8L7uN6MnoKmto3rzihR89YhN_5Q9G7KWToen%2BKg>