Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488650 - =dev-db/postgresql-server-{8.4.18,9.0.14,9.1.10} with sys-libs/timezone-data-2013g fails tests - pg_regress: initdb failed - src/test/regress/./tmp_check/data/base/1 ... FATAL: too many private dirs demanded
Summary: =dev-db/postgresql-server-{8.4.18,9.0.14,9.1.10} with sys-libs/timezone-data-...
Status: RESOLVED DUPLICATE of bug 486556
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PgSQL Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-19 22:36 UTC by eroen
Modified: 2014-01-11 11:49 UTC (History)
0 users

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


Attachments
dev-db/postgresql-server-8.4.18 build.log (build.log,463.28 KB, text/plain)
2013-10-19 22:38 UTC, eroen
Details
dev-db/postgresql-server-8.4.18 initdb.log (initdb.log,1.14 KB, text/plain)
2013-10-19 22:40 UTC, eroen
Details
dev-db/postgresql-server-9.0.14 build.log (build.log,424.47 KB, text/plain)
2013-10-19 22:41 UTC, eroen
Details
dev-db/postgresql-server-9.0.14 postmaster.log (postmaster.log,39 bytes, text/plain)
2013-10-19 22:43 UTC, eroen
Details
dev-db/postgresql-server-9.1.10 build.log (build.log,456.98 KB, text/plain)
2013-10-19 22:44 UTC, eroen
Details
dev-db/postgresql-server-9.1.10 postmaster.log (postmaster.log,93 bytes, text/plain)
2013-10-19 22:45 UTC, eroen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description eroen 2013-10-19 22:36:12 UTC
Tests fail for these slots of postgresql-server, the higher slots pass. Logs will follow in ascending version order.

eroen@falcon ~ $ emerge --info '=dev-db/postgresql-server-9.1.10::gentoo' '=dev-db/postgresql-server-8.4.18::gentoo' '=dev-db/postgresql-server-9.0.14::gentoo'
Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.8.1, glibc-2.17, 3.10.7-e6-falcon0+ x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.10.7-e6-falcon0+-x86_64-Intel-R-_Core-TM-2_Quad_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     4038272 total,    307024 free
KiB Swap:    8388604 total,   7784880 free
Timestamp of tree: Sat, 19 Oct 2013 16:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 3.1.9 [disabled]
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.2.5-r3, 3.3.2-r2
dev-util/ccache:          3.1.9-r2
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.12.6, 1.13.4, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.5.4, 4.6.4, 4.7.3-r1, 4.8.1-r1
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.11 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo gamerlay eroen                                                                                  
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"                                                                                  
ACCEPT_LICENSE="*"                                                                                                   
CBUILD="x86_64-pc-linux-gnu"                                                                                         
CFLAGS="-march=core2 -O2 -pipe"                                                                                      
CHOST="x86_64-pc-linux-gnu"                                                                                          
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"          
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="/var/distfiles"                                                                                             
EMERGE_DEFAULT_OPTS="--jobs 3 --nospinner --quiet-build --with-bdeps=y --binpkg-respect-use y"                       
FCFLAGS="-O2 -pipe"                                                                                                  
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"                                                                          
FFLAGS="-O2 -pipe"                                                                                                   
GENTOO_MIRRORS="/var/temdist/ /var/distfiles-occam/ http://mirrors.eu.kernel.org/gentoo/ http://mirrors.kernel.org/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"                             
LANG="en_GB.UTF-8"                                                                                                   
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                    
MAKEOPTS="-j4"                                                                                                       
PKGDIR="/var/packages"                                                                                               
PORTAGE_CONFIGROOT="/"                                                                                               
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"          
PORTAGE_TMPDIR="/var/tmp"                                                                                            
PORTDIR="/usr/portage"                                                                                               
PORTDIR_OVERLAY="/var/lib/layman/gamerlay /var/lib/layman/eroen"                                                     
SYNC="rsync://mirrors.eu.kernel.org/gentoo-portage/"                                                                 
USE="X a52 aac aacs accessibility acl adns alsa amd64 ao atm berkdb bluray bs2b bzip2 cairo calendar canberra caps cdda cdio cdparanoia cdr cli corefonts cracklib crypt css cue cups curl cxx dbus dia dirac djvu dmapi dri dts dvd dvdnav dvi ebook eigen exif faac fam fbcondecor ffmpeg fftw fits flac fontconfig fortran fuse g3dvl gcrypt gd gdbm gif gimp git gmp gnutls gold gstreamer hdri highlight iconv icu id3tag idn imagemagick inotify iptc ipv6 jpeg jpeg2k kde kvm lcms lensfun libnotify loop-aes lqr lzma lzo mad man matroska midi mikmod mkv mms mmx mmxext mng mod modplug modules mp3 mp4 mpeg mpeg2 mpeg4 mpeg4pt2 mplayer mtp mudflap multilib musepack ncurses netlink nfs nls nouveau nptl ocr offensive ogg openal opencl openexr opengl opengtl openmp openvg optimization osmesa pam pango pcre pdf png pnm portaudio postscript pulseaudio qalculate qemu qt3support qt4 rar raw rdesktop readline real rtmp samba scanner schroedinger security session smp sndfile socks5 speex spice sse sse2 sse3 ssl ssse3 strong-optimization svg tbb tcpd theora threads tiff timidity tls truetype udev uml unicode usb usbredir v4l v4l2 vdpau virtualbox vnc vorbis wacom wavpack webp wmf x264 xattr xcb xcomposite xetex xfs xft xine xinerama xorg xps xrandr xv xvid xvmc zlib" ABI_X86="32 64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="openssl" DRACUT_MODULES="biosdevname caps crypt crypt-gpg dash dmraid lvm mdraid 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" GRUB_PLATFORMS="efi-64 pc qemu" INPUT_DEVICES="evdev keyboard mouse synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver presenter-console presenter-minimizer" LINGUAS="en en_US en_GB nb no nb_NO" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" RUBY_TARGETS="ruby20" SANE_BACKENDS="net plustek pnm" USERLAND="GNU" VIDEO_CARDS="nouveau nvidia vesa" XFCE_PLUGINS="menu" 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"
USE_PYTHON="2.7 3.2 3.3"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-db/postgresql-server-9.1.10 was built with the following:
USE="nls pam -doc -kerberos -perl -pg_legacytimestamp -python (-selinux) -tcl -test -uuid -xml" LINGUAS="en nb -af -cs -de -es -fa -fr -hr -hu -it -ko -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 -python2_6 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_2 python3_3 -python2_6"


