Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133197 - Please stabilise dev-db/monetdb-4.10.2
Summary: Please stabilise dev-db/monetdb-4.10.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-13 06:08 UTC by Fabian Groffen
Modified: 2006-05-22 07:19 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fabian Groffen gentoo-dev 2006-05-13 06:08:31 UTC
dev-db/monetdb-4.10.2 has been without bugs in the tree since 24 Feb 2006.

Please keyword stable for x86 and ppc.

A quick test to see if the database works is to start it, and execute the very complex "1 + 1" query using MapiClient for different dialects, e.g.
% echo "SELECT 1 + 1 AS difficult;" | MapiClient -lsql
% echo "1 + 1" | MapiClient -lxq
% echo "print(1 + 1);" | MapiClient -lmil

This should result in the answer '2' returned as SQL, XQuery or MIL query answer.

Thanks.
Comment 1 nixnut (RETIRED) gentoo-dev 2006-05-13 08:37:56 UTC
Stable on ppc
Comment 2 David Morgan 2006-05-13 12:01:49 UTC
I emerged monetdb, and tried to start it, and this happened:

/etc/init.d/monetdb start
 * Caching service dependencies ...                                       [ ok ]
 * Starting MonetDB ...
/var/lib/MonetDB/monetdb-start.sh: line 4: /var/log/monetdb/Mserver.log: Permission denied
/var/lib/MonetDB/monetdb-start.sh: line 5: /var/log/monetdb/Mserver.log: Permission denied
/var/lib/MonetDB/monetdb-start.sh: line 7: /var/log/monetdb/Mserver.log: Permission denied
Mserver died immediately                                                  [ !! ]

Are users expected to do something else before it'll work?

(I tried to test if the same thing happens with the current stable version, but that didn't even compile)
Comment 3 Fabian Groffen gentoo-dev 2006-05-13 13:27:52 UTC
no, it should work.  What is your emerge --info?
Comment 4 David Morgan 2006-05-13 13:33:32 UTC
[ebuild   R   ] dev-db/monetdb-4.10.2  -debug -java +readline -static 0 kB 

emerge --info
Gentoo Base System version 1.6.14
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r4 i686)
=================================================================
System uname: 2.6.16-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.86GHz
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://gentoo.blueyonder.co.uk http://mirrors.blueyonder.co.uk/mirrors/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr cjk cli crypt cscope cups curl daap dbus dlloader dri dvd dvdr emboss encode exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gd gdbm gif glut graphviz gstreamer gtk2 hal idn imagemagick imap isdnlog jack jpeg kdeenablefinal lcms libcaca libg++ libwww live lua mad maildir matroska mbox mikmod mmx mng motif mp3 mp4 mpeg ncurses nls nptl ogg opengl pam pcre pdf pdflib perl png pppd python quicktime readline real reflection ruby samba sdl session spell spl sse sse2 ssl svg svga tcpd theora tiff truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd vidix vorbis win32codecs x264 xine xorg xv xvid xvmc zlib video_cards_radeon video_cards_fglrx video_cards_vesa video_cards_ati input_devices_keyboard input_devices_mouse userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

Comment 5 Fabian Groffen gentoo-dev 2006-05-13 13:39:19 UTC
did you report a bug for the compilation error?  If not, could you post the error here?
Comment 6 David Morgan 2006-05-13 18:08:28 UTC
make  all-am
make[4]: Entering directory `/var/tmp/portage/monetdb-4.8.2/work/MonetDB-4.8.2/src/mel'
../../rpm.mk:22: warning: overriding commands for target `../../.tar.gz'
../../rpm.mk:22: warning: ignoring old commands for target `../../.tar.gz'
../../rpm.mk:26: warning: overriding commands for target `rpm'
../../rpm.mk:26: warning: ignoring old commands for target `rpm'
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o FileInfo.o FileInfo.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o atomops.o atomops.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o mil.o mil.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o prelude.o prelude.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o ListIterator.o ListIterator.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o bat_arg.o bat_arg.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o epilogue.o epilogue.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o var_arg.o var_arg.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o proto.o proto.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o builtin.o builtin.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o glue.o glue.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o mel.o mel.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o mel.tab.o mel.tab.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o mel.yy.o mel.yy.cc
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I.    -O2 -march=pentium3 -pipe -ansi -Wall -W -Werror -Wno-unused-function -Wno-unused-label  -c -o symbol.o symbol.cc
lex.yy.c: In function `int yy_get_next_buffer()':
lex.yy.c:1616: warning: comparison between signed and unsigned integer expressions
make[4]: *** [mel.yy.o] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/monetdb-4.8.2/work/MonetDB-4.8.2/src/mel'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/monetdb-4.8.2/work/MonetDB-4.8.2/src/mel'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/monetdb-4.8.2/work/MonetDB-4.8.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/monetdb-4.8.2/work/MonetDB-4.8.2'
make: *** [all] Error 2

