您尚未登录。

#1 2013-06-06 14:29:53

loyalpartner
会员
注册时间: 2013-06-04
帖子: 7

bamf-bzr无法编译,求解决方法

https://aur.archlinux.org/packages/bamf-bzr/


bamf-bzr 537-1  (2012年 06月 04日 星期一 11:04:20 CST)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> bamf-bzr dependencies:
 - dbus-glib (already installed)
 - libgtop (already installed)
 - libwnck3 (already installed)
 - python2-lxml (already installed)
 - bzr (already installed)
 - gnome-common (already installed)
 - gobject-introspection (already installed)
 - gtk-doc (already installed)
 - vala (already installed)


==> Continue building bamf-bzr ? [Y/n]
==> ----------------------------------
==>
==> Building and installing package
==> 正在创建软件包:bamf-bzr 537-1 (2013年 06月 06日 星期四 14:16:30 CST)
==> 正在检查运行时依赖关系...
==> 正在检查编译时依赖关系
==> 获取源代码......
  -> 正在取出lp:bamf......
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
Branched 537 revisions.
  -> 找到 bamf-matcher.patch
==> 正在验证源代码文件 sha256sums...
    bamf ... 已跳过
    bamf-matcher.patch ... 通过
==> 正在释放源码......
  -> 正在建立 bzr仓库的拷贝......
==> 正在开始 pkgver()...
==> 正在开始 prepare()...
patching file src/bamf-matcher.c
==> 正在开始 build()...
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.59...
  testing autoconf2.50... not found.
  testing autoconf... found 2.69
checking for automake >= 1.8...
  testing automake-1.13... found 1.13.2
checking for libtool >= 1.4.3...
  testing libtoolize... found 2.4.2
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 0.28
checking for gtk-doc >= 1.0...
  testing gtkdocize... found 1.18
Checking for required M4 macros...
Checking for forbidden M4 macros...
Processing ./configure.ac
Running libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./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'
Running gtkdocize...
Running aclocal-1.13...
Running autoconf...
Running autoheader...
Running automake-1.13...
configure.ac:31: installing './compile'
configure.ac:22: installing './config.guess'
configure.ac:22: installing './config.sub'
configure.ac:12: installing './install-sh'
configure.ac:12: installing './missing'
doc/reference/libbamf/Makefile.am:44: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS')
lib/libbamf-private/Makefile.am: installing './depcomp'
lib/libbamf/Makefile.am:80: warning: BUILT_SOURCES multiply defined in condition TRUE ...
lib/libbamf/Makefile.am:3: ... 'BUILT_SOURCES' previously defined here
src/Makefile.am:91: warning: BUILT_SOURCES multiply defined in condition TRUE ...
src/Makefile.am:4: ... 'BUILT_SOURCES' previously defined here
Running ./configure --enable-maintainer-mode --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib/bamf --disable-static --disable-webapps ...
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether make supports nested variables... (cached) 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 whether gcc understands -Wall... yes
checking whether gcc understands -Wstrict-prototypes... yes
checking whether gcc understands -Wnested-externs... yes
checking whether gcc understands -Werror=missing-prototypes... yes
checking whether gcc understands -Werror=implicit-function-declaration... yes
checking whether gcc understands -Werror=pointer-arith... yes
checking whether gcc understands -Werror=init-self... yes
checking whether gcc understands -Werror=format-security... no
checking whether gcc understands -Werror=format=2... yes
checking whether gcc understands -Werror=missing-include-dirs... yes
checking what warning flags to pass to the C compiler...  -Wall -Wstrict-prototypes -Wnested-externs -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=pointer-arith -Werror=init-self -Werror=format=2 -Werror=missing-include-dirs
checking what language compliance flags to pass to the C compiler...
checking whether to enable maintainer-specific portions of Makefiles... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
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/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 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 i686-pc-linux-gnu file names to i686-pc-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-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... no
checking if : 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... 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) 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 for library containing strerror... none required
checking for pkg-config... /usr/bin/pkg-config
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 whether gcc and cc understand -c and -o together... yes
checking for ANSI C header files... (cached) yes
./configure: line 12690: SHAMROCK_EXPAND_LIBDIR: command not found
./configure: line 12691: SHAMROCK_EXPAND_BINDIR: command not found
./configure: line 12692: SHAMROCK_EXPAND_DATADIR: command not found
checking pkg-config is at least version 0.9.0... yes
checking for GLIB... yes
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for gdbus-codegen... /usr/bin/gdbus-codegen
checking for DBUS... yes
checking for WNCK... yes
checking for GTOP... yes
checking for X... yes
checking for gobject-introspection... yes
checking for vapigen... /usr/bin/vapigen
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for python... /usr/bin/python2
checking for gtester2xunit dependencies... yes
checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 3.0.0... yes (version 3.8.2)
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating lib/libbamf-private/Makefile
config.status: creating lib/libbamf/Makefile
config.status: creating lib/libbamf/libbamf3.pc
config.status: creating src/Makefile
config.status: creating tests/Makefile
config.status: creating tests/bamfdaemon/Makefile
config.status: creating tests/libbamf/Makefile
config.status: creating data/Makefile
config.status: creating doc/Makefile
config.status: creating doc/reference/Makefile
config.status: creating doc/reference/libbamf/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