dev-db/postgresql-server-8.4.18 was built with the following:
USE="nls pam -doc -kerberos -perl -pg_legacytimestamp -python (-selinux) -tcl -test -uuid -xml" LINGUAS="en nb -af -cs -de -es -fa -fr -hr -hu -it -ko -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6"


dev-db/postgresql-server-9.0.14 was built with the following:
USE="nls pam -doc -kerberos -perl -pg_legacytimestamp -python (-selinux) -tcl -test -uuid -xml" LINGUAS="en nb -af -cs -de -es -fa -fr -hr -hu -it -ko -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 -python2_6 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_2 python3_3 -python2_6"

eroen@falcon ~ $ emerge -pqv '=dev-db/postgresql-server-9.1.10::gentoo' '=dev-db/postgresql-server-8.4.18::gentoo' '=dev-db/postgresql-server-9.0.14::gentoo'
[ebuild   R   ] dev-db/postgresql-server-9.1.10  USE="nls pam -doc -kerberos -perl -pg_legacytimestamp -python (-selinux) -tcl {-test} -uuid -xml" LINGUAS="en nb -af -cs -de -es -fa -fr -hr -hu -it -ko -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 -python2_6 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_2 python3_3 -python2_6" 
[ebuild   R   ] dev-db/postgresql-server-8.4.18  USE="nls pam -doc -kerberos -perl -pg_legacytimestamp -python (-selinux) -tcl {-test} -uuid -xml" LINGUAS="en nb -af -cs -de -es -fa -fr -hr -hu -it -ko -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 
[ebuild   R   ] dev-db/postgresql-server-9.0.14  USE="nls pam -doc -kerberos -perl -pg_legacytimestamp -python (-selinux) -tcl {-test} -uuid -xml" LINGUAS="en nb -af -cs -de -es -fa -fr -hr -hu -it -ko -pl -pt_BR -ro -ru -sk -sl -sv -tr -zh_CN -zh_TW" PYTHON_SINGLE_TARGET="python2_7 -python2_6 -python3_2 -python3_3" PYTHON_TARGETS="python2_7 python3_2 python3_3 -python2_6" 

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 1 eroen 2013-10-19 22:38:21 UTC
Created attachment 361360 [details]
dev-db/postgresql-server-8.4.18 build.log

make[3]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-8.4.18/work/postgresql-8.4.18/src/port'
rm -rf ./testtablespace
mkdir ./testtablespace
./pg_regress --inputdir=. --dlpath=. --multibyte=SQL_ASCII --load-language=plpgsql  --temp-install=./tmp_check --top-builddir=../../.. --schedule=./parallel_schedule  
============== creating temporary installation        ==============
============== initializing database system           ==============

pg_regress: initdb failed
Examine /var/tmp/portage/dev-db/postgresql-server-8.4.18/work/postgresql-8.4.18/src/test/regress/log/initdb.log for the reason.
Command was: "/var/tmp/portage/dev-db/postgresql-server-8.4.18/work/postgresql-8.4.18/src/test/regress/./tmp_check/install//usr/lib64/postgresql-8.4/bin/initdb" -D "/var/tmp/portage/dev-db/postgresql-server-8.4.18/work/postgresql-8.4.18/src/test/regress/./tmp_check/data" -L "/var/tmp/portage/dev-db/postgresql-server-8.4.18/work/postgresql-8.4.18/src/test/regress/./tmp_check/install//usr/share/postgresql-8.4" --noclean > "/var/tmp/portage/dev-db/postgresql-server-8.4.18/work/postgresql-8.4.18/src/test/regress/log/initdb.log" 2>&1
make[2]: *** [check] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-8.4.18/work/postgresql-8.4.18/src/test/regress'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-8.4.18/work/postgresql-8.4.18/src/test'
make: *** [check] Error 2
 * ERROR: dev-db/postgresql-server-8.4.18::gentoo failed (test phase):
 *   emake failed
