Bug 872543

Summary: libcmpiutil is FTBFS on ARM due to cast errors
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: libcmpiutilAssignee: Daniel Veillard <veillard>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: cvincent, gwync, kaitlin, veillard
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-11-25 15:17:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Peter Robinson 2012-11-02 11:46:24 UTC
It's FTBFS on ARM due to the following errors

http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=1235195


libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/Pegasus/Provider/CMPI -I/usr/include/libxml2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -c args_util.c  -fPIC -DPIC -o .libs/libcmpiutil_la-args_util.o
eo_util_lexer.c:1315:17: warning: 'yyunput' defined but not used [-Wunused-function]
eo_util_lexer.c:1356:16: warning: 'input' defined but not used [-Wunused-function]
eo_util_parser.y: In function 'eo_parse_parse':
eo_util_parser.y:113:4: warning: cast increases required alignment of target type [-Wcast-align]
eo_util_parser.y:121:34: warning: unused variable 't' [-Wunused-variable]
eo_util_parser.y:133:4: warning: cast increases required alignment of target type [-Wcast-align]
eo_util_parser.y:211:25: warning: cast increases required alignment of target type [-Wcast-align]
eo_parser.c: In function 'ins_chars_into_cmstr_arr':
eo_parser.c:186:13: warning: cast increases required alignment of target type [-Wcast-align]
\
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I/usr/include/Pegasus/Provider/CMPI -I/usr/include/libxml2   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -c -o libcmpiutil_la-instance_util.lo `test -f 'instance_util.c' || echo './'`instance_util.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/Pegasus/Provider/CMPI -I/usr/include/libxml2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -c instance_util.c  -fPIC -DPIC -o .libs/libcmpiutil_la-instance_util.o
\
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I/usr/include/Pegasus/Provider/CMPI -I/usr/include/libxml2   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -c -o libcmpiutil_la-std_invokemethod.lo `test -f 'std_invokemethod.c' || echo './'`std_invokemethod.c
\
/bin/sh ./libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I.   -I/usr/include/Pegasus/Provider/CMPI -I/usr/include/libxml2   -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -march=armv7-a -mfpu=vfpv3-d16  -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -c -o libcmpiutil_la-std_association.lo `test -f 'std_association.c' || echo './'`std_association.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/Pegasus/Provider/CMPI -I/usr/include/libxml2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -c std_invokemethod.c  -fPIC -DPIC -o .libs/libcmpiutil_la-std_invokemethod.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I/usr/include/Pegasus/Provider/CMPI -I/usr/include/libxml2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -Werror -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -Wmissing-prototypes -Wmissing-declarations -Wstrict-prototypes -Wpointer-arith -Wformat=2 -Wformat-security -Wformat-nonliteral -Wno-format-y2k -Wcast-align -Wno-unused-value -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DHAVE_EOPARSER -c std_association.c  -fPIC -DPIC -o .libs/libcmpiutil_la-std_association.o
std_invokemethod.c: In function 'parse_eo_array':
std_invokemethod.c:117:17: error: cast increases required alignment of target type [-Werror=cast-align]
cc1: all warnings being treated as errors
make[2]: *** [libcmpiutil_la-std_invokemethod.lo] Error 1
make[2]: *** Waiting for unfinished jobs....

Comment 1 Gwyn Ciesla 2012-11-06 18:11:58 UTC
Got a fix, just waiting on koji for testing.  Running a local mock in the interim. . .

Comment 2 Fedora Update System 2012-11-06 19:21:21 UTC
libcmpiutil-0.5.6-4.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/libcmpiutil-0.5.6-4.fc18

Comment 3 Fedora Update System 2012-11-07 18:50:31 UTC
Package libcmpiutil-0.5.6-4.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing libcmpiutil-0.5.6-4.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-17726/libcmpiutil-0.5.6-4.fc18
then log in and leave karma (feedback).