Bug 687978 - FTBFS - connection.c:620: error: invalid initializer
Summary: FTBFS - connection.c:620: error: invalid initializer
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: xorg-x11-server
Version: 6.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Adam Jackson
QA Contact: desktop-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-03-15 21:57 UTC by Zenon Panoussis
Modified: 2011-08-17 16:53 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-08-17 16:53:29 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Zenon Panoussis 2011-03-15 21:57:32 UTC
Building from SRPM fails:

Making all in os
<snip>
gcc -DHAVE_CONFIG_H -I. -I../include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -DDBUS_API_SUBJECT_TO_CHANGE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wstrict-overflow -rdynamic -Wl,-z,relro -MT connection.lo -MD -MP -MF .deps/connection.Tpo -c -o .libs/connection.o connection.c -fPIC -DPIC
backtrace.c: In function 'xorg_backtrace':
backtrace.c:48: warning: assignment discards qualifiers from pointer target type
backtrace.c:51: warning: pointer of type 'void *' used in subtraction
backtrace.c:54: warning: pointer of type 'void *' used in subtraction
gcc -DHAVE_CONFIG_H -I. -I../include -DHAVE_DIX_CONFIG_H -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-statement -DDBUS_API_SUBJECT_TO_CHANGE -D_BSD_SOURCE -DHAS_FCHOWN -DHAS_STICKY_DIR_BIT -I/usr/include/freetype2 -I/usr/include/pixman-1 -I/usr/include/hal -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I../include -I../include -I../Xext -I../composite -I../damageext -I../xfixes -I../Xi -I../mi -I../miext/shadow -I../miext/damage -I../render -I../randr -I../fb -fvisibility=hidden -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wstrict-overflow -rdynamic -Wl,-z,relro -MT io.lo -MD -MP -MF .deps/io.Tpo -c -o .libs/io.o io.c -fPIC -DPIC
connection.c: In function 'NotifyParentProcess':
connection.c:362: warning: ignoring return value of 'write', declared with attribute warn_unused_result
connection.c: In function 'AuthAudit':
connection.c:620: error: invalid initializer
make[1]: *** [connection.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.JWVbt0 (%build)

Comment 2 Zenon Panoussis 2011-03-17 23:51:53 UTC
This is the same problem as in bug #605588 and I can confirm that uninstalling systemtap-sdt-devel allowed the build to finish OK. 

I'm not closing this as a dupe because #605588 is filed against Fedora.

Comment 3 RHEL Program Management 2011-04-04 02:50:39 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
exception or blocker.

Red Hat invites you to ask your support representative to
propose this request, if appropriate and relevant, in the
next release of Red Hat Enterprise Linux.

Comment 4 Adam Jackson 2011-08-17 16:53:29 UTC
Fixed in 6.2 by building with --without-dtrace, closing.


Note You need to log in before you can comment on or make changes to this bug.