Comment 2 eroen 2013-10-19 22:40:20 UTC
Created attachment 361364 [details]
dev-db/postgresql-server-8.4.18 initdb.log

creating configuration files ... ok
creating template1 database in /var/tmp/portage/dev-db/postgresql-server-8.4.18/work/postgresql-8.4.18/src/test/regress/./tmp_check/data/base/1 ... FATAL:  too many private dirs demanded
child process exited with exit code 1
initdb: data directory "/var/tmp/portage/dev-db/postgresql-server-8.4.18/work/postgresql-8.4.18/src/test/regress/./tmp_check/data" not removed at user's request
Comment 3 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-19 22:41:37 UTC
Ah, another log file; our changes clashed, updated summary.
Comment 4 eroen 2013-10-19 22:41:49 UTC
Created attachment 361366 [details]
dev-db/postgresql-server-9.0.14 build.log

make[3]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-9.0.14/work/postgresql-9.0.14/src/port'
rm -rf ./testtablespace
mkdir ./testtablespace
./pg_regress --inputdir=. --dlpath=. --multibyte=SQL_ASCII  --temp-install=./tmp_check --top-builddir=../../.. --schedule=./parallel_schedule  
============== creating temporary installation        ==============
============== initializing database system           ==============
============== starting postmaster                    ==============

pg_regress: postmaster did not respond within 60 seconds
Examine /var/tmp/portage/dev-db/postgresql-server-9.0.14/work/postgresql-9.0.14/src/test/regress/log/postmaster.log for the reason
make[2]: *** [check] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-9.0.14/work/postgresql-9.0.14/src/test/regress'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-9.0.14/work/postgresql-9.0.14/src/test'
make: *** [check] Error 2
 * ERROR: dev-db/postgresql-server-9.0.14::gentoo failed (test phase):
 *   emake failed
Comment 5 eroen 2013-10-19 22:43:05 UTC
Created attachment 361368 [details]
dev-db/postgresql-server-9.0.14 postmaster.log

FATAL:  too many private dirs demanded
Comment 6 eroen 2013-10-19 22:44:39 UTC
Created attachment 361370 [details]
dev-db/postgresql-server-9.1.10 build.log

make[3]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-9.1.10/work/postgresql-9.1.10/src/port'
rm -rf ./testtablespace
mkdir ./testtablespace
../../../src/test/regress/pg_regress --inputdir=. --temp-install=./tmp_check --top-builddir=../../..   --dlpath=. --schedule=./parallel_schedule   
============== creating temporary installation        ==============
============== initializing database system           ==============
============== starting postmaster                    ==============

pg_regress: postmaster did not respond within 60 seconds
Examine /var/tmp/portage/dev-db/postgresql-server-9.1.10/work/postgresql-9.1.10/src/test/regress/log/postmaster.log for the reason
make[2]: *** [check] Error 2
make[2]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-9.1.10/work/postgresql-9.1.10/src/test/regress'
make[1]: *** [check] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-db/postgresql-server-9.1.10/work/postgresql-9.1.10/src/test'
make: *** [check] Error 2
 * ERROR: dev-db/postgresql-server-9.1.10::gentoo failed (test phase):
 *   emake failed
Comment 7 eroen 2013-10-19 22:45:28 UTC
Created attachment 361372 [details]
dev-db/postgresql-server-9.1.10 postmaster.log

FATAL:  exceeded maxAllocatedDescs (16) while trying to open directory "/usr/share/zoneinfo"
Comment 8 Aaron W. Swenson gentoo-dev 2013-10-20 21:27:21 UTC
Do you have >=sys-libs/timezone-data-2013f installed? I think this may be related to bug 486556.
Comment 9 eroen 2013-10-20 22:06:53 UTC
No, I have sys-libs/timezone-data-2013g, but /usr/share/zoneinfo/posix is a symlink to ".".
Comment 10 eroen 2013-10-20 23:23:55 UTC
Sorry, that should be:
Yes, I have sys-libs/timezone-data-2013g installed, and /usr/share/zoneinfo/posix is a symlink to ".".

Downgrading to sys-libs/timezone-data-2013d (unmerging the currently installed version first since portage doesn't handle removing existing symlinks well) lets tests pass for the affected dev-db/postgresql-server-8.4.18, -9.0.14 and -9.1.10.

I will not mind if this is closed as a duplicate bug.
Comment 11 Aaron W. Swenson gentoo-dev 2014-01-11 11:49:55 UTC

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