Skip to contentSkip to conversation

build errors centos 6.2

DISCUSSION Matt Weil 2 participants 4 messages May 22, 2012

lore
Share & tools
lore

Matt Weil

author
#0 lore raw
Quoted 13 lines

make[3]: *** [build/obj/simplexml.do] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47/src/libs3' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47/src' make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.9tq56B (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.9tq56B (%build)

#1 lore raw

The log is trimmed, but I guess it's complaining about missing libxml2. In any case, you shouldn't be compiling libs3 (unless you compile rest-bench) so cherry-picking commit 4e3807bc587c232318b0a2023ac7e9d39fef67a3 should solve this issue.

Quoted 11 lines · Matt Weil
Quoted 11 lines

make[3]: *** [build/obj/simplexml.do] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47/src/libs3' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47/src' make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.9tq56B (%build)

Quoted 7 lines
Quoted 2 lines

RPM build errors:
   Bad exit status from /var/tmp/rpm-tmp.9tq56B (%build)

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw
Quoted 12 lines

build/obj/util.do: Compiling dynamic object
src/simplexml.c:27:27: error: libxml/parser.h: No such file or directory src/simplexml.c:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'saxGetEntity'
cc1: warnings being treated as errors
src/simplexml.c:56: error: type defaults to 'int' in declaration of 'xmlChar' src/simplexml.c:56: error: expected ';', ',' or ')' before '*' token src/simplexml.c:88: error: type defaults to 'int' in declaration of 'xmlChar' src/simplexml.c:88: error: expected ';', ',' or ')' before '*' token src/simplexml.c:111: error: type defaults to 'int' in declaration of 'xmlChar' src/simplexml.c:111: error: expected ';', ',' or ')' before '*' token src/simplexml.c:138: error: variable 'saxHandlerG' has initializer but incomplete type

sorry I did trim it.

Quoted 24 lines · Yehuda Sadeh

The log is trimmed, but I guess it's complaining about missing libxml2. In any case, you shouldn't be compiling libs3 (unless you compile rest-bench) so cherry-picking commit 4e3807bc587c232318b0a2023ac7e9d39fef67a3 should solve this issue.

Quoted 18 lines · Matt Weil
Quoted 11 lines

make[3]: *** [build/obj/simplexml.do] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47/src/libs3' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47/src' make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.9tq56B (%build)

Quoted 2 lines

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.9tq56B (%build)

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 19 lines · Matt Weil
Quoted 17 lines

build/obj/util.do: Compiling dynamic object src/simplexml.c:27:27: error: libxml/parser.h: No such file or directory src/simplexml.c:48: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'saxGetEntity'
cc1: warnings being treated as errors
src/simplexml.c:56: error: type defaults to 'int' in declaration of 'xmlChar'
src/simplexml.c:56: error: expected ';', ',' or ')' before '*' token src/simplexml.c:88: error: type defaults to 'int' in declaration of 'xmlChar'
src/simplexml.c:88: error: expected ';', ',' or ')' before '*' token src/simplexml.c:111: error: type defaults to 'int' in declaration of 'xmlChar'
src/simplexml.c:111: error: expected ';', ',' or ')' before '*' token src/simplexml.c:138: error: variable 'saxHandlerG' has initializer but incomplete type

Quoted 33 lines

sorry I did trim it.

Quoted 27 lines · Yehuda Sadeh

The log is trimmed, but I guess it's complaining about missing libxml2. In any case, you shouldn't be compiling libs3 (unless you compile rest-bench) so cherry-picking commit 4e3807bc587c232318b0a2023ac7e9d39fef67a3 should solve this issue.

Quoted 20 lines · Matt Weil
Quoted 12 lines

make[3]: *** [build/obj/simplexml.do] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47/src/libs3' make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47/src' make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/rpmbuild/BUILD/ceph-0.47/src'
make: *** [all-recursive] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.9tq56B (%build)

Quoted 2 lines

RPM build errors:
   Bad exit status from /var/tmp/rpm-tmp.9tq56B (%build)

--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Yeah, as I said, it's missing libxml2 so it fails to compile libs3. However, it shouldn't even try to compile that, so commit 4e3807bc587c232318b0a2023ac7e9d39fef67a3 should fix that for you.

Yehuda
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html