Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 359753 - dev-db/postgresql-server-9.0.3-r1 failed on compile
Summary: dev-db/postgresql-server-9.0.3-r1 failed on compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 359943 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-03-21 13:17 UTC by tman
Modified: 2011-03-22 14:33 UTC (History)
0 users

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


Attachments
/var/log/portage/dev-db:postgresql-server-9.0.3-r1:20110321-131130.log (dev-db:postgresql-server-9.0.3-r1:20110321-131130.log,261.62 KB, text/plain)
2011-03-21 13:17 UTC, tman
Details
/var/tmp/portage/dev-db/postgresql-server-9.0.3-r1/temp/environment (environment,233.95 KB, text/plain)
2011-03-21 13:18 UTC, tman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2011-03-21 13:17:30 UTC
x86_64-pc-linux-gnu-ar crs libpq.a fe-auth.o fe-connect.o fe-exec.o fe-misc.o fe-print.o fe-lobj.o fe-protocol2.o fe-protocol3.o pqexpbuffer.o pqsignal.o fe-secure.o libpq-events.o md5.o ip.o wchar.o encnames.o noblock.o pgstrcasecmp.  |o thread.o strlcpy.o
x86_64-pc-linux-gnu-ranlib libpq.a
make[3]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-9.0.3-r1/work/postgresql-9.0.3/src/interfaces/libpq'
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../../src/include -fpic -I. -I../../../../src/interfaces/       |libpq -I../../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/postgresql-9.0/  -c -o libpqwalreceiver.o libpqwalreceiver.c
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../../src/include -fpic -shared -o libpqwalreceiver.so          |libpqwalreceiver.o -L../../../../src/port -Wl,-O1 -Wl,--as-needed  -L/usr/lib64/postgresql-9.0/lib64 -Wl,--as-needed -Wl,-rpath,'/usr/lib64',--enable-new-dtags  -L../../../../src/interfaces/libpq -lpq 
make[2]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-9.0.3-r1/work/postgresql-9.0.3/src/backend/replication/libpqwalreceiver'
make -C bin all
make[2]: Entering directory `/var/tmp/portage/dev-db/postgresql-server-9.0.3-r1/work/postgresql-9.0.3/src/bin'
make[3]: Entering directory `/var/tmp/portage/dev-db/postgresql-server-9.0.3-r1/work/postgresql-9.0.3/src/bin/initdb'
msgfmt -o po/de.mo po/de.po
make -C ../../../src/port all
make[4]: Entering directory `/var/tmp/portage/dev-db/postgresql-server-9.0.3-r1/work/postgresql-9.0.3/src/port'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-9.0.3-r1/work/postgresql-9.0.3/src/port'
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../src/include -DFRONTEND -I../../../src/interfaces/libpq -     |I../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/postgresql-9.0/  -c -o initdb.o initdb.c
rm -f encnames.c && ln -s ../../../src/backend/utils/mb/encnames.c .
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../src/include -DFRONTEND -I../../../src/interfaces/libpq -     |I../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/postgresql-9.0/  -c -o encnames.o encnames.c
rm -f pqsignal.c && ln -s ../../../src/interfaces/libpq/pqsignal.c .
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../src/include -DFRONTEND -I../../../src/interfaces/libpq -     |I../../../src/include -D_GNU_SOURCE -I/usr/include/libxml2  -I/usr/include/postgresql-9.0/  -c -o pqsignal.o pqsignal.c
x86_64-pc-linux-gnu-gcc -march=core2 -O2 -pipe -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Wendif-labels -fno-strict-aliasing -fwrapv -I../../../src/include initdb.o encnames.o pqsignal.o  -L../../../src/  |port -Wl,-O1 -Wl,--as-needed  -L/usr/lib64/postgresql-9.0/lib64 -Wl,--as-needed -Wl,-rpath,'/usr/lib64',--enable-new-dtags  -lpgport -lxslt -lxml2 -lz -lreadline -lcrypt -ldl -lm  -o initdb
/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpgport
collect2: ld returned 1 exit status
make[3]: *** [initdb] Error 1
make[3]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-9.0.3-r1/work/postgresql-9.0.3/src/bin/initdb'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-9.0.3-r1/work/postgresql-9.0.3/src/bin'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-9.0.3-r1/work/postgresql-9.0.3/src'
make: *** [all] Error 2
make: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-9.0.3-r1/work/postgresql-9.0.3'
emake failed
 * ERROR: dev-db/postgresql-server-9.0.3-r1 failed (compile phase):


Reproducible: Always




Portage 2.1.9.44 (default/linux/amd64/10.0/desktop, gcc-4.5.2, glibc-2.13-r2, 2.6.38-gentoo x86_64)
=================================================================
System uname: Linux-2.6.38-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.2
Timestamp of tree: Mon, 21 Mar 2011 13:00:01 +0000
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1, 3.1.3-r1, 3.2
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.7.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.13, 2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.21
sys-devel/gcc:       4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/boot/grub/40_custom /etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/fstab /etc/grub.d/05_theme /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa /usr/share/xsessions/openbox.desktop /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en vi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/emacs /usr/portage/local/layman/lorelei /usr/portage/local/layman/lxde /usr/portage/local/layman/mpd /usr/portage/local/layman/mellon /usr/portage/local/layman/wirelay /usr/portage/local/layman/java-overlay /usr/portage/local/layman/poly-c /usr/portage/local/layman/nikai /usr/portage/local/layman/qting-edge /usr/portage/local/layman/roslin /usr/portage/local/layman/scarabeus /usr/portage/local/layman/techwolf /usr/portage/local/layman/mgorny /usr/portage/local/layman/bleeding-edge /usr/portage/local/layman/gnome /usr/portage/local/layman/science /usr/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="*+ X a52 aac aalib accessibility acl acpi adns afs aim alsa amd64 ao apache2 ass atm audio audiofile bash-completion beagle berkdb bidi bluetooth branding bzip2 cairo caps cdda cdio cdparanoia cdr cgi cjk clamdtop cli clisp consolekit cracklib crypt cscope css csv cups curl curlwrappers cvs cxx dbus dc1394 dga dhcp dhcpcd dia dirac directfb dmx dri dts dv dvd dvdr dvi emacs emboss enca encode enscript exceptions exif expat extras faac faad fam fastcgi fbcon ffmpeg firefox flac flash fortran ftp fuse gcj gd gdbm gdu geoip ggi gif gimp git glib gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gstreamer gtk gzip hash hddtemp highlight httpd iconv icq icu idn ieee1394 imagemagick imap imlib introspection ipv6 ithreads jabber jack java java6 javascript jingle joystick jpeg jpeg2k kde kerberos lame lapack latex lcms ldap libcaca libnotify libwww live logrotate lua lzo mad maildir matroska mbrola md5sum memlimit mercurial mhash midi mikmod milter mime mjpeg mmap mmx mmxext mng modules mono motif mp3 mp4 mpeg mplayer msn mudflap mule multilib musepack mysql nas nautilus ncurses netboot network networkmanager nfs nls nptl nptlonly nsplugin nvidia ogg ogg123 openal openexr opengl openmp oss pam pango pcap pcmcia pcre pdf perl php pic pidgin png policykit posix postgres ppds pppd ps pulseaudio python qt3support qt4 quicktime radio rar raw rdesktop readline reflection rss rtc rtsp ruby samba sasl savedconfig schroedinger sdl sdl-image session sip slang slp smp soap sockets sox spamassassin speex spell spl sqlite sqlite3 sse sse2 ssl ssse3 startup-notification stream stun subversion svg swat sysfs syslog sysvipc tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype udev unicode urandom usb userlocales v4l v4l2 vcd vhosts video vim-syntax vlm vnc vorbis wav wavpack webkit wifi wma wmf wxwidgets x264 xattr xcb xcomposite xft xinerama xinetd xml xmlrpc xorg xpm xscreensaver xsl xulrunner xv xvid xvmc yahoo zip zlib zsh-completion" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation php5 proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en vi" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18 jruby" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev vga nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 tman 2011-03-21 13:17:51 UTC
Created attachment 266713 [details]
/var/log/portage/dev-db:postgresql-server-9.0.3-r1:20110321-131130.log
Comment 2 tman 2011-03-21 13:18:35 UTC
Created attachment 266715 [details]
/var/tmp/portage/dev-db/postgresql-server-9.0.3-r1/temp/environment
Comment 3 Aaron W. Swenson gentoo-dev 2011-03-21 13:45:46 UTC
I find this line to be rather disconcerting:
/var/tmp/portage/dev-db/postgresql-server-9.0.3-r1/temp/environment: line 5964: /usr/lib64/postgresql-9.0/bin/pg_config: No such file or directory

The server ebuild relies upon pg_config to tell it where to find everything else that has been installed by dev-db/postgresql-base.
Comment 4 SpanKY gentoo-dev 2011-03-21 22:17:29 UTC
`emerge --sync` and re-emerge installed postgresql packages
Comment 5 SpanKY gentoo-dev 2011-03-22 14:33:43 UTC
*** Bug 359943 has been marked as a duplicate of this bug. ***