!!! ERROR: dev-db/monetdb-4.8.2 failed.
!!! Function src_compile, Line 72, Exitcode 2
!!! emake monetdb failed
!!! If you need support, post the topmost build error, NOT this status message.


Hadn't reported it before because I don't use monetdb and only found the bug when I was testing it
Comment 7 David Morgan 2006-05-13 18:24:34 UTC
And since you asked (mistake!) I get this error on my ~x8 system

Making all in monet
make[4]: Entering directory `/var/tmp/portage/monetdb-4.10.2/work/MonetDB-4.10.2/src/monet'
../../rpm.mk:22: warning: overriding commands for target `../../.tar.gz'
../../rpm.mk:22: warning: ignoring old commands for target `../../.tar.gz'
../../rpm.mk:26: warning: overriding commands for target `rpm'
../../rpm.mk:26: warning: ignoring old commands for target `rpm'
make  all-am
make[5]: Entering directory `/var/tmp/portage/monetdb-4.10.2/work/MonetDB-4.10.2/src/monet'
../../rpm.mk:22: warning: overriding commands for target `../../.tar.gz'
../../rpm.mk:22: warning: ignoring old commands for target `../../.tar.gz'
../../rpm.mk:26: warning: overriding commands for target `rpm'
../../rpm.mk:26: warning: ignoring old commands for target `rpm'
/bin/sh ../../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../common -I./../common -I../gdk -I./../gdk   -DLIBMONET  -O2 -march=pentium3 -pipe -fomit-frame-pointer -std=c99 -Wall -W -O6 -fomit-frame-pointer                          -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexpensive-optimizations                     -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label  -D_REENTRANT -c -o libmonet_la-monet.lo `test -f 'monet.c' || echo './'`monet.c
mkdir .libs
 i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I. -I../common -I./../common -I../gdk -I./../gdk -DLIBMONET -O2 -march=pentium3 -pipe -fomit-frame-pointer -std=c99 -Wall -W -O6 -fomit-frame-pointer -finline-functions -falign-loops=4 -falign-jumps=4 -falign-functions=4 -fexpensive-optimizations -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -Werror-implicit-function-declaration -Werror -Wno-unused-function -Wno-unused-label -D_REENTRANT -c monet.c  -fPIC -DPIC -o .libs/libmonet_la-monet.o
cc1: warnings being treated as errors
/export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx: In function 'monet_init':
/export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx:424: warning: value computed is not used
/export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx:424: warning: value computed is not used
/export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx:424: warning: value computed is not used
/export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx:424: warning: value computed is not used
/export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx:424: warning: value computed is not used
/export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx:424: warning: value computed is not used
/export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx: In function 'monet_syscall':
/export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx:928: warning: dereferencing type-punned pointer will break strict-aliasing rules
/export/scratch0/monet/monet.GNU.64.64.d.15251/MonetDB/src/monet/monet.mx:929: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[5]: *** [libmonet_la-monet.lo] Error 1
make[5]: Leaving directory `/var/tmp/portage/monetdb-4.10.2/work/MonetDB-4.10.2/src/monet'
make[4]: *** [all] Error 2
make[4]: Leaving directory `/var/tmp/portage/monetdb-4.10.2/work/MonetDB-4.10.2/src/monet'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/monetdb-4.10.2/work/MonetDB-4.10.2/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/monetdb-4.10.2/work/MonetDB-4.10.2/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/monetdb-4.10.2/work/MonetDB-4.10.2'
make: *** [all] Error 2