bamf-0.4.0

  Build Environment
    Install Prefix:     /usr
    Introspection:      yes
    Unity Webapps:      no
    Headless tests:     no
    Coverage Reporting: no

Now type `make' to compile bamfdaemon
make  all-recursive
make[1]: 进入目录“/tmp/yaourt-tmp-gaopp/aur-bamf-bzr/src/bamf”
Making all in lib/libbamf-private
make[2]: 进入目录“/tmp/yaourt-tmp-gaopp/aur-bamf-bzr/src/bamf/lib/libbamf-private”
  GEN      bamf-gdbus-generated.c
  GEN      bamf-gdbus-view-generated.c
make  all-am
make[3]: 进入目录“/tmp/yaourt-tmp-gaopp/aur-bamf-bzr/src/bamf/lib/libbamf-private”
  CC       libbamf_private_la-bamf-gdbus-generated.lo
  CC       libbamf_private_la-bamf-gdbus-view-generated.lo
  CCLD     libbamf-private.la
make[3]: 离开目录“/tmp/yaourt-tmp-gaopp/aur-bamf-bzr/src/bamf/lib/libbamf-private”
make[2]: 离开目录“/tmp/yaourt-tmp-gaopp/aur-bamf-bzr/src/bamf/lib/libbamf-private”
Making all in lib/libbamf
make[2]: 进入目录“/tmp/yaourt-tmp-gaopp/aur-bamf-bzr/src/bamf/lib/libbamf”
  GEN      stamp-marshal
  GEN      bamf-marshal.c
  GEN      bamf-tab-source-glue.h
make  all-am
make[3]: 进入目录“/tmp/yaourt-tmp-gaopp/aur-bamf-bzr/src/bamf/lib/libbamf”
  CC       libbamf3_la-bamf-application.lo
bamf-application.c: In function 'bamf_application_load_data_from_file':
bamf-application.c:646:44: error: 'G_KEY_FILE_DESKTOP_KEY_FULLNAME' undeclared (first use in this function)
                                            G_KEY_FILE_DESKTOP_KEY_FULLNAME, NULL, NULL);
                                            ^
bamf-application.c:646:44: note: each undeclared identifier is reported only once for each function it appears in
make[3]: *** [libbamf3_la-bamf-application.lo] 错误 1
make[3]: 离开目录“/tmp/yaourt-tmp-gaopp/aur-bamf-bzr/src/bamf/lib/libbamf”
make[2]: *** [all] 错误 2
make[2]: 离开目录“/tmp/yaourt-tmp-gaopp/aur-bamf-bzr/src/bamf/lib/libbamf”
make[1]: *** [all-recursive] 错误 1
make[1]: 离开目录“/tmp/yaourt-tmp-gaopp/aur-bamf-bzr/src/bamf”
make: *** [all] 错误 2
==> 错误: 在 build() 中发生一个错误。
    正在放弃...
==> ERROR: Makepkg was unable to build bamf-bzr.
==> Restart building bamf-bzr ? [y/N]
==> ---------------------------------
==>

最近编辑记录 依云 (2013-06-06 19:13:11)

离线

页脚