gentoo root # ebuild /var/db/pkg/dev-db/postgresql-7.3/postgresql-7.3.ebuild config * >>> Creating data directory ... * >>> Initializing the database ... The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale C. Fixing permissions on existing directory /var/lib/postgresql/data... ok creating directory /var/lib/postgresql/data/base... ok creating directory /var/lib/postgresql/data/global... ok creating directory /var/lib/postgresql/data/pg_xlog... ok creating directory /var/lib/postgresql/data/pg_clog... ok creating template1 database in /var/lib/postgresql/data/base/1... /usr/bin/initdb: line 582: 28365 Segmentation fault "$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BACKEND_TALK_ARG template1 sed: couldn't write 77 items to stdout: Broken pipe cat: write error: Broken pipe initdb failed. Reproducible: Always Steps to Reproduce: 1. emerge postgresql 2. ebuild /var/db/pkg/dev-db/postgresql-7.3/postgresql-7.3.ebuild config Actual Results: * >>> Creating data directory ... * >>> Initializing the database ... The files belonging to this database system will be owned by user "postgres". This user must also own the server process. The database cluster will be initialized with locale C. Fixing permissions on existing directory /var/lib/postgresql/data... ok creating directory /var/lib/postgresql/data/base... ok creating directory /var/lib/postgresql/data/global... ok creating directory /var/lib/postgresql/data/pg_xlog... ok creating directory /var/lib/postgresql/data/pg_clog... ok creating template1 database in /var/lib/postgresql/data/base/1... /usr/bin/initdb: line 582: 28365 Segmentation fault "$PGPATH"/postgres -boot -x1 $PGSQL_OPT $BACKEND_TALK_ARG template1 sed: couldn't write 77 items to stdout: Broken pipe cat: write error: Broken pipe initdb failed. Expected Results: create template1 database
emerge info from panthar, had same error on the 11th of March 2003: Portage 2.0.47-r8 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2) ================================================================= System uname: 2.4.20-gentoo-r1 i686 Intel(R) Pentium(R) III Mobile CPU 1000MHz GENTOO_MIRRORS="http://csociety-ftp.ecn.purdue.edu/pub/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="" USE="x86 3dnow arts nls qt aalib acpi afs alsa apm avi berkdb bonobo cdr crypt cups dga directfb dvd encode esd ethereal evo fbcon flash gd gdbm ggi gif gnome gphoto2 gpm gps gtk gtk2 gtkhtml guile imap imlib innodb ipv6 java jpeg kde kerberos libg++ libwww maildir mbox mikmod mmx motif mozilla mpeg mysql ncurses oav oci8 odbc oggvorbis opengl oss pam pcmcia pda pdflib perl pic plotutils png pnp postgres python quicktime readline ruby samba scanner sdl slang snmp spell sse ssl svga tcltk tcpd tetex tiff truetype trusted usb wmf X xface xml xml2 xmms xv zlib" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer -fforce-addr -falign-functions=4 -fprefetch-loop-arrays" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
emerge info from brad[] tried also on the 11th of March 2003 but with success! Odyssey:~ # emerge info Portage 2.0.47-r8 (, gcc-3.2.2, glibc-2.2.5-r2,2.3.1-r2) ================================================================= System uname: 2.4.20 i686 Intel(R) Pentium(R) III Mobile CPU 1000MHz GENTOO_MIRRORS="ftp://ftp.ibiblio.org/pub/linux/distributions/gentoo ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo http://gentoo.oregonstate.edu " CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" PORTDIR="/usr/portage" DISTDIR="/usr/portage/distfiles" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR_OVERLAY="/usr/local/portage" USE="x86 oss 3dnow apm avi crypt cups encode gif jpeg libg++ libwww mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gdbm berkdb slang readline arts svga tcltk java guile X sdl gpm tcpd pam ssl python imlib oggvorbis gtk qt kde motif opengl aalib doc gd -gnome imap mozilla pcmcia pda perl pnp samba sse tiff usb wmf -esd" COMPILER="gcc3" CHOST="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O3 -pipe" CXXFLAGS="-march=pentium3 -O3 -pipe" ACCEPT_KEYWORDS="x86" MAKEOPTS="-j2" AUTOCLEAN="yes" SYNC="rsync://rsync.gentoo.org/gentoo-portage" FEATURES="sandbox ccache"
Hmm i did an: emerge sync, then emerge portage, then emerge sync then ran the ebuild conf again.. and now it worked?! *eyezItWeirdly* sorry can't really give ya a better explination of what happened there.. Jax
ebuild /var/db/pkg/dev-db/postgresql-7.3.2/postgresql-7.3.2.ebuild if I do this I get /usr/sbin/ebuild.sh: line 1065: pkg_config: command not found ... thought using ~x86 ... so I shall not complain.
with a new sync, portage and rebuild posgres 7.3.2 ebuild ... config works.
fixed