Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 170971
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Linux Gnome Desktop Team <gnome@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jose daLuz <jdaluz@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
build.log build.log text/plain Jose daLuz 2007-03-15 00:18 0000 21.82 KB Details
esound-0.2.37-gcc4.patch esound-0.2.37-gcc4.patch patch Stefan Vunckx 2007-03-16 15:01 0000 526 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 170971 depends on: Show dependency tree
Bug 170971 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-15 00:17 0000
Updating esound from 0.2.36-r2 to 0.2.37 I encountered the following build
failure:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I.  -DSYSCONFDIR=\"/etc/esd\"
-DSERVERDIR=\"/usr/bin\"    -march=k8 -O2 -pipe -ggdb -fno-strict-aliasing  
-Wall -c players.c
players.c: In function ‘read_player’:
players.c:309: error: expected expression before ‘do’
players.c: In function ‘new_stream_player’:
players.c:547: warning: pointer targets in passing argument 2 of
‘__builtin_strncpy’ differ in signedness
make[2]: *** [players.o] Error 1

Portage 2.1.2.2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0,
2.6.19-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.19-gentoo-r4 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.13.0_alpha12
Timestamp of tree: Wed, 14 Mar 2007 22:20:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -O2 -pipe -ggdb -ffriend-injection"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS=""
FEATURES="autoconfig ccache distlocks fixpackages parallel-fetch sandbox
sfperms splitdebug strict"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/
http://gentoo.osuosl.org/ "
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=120"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise
/usr/portage/local/layman/wrobel /usr/portage/local/layman/gnome-experimental
/usr/portage/local/layman/break-my-gentoo-main
/usr/portage/local/layman/xeffects /usr/local/overlays/myoverlay
/usr/local/overlays/bmg-main"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac alsa amd64 amr bash-completion berkdb bitmap-fonts bzip2 cairo
cdda cdr cli cracklib crypt css cups dbus debug dri dts dvd dvdr eds emboss
encode esd fam ffmpeg firefox flac fortran gdbm gif glitz gnome gpm gstreamer
gtk gtk2 hal iconv ipv6 isdnlog java jpeg kde kdehiddenvisibility ldap libg++
libnotify mad midi mikmod mono mp3 mpeg ncurses nls nptl nptlonly ogg opengl
pam pcre perl pic png ppds pppd python qt3 qt4 quicktime readline reflection
ruby samba sdl session spell spl sqlite ssl tcpd theora tiff truetype
truetype-fonts type1-fonts unicode usb userlocales vcd vorbis x264 xcb xml xorg
xv xvid zlib" ALSA_CARDS="emu10k1" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix
dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mulaw multi null plug rate route share shm softvol" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en"
USERLAND="GNU" VIDEO_CARDS="vesa nvidia"
Unset:  CTARGET, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS,
PORTAGE_COMPRESS_FLAGS

------- Comment #1 From Jose daLuz 2007-03-15 00:18:49 0000 -------
Created an attachment (id=113320) [details]
build.log

------- Comment #2 From Stefan Vunckx 2007-03-16 14:59:12 0000 -------
I can confirm error on both my gentoo machines (~amd64 and ~x86), both using
gcc-4.1.2!

Seems to be problem with ESD_READ_BIN define used in players.c, as it is called
having a return value, while the define (in esd-server.h) does not specify
one... Looks like upstream problem to me, but dont have enough knowledge.

emerge info from ~x86 machine:
System uname: 2.6.19-suspend2-r3 i686 Genuine Intel(R) CPU           T2250  @
1.73GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Fri, 16 Mar 2007 02:50:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r4
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.15-r1
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config
/usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf
/etc/java-config/vms/ /etc/php/apache1-php5/ext-active/
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nostrip sandbox sfperms
strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/"
MAKEOPTS="-j3"
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
--filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/portage"
SYNC="rsync://192.168.1.1/gentoo-portage"
USE="X alsa apache2 apm berkdb bitmap-fonts cli cracklib crypt cups debug dri
eds emboss encode esd foomaticdb fortran gdbm gif gpm gstreamer gtk2 iconv
imlib ipv6 isdnlog jpeg kde libg++ libwww mad midi mikmod motif mp3 mpeg
ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png pppd python qt3 qt4
quicktime readline reflection sdl session spell spl ssl tcpd truetype
truetype-fonts type1-fonts vorbis x86 xml xorg xv zlib" ALSA_PCM_PLUGINS="adpcm
alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa
lfloat linear meter mulaw multi null plug rate route share shm softvol"
ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse joystick wacom"
KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001
mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="radeon vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS,
LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #3 From Stefan Vunckx 2007-03-16 15:01:22 0000 -------
Created an attachment (id=113477) [details]
esound-0.2.37-gcc4.patch

Fixes compilation, but might break behaviour of program :s

------- Comment #4 From Xake 2007-03-16 17:57:26 0000 -------
Fast workaround: USE="-debug"

------- Comment #5 From Jose daLuz 2007-03-16 21:25:14 0000 -------
(In reply to comment #4)
> Fast workaround: USE="-debug"
> 
I can confirm this, thanks. Changing the summary to reflect this.

------- Comment #6 From Jean Bréfort 2007-03-18 08:29:28 0000 -------
It is an upstream issue. Stefan, your patch is dangerous, the solution is to
patch the macro, not its use. I filed a bug report and attached a patch:
http://bugzilla.gnome.org/show_bug.cgi?id=419642

------- Comment #7 From Daniel Gryniewicz 2007-03-19 18:53:59 0000 -------
Actually, the patch here was (almost) correct.  The call site was wrong, not
the macro.  Fixed in portage.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug