portupgrade policykit problem

Alain G. Fabry alainfabry at belgacom.net
Thu Jul 24 05:11:50 UTC 2008


Hi,

Hope I didn't do something stupid here....

Tried to 'portupgrade -R policykit' but it came back with an error. So I deinstalled it and now I'm trying to reinstall it, but it fails with the following error.


R=\""/usr/local/etc"\" -DPACKAGE_DATA_DIR=\""/usr/local/share"\" -DPACKAGE_BIN_DIR=\""/usr/local/bin"\" -DPACKAGE_LOCALSTATE_DIR=\""/var"\" -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\" -DPACKAGE_LIB_DIR=\""/usr/local/lib"\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DKIT_COMPILATION -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include    -I/usr/local/include  -O2 -fno-strict-aliasing -pipe  -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -MT kit-string.lo -MD -MP -MF .deps/kit-string.Tpo -c -o kit-string.lo kit-string.c
 cc -DHAVE_CONFIG_H -I. -I../.. -I../../src -I../../src -DPACKAGE_LIBEXEC_DIR=\"/usr/local/libexec\" -DPACKAGE_SYSCONF_DIR=\"/usr/local/etc\" -DPACKAGE_DATA_DIR=\"/usr/local/share\" -DPACKAGE_BIN_DIR=\"/usr/local/bin\" -DPACKAGE_LOCALSTATE_DIR=\"/var\" -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\" -DPACKAGE_LIB_DIR=\"/usr/local/lib\" -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -DKIT_COMPILATION -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -O2 -fno-strict-aliasing -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wformat -Wformat-security -MT kit-string.lo -MD -MP -MF .deps/kit-string.Tpo -c kit-string.c  -fPIC -DPIC -o .libs/kit-string.o
kit-string.c:141: error: redefinition of 'strndup'
kit-string.c:119: error: previous definition of 'strndup' was here
gmake[3]: *** [kit-string.lo] Error 1
gmake[3]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/src/kit'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/sysutils/policykit/work/PolicyKit-0.9'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/sysutils/policykit.


Also tried 'make distclean' and a new 'make install clean', but it keeps on failing.

I hope that in case I need to reboot, it won't crash my system. But I'll postpone my reboot as long as possible. Maybe I can reinstall it with your advice.

Thanks,

Alain


More information about the freebsd-questions mailing list