Re: libvirt upgrade



On Wed, Feb 15, 2012 at 9:52 AM, Christophe Fergeau <cfergeau redhat com> wrote:
> On Wed, Feb 15, 2012 at 09:28:34AM -0500, Michael Hill wrote:
>> I wasn't watching, but I believe I got the new libvirt this morning
>> with jhbuild.  Now libvirt-glib fails to build.  Is this expected
>> behaviour?
>
> Any more details? This not expected no.

Much like this (I'll try again now that I have Internet):

*** Configuring libvirt-glib *** [1/1]
./autogen.sh --prefix /opt/gnome --libdir '/opt/gnome/lib64'
--disable-static --disable-gtk-doc
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `build-aux'.
libtoolize: copying file `build-aux/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
configure: loading site script /usr/share/site/x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /home/mike/.local/bin/install-check
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking build system type... x86_64-suse-linux-gnu
checking host system type... x86_64-suse-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether gcc and cc understand -c and -o together... yes
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-suse-linux-gnu file names to
x86_64-suse-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-suse-linux-gnu file names to toolchain
format... func_convert_file_noop
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... dlltool
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-suse-linux/bin/ld -m
elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether -Wno-missing-field-initializers is supported... yes
checking whether -Wno-missing-field-initializers is needed... yes
checking whether compiler handles -Wall... yes
checking whether compiler handles -W... yes
checking whether compiler handles -Wformat-y2k... yes
checking whether compiler handles -Wformat-nonliteral... yes
checking whether compiler handles -Wformat-security... yes
checking whether compiler handles -Winit-self... yes
checking whether compiler handles -Wmissing-include-dirs... yes
checking whether compiler handles -Wswitch-default... yes
checking whether compiler handles -Wswitch-enum... yes
checking whether compiler handles -Wunused... yes
checking whether compiler handles -Wunknown-pragmas... yes
checking whether compiler handles -Wstrict-aliasing... yes
checking whether compiler handles -Wstrict-overflow... yes
checking whether compiler handles -Wfloat-equal... yes
checking whether compiler handles -Wundef... yes
checking whether compiler handles -Wshadow... yes
checking whether compiler handles -Wunsafe-loop-optimizations... yes
checking whether compiler handles -Wpointer-arith... yes
checking whether compiler handles -Wcast-align... yes
checking whether compiler handles -Wwrite-strings... yes
checking whether compiler handles -Wconversion... yes
checking whether compiler handles -Wsign-conversion... yes
checking whether compiler handles -Wlogical-op... yes
checking whether compiler handles -Waggregate-return... yes
checking whether compiler handles -Wstrict-prototypes... yes
checking whether compiler handles -Wold-style-definition... yes
checking whether compiler handles -Wmissing-prototypes... yes
checking whether compiler handles -Wmissing-declarations... yes
checking whether compiler handles -Wmissing-noreturn... yes
checking whether compiler handles -Wmissing-format-attribute... yes
checking whether compiler handles -Wpacked... yes
checking whether compiler handles -Wredundant-decls... yes
checking whether compiler handles -Wnested-externs... yes
checking whether compiler handles -Winline... yes
checking whether compiler handles -Winvalid-pch... yes
checking whether compiler handles -Wvla... yes
checking whether compiler handles -Wvolatile-register-var... yes
checking whether compiler handles -Wdisabled-optimization... yes
checking whether compiler handles -Wstack-protector... yes
checking whether compiler handles -Woverlength-strings... yes
checking whether compiler handles -Wbuiltin-macro-redefined... yes
checking whether compiler handles -Wmudflap... yes
checking whether compiler handles -Wpacked-bitfield-compat... yes
checking whether compiler handles -Wsync-nand... yes
checking whether compiler handles -Wattributes... yes
checking whether compiler handles -Wcoverage-mismatch... yes
checking whether compiler handles -Wmultichar... yes
checking whether compiler handles -Wunused-macros... yes
checking whether compiler handles -Wcpp... yes
checking whether compiler handles -Wdeprecated-declarations... yes
checking whether compiler handles -Wdiv-by-zero... yes
checking whether compiler handles -Wdouble-promotion... yes
checking whether compiler handles -Wendif-labels... yes
checking whether compiler handles -Wextra... yes
checking whether compiler handles -Wformat-contains-nul... yes
checking whether compiler handles -Wformat-extra-args... yes
checking whether compiler handles -Wformat-zero-length... yes
checking whether compiler handles -Wformat=2... yes
checking whether compiler handles -Wmultichar... (cached) yes
checking whether compiler handles -Wnormalized=nfc... yes
checking whether compiler handles -Woverflow... yes
checking whether compiler handles -Wpointer-to-int-cast... yes
checking whether compiler handles -Wpragmas... yes
checking whether compiler handles -Wsuggest-attribute=const... yes
checking whether compiler handles -Wsuggest-attribute=noreturn... yes
checking whether compiler handles -Wsuggest-attribute=pure... yes
checking whether compiler handles -Wtrampolines... yes
checking whether compiler handles -Wno-missing-field-initializers... yes
checking whether compiler handles -Wno-sign-compare... yes
checking whether compiler handles -Wno-sign-conversion... yes
checking whether compiler handles -Wno-conversion... yes
checking whether compiler handles -Wno-unused-parameter... yes
checking whether compiler handles -Wno-format-nonliteral... yes
checking whether compiler handles -Wjump-misses-init... yes
checking whether compiler handles -Wframe-larger-than=4096... yes
checking whether compiler handles -fstack-protector-all... yes
checking whether compiler handles --param=ssp-buffer-size=4... yes
checking whether compiler handles -fexceptions... yes
checking whether compiler handles -fasynchronous-unwind-tables... yes
checking whether compiler handles -fdiagnostics-show-option... yes
checking whether compiler handles -funit-at-a-time... yes
checking whether compiler handles -fipa-pure-const... yes
checking whether compiler handles -Wno-suggest-attribute=pure... yes
checking whether compiler handles -Wno-suggest-attribute=const... yes
checking whether compiler handles -Werror... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBVIRT... yes
checking for GLIB2... yes
checking for GTHREAD2... yes
checking for GOBJECT2... yes
checking for GIO2... yes
checking for LIBXML2... yes
checking for gtkdoc-check... /opt/gnome/bin/gtkdoc-check
checking for gtkdoc-rebase... /opt/gnome/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /opt/gnome/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for python... /usr/bin/python
Found Python version 2.7
checking for GOBJECT_INTROSPECTION... yes
checking for vapigen... /opt/gnome/bin/vapigen
checking /opt/gnome/bin/vapigen support for --metadatadir... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libvirt-glib/Makefile
config.status: creating libvirt-gconfig/Makefile
config.status: creating libvirt-gconfig/tests/Makefile
config.status: creating libvirt-gobject/Makefile
config.status: creating examples/Makefile
config.status: creating python/Makefile
config.status: creating vapi/Makefile
config.status: creating docs/Makefile
config.status: creating docs/libvirt-glib/Makefile
config.status: creating docs/libvirt-gobject/Makefile
config.status: creating docs/libvirt-gconfig/Makefile
config.status: creating libvirt-glib-1.0.pc
config.status: creating libvirt-gconfig-1.0.pc
config.status: creating libvirt-gobject-1.0.pc
config.status: creating libvirt-glib.spec
config.status: creating mingw32-libvirt-glib.spec
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands

Now type 'make' to compile libvirt-glib.
*** Building libvirt-glib *** [1/1]
make -j 2
(CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/home/mike/checkout/gnome/libvirt-glib/build-aux/missing --run
autoheader)
rm -f stamp-h1
touch config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/home/mike/checkout/gnome/libvirt-glib'
Making all in libvirt-glib
make[2]: Entering directory
`/home/mike/checkout/gnome/libvirt-glib/libvirt-glib'
  CC     libvirt_glib_1_0_la-libvirt-glib-event.lo
  CC     libvirt_glib_1_0_la-libvirt-glib-main.lo
libvirt-glib-event.c: In function 'event_register_once':
libvirt-glib-event.c:401:5: error: 'g_mutex_new' is deprecated
(declared at /opt/gnome/include/glib-2.0/glib/deprecated/gthread.h:271)
[-Werror=deprecated-declarations]
libvirt-glib-main.c: In function 'gvir_init_check':
libvirt-glib-main.c:67:9: error: 'g_thread_init' is deprecated
(declared at /opt/gnome/include/glib-2.0/glib/deprecated/gthread.h:259)
[-Werror=deprecated-declarations]
cc1: all warnings being treated as errors

make[2]: *** [libvirt_glib_1_0_la-libvirt-glib-event.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
cc1: all warnings being treated as errors

make[2]: *** [libvirt_glib_1_0_la-libvirt-glib-main.lo] Error 1
make[2]: Leaving directory `/home/mike/checkout/gnome/libvirt-glib/libvirt-glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mike/checkout/gnome/libvirt-glib'
make: *** [all] Error 2
*** Error during phase build of libvirt-glib: ########## Error running
make -j 2 *** [1/1]


Mike


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]