Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55352 - beep-media-player does not compile \w gcc 3.4
Summary: beep-media-player does not compile \w gcc 3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High normal
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-27 12:40 UTC by Michael Grigoriev
Modified: 2004-07-07 14:52 UTC (History)
2 users (show)

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


Attachments
bmp-0.9.6.1-gcc-3.4-gentoo.patch (bmp-0.9.6.1-gcc-3.4-gentoo.patch,552 bytes, patch)
2004-07-02 11:06 UTC, Matthew Kennedy (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Grigoriev 2004-06-27 12:40:54 UTC
emerge beep-media-player-0.9.6.1-r1.ebuild

 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../beep -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I../../intl -I../.. -march=pentium3 -O3 -pipe -Wall -Wpointer-arith -finline-functions -ffast-math -fomit-frame-pointer -funroll-all-loops -c fileinfo.c  -fPIC -DPIC -o .libs/fileinfo.o
fileinfo.c: In function `fail':
fileinfo.c:203: warning: implicit declaration of function `xmms_show_message_test'
fileinfo.c: In function `save_cb':
fileinfo.c:241: warning: assignment discards qualifiers from pointer target typefileinfo.c:242: warning: assignment discards qualifiers from pointer target typefileinfo.c:243: warning: assignment discards qualifiers from pointer target typefileinfo.c:244: warning: assignment discards qualifiers from pointer target typefileinfo.c:245: warning: assignment discards qualifiers from pointer target typefileinfo.c:246: warning: assignment discards qualifiers from pointer target typefileinfo.c:247: warning: assignment discards qualifiers from pointer target typefileinfo.c:256: warning: assignment discards qualifiers from pointer target typefileinfo.c:257: warning: assignment discards qualifiers from pointer target typefileinfo.c:258: warning: assignment discards qualifiers from pointer target typefileinfo.c:259: warning: assignment discards qualifiers from pointer target typefileinfo.c: In function `remove_cb':
fileinfo.c:325: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c:326: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c:327: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c:328: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c:329: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c:330: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c:331: warning: passing arg 1 of `gtk_entry_set_text' from incompatible pointer type
fileinfo.c: In function `press_save':
fileinfo.c:454: warning: passing arg 1 of `gtk_button_clicked' from incompatible pointer type
fileinfo.c: In function `vorbis_file_info_box':
fileinfo.c:565: warning: passing arg 1 of `gtk_table_attach' from incompatible pointer type
fileinfo.c:739: warning: passing arg 1 of `gtk_table_attach' from incompatible pointer type
fileinfo.c:743: warning: initialization from incompatible pointer type
fileinfo.c:744: warning: passing arg 1 of `gtk_container_add' from incompatible pointer type
fileinfo.c:744: warning: passing arg 2 of `gtk_container_add' from incompatible pointer type
fileinfo.c:755: warning: passing arg 1 of `gtk_table_attach' from incompatible pointer type
fileinfo.c:819: warning: passing arg 1 of `gtk_table_attach' from incompatible pointer type
fileinfo.c:826: warning: passing arg 1 of `gtk_table_attach' from incompatible pointer type
fileinfo.c:1108: warning: passing arg 1 of `gtk_window_set_position' from incompatible pointer type
fileinfo.c:485: warning: unused variable `replaygain_label'
fileinfo.c:485: warning: unused variable `audiophilegain_label'
fileinfo.c:485: warning: unused variable `peak_label'
fileinfo.c:486: warning: unused variable `replaygain_label_val'
fileinfo.c:486: warning: unused variable `audiophilegain_label_val'
fileinfo.c:487: warning: unused variable `peak_label_val'
fileinfo.c: At top level:
fileinfo.c:1147: error: conflicting types for 'xmms_show_message_test'
fileinfo.c:203: error: previous implicit declaration of 'xmms_show_message_test' was here
fileinfo.c: In function `xmms_show_message_test':
fileinfo.c:1183: warning: passing arg 1 of `gtk_window_set_position' from incompatible pointer type
fileinfo.c: At top level:
fileinfo.c:342: warning: 'rg_hide' defined but not used
fileinfo.c:1140: warning: 'vorbis_advanced_tag_edit' defined but not used
make[3]: *** [fileinfo.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/beep-media-player-0.9.6.1-r1/work/bmp-0.9.6.1/Input/vorbis'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/beep-media-player-0.9.6.1-r1/work/bmp-0.9.6.1/Input'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/beep-media-player-0.9.6.1-r1/work/bmp-0.9.6.1'
make: *** [all] Error 2
 
!!! ERROR: media-sound/beep-media-player-0.9.6.1-r1 failed.
!!! Function src_compile, Line 56, Exitcode 2
!!! make failed

-----------------------------------------------------------------

emerge beep-media-player-1.0.0_pre5-r1.ebuild

gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config   -march=pentium3 -O3 -pipe -Wall -Wpointer-arith -finline-functions -ffast-math -fomit-frame-pointer -funroll-all-loops -DDATA_DIR=\"/usr/share/beep\" -DPLUGIN_DIR=\"/usr/lib/beep\" -DPLUGINSUBS=\"Output\",\"Input\",\"Effect\",\"General\",\"Visualization\" -DLOCALEDIR=\"/usr/share/locale\" -DI386_ASSEM -I../intl -I..    -march=pentium3 -O3 -pipe -Wall -Wpointer-arith -finline-functions -ffast-math -fomit-frame-pointer -funroll-all-loops -c `test -f 'skinwin.c' || echo './'`skinwin.c
main.c: In function `mainwin_set_title':
main.c:1027: warning: passing arg 1 of `gtk_window_set_title' from incompatible pointer type
main.c: In function `mainwin_jump_to_file_queue_cb':
main.c:1637: warning: implicit declaration of function `gtk_treeview_get_row_data'
main.c:1637: warning: assignment makes pointer from integer without a cast
main.c: In function `mainwin_update_jtf':
main.c:1678: warning: assignment from incompatible pointer type
main.c:1706: warning: passing arg 1 of `gtk_tree_model_get_iter_first' from incompatible pointer type
main.c: In function `mainwin_jump_to_file_edit_cb':
main.c:1728: warning: assignment from incompatible pointer type
main.c:1737: warning: passing arg 1 of `g_ascii_tolower' makes integer from pointer without a cast
main.c:1795: warning: passing arg 1 of `gtk_tree_model_get_iter_first' from incompatible pointer type
main.c: In function `mainwin_jump_to_file':
main.c:1847: warning: assignment from incompatible pointer type
main.c:1877: warning: passing arg 1 of `gtk_label_set_markup_with_mnemonic' from incompatible pointer type
main.c:1883: warning: passing arg 1 of `gtk_label_set_mnemonic_widget' from incompatible pointer type
main.c:1890: warning: passing arg 2 of `gtk_container_add' from incompatible pointer type
main.c:1894: warning: passing arg 1 of `gtk_scrolled_window_set_shadow_type' from incompatible pointer type
main.c:1897: warning: passing arg 1 of `gtk_widget_show' from incompatible pointer type
main.c:1809: warning: unused variable `queue'
main.c: In function `mainwin_show_dirbrowser':
main.c:2105: warning: implicit declaration of function `beep_create_dir_browser'main.c:2105: warning: assignment makes pointer from integer without a cast
main.c:2108: warning: passing arg 1 of `gtk_window_present' from incompatible pointer type
main.c: In function `mainwin_show_add_url_window':
main.c:2128: warning: passing arg 1 of `gtk_window_present' from incompatible pointer type
main.c: In function `run_no_audiocd_dialog':
main.c:2765: warning: passing arg 2 of `gtk_dialog_new_with_buttons' from incompatible pointer type
main.c:2768: warning: passing arg 1 of `gtk_box_pack_start' from incompatible pointer type
main.c:2771: warning: passing arg 1 of `gtk_box_pack_start' from incompatible pointer type
main.c:2772: warning: passing arg 1 of `gtk_box_pack_start' from incompatible pointer type
main.c:2778: warning: passing arg 1 of `gtk_window_get_position' from incompatible pointer type
main.c:2779: warning: passing arg 1 of `gtk_window_get_position' from incompatible pointer type
main.c:2781: warning: passing arg 1 of `gtk_window_move' from incompatible pointer type
main.c:2783: warning: passing arg 1 of `gtk_dialog_run' from incompatible pointer type
main.c: In function `scan_cd_input_plugin':
main.c:2955: warning: implicit declaration of function `basename'
main.c:2955: warning: passing arg 1 of `g_ascii_strcasecmp' makes pointer from integer without a cast
main.c: In function `mainwin_check_state':
main.c:3165: warning: passing arg 1 of `gtk_window_iconify' from incompatible pointer type
main.c:3166: warning: passing arg 1 of `gtk_window_iconify' from incompatible pointer type
main.c: In function `mainwin_raise_other_windows':
main.c:3179: warning: passing arg 1 of `gtk_window_present' from incompatible pointer type
main.c:3181: warning: passing arg 1 of `gtk_window_deiconify' from incompatible pointer type
main.c:3182: warning: passing arg 1 of `gtk_window_deiconify' from incompatible pointer type
skinwin.c: In function `skin_get_thumbnail':
skinwin.c:138: warning: assignment discards qualifiers from pointer target type
skinwin.c: In function `change_skin_event':
skinwin.c:202: warning: passing arg 2 of `gtk_tree_selection_get_selected' from incompatible pointer type
skinwin.c: In function `update_skins':
skinwin.c:357: warning: implicit declaration of function `basename'
skinwin.c:357: warning: assignment makes pointer from integer without a cast
skinwin.c: In function `create_skin_window':
skinwin.c:496: warning: initialization from incompatible pointer type
skinwin.c:504: warning: implicit declaration of function `skinwin_set_icon'
skinwin.c: At top level:
skinwin.c:518: error: conflicting types for 'skinwin_set_icon'
skinwin.c:504: error: previous implicit declaration of 'skinwin_set_icon' was here
skinwin.c:518: warning: 'skinwin_set_icon' defined but not used
make[4]: *** [skinwin.o] Error 1
make[4]: *** Waiting for unfinished jobs....
main.c: In function `mainwin_jump_to_file_real_cb':
main.c:1546: warning: 'selection' might be used uninitialized in this function
main.c: At top level:
main.c:1603: warning: 'mainwin_jump_to_file_keypress_cb' defined but not used
main.c:1609: warning: 'mainwin_jump_to_file_entry_keypress_cb' defined but not used
main.c:1631: warning: 'mainwin_jump_to_file_queue_cb' defined but not used
main.c:3174: warning: 'mainwin_raise_other_windows' defined but not used
make[4]: Leaving directory `/var/tmp/portage/beep-media-player-1.0.0_pre5-r1/work/beep-media-player-1.0.0-pre5/beep'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/beep-media-player-1.0.0_pre5-r1/work/beep-media-player-1.0.0-pre5/beep'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/beep-media-player-1.0.0_pre5-r1/work/beep-media-player-1.0.0-pre5/beep'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/beep-media-player-1.0.0_pre5-r1/work/beep-media-player-1.0.0-pre5'
make: *** [all] Error 2
 
!!! ERROR: media-sound/beep-media-player-1.0.0_pre5-r1 failed.
!!! Function src_compile, Line 48, Exitcode 2
!!! make failed
  
-----------------------------------------------------------------

emerge --info
Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.4.0, glibc-2.3.3.20040420-r0, 2.6.7-mm1)
=================================================================
System uname: 2.6.7-mm1 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://206.75.217.180/ http://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa avi berkdb bindist cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gphoto2 gpm gtk gtk2 gtkhtml icq imap imlib jpeg kde libg++ libwww mad maildir mikmod mmx motif mozilla moznocompose moznoirc moznomail mpeg msn ncurses nls oggvorbis opengl oscar oss pam pcmcia pda pdflib perl png python qt quicktime readline samba sdl slang spell sqlite sse ssl svga tcpd truetype trusted usb videos wifi x86 xml2 xmms xosd xv xvid zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-28 03:06:55 UTC
what version of gtk do youu have installed?

qpkg -I -v gtk+
Comment 2 Michael Grigoriev 2004-06-28 22:42:55 UTC
2.4.1

Actually further research shows that the problem only occurs with gcc 3.4.
With 3.3.3 I was able to get 0.9.6.1 to compile. But since it promptly proceeded to repeatedly crash on me, I don't think I really care about beep anyway.
Comment 3 Matthew Kennedy (RETIRED) gentoo-dev 2004-07-02 11:06:27 UTC
Created attachment 34664 [details, diff]
bmp-0.9.6.1-gcc-3.4-gentoo.patch

patch for gcc-3.4 (missing forward declaration), sound herd please apply
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-07 14:41:45 UTC
testing... thanks Matthew
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2004-07-07 14:52:14 UTC
in portage.  thanks.