upgrade of postgresql-contrib from 8.4.8 to 8.4.9 fails

Ruslan Mahmatkhanov cvs-src at yandex.ru
Wed Nov 2 19:28:31 UTC 2011


Doug Sampson wrote on 02.11.2011 22:53:
> I am having trouble updating the postgresql-contrib port from
> version 8.4.8 to 8.4.9. Below is what I'm seeing when I attempt to
> upgrade:
>
>
> corvus-root@/usr/ports/lang/php52# portmaster postgresql-contrib
>
> <..snip..>
>
> cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -
> Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-
> strict-aliasing -fwrapv -I../../src/interfaces/libpq -I. -
> I../../src/include -I/usr/local/include -I/usr/local/include/libxml2
> -I/usr/local/include -I/usr/local/include -I/usr/local/include  -c -
> o oid2name.o oid2name.c
> cc -O2 -pipe -fno-strict-aliasing -Wall -Wmissing-prototypes -
> Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-
> strict-aliasing -fwrapv oid2name.o -L../../src/port -lpgport -
> L../../src/interfaces/libpq -lpq -L../../src/port -L/usr/local/lib -
> rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -L/usr/local/lib -
> L/usr/local/lib  -L/usr/local/lib -Wl,--as-needed -Wl,-
> R'/usr/local/lib' -lpgport -lxslt -lxml2 -lssl -lcrypto -lz -
> lreadline -lcrypt -lm  -o oid2name
> /usr/local/lib/libpq.so: undefined reference to `gss_import_name'
> /usr/local/lib/libpq.so: undefined reference to `gss_release_name'
> /usr/local/lib/libpq.so: undefined reference to
> `gss_delete_sec_context'
> /usr/local/lib/libpq.so: undefined reference to `gss_display_status'
> /usr/local/lib/libpq.so: undefined reference to `gss_release_buffer'
> /usr/local/lib/libpq.so: undefined reference to
> `gss_init_sec_context'
> /usr/local/lib/libpq.so: undefined reference to
> `GSS_C_NT_HOSTBASED_SERVICE'
> gmake[1]: *** [oid2name] Error 1
> gmake[1]: Leaving directory `/usr/ports/databases/postgresql84-
> contrib/work/postgresql-8.4.9/contrib/oid2name'
> gmake: *** [all] Error 2
> *** Error code 2
>
> Stop in /usr/ports/databases/postgresql84-contrib.
>
> ===>>>  make failed for databases/postgresql84-contrib
> ===>>>  Aborting update
>
> ===>>>  Update for databases/postgresql84-contrib failed
> ===>>>  Aborting update
>
> ===>>>  You can restart from the point of failure with this command
> line:
>         portmaster<flags>  databases/postgresql84-contrib
>
> corvus-root@/usr/ports/lang/php52#
>
>
> I've tried uninstalling and reinstalling to no avail. Running FBSD
> 8.2. Postgresql 8.4.9 client&  server.
>
> What could this be? Am I missing something? Do I need to rebuild
> certain dependencies?
>
> Any assistance you could provide or even references to appropriate
> sites would be appreciated! I've googled around to no avail.
>
> ~Doug

As far i understand you built postgresql ports with enabled option 
GSSAPI (it is off by default). Disable it and rebuild postgresql. This 
gssapi support is broken.

-- 
Regards,
Ruslan

Tinderboxing kills... the drives.


More information about the freebsd-ports mailing list