Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38296 - dev-libs/cyrus-sasl-2.1.17 libpq-fe.h: No such file or directory
Summary: dev-libs/cyrus-sasl-2.1.17 libpq-fe.h: No such file or directory
Status: RESOLVED DUPLICATE of bug 38227
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-15 08:45 UTC by Hans-Christian Armingeon
Modified: 2005-07-17 13:06 UTC (History)
0 users

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


Attachments
The complete build log (cysrus-sasl-builderrors,29 bytes, text/plain)
2004-01-15 08:47 UTC, Hans-Christian Armingeon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hans-Christian Armingeon 2004-01-15 08:45:29 UTC
Simple compile problems:

/bin/sh ../libtool --mode=link gcc  -Wall -W -O3 -mcpu=athlon-xp -funroll-loops -pipe -module -export-dynamic -rpath /usr/lib/sasl2  -o libdigestmd5.la  -version-info 2:17:0 digestmd5.lo digestmd5_init.lo plugin_common.lo -lcrypto -lresolv   -lresolv -lresolv
sql.c:178:22: libpq-fe.h: No such file or directory
sql.c: In function `_pgsql_open':
sql.c:184: error: `PGconn' undeclared (first use in this function)
sql.c:184: error: (Each undeclared identifier is reported only once
sql.c:184: error: for each function it appears in.)
sql.c:184: error: `conn' undeclared (first use in this function)
sql.c:242: warning: implicit declaration of function `PQconnectdb'
sql.c:245: warning: implicit declaration of function `PQstatus'
sql.c:245: error: `CONNECTION_OK' undeclared (first use in this function)
sql.c:246: warning: implicit declaration of function `PQerrorMessage'
sql.c: In function `_pgsql_escape_str':
sql.c:255: warning: implicit declaration of function `PQescapeString'
sql.c: In function `_pgsql_exec':
sql.c:261: error: `PGresult' undeclared (first use in this function)
sql.c:261: error: `result' undeclared (first use in this function)
sql.c:263: error: `ExecStatusType' undeclared (first use in this function)
sql.c:263: error: syntax error before "status"
sql.c:266: warning: implicit declaration of function `PQexec'
sql.c:269: error: `status' undeclared (first use in this function)
sql.c:269: warning: implicit declaration of function `PQresultStatus'
sql.c:270: error: `PGRES_COMMAND_OK' undeclared (first use in this function)
sql.c:272: warning: implicit declaration of function `PQclear'
sql.c:275: error: `PGRES_TUPLES_OK' undeclared (first use in this function)
sql.c:278: warning: implicit declaration of function `PQresStatus'
sql.c:284: warning: implicit declaration of function `PQntuples'
sql.c:298: warning: implicit declaration of function `PQgetvalue'
sql.c:298: warning: passing arg 1 of `strlen' makes pointer from integer without a cast
sql.c:298: warning: passing arg 2 of `memcpy' makes pointer from integer without a cast
sql.c:298: warning: passing arg 2 of `strncpy' makes pointer from integer without a cast
sql.c:298: warning: passing arg 2 of `strncpy' makes pointer from integer without a cast
sql.c: In function `_pgsql_close':
sql.c:325: warning: implicit declaration of function `PQfinish'
rm -fr .libs/libcrammd5.la .libs/libcrammd5.* .libs/libcrammd5.*
(cd . && ln -s cram.lo cram.o)
(cd . && ln -s crammd5_init.lo crammd5_init.o)
gcc -shared  cram.lo crammd5_init.lo plugin_common.lo  -lresolv -lresolv -lc  -Wl,-soname -Wl,libcrammd5.so.2 -o .libs/libcrammd5.so.2.0.17
rm -fr .libs/libdigestmd5.la .libs/libdigestmd5.* .libs/libdigestmd5.*
(cd . && ln -s digestmd5.lo digestmd5.o)
(cd . && ln -s digestmd5_init.lo digestmd5_init.o)
gcc -shared  digestmd5.lo digestmd5_init.lo plugin_common.lo  -lcrypto -lresolv -lresolv -lresolv -lc  -Wl,-soname -Wl,libdigestmd5.so.2 -o .libs/libdigestmd5.so.2.0.17
make[2]: *** [sql.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
(cd .libs && rm -f libcrammd5.so.2 && ln -s libcrammd5.so.2.0.17 libcrammd5.so.2)
(cd .libs && rm -f libcrammd5.so && ln -s libcrammd5.so.2.0.17 libcrammd5.so)
creating libcrammd5.la
(cd .libs && rm -f libcrammd5.la && ln -s ../libcrammd5.la libcrammd5.la)
(cd .libs && rm -f libdigestmd5.so.2 && ln -s libdigestmd5.so.2.0.17 libdigestmd5.so.2)
(cd .libs && rm -f libdigestmd5.so && ln -s libdigestmd5.so.2.0.17 libdigestmd5.so)
creating libdigestmd5.la
(cd .libs && rm -f libdigestmd5.la && ln -s ../libdigestmd5.la libdigestmd5.la)
make[2]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.17/work/cyrus-sasl-2.1.17/plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/cyrus-sasl-2.1.17/work/cyrus-sasl-2.1.17'
make: *** [all] Error 2

!!! ERROR: dev-libs/cyrus-sasl-2.1.17 failed.
!!! Function src_compile, Line 92, Exitcode 2
!!! compile problem

Calculating world dependencies  ...done!
>>> emerge (1 of 1) dev-libs/cyrus-sasl-2.1.17 to /
>>> md5 src_uri ;-) cyrus-sasl-2.1.17.tar.gz

