Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 516670

Summary: media-sound/pulseaudio 5.0-r2 - .../work/pulseaudio-5.0/src/modules/module-udev-detect.c:199:20: error: expected expression before 'struct'
Product: Gentoo Linux Reporter: dsoria
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED TEST-REQUEST    
Severity: normal CC: alexanderyt, sound
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log
build log for pulseaudio-5.0-r6

Description dsoria 2014-07-08 10:14:27 UTC
Created attachment 380420 [details]
emerge --info

There is an emake fail during media-sound/pulseaudio-5.0-r2 emerging
the cause seems to be an C error in file module-udev-detect.c (error: expected expression before 'struct')

here is an extract of build log:


<command-line>:0:0: warning: "_FORTIFY_SOURCE" redefined [enabled by default]
/var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/modules/module-rygel-media-server.c:1:0: note: this is the location of the previous definition
/var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/modules/module-udev-detect.c: In function 'is_card_busy':
/var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/modules/module-udev-detect.c:199:5: warning: implicit declaration of function 'offsetof' [-Wimplicit-function-declaration]
/var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0/src/modules/module-udev-detect.c:199:20: error: expected expression before 'struct'
make[3]: *** [modules/module_udev_detect_la-module-udev-detect.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0-abi_x86_64.amd64/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0-abi_x86_64.amd64/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0-abi_x86_64.amd64'
make: *** [all] Error 2
 [31;01m*[0m ERROR: media-sound/pulseaudio-5.0-r2::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=media-sound/pulseaudio-5.0-r2::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=media-sound/pulseaudio-5.0-r2::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/media-sound/pulseaudio-5.0-r2/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/media-sound/pulseaudio-5.0-r2/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0-abi_x86_64.amd64'
 [31;01m*[0m S: '/var/tmp/portage/media-sound/pulseaudio-5.0-r2/work/pulseaudio-5.0'
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-07-08 11:37:33 UTC
Please attach the entire build log to this bug report.
Comment 2 dsoria 2014-07-10 08:51:30 UTC
Created attachment 380528 [details]
build.log
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2014-12-27 12:30:52 UTC
Could you update us wrt to the status of this bug ?
Can you reproduce it with pulseaudio-5.0-r6 ?
Comment 4 dsoria 2014-12-29 13:46:21 UTC
Created attachment 392640 [details]
build log for pulseaudio-5.0-r6

The bug is still present for me, even in 5.0-r6 version
Comment 5 Pacho Ramos gentoo-dev 2015-07-09 09:34:15 UTC
We cannot reproduce, please retry with 6.0 version too