Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51329 - chipmunksystem (analog/diglog) crashes on startup trying to get log.gate out of /usr/share/hipmunksystem-20031105/lib/
Summary: chipmunksystem (analog/diglog) crashes on startup trying to get log.gate out ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-17 17:44 UTC by Thomas Ruoff
Modified: 2004-05-18 23:38 UTC (History)
1 user (show)

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


Attachments
chipmunksystem-20031105-r1.ebuild - Corrected ebuild (chipmunksystem-20031105-r1.ebuild,6.86 KB, text/plain)
2004-05-18 16:25 UTC, Olivier Fisette (RETIRED)
Details
ChangeLog - Goes with 31689 (ChangeLog,1.44 KB, text/plain)
2004-05-18 16:30 UTC, Olivier Fisette (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Ruoff 2004-05-17 17:44:43 UTC
After emergeing the chipmunksystem-20031105 successfully starting diglog (and analog) crashed trying to get the shared files out of /usr/share/chipmunksystem-20031105/ instead of /usr/share/chipmunksystem/.

Strace output:
...gettimeofday({1084840740, 937141}, {4294967176, 0}) = 0
open("diglog.cnf", O_RDONLY)            = -1 ENOENT (No such file or directory)
open("/home/ido/log/diglog.cnf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/chipmunksystem-20031105/lib/diglog.cnf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("log.cnf", O_RDONLY)               = -1 ENOENT (No such file or directory)
open("/home/ido/log/log.cnf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/chipmunksystem-20031105/lib/log.cnf", O_RDONLY) = -1 ENOENT (No such file or directory)
open("log.gate", O_RDONLY)              = -1 ENOENT (No such file or directory)
open("/home/ido/log/log.gate", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/share/chipmunksystem-20031105/lib/log.gate", O_RDONLY) = -1 ENOENT (No such file or directory)
write(3, "=\0\4\0\3\0`\3\0\0\0\0\0\0\0\0`\30\5\0000\0`\3\377\377"..., 132) = 132
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [0])                 = 0
write(3, "h\0\1\0", 4)                  = 4
ioctl(3, FIONREAD, [0])                 = 0
write(3, "8\0\4\0?\0`\3\4\0\0\0\0\377\377\0L\17\10\0>\0`\3?\0`\3"..., 48) = 48
ioctl(3, FIONREAD, [0])                 = 0
ioctl(3, FIONREAD, [0])                 = 0
write(3, "8\0\4\0?\0`\3\4\0\0\0\0\377\0\0L\22\t\0>\0`\3?\0`\3\0\000"..., 52) = 52
ioctl(3, FIONREAD, [0])                 = 0
exit_group(0)   

creating a symbolic link from /usr/share/chipmunksystem  to /usr/share/chipmunksystem-20031105 resolves the problem.


Reproducible: Always
Steps to Reproduce:
1. rm symbolic link /usr/share/chipmunksystem-20031105
2. emerge chipmunksystem-20031105.ebuild
3. run diglog



Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-rc1)
=================================================================
System uname: 2.6.4-rc1 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/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/alias
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/
http://212.219.247.12/sites/www.ibiblio.org/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="3dnow X aalib acpi alsa apache2 apm arts audiofile avi berkdb bonobo cdr
crypt cups doc dvd dvdr emacs encode esd fam fftw flash foomaticdb freetype gd
gdbm gif gimpprint gnome gpm gstreamer gtk gtk2 gtkhtml icq imap imlib java jpeg
ldap libg++ libwww mad maildir mikmod mmx mng motif mozilla mpeg mysql nas
ncurses nls nvidia odbc offensive oggvorbis opengl oss pam pdflib perl png
python qt quicktime readline samba scanner sdl slang spell ssl svga tcltk tcpd
tetex tiff truetype wmf x86 xml xml2 xmms xv zlib"
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2004-05-18 03:45:50 UTC
Little correction: It does not crash, it exits cleanly but without any message.
Comment 2 Olivier Fisette (RETIRED) gentoo-dev 2004-05-18 16:25:55 UTC
Created attachment 31689 [details]
chipmunksystem-20031105-r1.ebuild - Corrected ebuild

Thanks for reporting. My bad. Here is a corrected ebuild : shared files are now
installed in {P} rather than {PN}. Some other packages do that, so we should
get away with it ;)
Comment 3 Olivier Fisette (RETIRED) gentoo-dev 2004-05-18 16:30:14 UTC
Created attachment 31690 [details]
ChangeLog - Goes with  31689

Change log for chipmunksystem-20031105-r1.ebuild
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2004-05-18 23:38:08 UTC
Thanks, done.