!!! ERROR: dev-db/monetdb-4.10.2 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_compile
  ebuild.sh, line 930:   Called src_compile
  monetdb-4.10.2.ebuild, line 88:   Called die

!!! emake monetdb failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

Are you sure this is ready for stabalising? (Has anyone who isn't you or me tested this?)

emerge --info
Gentoo Base System version 1.12.0_pre19
Portage 2.1_pre10-r5 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.4-r3, 2.6.16-gentoo-r4 i686)
=================================================================
System uname: 2.6.16-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.86GHz
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r1
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="ftp://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ http://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ ftp://gentoo.blueyonder.co.uk http://mirrors.blueyonder.co.uk/mirrors/gentoo"
LC_ALL="en_GB.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 aac aalib acpi alsa amr asf audiofile avahi avi bash-completion berkdb bitmap-fonts bzip2 cdda cddb cdparanoia cdr cjk cli crypt cscope cups curl daap dbus dllloader dri dvd dvdr emboss encode fbcon ffmpeg firefox flac foomaticdb fortran ftp gdbm gif glut gpm graphviz gstreamer gtk2 hal imagemagick imap isdnlog jack jpeg lcms libcaca libg++ libwww live lua mad maildir matroska mbox mikmod mmx mng motif mp3 mp4 mpeg ncurses nls nptl nptlonly ogg oggvorbis opengl pam pcre pdf pdflib perl png pppd python quicktime readline real reflection ruby samba sdl session spell spl sse sse2 ssl svg svga tcpd theora tiff truetype truetype-fonts type1-fonts unicode userlocales vcd vidix vorbis win32codecs x264 xorg xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_radeon video_cards_fglrx video_cards_vesa video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 8 Fabian Groffen gentoo-dev 2006-05-14 02:35:54 UTC
Your first error is on 4.8.2, which this bug is not about, but it's a gcc-4 issue and since gcc-4.1 and gcc-4.2 are in package.mask invalid.  Besides that, 4.8.2. is stable, and gcc-4.x would be unstable if not masked.

The second error is strange as you seem to get developer paths in there (/export/scratch0/monet) which I wouldn't expect at all.  However, the error message seems to be gcc-4.1 specific, which again is in package.mask.  The next release of monetdb compiles against gcc-4.2.  As far as I know, stabling requests should be tested in stable systems, to ensure it will work on stable systems.

Since it runs quite well on several test systems on different architectures, I still think this package can be stabilised.  The only concern I have is about your /var/log/monetdb permission denied errors which, if can be confirmed by someone else, should be fixed.
Comment 9 David Morgan 2006-05-14 05:21:29 UTC
Yes, I know the first compilation error is with the old version, but I said that that was the one I had the error with and you asked for it. That system isn't using gcc-4 though.

And it might be ok to stabilise this, but the x86 team need to be able to test it first, so let's see when happens when someone else finds this in the bugs list...
Comment 10 Matthias Langer 2006-05-14 06:37:23 UTC
The error mentioned in comment #2 also affects this box:
dev-db/monetdb-4.10.2  -debug +java +readline -static

Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r6 i686)
=================================================================
System uname: 2.6.16-gentoo-r6 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict test"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.0.1/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac aalib acpi alsa apm audiofile avi berkdb bitmap-fonts bonobo bzip2 cairo cdr cli crypt css cups curl dbus dri dts dvd dvdr dvdread eds emboss encode exif expat fam fbcon ffmpeg firefox flac foomaticdb fortran gd gdbm gif ginac glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal icq idn imagemagick imlib ipv6 isdnlog java javascript jpeg jpeg2k junit lcms libg++ libwww mad matroska mikmod mime mmx mmxext mng motif mozsvg mp3 mpeg msn nautilus ncurses nls nptl nsplugin nvidia offensive ogg oggvorbis openal opengl pam pcre pdflib perl plotutils png posix pppd python quicktime readline real reflection ruby sdl session slang sockets speex spell spl sqlite sqlite3 sse ssl subtitles svg svga tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis win32codecs wma xine xml xml2 xmms xorg xv xvid zlib video_cards_nvidia linguas_en linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 11 Sander Knopper 2006-05-14 08:18:46 UTC
on x86:

[ebuild  N    ] dev-db/monetdb-4.10.2  -debug -java +readline -static

