On Sat Sep 28, 2013 at 10:00:31AM +0200, Antoine Jacoutot wrote: > Wait a couple of days or use packages > Or recompile all your ports from scratch on an *empty* system. > It looks like you have old stuffs installed. >
Thanks Antoine, I deleted all my packages with "pkg_delte -X" and removed my /usr/ports. With new ports tree it build painless and works fine but my consolekit-0.4.6p0 build is in trouble. New advice? I had no time to check it until now. Maybe it's a know issue. Cheers Rafael ===> Checking files for consolekit-0.4.6p0 >> Fetch >> http://www.freedesktop.org/software/ConsoleKit/dist/ConsoleKit-0.4.6.tar.xz >> (SHA256) ConsoleKit-0.4.6.tar.xz: OK ===> consolekit-0.4.6p0 depends on: gettext->=0.10.38 -> gettext-0.18.2p3 ===> consolekit-0.4.6p0 depends on: metaauto-* -> metaauto-1.0p1 ===> consolekit-0.4.6p0 depends on: autoconf-2.69 -> autoconf-2.69p0 ===> consolekit-0.4.6p0 depends on: gmake-* -> gmake-3.82p2 ===> consolekit-0.4.6p0 depends on: xz-* -> xz-5.0.5p0 ===> consolekit-0.4.6p0 depends on: polkit-* -> polkit-0.112 ===> consolekit-0.4.6p0 depends on: dbus-glib-* -> dbus-glib-0.100.2v0 ===> consolekit-0.4.6p0 depends on: libiconv-* -> libiconv-1.14p0 ===> Verifying specs: X11 c dbus-1 dbus-glib-1 ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 kvm pcre polkit-gobject-1 pthread xcb z intl>=5 iconv>=6 X11 c dbus-1 dbus-glib-1 ffi gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0 gthread-2.0 kvm pcre polkit-gobject-1 pthread xcb z intl>=5 iconv>=6 ===> found X11.16.0 c.70.0 dbus-1.10.2 dbus-glib-1.4.3 ffi.0.0 gio-2.0.3800.0 glib-2.0.3800.0 gmodule-2.0.3800.0 gobject-2.0.3800.0 gthread-2.0.3800.0 kvm.14.0 pcre.3.0 polkit-gobject-1.2.0 pthread.18.0 xcb.3.0 z.5.0 intl.6.0 iconv.6.0 ===> Extracting for consolekit-0.4.6p0 ===> Patching for consolekit-0.4.6p0 `/usr/ports/pobj/consolekit-0.4.6/.prepatch_done' is up to date. Running autoconf-2.69 in /usr/ports/pobj/consolekit-0.4.6/ConsoleKit-0.4.6 Running autoheader-2.69 in /usr/ports/pobj/consolekit-0.4.6/ConsoleKit-0.4.6 ===> Configuring for consolekit-0.4.6p0 Using /usr/ports/pobj/consolekit-0.4.6/config.site (generated) configure: loading site script /usr/ports/pobj/consolekit-0.4.6/config.site checking for a BSD-compatible install... /usr/bin/install -c -o root -g bin checking whether build environment is sane... yes checking for a thread-safe mkdir -p... mkdir -p checking for gawk... (cached) awk checking whether gmake sets $(MAKE)... yes checking whether gmake supports nested variables... yes checking whether UID '1000' is supported by ustar format... yes checking whether GID '1000' is supported by ustar format... yes checking how to create a ustar tar archive... (cached) /usr/bin/tar checking whether gmake supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by gmake... GNU 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... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... none needed checking dependency style of cc... gcc3 checking how to run the C preprocessor... cc -E 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking dependency style of cc... (cached) gcc3 checking whether cc understands -c and -o together... yes checking for ANSI C header files... (cached) yes checking build system type... x86_64-unknown-openbsd5.4 checking host system type... x86_64-unknown-openbsd5.4 checking how to print strings... print -r 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... /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 whether ln -s works... yes checking the maximum length of command line arguments... (cached) 131072 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... no checking how to convert x86_64-unknown-openbsd5.4 file names to x86_64-unknown-openbsd5.4 format... func_convert_file_noop checking how to convert x86_64-unknown-openbsd5.4 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... match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$ checking for dlltool... no checking how to associate runtime and link libraries... print -r -- checking for ar... (cached) ar checking for archiver @FILE support... no checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /usr/bin/nm -B output from cc 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 supports -fno-rtti -fno-exceptions... no checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... openbsd5.4 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... no checking for ANSI C header files... (cached) yes checking for locale.h... (cached) 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... /usr/local/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext ./configure[13539]: cannot open ./po/POTFILES.in: No such file or directory checking for unistd.h... (cached) yes checking for paths.h... (cached) yes checking sys/vt.h usability... no checking sys/vt.h presence... no checking for sys/vt.h... no checking sys/consio.h usability... no checking sys/consio.h presence... no checking for sys/consio.h... no checking for getpeerucred... no checking for getpeereid... (cached) yes checking for uid_t in sys/types.h... (cached) yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for CONSOLE_KIT... yes checking for POLKIT... yes checking for LIBDBUS... yes checking for TOOLS... yes checking for HISTORY... yes checking for glib-genmarshal... /usr/local/bin/glib-genmarshal checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes checking what language compliance flags to pass to the C compiler... checking for compress in -lz... yes checking for zlib.h... (cached) yes checking for kvm_openfiles in -lkvm... yes checking for pam_getenv in -lpam... no checking security/pam_modutil.h usability... no checking security/pam_modutil.h presence... no checking for security/pam_modutil.h... no checking security/pam_ext.h usability... no checking security/pam_ext.h presence... no checking for security/pam_ext.h... no checking for pam_syslog in -lpam... no checking for xmlto... /usr/local/bin/xmlto checking whether to build DocBook documentation... yes checking for xsltproc... /usr/local/bin/xsltproc checking for inotify_init... no checking for more warnings... no checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tools/Makefile config.status: creating tools/linux/Makefile config.status: creating tools/freebsd/Makefile config.status: creating tools/openbsd/Makefile config.status: creating tools/solaris/Makefile config.status: creating data/Makefile config.status: creating doc/Makefile config.status: creating doc/dbus/ConsoleKit.xml config.status: creating doc/dbus/Makefile config.status: creating libck-connector/Makefile config.status: creating libck-connector/ck-connector.pc config.status: creating pam-ck-connector/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands ConsoleKit 0.4.6 ======================== prefix: /usr/local exec_prefix: ${prefix} libdir: ${exec_prefix}/lib bindir: ${exec_prefix}/bin sbindir: ${exec_prefix}/sbin sysconfdir: /etc localstatedir: /var datadir: ${datarootdir} source code location: . compiler: cc cflags: -O2 -pipe Base libs: -L/usr/local/lib -pthread -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lgthread-2.0 -lglib-2.0 -lintl Tools libs: -L/usr/X11R6/lib -L/usr/local/lib -lX11 -lglib-2.0 -lintl Maintainer mode: no dbus-1 system.d dir: /etc/dbus-1/system.d Build backend: openbsd PAM module dir: /lib/security Build PAM module: no Build udev-acl: no Build docs: no PolicyKit support yes RBAC (Solaris) support: no ===> Building for consolekit-0.4.6p0 gmake all-recursive gmake[1]: Entering directory `/usr/ports/pobj/consolekit-0.4.6/ConsoleKit-0.4.6' Making all in src gmake[2]: Entering directory `/usr/ports/pobj/consolekit-0.4.6/ConsoleKit-0.4.6/src' dbus-binding-tool --prefix=ck_manager --mode=glib-server --output=ck-manager-glue.h org.freedesktop.ConsoleKit.Manager.xml dbus-binding-tool --prefix=ck_seat --mode=glib-server --output=ck-seat-glue.h org.freedesktop.ConsoleKit.Seat.xml dbus-binding-tool --prefix=ck_session --mode=glib-server --output=ck-session-glue.h org.freedesktop.ConsoleKit.Session.xml gmake all-recursive gmake[3]: Entering directory `/usr/ports/pobj/consolekit-0.4.6/ConsoleKit-0.4.6/src' gmake[4]: Entering directory `/usr/ports/pobj/consolekit-0.4.6/ConsoleKit-0.4.6/src' /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/polkit-1 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPREFIX=\""/usr/local"\" -DBINDIR=\""/usr/local/bin"\" -DLIBDIR=\""/usr/local/lib"\" -DLIBEXECDIR=\""/usr/local/libexec"\" -DDATADIR=\""/usr/local/share"\" -DSYSCONFDIR=\""/etc"\" -DLOCALSTATEDIR=\""/var"\" -DCONSOLE_KIT_PID_FILE=\""/var/run/ConsoleKit/pid"\" -Wall -Wmissing-prototypes -DG_ENABLE_DEBUG -I/usr/local/include -I/usr/X11R6/include -O2 -pipe -MT ck-sysdeps-unix.lo -MD -MP -MF .deps/ck-sysdeps-unix.Tpo -c -o ck-sysdeps-unix.lo ck-sysdeps-unix.c cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/polkit-1 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPREFIX="/usr/local" -DBINDIR="/usr/local/bin" -DLIBDIR="/usr/local/lib" -DLIBEXECDIR="/usr/local/libexec" -DDATADIR="/usr/local/share" -DSYSCONFDIR="/etc" -DLOCALSTATEDIR="/var" -DCONSOLE_KIT_PID_FILE="/var/run/ConsoleKit/pid" -Wall -Wmissing-prototypes -DG_ENABLE_DEBUG -I/usr/local/include -I/usr/X11R6/include -O2 -pipe -MT ck-sysdeps-unix.lo -MD -MP -MF .deps/ck-sysdeps-unix.Tpo -c ck-sysdeps-unix.c -fPIC -DPIC -o .libs/ck-sysdeps-unix.o ck-sysdeps-unix.c: In function 'open_a_console': ck-sysdeps-unix.c:162: warning: label 'again' defined but not used cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/polkit-1 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPREFIX="/usr/local" -DBINDIR="/usr/local/bin" -DLIBDIR="/usr/local/lib" -DLIBEXECDIR="/usr/local/libexec" -DDATADIR="/usr/local/share" -DSYSCONFDIR="/etc" -DLOCALSTATEDIR="/var" -DCONSOLE_KIT_PID_FILE="/var/run/ConsoleKit/pid" -Wall -Wmissing-prototypes -DG_ENABLE_DEBUG -I/usr/local/include -I/usr/X11R6/include -O2 -pipe -MT ck-sysdeps-unix.lo -MD -MP -MF .deps/ck-sysdeps-unix.Tpo -c ck-sysdeps-unix.c -o ck-sysdeps-unix.o ck-sysdeps-unix.c: In function 'open_a_console': ck-sysdeps-unix.c:162: warning: label 'again' defined but not used mv -f .deps/ck-sysdeps-unix.Tpo .deps/ck-sysdeps-unix.Plo /usr/bin/libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/polkit-1 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPREFIX=\""/usr/local"\" -DBINDIR=\""/usr/local/bin"\" -DLIBDIR=\""/usr/local/lib"\" -DLIBEXECDIR=\""/usr/local/libexec"\" -DDATADIR=\""/usr/local/share"\" -DSYSCONFDIR=\""/etc"\" -DLOCALSTATEDIR=\""/var"\" -DCONSOLE_KIT_PID_FILE=\""/var/run/ConsoleKit/pid"\" -Wall -Wmissing-prototypes -DG_ENABLE_DEBUG -I/usr/local/include -I/usr/X11R6/include -O2 -pipe -MT ck-sysdeps-openbsd.lo -MD -MP -MF .deps/ck-sysdeps-openbsd.Tpo -c -o ck-sysdeps-openbsd.lo ck-sysdeps-openbsd.c cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/polkit-1 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPREFIX="/usr/local" -DBINDIR="/usr/local/bin" -DLIBDIR="/usr/local/lib" -DLIBEXECDIR="/usr/local/libexec" -DDATADIR="/usr/local/share" -DSYSCONFDIR="/etc" -DLOCALSTATEDIR="/var" -DCONSOLE_KIT_PID_FILE="/var/run/ConsoleKit/pid" -Wall -Wmissing-prototypes -DG_ENABLE_DEBUG -I/usr/local/include -I/usr/X11R6/include -O2 -pipe -MT ck-sysdeps-openbsd.lo -MD -MP -MF .deps/ck-sysdeps-openbsd.Tpo -c ck-sysdeps-openbsd.c -fPIC -DPIC -o .libs/ck-sysdeps-openbsd.o ck-sysdeps-openbsd.c: In function 'stat2proc': ck-sysdeps-openbsd.c:182: error: 'struct kinfo_proc' has no member named 'p_psflags' Error while executing cc -DHAVE_CONFIG_H -I. -I.. -I. -I. -I/usr/local/include/dbus-1.0 -I/usr/local/lib/dbus-1.0/include -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/polkit-1 -pthread -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -DPREFIX="/usr/local" -DBINDIR="/usr/local/bin" -DLIBDIR="/usr/local/lib" -DLIBEXECDIR="/usr/local/libexec" -DDATADIR="/usr/local/share" -DSYSCONFDIR="/etc" -DLOCALSTATEDIR="/var" -DCONSOLE_KIT_PID_FILE="/var/run/ConsoleKit/pid" -Wall -Wmissing-prototypes -DG_ENABLE_DEBUG -I/usr/local/include -I/usr/X11R6/include -O2 -pipe -MT ck-sysdeps-openbsd.lo -MD -MP -MF .deps/ck-sysdeps-openbsd.Tpo -c ck-sysdeps-openbsd.c -fPIC -DPIC -o .libs/ck-sysdeps-openbsd.o gmake[4]: *** [ck-sysdeps-openbsd.lo] Error 1 gmake[4]: Leaving directory `/usr/ports/pobj/consolekit-0.4.6/ConsoleKit-0.4.6/src' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/pobj/consolekit-0.4.6/ConsoleKit-0.4.6/src' gmake[2]: *** [all] Error 2 gmake[2]: Leaving directory `/usr/ports/pobj/consolekit-0.4.6/ConsoleKit-0.4.6/src' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/pobj/consolekit-0.4.6/ConsoleKit-0.4.6' gmake: *** [all] Error 2 *** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2654 '/usr/ports/pobj/consolekit-0.4.6/.build_done') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1851 '/usr/ports/packages/amd64/all/consolekit-0.4.6p0.tgz') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2403 '_internal-package') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2383 'package') *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1868 '/var/db/pkg/consolekit-0.4.6p0/+CONTENTS') *** Error 1 in /usr/ports/sysutils/consolekit (/usr/ports/infrastructure/mk/bsd.port.mk:2383 'install')
