Unable to build with jhbuild
Submitted by Saulo Toledo
Assigned to libsecret maintainer(s)
Link to original bug (#725690)
Description
I'm unable to build libsecret with jhbuild. I'm running Ubuntu 13.10 64bits. With help from #gnome-love channel, I tried to add the line
module_makeargs ['libsecret'] = '-j1'
at file /home/saulo/.jhbuildrc, but do not worked.
Here is the output while trying to compile:
saulo@SauloPC:/gnome/source/libsecret$ git reset --hard origin/master; git clean -fdx in /gnome/source/libsecret$ jhbuild buildone libsecret
*** Obtendo libsecret *** [1/1]
git remote set-url origin git://git.gnome.org/libsecret
git remote update origin
Fetching origin
git pull --rebase
Current branch master is up to date.
*** Configurando libsecret *** [1/1]
./autogen.sh --prefix /home/saulo/gnome/install --libdir '/home/saulo/gnome/install/lib64' --disable-static --disable-gtk-doc
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, /gnome/source/libsecret
HEAD is now at 7d58d2d2 Makefile.am: Fix typo in last commit
Removing .deps/
Removing .libs/
Removing INSTALL
Removing Makefile
Removing Makefile.in
Removing MockService-0.gir
Removing Secret-1.gir
Removing aclocal.m4
Removing autom4te.cache/
Removing build/compile
Removing build/config.guess
Removing build/config.sub
Removing build/depcomp
Removing build/install-sh
Removing build/ltmain.sh
Removing build/m4/gtk-doc.m4
Removing build/m4/intltool.m4
Removing build/m4/libtool.m4
Removing build/m4/ltoptions.m4
Removing build/m4/ltsugar.m4
Removing build/m4/ltversion.m4
Removing build/m4/ltobsolete.m4
Removing build/missing
Removing config.h
Removing config.h.in
Removing config.log
Removing config.status
Removing configure
Removing docs/reference/libsecret/Makefile
Removing docs/reference/libsecret/Makefile.in
Removing docs/reference/libsecret/version-major.xml
Removing docs/reference/libsecret/version.xml
Removing egg-dh.lo
Removing egg-hex.lo
Removing egg-hkdf.lo
Removing egg-libgcrypt.lo
Removing egg-secure-memory.lo
Removing egg-testing.lo
Removing gtk-doc.make
Removing libegg.la
Removing libmock_service.la
Removing libsecret-1.deps
Removing libsecret-1.la
Removing libsecret-1.vapi
Removing libsecret-testable.la
Removing libsecret/libsecret-unstable.pc
Removing libsecret/libsecret.pc
Removing libsecret/secret-enum-types.c
Removing libsecret/secret-enum-types.h
Removing libsecret_1_la-secret-attributes.lo
Removing libsecret_1_la-secret-collection.lo
Removing libsecret_1_la-secret-dbus-generated.lo
Removing libsecret_1_la-secret-enum-types.lo
Removing libsecret_1_la-secret-item.lo
Removing libsecret_1_la-secret-methods.lo
Removing libsecret_1_la-secret-password.lo
Removing libsecret_1_la-secret-paths.lo
Removing libsecret_1_la-secret-prompt.lo
Removing libsecret_1_la-secret-schema.lo
Removing libsecret_1_la-secret-schemas.lo
Removing libsecret_1_la-secret-service.lo
Removing libsecret_1_la-secret-session.lo
Removing libsecret_1_la-secret-util.lo
Removing libsecret_1_la-secret-value.lo
Removing libtool
Removing mock-service-0.vapi
Removing mock-service.lo
Removing po/Makefile
Removing po/Makefile.in
Removing po/Makefile.in.in
Removing po/POTFILES
Removing po/stamp-it
Removing secret-dbus-generated.c
Removing secret-dbus-generated.h
Removing secret-tool
Removing secret-tool.o
Removing stamp-h1
Removing temp-dbus-generated.c
Removing temp-dbus-generated.h
Removing test-attributes
Removing test-attributes.o
Removing test-collection
Removing test-collection.o
Removing test-dh
Removing test-dh.o
Removing test-hex
Removing test-hex.o
Removing test-hkdf
Removing test-hkdf.o
Removing test-item
Removing test-item.o
Removing test-methods
Removing test-methods.o
Removing test-password
Removing test-password.o
Removing test-paths
Removing test-paths.o
Removing test-prompt
Removing test-prompt.o
Removing test-secmem
Removing test-secmem.o
Removing test-service
Removing test-service.o
Removing test-session
Removing test-session.o
Removing test-vala-lang
Removing test-vala-lang.vala.o
Removing test-value
Removing test-value.o
saulo@SauloPC:build'. libtoolize: linking file
build/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, build/m4'. libtoolize: linking file
build/m4/libtool.m4'
libtoolize: linking file build/m4/ltoptions.m4' libtoolize: linking file
build/m4/ltsugar.m4'
libtoolize: linking file build/m4/ltversion.m4' libtoolize: linking file
build/m4/lt~obsolete.m4'
configure.ac:63: installing 'build/compile'
configure.ac:67: installing 'build/config.guess'
configure.ac:67: installing 'build/config.sub'
configure.ac:49: installing 'build/install-sh'
configure.ac:49: installing 'build/missing'
Makefile.am: installing 'build/depcomp'
checking for a BSD-compatible install... /usr/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 whether make supports nested variables... yes
checking whether UID '1000' is supported by ustar format... yes
checking whether GID '29' is supported by ustar format... yes
checking how to create a ustar tar archive... gnutar
checking whether build environment is sane... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... 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 dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -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 minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define EXTENSIONS... yes
checking for library containing strerror... none required
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking whether gcc and cc understand -c and -o together... yes
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/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 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-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
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 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... yes
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/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 NLS is requested... yes
checking for intltool >= 0.35.0... 0.50.2 found
checking for intltool-update... /usr/bin/intltool-update
checking for intltool-merge... /usr/bin/intltool-merge
checking for intltool-extract... /usr/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.14.2
checking for XML::Parser... ok
checking for pkg-config... /usr/bin/pkg-config
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for mlock... yes
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /home/saulo/gnome/install/bin/gtkdoc-check
checking for gtkdoc-rebase... /home/saulo/gnome/install/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /home/saulo/gnome/install/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for gobject-introspection... yes
checking for glib-mkenums... /home/saulo/gnome/install/bin/glib-mkenums
checking for xsltproc... /usr/bin/xsltproc
checking pkg-config is at least version 0.9.0... yes
checking for vapigen... yes
checking for valac... /home/saulo/gnome/install/bin/valac
checking for libgcrypt-config... /usr/bin/libgcrypt-config
checking for LIBGCRYPT - version >= 1.2.2... yes (1.5.0)
checking LIBGCRYPT API version... okay
configure: WARNING:
*** The config script /usr/bin/libgcrypt-config was *** built for x86_64-pc-linux-gnu and thus may not match the *** used host x86_64-unknown-linux-gnu. *** You may want to use the configure option --with-libgcrypt-prefix *** to specify a matching config script.
checking whether gcc understands -Wmissing-include-dirs... yes checking whether gcc understands -Wundef... yes checking build strict... no checking for debug mode... default checking whether to build with gcov testing... no checking that generated files are newer than configure... done checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating docs/reference/libsecret/Makefile config.status: creating docs/reference/libsecret/version.xml config.status: creating docs/reference/libsecret/version-major.xml config.status: creating po/Makefile.in config.status: creating po/Makefile config.status: creating libsecret/libsecret.pc config.status: creating libsecret/libsecret-unstable.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands config.status: executing default-1 commands config.status: executing po/stamp-it commands
CFLAGS: -g -O2 -pthread -I/home/saulo/gnome/install/include/glib-2.0 -I/home/saulo/gnome/install/lib64/glib-2.0/include -I/home/saulo/gnome/install/include/gio-unix-2.0/ -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_38 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_38 -Wall -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wdeclaration-after-statement -Wformat=2 -Winit-self -Waggregate-return -Wmissing-include-dirs -Wundef -Wno-error -g
OPTIONS: libgcrypt: yes vala: yes Debug: default Coverage: no Manual Page: yes
Now type 'make' to compile libsecret.
*** Compilando libsecret *** [1/1]
make -j1
GEN temp-dbus-generated.c
GEN secret-dbus-generated.c
GEN secret-dbus-generated.h
GEN libsecret/secret-enum-types.c
GEN libsecret/secret-enum-types.h
make all-recursive
make[1]: Entrando no diretório /home/saulo/gnome/source/libsecret' Making all in . make[2]: Entrando no diretório
/home/saulo/gnome/source/libsecret'
CC libsecret_1_la-secret-attributes.lo
CC libsecret_1_la-secret-collection.lo
CC libsecret_1_la-secret-item.lo
CC libsecret_1_la-secret-methods.lo
CC libsecret_1_la-secret-password.lo
CC libsecret_1_la-secret-prompt.lo
CC libsecret_1_la-secret-schema.lo
CC libsecret_1_la-secret-schemas.lo
CC libsecret_1_la-secret-service.lo
CC libsecret_1_la-secret-value.lo
CC libsecret_1_la-secret-paths.lo
CC libsecret_1_la-secret-session.lo
CC libsecret_1_la-secret-util.lo
CC libsecret_1_la-secret-dbus-generated.lo
CC libsecret_1_la-secret-enum-types.lo
CC egg-hex.lo
CC egg-secure-memory.lo
CC egg-testing.lo
CC egg-dh.lo
CC egg-hkdf.lo
CC egg-libgcrypt.lo
CCLD libegg.la
CCLD libsecret-1.la
CCLD libsecret-testable.la
CC mock-service.lo
CCLD libmock_service.la
CC secret-tool.o
tool/secret-tool.c: In function ‘write_password_stdout’:
tool/secret-tool.c:191:9: warning: ignoring return value of ‘write’, declared with attribute warn_unused_result [-Wunused-result]
write (1, "\n", 1);
^
CCLD secret-tool
CC test-hex.o
CCLD test-hex
CC test-secmem.o
CCLD test-secmem
CC test-hkdf.o
CCLD test-hkdf
CC test-dh.o
CCLD test-dh
CC test-attributes.o
CCLD test-attributes
CC test-value.o
CCLD test-value
CC test-prompt.o
CCLD test-prompt
CC test-service.o
CCLD test-service
CC test-session.o
CCLD test-session
CC test-paths.o
CCLD test-paths
CC test-methods.o
CCLD test-methods
CC test-password.o
CCLD test-password
CC test-item.o
CCLD test-item
CC test-collection.o
CCLD test-collection
GISCAN Secret-1.gir
libsecret/secret-item.c:354: Warning: Secret: GObject-Introspection specific GTK-Doc tag "Type" has been deprecated, please use annotations on the identifier instead:
* Type: GLib.HashTable(utf8,utf8)
^
libsecret/secret-item.c:355: Warning: Secret: GObject-Introspection specific GTK-Doc tag "Transfer" has been deprecated, please use annotations on the identifier instead:
* Transfer: full
^
libsecret/secret-password.c:128: Warning: Secret: GObject-Introspection specific GTK-Doc tag "Rename to" has been deprecated, please use annotations on the identifier instead:
- Rename to: secret_password_store ^ libsecret/secret-password.c:266: Warning: Secret: GObject-Introspection specific GTK-Doc tag "Rename to" has been deprecated, please use annotations on the identifier instead:
- Rename to: secret_password_store_sync ^ libsecret/secret-password.c:369: Warning: Secret: GObject-Introspection specific GTK-Doc tag "Rename to" has been deprecated, please use annotations on the identifier instead:
- Rename to: secret_password_lookup ^ libsecret/secret-password.c:616: Warning: Secret: GObject-Introspection specific GTK-Doc tag "Rename to" has been deprecated, please use annotations on the identifier instead:
- Rename to: secret_password_lookup_sync ^ libsecret/secret-password.c:715: Warning: Secret: GObject-Introspection specific GTK-Doc tag "Rename to" has been deprecated, please use annotations on the identifier instead:
- Rename to: secret_password_clear ^ libsecret/secret-password.c:823: Warning: Secret: GObject-Introspection specific GTK-Doc tag "Rename to" has been deprecated, please use annotations on the identifier instead:
- Rename to: secret_password_clear_sync ^ libsecret/secret-schema.c:179: Warning: Secret: GObject-Introspection specific GTK-Doc tag "Rename to" has been deprecated, please use annotations on the identifier instead:
- Rename to: secret_schema_new
^
GEN libsecret-1.deps
VAPIGEN libsecret-1.vapi
GISCAN MockService-0.gir
VAPIGEN mock-service-0.vapi
VALAC test-vala-lang.vala.o
CCLD test-vala-lang
VALAC test-vala-unstable.vala.o
/home/saulo/gnome/source/libsecret/libsecret/test-vala-unstable.vala.c: In function ‘test_read_alias’:
/home/saulo/gnome/source/libsecret/libsecret/test-vala-unstable.vala.c:37:3: error: unknown type name ‘SecretService’
SecretService* service = NULL;
^
/home/saulo/gnome/source/libsecret/libsecret/test-vala-unstable.vala.c:38:3: error: unknown type name ‘SecretService’
SecretService* tmp0 = NULL;
^
/home/saulo/gnome/source/libsecret/libsecret/test-vala-unstable.vala.c:40:3: error: unknown type name ‘SecretService’
SecretService* tmp1 = NULL;
^
/home/saulo/gnome/source/libsecret/libsecret/test-vala-unstable.vala.c:43:37: error: ‘SECRET_SERVICE_NONE’ undeclared (first use in this function)
tmp0 = secret_service_get_sync (SECRET_SERVICE_NONE, NULL, &inner_error);
^
/home/saulo/gnome/source/libsecret/libsecret/test-vala-unstable.vala.c:43:37: note: each undeclared identifier is reported only once for each function it appears in
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)
make[2]: ** [test-vala-unstable.vala.o] Erro 1
make[2]: Saindo do diretório
/home/saulo/gnome/source/libsecret' make[1]: ** [all-recursive] Erro 1 make[1]: Saindo do diretório
/home/saulo/gnome/source/libsecret' make: ** [all] Erro 2 *** Erro durante a fase build de libsecret: ########## Erro ao executar make -j1 *** [1/1]
[1] Re-executar fase build [2] Ignorar erro e continuar para install [3] Desistir do módulo [4] Iniciar shell [5] Recarregar configuração [6] Ir para fase "limpar diretório e iniciar novamente" [7] Ir para fase "configure" [8] Ir para fase "clean" [9] Ir para fase