Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95756 - guile-gtk crash when trying to install gwave package
Summary: guile-gtk crash when trying to install gwave package
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on: 107840
Blocks:
  Show dependency tree
 
Reported: 2005-06-11 02:47 UTC by Jordi Alcántara
Modified: 2005-10-06 18:23 UTC (History)
1 user (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 Jordi Alcántara 2005-06-11 02:47:38 UTC
can't compile gwave because depends on guile-gtk. The error occurs allways

Reproducible: Always
Steps to Reproduce:
1. emerge --sync
2. emerge gwave


Actual Results:  
11:35:49 (98.38 KB/s) - `/usr/portage/distfiles/guile-gtk-0.19.tar.gz' saved
[278,896/278,896]

>>> md5 files   ;-) ChangeLog
>>> md5 files   ;-) guile-gtk-1.2.0.31.ebuild
>>> md5 files   ;-) guile-gtk-0.19-r1.ebuild
>>> md5 files   ;-) guile-gtk-0.19.ebuild
>>> md5 files   ;-) files/digest-guile-gtk-1.2.0.31
>>> md5 files   ;-) files/digest-guile-gtk-0.19
>>> md5 files   ;-) files/digest-guile-gtk-0.19-r1
>>> md5 files   ;-) files/guile-gtk-0.19-Makefile.in.patch
>>> md5 src_uri ;-) guile-gtk-0.19.tar.gz
>>> Unpacking source...
>>> Unpacking guile-gtk-0.19.tar.gz to /var/tmp/portage/guile-gtk-0.19-r1/work
>>> Source unpacked.
 * Applying guile-gtk-0.19-Makefile.in.patch ...                          [ ok ]
* econf: updating guile-gtk-0.19/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating guile-gtk-0.19/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
creating cache ./config.cache
checking for a BSD compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -O3 -march=athlon-4 -fomit-frame-pointer
-pipe ) works... yes
checking whether the C compiler (gcc -O3 -march=athlon-4 -fomit-frame-pointer
-pipe ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ranlib... ranlib
checking for ld used by GCC... /usr/i686-pc-linux-gnu/bin/ld
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
updating cache ./config.cache
checking for object suffix... o
checking for executable suffix... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... no
checking if gcc static flag -static works... -static
checking if the linker (/usr/i686-pc-linux-gnu/bin/ld) is GNU ld... yes
checking whether the linker (/usr/i686-pc-linux-gnu/bin/ld) supports shared
libraries... yes
checking command to parse /usr/bin/nm -B output... ok
checking how to hardcode library paths into programs... immediate
checking for /usr/i686-pc-linux-gnu/bin/ld option to reload object files... -r
checking dynamic linker characteristics... Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
loading cache ./config.cache
checking how to run the C preprocessor... gcc -E
checking for gtk-config... /usr/bin/gtk-config
checking for GTK - version >= 1.2.0... yes
building for gtk-1.2
checking for main in -lqthreads... yes
checking for main in -ltermcap... yes
checking for main in -lreadline... yes
checking for guile-config... yes
checking whether guile-config works... yes
checking for sin in -lm... yes
checking for guile libraries... -lguile -lguile-ltdl -lqthreads -lpthread
-lcrypt -lm
checking for guile headers...
checking whether guile works... yes
checking for scm_internal_cwdr... yes
checking for scm_done_malloc... yes
checking for scm_reverse_x... yes
checking for scm_puts... yes
checking for scm_fdes_to_port... yes
checking for lt_dlopen... no
checking for scm_simple_format... yes
checking for gtk_widget_peek_colormap... no
checking for gtk_type_get_info... no
checking for gtk_signal_set_class_function_full... no
checking whether libtool wins... yes
checking whether gnome-config.h sucks... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating gtk/config.scm
creating config.h
guile -l ./gtk/config.scm -s ./build-guile-gtk -I . glue gdk-1.2.defs >tmpd &&
mv tmpd gdk-glue.c
guile -l ./gtk/config.scm -s ./build-guile-gtk -I . glue gtk-1.2.defs >tmpt &&
mv tmpt gtk-glue.c
(reading "gdk-1.2.defs")

In ./build-guile-gtk:
1537:  0  (case opsym ((glue) (let* (# #) (emit-glue defs-file defs))) ...)
    ...
1541:  1  [emit-glue "gdk-1.2.defs" (# # # # ...)]
1387:  2* [emit-type-info (# # # # ...)]
 495:  3* [emit-enum/flags-info (# # # # ...)]
In unknown file:
   ?:  4  (letrec (# #) (emit-enum/flags-map "enum" "enum" ...) ...)
In ./build-guile-gtk:
 407:  5* [emit-enum/flags-map "enum" "enum" define-enum]
 382:  6  [for-each #<procedure #f (form)> (# # # # ...)]
In unknown file:
   ?:  7* [#<procedure #f (form)> (define-enum GdkWindowType # # ...)]
In ./build-guile-gtk:
 383:  8* (if (eq? (car form) tag) (let ((name #)) (cond (# #) (else # # # # #))))
 384:  9  (let ((name #)) (cond (# #) (else # # # ...)))
 384: 10* [defined-name (define-enum GdkWindowType (root GDK_WINDOW_ROOT) ...)]
 323: 11  (if (and (pair? form) (pair? #) ...) (canonicalize (cadr form)) ...)
In unknown file:
    ...
   ?: 12  [loop () "" ...
In ./build-guile-gtk:
 286: 13*  [string->list GdkWindowType]

./build-guile-gtk:286:21: In procedure string->list in expression (string->list
str):
./build-guile-gtk:286:21: Wrong type argument in position 1 (expecting STRINGP):
GdkWindowType
guile-snarf guile-gtk.c -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -O3
-march=athlon-4 -fomit-frame-pointer -pipe >guile-gtk.c.tmp && mv
guile-gtk.c.tmp guile-gtk.x
(reading "gtk-1.2.defs")
(reading "gdk-1.2.defs")

In ./build-guile-gtk:
1537:  0  (case opsym ((glue) (let* (# #) (emit-glue defs-file defs))) ...)
    ...
1541:  1  [emit-glue "gtk-1.2.defs" (# # # # ...)]
1387:  2* [emit-type-info (# # # # ...)]
 495:  3* [emit-enum/flags-info (# # # # ...)]
In unknown file:
   ?:  4  (letrec (# #) (emit-enum/flags-map "enum" "enum" ...) ...)
In ./build-guile-gtk:
 407:  5* [emit-enum/flags-map "enum" "enum" define-enum]
 382:  6  [for-each #<procedure #f (form)> (# # # # ...)]
In unknown file:
   ?:  7* [#<procedure #f (form)> (define-enum GdkWindowType # # ...)]
In ./build-guile-gtk:
 383:  8* (if (eq? (car form) tag) (let ((name #)) (cond (# #) (else # # # # #))))
 384:  9  (let ((name #)) (cond (# #) (else # # # ...)))
 384: 10* [defined-name (define-enum GdkWindowType (root GDK_WINDOW_ROOT) ...)]
 323: 11  (if (and (pair? form) (pair? #) ...) (canonicalize (cadr form)) ...)
In unknown file:
    ...
   ?: 12  [loop () "" ...
In ./build-guile-gtk:
 286: 13*  [string->list GdkWindowType]

./build-guile-gtk:286:21: In procedure string->list in expression (string->list
str):
./build-guile-gtk:286:21: Wrong type argument in position 1 (expecting STRINGP):
GdkWindowType
guile-snarf gtk-support.c -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include 
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include  -O3
-march=athlon-4 -fomit-frame-pointer -pipe >gtk-support.c.tmp && mv
gtk-support.c.tmp gtk-support.x
cd . \
  && CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
creating Makefile
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include
 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include    -O3
-march=athlon-4 -fomit-frame-pointer -pipe -c guile-gtk.c
/bin/sh ./libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include
 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include    -O3
-march=athlon-4 -fomit-frame-pointer -pipe -c guile-compat.c
mkdir .libs
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -O3 -march=athlon-4
-fomit-frame-pointer -pipe -c  -fPIC -DPIC guile-gtk.c -o .libs/guile-gtk.lo
rm -f .libs/guile-compat.lo
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -O3 -march=athlon-4
-fomit-frame-pointer -pipe -c  -fPIC -DPIC guile-compat.c -o .libs/guile-compat.lo
guile-gtk.c: In function `sgtk_fillin_type_info':
guile-gtk.c:265: error: `stderr' undeclared (first use in this function)
guile-gtk.c:265: error: (Each undeclared identifier is reported only once
guile-gtk.c:265: error: for each function it appears in.)
guile-gtk.c: In function `sgtk_maybe_find_type_info':
guile-gtk.c:304: error: `stderr' undeclared (first use in this function)
guile-gtk.c: In function `sgtk_find_type_info':
guile-gtk.c:328: error: `stderr' undeclared (first use in this function)
guile-gtk.c: In function `sgtk_protect':
guile-gtk.c:480: warning: comparison between pointer and integer
guile-gtk.c: In function `sgtk_is_a_gtkobj':
guile-gtk.c:737: warning: comparison between pointer and integer
guile-gtk.c: In function `sgtk_flags_comp':
guile-gtk.c:763: error: arithmetic on pointer to an incomplete type
guile-gtk.c:763: error: arithmetic on pointer to an incomplete type
guile-gtk.c: In function `sgtk_scm2enum':
guile-gtk.c:855: warning: passing arg 2 of `scm_num2long' makes integer from
pointer without a cast
guile-gtk.c: In function `sgtk_scm2flags':
guile-gtk.c:901: warning: passing arg 2 of `scm_num2long' makes integer from
pointer without a cast
guile-gtk.c:917: warning: passing arg 2 of `scm_num2long' makes integer from
pointer without a cast
guile-gtk.c: In function `sgtk_fileno2port':
guile-gtk.c:1247: error: `_IONBF' undeclared (first use in this function)
guile-gtk.c: In function `sgtk_valid_type':
guile-gtk.c:1312: warning: comparison between pointer and integer
guile-gtk.c: In function `sgtk_scm2type':
guile-gtk.c:1322: warning: comparison between pointer and integer
guile-gtk.c: In function `sgtk_cvec2scm':
guile-gtk.c:1783: warning: passing arg 1 of `scm_make_vector' makes pointer from
integer without a cast
guile-gtk.c: In function `sgtk_valid_arg':
guile-gtk.c:1878: error: `stderr' undeclared (first use in this function)
guile-gtk.c: In function `sgtk_scm2arg':
guile-gtk.c:1897: warning: passing arg 2 of `scm_num2long' makes integer from
pointer without a cast
guile-gtk.c:1900: warning: passing arg 2 of `scm_num2ulong' makes integer from
pointer without a cast
guile-gtk.c:1903: warning: passing arg 2 of `scm_num2long' makes integer from
pointer without a cast
guile-gtk.c:1906: warning: passing arg 2 of `scm_num2ulong' makes integer from
pointer without a cast
guile-gtk.c:1941: error: `stderr' undeclared (first use in this function)
guile-gtk.c: In function `sgtk_scm2ret':
guile-gtk.c:1960: warning: passing arg 2 of `scm_num2long' makes integer from
pointer without a cast
guile-gtk.c:1963: warning: passing arg 2 of `scm_num2ulong' makes integer from
pointer without a cast
guile-gtk.c:1966: warning: passing arg 2 of `scm_num2long' makes integer from
pointer without a cast
guile-gtk.c:1969: warning: passing arg 2 of `scm_num2ulong' makes integer from
pointer without a cast
guile-gtk.c:2001: error: `stderr' undeclared (first use in this function)
guile-gtk.c: In function `sgtk_callback_marshal':
guile-gtk.c:2082: error: `stderr' undeclared (first use in this function)
guile-gtk.c: In function `sgtk_find_object_info':
guile-gtk.c:2238: error: `stderr' undeclared (first use in this function)
guile-gtk.c: In function `sgtk_build_args':
guile-gtk.c:2364: error: `stderr' undeclared (first use in this function)
guile-gtk.c: In function `sgtk_gtk_object_set':
guile-gtk.c:2447: warning: comparison between pointer and integer
guile-gtk.c: In function `sgtk_gtk_object_get':
guile-gtk.c:2474: warning: comparison between pointer and integer
guile-gtk.c: In function `hack_compiled_switches':
guile-gtk.c:2812: error: `stderr' undeclared (first use in this function)
guile-gtk.c: In function `sgtk_shell':
guile-gtk.c:2842: error: too few arguments to function `scm_eval_x'
make: *** [guile-gtk.lo] Error 1
make: *** Waiting for unfinished jobs....
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -O3 -march=athlon-4
-fomit-frame-pointer -pipe -c guile-compat.c -o guile-compat.o >/dev/null 2>&1
mv -f .libs/guile-compat.lo guile-compat.lo


Expected Results:  
it should not crash...

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 AMD Duron(TM)
Gentoo Base System version 1.6.12
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, May  1 2005, 21:47:41)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowex X a52 aac acpi alsa arts avi bdf berkdb bitmap-fonts bl
bzip2 bzlib cdio cdr cdrom cle266 codecs cpdflib crypt cscope css ctype cups
curl dga divx4linux dlloader dnd dv dvd dvdr dvdread dxr3 encode enscript
erandom faad fam fame ffmpeg figlet flac foomaticdb fpx gd gdbm gif gnome
gphoto2 graphviz gs gstreamer gtk2 gtkhtml guile hal imagemagick imlib imlib2
jack jack-tmpfs java javascript jp2 jpeg jpeg2k kde latex libg++ libwww
lm_sensors lzo lzw lzw-tiff mad md5sum mime mimencode mjpeg mmap mmx mmx2 mmxext
motif mp3 mpeg mpeg4 mplayer ncurses nls ogg oggvorbis openal opengl openssh oss
pam pdflib perl png python qt quicktime rar readline real rtc sdl speedo spell
sse ssl subtitles svga t1lib tcltk tcpd tetex theora threads tiff truetype
truetype-fonts type1-fonts usb userlocales v4l2 vcd vidix vorbis win32codecs
xanim xine xml2 xmms xosd xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-11 03:31:16 UTC
No metadata.xml, this package needs a maitainer...
Comment 2 Marcelo Goes (RETIRED) gentoo-dev 2005-06-21 16:26:37 UTC
Can you test if the same occurs with =1.2.0.41? Just bumped it in the tree.

ACCEPT_KEYWORDS="~x86" emerge =guile-gtk-1.2.0.41
Comment 3 Jordi Alcántara 2005-06-22 12:26:30 UTC
whith ACCEPT_KEYWORDS="~x86" emerge =guile-gtk-1.2.0.41 compiles cleanly
Comment 4 Maurice van der Pot (RETIRED) gentoo-dev 2005-06-29 10:49:51 UTC
Mass reassign of bugs on orphaned packages to appropriate assignee.
Comment 5 Rick Jenkins 2005-09-29 10:17:15 UTC
Works for me, as comment #3. Is there any good reason to keep a broken version
as "stable" and a workable one as "unstable"?
Comment 6 Olivier Fisette (RETIRED) gentoo-dev 2005-10-06 18:23:23 UTC
Rick:       
       
This is a valid question. As a policy, we keep ebuild versions in the testing      
branch for about a month to ensure they are not broken. Please consider that      
the current stable version may be broken only for one specific application      
(the one you are interested in), while the testing version might be a lot more      
broken (we do not know until it is tested for some time). Therefore, we do not      
rush versions into the stable branch simply because they fix one bug; we wait      
some time to allow testing to make sure the new version does work correctly.      
      
guile-gtk has now been bumped to stable on x86. Other arches are to follow.   
This should solve your problem.