Compiles fine, but also gives me this message:

 * Starting MonetDB ...
/var/lib/MonetDB/monetdb-start.sh: line 4: /var/log/monetdb/Mserver.log: permission denied
/var/lib/MonetDB/monetdb-start.sh: line 5: /var/log/monetdb/Mserver.log: Permission denied
/var/lib/MonetDB/monetdb-start.sh: line 7: /var/log/monetdb/Mserver.log: Permission denied
Mserver died immediately                                                                                                                             


I noticed these messages before the files are being stripped:

chown: `monetdb:monetdb': invalid user
chown: `monetdb:monetdb': invalid user

Which is obvious since the monetdb user and group are created when the program is being merged into the root filesystem.

emerge info
_________________________________________________

Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16.9 i686)
=================================================================
System uname: 2.6.16.9 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sandbox sfperms strict test"
GENTOO_MIRRORS="http://gentoo.nedlinux.nl ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo/"
LINGUAS="en nl"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X aac acpi alsa avi bitmap-fonts bzip2 cairo cdparanoia cli crypt ctype cups curl dri dvd dvdread encode expat fam firefox foomaticdb ftp gd gdbm gif gtk gtk2 iconv icu idn jpeg jpeg2k kde kdeenablefinal libwww mad mmx mmxext mozsvg mp3 mpeg mplayer msn ncurses network nls nomotif nptl nptlonly nsplugin ogg opengl pcre pdflib php png posix ppds pppd qt quicktime rdesktop readline reflection rtc samba session sharedmem sockets spl sse sse2 ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts udev unicode userlocales vorbis win32codecs xml xml2 xorg xpm xv zlib video_cards_radeon input_devices_keyboard input_devices_mouse linguas_en linguas_nl userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS, PORTDIR_OVERLAY
Comment 12 Matthias Langer 2006-05-14 08:41:23 UTC
After 'chown monetdb /var/log/monetdb/' the daemon starts and the "test-commands" mentioned in the desciption of this bug work.
Comment 13 David Morgan 2006-05-14 09:17:40 UTC
After doing that it works here with USE=-debug -java +readline -static

But with USE=-debug +java -readline +static

I get

!ERROR mapi_reconnect: connect: Connection refused
MAPI  = anonymous@localhost:50000
ACTION= mapi_reconnect
ERROR = Setup connection failed

when I run any of the test commands you gave

deejayem@sif ~ $ ps ax | grep monetdb
23495 ?        Rsl    3:04 /usr/bin/Mserver /var/lib/MonetDB/monetdb-startup.mil

Can anyone else reproduce this?
Comment 14 Matthias Langer 2006-05-14 10:27:45 UTC
same here, on the box mentioned in comment #10 with USE="-debug +java +readline +static". monetdb-4.10.2 seems to have problems when build with "+static".
Comment 15 Fabian Groffen gentoo-dev 2006-05-15 00:25:38 UTC
ok, thanks all for the input.  That's obviously NOT good.
Removing x86 for now as these bugs need to be sorted out first.
Comment 16 Fabian Groffen gentoo-dev 2006-05-15 11:25:15 UTC
- I removed static USE flag, because that doesn't work as expected
- moved user creation logic to pkg_config (stupid mistake)

David can you retry this on a cleaned system as double check once my commit hits the mirrors?  Thanks.
Comment 17 David Morgan 2006-05-15 17:27:01 UTC
Ok, after removing /var/log/monetdb, I can emerge and run monetdb with all the combinations of +/- readline and java, and the tests work.

If you think this should be stabilised readd x86@ (and remove me, since I don't want to get the emails twice...)
Comment 18 Fabian Groffen gentoo-dev 2006-05-17 05:25:55 UTC
After sorting out the ebuild issues now, I'd like to get this version stabled on x86, since the previous stable version doesn't compile any more due to upgraded compilers which are more strict.  Backporting of fixes is not simple, as a lot has been changed.

Please mark monetdb-4.10.2 x86 stable.
Comment 19 Mark Loeser (RETIRED) gentoo-dev 2006-05-22 07:18:52 UTC
x86 done, thanks for testing guys
Comment 20 Mark Loeser (RETIRED) gentoo-dev 2006-05-22 07:19:20 UTC
Since we were the last ones off, closing the bug for you.