Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 183011 - net-dns/pdns-2.9.21 fails to emerge w/ USE=postgres
Summary: net-dns/pdns-2.9.21 fails to emerge w/ USE=postgres
Status: RESOLVED DUPLICATE of bug 194350
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Sven Wegener
URL:
Whiteboard:
Keywords:
Depends on: 194350
Blocks:
  Show dependency tree
 
Reported: 2007-06-24 02:34 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2008-01-01 14:27 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Other Analyis Info (infoz.txt,15.86 KB, text/plain)
2007-06-24 02:38 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details
Config.log (config.log,91.73 KB, text/plain)
2007-06-24 02:44 UTC, Kent Fredric (IRC: kent\n) (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2007-06-24 02:34:26 UTC
==================================
=====Pre-Install Info=============
==================================
Calculating dependencies... done!
[ebuild     U ] net-dns/pdns-2.9.21 [2.9.20-r2] USE="doc ldap mysql opendbx%* postgres sqlite sqlite3%* -debug -static -tdb*" 0 kB

$ eix  ^pdns$
[U] net-dns/pdns
     Available versions:  2.9.20-r1 (~)2.9.20-r2 (~)2.9.21 {debug doc ldap mysql opendbx postgres sqlite sqlite3 static tdb}
     Installed versions:  2.9.20-r2(17:57:15 18/10/06)(-debug doc ldap mysql postgres sqlite -static tdb)
     Homepage:            http://www.powerdns.com/
     Description:         The PowerDNS Daemon

$ eix  ^postgresql$
[I] dev-db/postgresql
     Available versions:  7.3.19 7.4.17 8.0.8 8.0.12 8.0.13 (~)8.1.9 (~)8.2.4-r1 {doc kerberos libg++ nls pam perl pg-hier pg-intdatetime python readline selinux ssl tcl test tk xml zlib}
     Installed versions:  8.2.4-r1(21:38:21 04/05/07)(doc kerberos nls pam perl -pg-intdatetime python readline -selinux ssl tcl test xml zlib)
     Homepage:            http://www.postgresql.org/
     Description:         Sophisticated and powerful Object-Relational DBMS.

==================================
=====Install Problem =============
==================================


checking for MySQL library directory... /usr/lib/mysql
checking for MySQL include directory... /usr/include/mysql
checking for PgSQL library directory... configure: error: Didn't find the pgsql library dir in '/usr/lib/lib/pgsql /usr/lib/pgsql /usr/lib'

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /tmp/..var/portage/net-dns/pdns-2.9.21/work/pdns-2.9.21/config.log


( That Config.log has almost no information of interest.

configure:22007: result: no
configure:22020: checking whether we should use nedmalloc allocator
configure:22035: result: no
configure:22100: checking for MySQL library directory
configure:22126: result: /usr/lib/mysql
configure:22128: checking for MySQL include directory
configure:22152: result: /usr/include/mysql
configure:22183: checking for PgSQL library directory
configure:22195: error: Didn't find the pgsql library dir in '/usr/lib/lib/pgsql /usr/lib/pgsql /usr/lib'

)

'libary dir' <-- not exactly sure what this means its looking for 



Reproducible: Always

Steps to Reproduce:




Portage 2.1.3_rc4 (default-linux/x86/2007.0, gcc-4.1.X/default, glibc-2.5-r3, 2.6.21-gentookz i686)
=================================================================
System uname: 2.6.21-gentookz i686 AMD Athlon(TM) XP 2000+
Gentoo Base System release 1.12.10
Timestamp of tree: Sat, 23 Jun 2007 05:30:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.6-r2, 2.4.4-r4, 2.5.1-r2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.21
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mtune=athlon-xp -pipe -ggdb3 -gstabs3"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/local/kdeextra/share/config /usr/local/kdeextra/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -mtune=athlon-xp -pipe -ggdb3 -gstabs3"
DISTDIR="/mnt/fission/distfiles/distfiles"
FEATURES="autoaddcvs cvs distlocks metadata-transfer parallel-fetch sandbox sfperms splitdebug strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_AU.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1,-z,combreloc,--sort-common,--enable-new-dtags"
LINGUAS="en_NZ en_GB en en_US"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/mysql-testing /usr/portage/local/layman/mysql-experimental /usr/portage/local/layman/enlightenment /usr/portage/local/layman/armagetron /usr/portage/local/layman/sunrise /usr/portage/local/layman/kde /usr/portage/local/layman/toolchain /usr/local/portage /usr/src/musicbrainz-overlay_svn /usr/src/xgl/xgl-coffee"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2007-06-24 02:38:02 UTC
Created attachment 122923 [details]
Other Analyis Info
Comment 2 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2007-06-24 02:44:20 UTC
Created attachment 122924 [details]
Config.log

Despite Looking Pointless, here it is.
Comment 3 Sven Wegener gentoo-dev 2007-06-24 11:03:58 UTC
Kent, do you have a symlink from /usr/lib/libpq.a to libpq-5.a? You removed some output from your qlist | xargs script.
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2007-06-24 12:36:37 UTC
(In reply to comment #3)
> Kent, do you have a symlink from /usr/lib/libpq.a to libpq-5.a? You removed
> some output from your qlist | xargs script.
> 

/usr/lib/libpq-5.a: current ar archive
/usr/lib/libpq.a:   broken symbolic link to `libpq-4.a'


Not Sure how that happened :S.

ln -s /usr/lib/libpq-5.a -> /usr/lib/libpq.a  fixed the problem up a treat.
Thanks Sven.

Marking as fixed ( unless that symlink  not being automatically created classes as an open bug somewhere else... )
Comment 5 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2007-10-01 07:28:15 UTC
Ropening. Seems the problem is the latest libpq installs a broken symlink. 
Comment 6 Sven Wegener gentoo-dev 2008-01-01 14:27:16 UTC
So not a bug in the pdns package, but in libpq. Marking as duplicate.

*** This bug has been marked as a duplicate of bug 194350 ***