Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 366501 - I can't build =mail-mta/exim-4.75 with USE="postgres" anymore
Summary: I can't build =mail-mta/exim-4.75 with USE="postgres" anymore
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-08 20:18 UTC by Dmitri Bogomolov
Modified: 2011-05-10 19:02 UTC (History)
0 users

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


Attachments
build.log (build.log,36.01 KB, text/x-log)
2011-05-08 20:23 UTC, Dmitri Bogomolov
Details
emerge --info =mail-mta/exim-4.75 (emerge.info,5.47 KB, text/plain)
2011-05-08 20:27 UTC, Dmitri Bogomolov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Bogomolov 2011-05-08 20:18:45 UTC
I have =mail-mta/exim-4.75 installed 04/03/2011 and two slots of dev-db/postgresql-base:
 8.4.5(8.4)!t(09:03:50 PM 12/15/2010)
 9.0.3(9.0)!t(12:24:02 AM 04/27/2011)

Today I tryed to install =mail-mta/exim-4.75-r1 and got this error output:

i686-gentoo-linux-gnu-gcc -o exim -rdynamic -ldl acl.o child.o crypt16.o daemon.o dbfn.o debug.o deliver.o directory.o dns.o drtables.o enq.o exim.o expand.o filter.o filtertest.o globals.o dkim.o header.o host.o ip.o log.o lss.o match.o moan.o os.o parse.o queue.o rda.o readconf.o receive.o retry.o rewrite.o rfc2047.o route.o search.o sieve.o smtp_in.o smtp_out.o spool_in.o spool_out.o store.o string.o tls.o tod.o transport.o tree.o verify.o lookups/lf_quote.o lookups/lf_check_file.o lookups/lf_sqlperform.o local_scan.o  malware.o mime.o regex.o spam.o spool_mbox.o demime.o bmi_spam.o spf.o srs.o dcc.o version.o \
	  routers/routers.a transports/transports.a lookups/lookups.a \
	  auths/auths.a pdkim/pdkim.a \
	  -lresolv -lnsl -lcrypt -lm   -lspf2 -lpam -lsasl2 -lwrap -lradiusclient -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed \
	   -ldb -lldap -llber -lpq -lsqlite3  \
	   -lgnutls -ltasn1 -lgcrypt -lpcre -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed
i686-gentoo-linux-gnu-gcc: lookups/lf_quote.o: No such file or directory
i686-gentoo-linux-gnu-gcc: lookups/lf_check_file.o: No such file or directory
i686-gentoo-linux-gnu-gcc: lookups/lf_sqlperform.o: No such file or directory
i686-gentoo-linux-gnu-gcc: lookups/lookups.a: No such file or directory
make[1]: *** [exim] Error 1
make[1]: Leaving directory `/var/tmp/portage/mail-mta/exim-4.75-r1/work/exim-4.75/build-exim-gentoo'
make: *** [all] Error 2
emake failed

Then I tryed emerge =mail-mta/exim-4.75 with the same result.
=mail-mta/exim-4.75 installs successfully on my laptop with USE="-postgres"

Reproducible: Always
Comment 1 Dmitri Bogomolov 2011-05-08 20:23:38 UTC
Created attachment 272519 [details]
build.log
Comment 2 Dmitri Bogomolov 2011-05-08 20:27:57 UTC
Created attachment 272521 [details]
emerge --info =mail-mta/exim-4.75

emerge -pqv =mail-mta/exim-4.75:

[ebuild   R   ] mail-mta/exim-4.75  USE="X dkim dnsdb exiscan-acl gnutls ldap pam postgres radius sasl spf sqlite ssl syslog tcpd -dcc -dovecot-sasl -dsn -ipv6 -lmtp -maildir -mbx -mysql -nis -perl -srs"
Comment 3 Rafał Mużyło 2011-05-08 21:41:46 UTC
Try with '-j1' instead.
Comment 4 Dmitri Bogomolov 2011-05-08 23:26:43 UTC
(In reply to comment #3)
> Try with '-j1' instead.

This didn't help.
Comment 5 Rafał Mużyło 2011-05-10 17:21:26 UTC
OK, should have read the whole log.

pgsql.c:17:52: error: libpq-fe.h: No such file or directory

Recheck your postgres installation, startting with reselecting a version with 'eselect postgresql'.
Comment 6 Dmitri Bogomolov 2011-05-10 19:02:25 UTC
(In reply to comment #5)
> OK, should have read the whole log.
> 
> pgsql.c:17:52: error: libpq-fe.h: No such file or directory
> 
> Recheck your postgres installation, startting with reselecting a version with
> 'eselect postgresql'.

Thank you! I did this:
 1. manualy removed /usr/lib/postgresql, /usr/share/postgresql
 2. eselect postgresql update