Date: Tue, 27 Nov 2007 16:39:36 -0500 (EST) From: Garrett Wollman <wollman@khavrinen.csail.mit.edu> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/118290: databases/rubygem-postgres broken Message-ID: <200711272139.lARLdaBc032617@khavrinen.csail.mit.edu> Resent-Message-ID: <200711272210.lARMA2U2031464@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 118290 >Category: ports >Synopsis: databases/rubygem-postgres broken >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 27 22:10:02 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Garrett Wollman >Release: FreeBSD 6.2-RELEASE-p3 amd64 >Organization: MIT Computer Science & Artificial Intelligence Laboratory >Environment: System: FreeBSD khavrinen.csail.mit.edu 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #3: Mon Apr 9 08:34:19 EDT 2007 root@khavrinen.csail.mit.edu:/usr/obj/usr/src/sys/KHAVRINEN amd64 postgresql-client-8.1.10 is installed with the following options: WITHOUT_NLS=true WITHOUT_PAM=true WITH_MIT_KRB5=true WITHOUT_HEIMDAL_KRB5=true WITHOUT_OPTIMIZED_CFLAGS=true WITHOUT_LIBC_R=true WITHOUT_THREADSAFE=true WITHOUT_TESTS=true WITHOUT_DEBUG=true WITHOUT_ICU=true WITHOUT_HIER=true WITHOUT_INTDATE=true >Description: The gem fails to install. In fact, it fails to even configure. mkmf.log shows: "cc -o conftest -I. -I/usr/local/lib/ruby/1.8/amd64-freebsd6 -I. -I/usr/local/in clude -O -pipe -fPIC conftest.c -L'.' -L'/usr/local/lib' -Wl,-R'/usr/local/ lib' -L'/usr/local/lib' -Wl,-R'/usr/local/lib' -L. -rdynamic -lruby18-stati c -lpq -lcrypt -lm -rpath=/usr/lib:/usr/local/lib -pthread -lc" /usr/local/lib/libkrb5.so: undefined reference to `add_error_table' /usr/local/lib/libkrb5.so: undefined reference to `remove_error_table' This is because extconf.rb does not use the correct libraries (as determined by `pg_config --libs`). libpq does have the correct library dependencies so I don't know why this doesn't get resolved automagically. >How-To-Repeat: Install postgresql81-client with Kerberos support. Try to install rubygem-postgres. Watch it fail. >Fix: Unknown. I spent about half an hour trying to trace the flow through the twisty innards of mkmf.rb before giving up. There doesn't seem to be any way of making it check more than one library. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200711272139.lARLdaBc032617>