>>> Unpacking source... >>> Unpacking pg_top-3.6.2.tar.bz2 to /var/tmp/portage/dev-db/pg_top-3.6.2/work >>> Source unpacked. >>> Compiling source in /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2 ... * econf: updating pg_top-3.6.2/config.guess with /usr/share/gnuconfig/config.guess * econf: updating pg_top-3.6.2/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-debug --build=i686-pc-linux-gnu Configuring pg_top 3.6.2 checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for make... make checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether i686-pc-linux-gnu-gcc accepts -g... yes checking for i686-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of i686-pc-linux-gnu-gcc... gcc3 checking for gawk... (cached) gawk checking for a BSD-compatible install... /usr/bin/install -c checking OS revision number... 2627gentoor2 checking for pg_config... /usr/bin/pg_config checking for PostgreSQL libraries... checking for library containing kstat_open... no checking for library containing kvm_open... no checking for library containing elf32_getphdr... -lelf checking for library containing vm_statistics... no checking for library containing tgetent... -lcurses checking for library containing exp... -lm checking for library containing dlerror... -ldl checking for library containing inet_aton... none required checking how to run the C preprocessor... i686-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking whether time.h and sys/time.h may both be included... yes checking for a good signal.h... /usr/include/bits/signum.h checking whether sys_errlist is declared... yes checking return type of signal handlers... void checking for time_t... yes checking for getopt... yes checking for memcpy... yes checking for setpriority... yes checking for strchr... yes checking for strerror... yes checking for snprintf... yes checking for sighold... yes checking for sigrelse... yes checking for sigaction... yes checking for sigprocmask... yes checking for correct ls options... ls -l checking for a platform module... linux checking for installation settings... mode=755 configure: creating ./config.status config.status: creating Makefile config.status: creating pg_top.1 config.status: creating config.h config.status: executing depfiles commands make -j14 make all-am make[1]: Entering directory `/var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2' i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/postgresql/libpq-4 -Wall -g -MT color.o -MD -MP -MF .deps/color.Tpo -c -o color.o color.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/postgresql/libpq-4 -Wall -g -MT commands.o -MD -MP -MF .deps/commands.Tpo -c -o commands.o commands.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/postgresql/libpq-4 -Wall -g -MT display.o -MD -MP -MF .deps/display.Tpo -c -o display.o display.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/postgresql/libpq-4 -Wall -g -MT getopt.o -MD -MP -MF .deps/getopt.Tpo -c -o getopt.o getopt.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/postgresql/libpq-4 -Wall -g -MT screen.o -MD -MP -MF .deps/screen.Tpo -c -o screen.o screen.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/postgresql/libpq-4 -Wall -g -MT sprompt.o -MD -MP -MF .deps/sprompt.Tpo -c -o sprompt.o sprompt.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/postgresql/libpq-4 -Wall -g -MT pg.o -MD -MP -MF .deps/pg.Tpo -c -o pg.o pg.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/postgresql/libpq-4 -Wall -g -MT pg_top.o -MD -MP -MF .deps/pg_top.Tpo -c -o pg_top.o pg_top.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/postgresql/libpq-4 -Wall -g -MT username.o -MD -MP -MF .deps/username.Tpo -c -o username.o username.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/postgresql/libpq-4 -Wall -g -MT utils.o -MD -MP -MF .deps/utils.Tpo -c -o utils.o utils.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/postgresql/libpq-4 -Wall -g -MT version.o -MD -MP -MF .deps/version.Tpo -c -o version.o version.c i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/usr/include/postgresql/libpq-4 -Wall -g -MT m_linux.o -MD -MP -MF .deps/m_linux.Tpo -c -o m_linux.o `test -f 'machine/m_linux.c' || echo './'`machine/m_linux.c mv -f .deps/username.Tpo .deps/username.Po mv -f .deps/color.Tpo .deps/color.Po mv -f .deps/getopt.Tpo .deps/getopt.Po mv -f .deps/screen.Tpo .deps/screen.Po mv -f .deps/sprompt.Tpo .deps/sprompt.Po mv -f .deps/utils.Tpo .deps/utils.Po mv -f .deps/version.Tpo .deps/version.Po mv -f .deps/commands.Tpo .deps/commands.Po mv -f .deps/m_linux.Tpo .deps/m_linux.Po mv -f .deps/pg.Tpo .deps/pg.Po mv -f .deps/pg_top.Tpo .deps/pg_top.Po mv -f .deps/display.Tpo .deps/display.Po i686-pc-linux-gnu-gcc -Wall -g -L/usr/lib -lpq -Wl,-O1 -o pg_top color.o commands.o display.o getopt.o screen.o sprompt.o pg.o pg_top.o username.o utils.o version.o m_linux.o -ldl -lm -lcurses -lelf commands.o: In function `show_current_query': /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:536: undefined reference to `PQexec' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:537: undefined reference to `PQntuples' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:545: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:551: undefined reference to `PQclear' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:552: undefined reference to `PQfinish' commands.o: In function `show_explain': /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:578: undefined reference to `PQexec' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:579: undefined reference to `PQntuples' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:588: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:593: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:598: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:600: undefined reference to `PQexec' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:601: undefined reference to `PQexec' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:602: undefined reference to `PQexec' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:603: undefined reference to `PQntuples' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:606: undefined reference to `PQresultErrorMessage' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:609: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:613: undefined reference to `PQclear' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:618: undefined reference to `PQclear' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:619: undefined reference to `PQfinish' commands.o: In function `show_locks': /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:648: undefined reference to `PQfinish' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:652: undefined reference to `PQexec' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:654: undefined reference to `PQntuples' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:661: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:662: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:663: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:664: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:665: undefined reference to `PQgetvalue' commands.o:/var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:666: more undefined references to `PQgetvalue' follow commands.o: In function `show_locks': /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:702: undefined reference to `PQclear' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/commands.c:703: undefined reference to `PQfinish' pg.o: In function `connect_to_db': /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:463: undefined reference to `PQconnectdb' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:464: undefined reference to `PQstatus' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:467: undefined reference to `PQerrorMessage' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:469: undefined reference to `PQfinish' pg.o: In function `pg_display_index_stats': /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:540: undefined reference to `PQexec' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:541: undefined reference to `PQntuples' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:548: undefined reference to `PQfinish' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:545: undefined reference to `PQfinish' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:558: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:558: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:558: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:558: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:568: undefined reference to `PQgetvalue' pg.o:/var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:578: more undefined references to `PQgetvalue' follow pg.o: In function `pg_display_index_stats': /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:595: undefined reference to `PQclear' pg.o: In function `pg_display_table_stats': /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:616: undefined reference to `PQexec' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:617: undefined reference to `PQntuples' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:624: undefined reference to `PQfinish' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:621: undefined reference to `PQfinish' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:633: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:633: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:633: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:633: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:633: undefined reference to `PQgetvalue' pg.o:/var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:633: more undefined references to `PQgetvalue' follow pg.o: In function `pg_display_table_stats': /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/pg.c:684: undefined reference to `PQclear' m_linux.o: In function `get_process_info': /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/machine/m_linux.c:759: undefined reference to `PQexec' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/machine/m_linux.c:760: undefined reference to `PQntuples' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/machine/m_linux.c:768: undefined reference to `PQgetvalue' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/machine/m_linux.c:825: undefined reference to `PQclear' /var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2/machine/m_linux.c:826: undefined reference to `PQfinish' collect2: ld returned 1 exit status make[1]: *** [pg_top] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-db/pg_top-3.6.2/work/pg_top-3.6.2' make: *** [all] Error 2 * * ERROR: dev-db/pg_top-3.6.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 123: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/dev-db:pg_top-3.6.2:20081116-000210.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-db/pg_top-3.6.2/temp/environment'. *