Johnny

Reproducible: Always
Steps to Reproduce:
1. emerge -u dev-libs/cyrus-sasl
2.
3.


Expected Results:  
 

 emerge info 
Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 
2.4.23) 
================================================================= 
System uname: 2.4.23 i686 mobile AMD Athlon(tm) XP 2500+ 
Gentoo Base System version 1.4.3.12 
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) 
[disabled] 
ccache version 2.3 [enabled] 
Autoconf: sys-devel/autoconf-2.59 
Automake: sys-devel/automake-1.7.8 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /lib/modules /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/env.d" 
CXXFLAGS="-O3 -mcpu=athlon-xp -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://builda http://gentoo.oregonstate.edu 
http://distro.ibiblio.org/pub/Linux/distributions/gentoo" 
MAKEOPTS="-j3" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="X Xaw3d aalib acl acpi afs alsa apache2 apm arts avi berkdb bonobo cdr 
crypt cscope cups curl dga directfb doc dvb dvd emacs encode esd ethereal evo 
fbcon firebird flash foomaticdb freetds gb gd gdbm ggi gif gnome gphoto2 gpm 
gps gstreamer gtk gtk2 gtkhtml guile imap imlib informix innodb ipv6 jack java 
jikes joystick jpeg kde kerberos krb4 ladcca lcm ldap leim libg++ libgda 
libwww lirc mad maildir mbox mcal memlimit mikmod mmx motif mozilla mpeg mpi 
mule mysql nas ncurses nhc98 nls oci8 odbc oggvorbis opengl oss pam pcmcia pda 
pdflib perl plotutils png pnp postgres ppds prelude python qt quicktime 
readline ruby18 samba sasl scanner sdl slang slp snmp socks5 spell ssl svga 
tcltk tcpd tetex tiff truetype usb wmf wxwindows x86 xface xinerama xml2 xmms 
xosd xv zeo zlib"
Comment 1 Hans-Christian Armingeon 2004-01-15 08:47:04 UTC
Created attachment 23863 [details]
The complete build log
Comment 2 Max Kalika (RETIRED) gentoo-dev 2004-01-15 09:34:11 UTC

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