Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#21873 - [gnome-menus] 2.30.5 fails to build
Attached to Project:
Arch Linux
Opened by John (graysky) - Sunday, 28 November 2010, 10:54 GMT
Last edited by Ionut Biru (wonder) - Sunday, 28 November 2010, 13:12 GMT
Opened by John (graysky) - Sunday, 28 November 2010, 10:54 GMT
Last edited by Ionut Biru (wonder) - Sunday, 28 November 2010, 13:12 GMT
|
DetailsDescription: Pkg files to build.
Change line 22 to: PYTHON=python2 ./configure --prefix=/usr --sysconfdir=/etc \ Additional info: * package version(s) gnome-menus-2.30.5 * config and/or log files etc. Steps to reproduce: Try to build it. ==> Making package: gnome-menus 2.30.5-1 (Sun Nov 28 05:51:56 EST 2010) ==> Checking Runtime Dependencies... ==> Checking Buildtime Dependencies... ==> Retrieving Sources... -> Found gnome-menus-2.30.5.tar.bz2 -> Found menus.patch ==> Validating source files with sha256sums... gnome-menus-2.30.5.tar.bz2 ... Passed menus.patch ... Passed ==> Extracting Sources... -> Extracting gnome-menus-2.30.5.tar.bz2 with bsdtar ==> Entering fakeroot environment... ==> Starting build()... patching file layout/applications.menu Hunk #1 succeeded at 7 with fuzz 1. checking for a BSD-compatible install... /bin/install -c 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 to enable maintainer-specific portions of Makefiles... no 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 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... /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking whether NLS is requested... yes checking for intltool >= 0.40.0... 0.41.1 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... (cached) /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... (cached) /usr/bin/msgfmt checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.12.1 checking for XML::Parser... ok 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 for ANSI C header files... (cached) yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu 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 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 for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for ar... ar checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok 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 for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes checking what language compliance flags to pass to the C compiler... configure: Checking to see if we can build Python bindings checking for a Python interpreter with version >= 2.3... python checking for python... /usr/bin/python checking for python version... 3.1 checking for python platform... linux2 checking for python script directory... ${prefix}/lib/python3.1/site-packages checking for python extension module directory... ${exec_prefix}/lib/python3.1/site-packages checking for headers required to compile python extensions... File "<string>", line 1 import sys; print sys.prefix ^ SyntaxError: invalid syntax File "<string>", line 1 import sys; print sys.exec_prefix ^ SyntaxError: invalid syntax found checking for python libraries... File "<string>", line 1 from distutils.sysconfig import get_config_var; print repr(get_config_var('Py_ENABLE_SHARED')) ^ SyntaxError: invalid syntax ./configure: line 13631: test: ==: unary operator expected File "<string>", line 1 from distutils import sysconfig; print sysconfig.get_config_var('CC') ^ SyntaxError: invalid syntax File "<string>", line 1 from distutils import sysconfig; print sysconfig.get_config_var('SYSLIBS'), sysconfig.get_config_var('SHLIBS') ^ SyntaxError: invalid syntax File "<string>", line 1 from distutils import sysconfig; print sysconfig.get_config_var('LIBDIR') ^ SyntaxError: invalid syntax File "<string>", line 1 from distutils import sysconfig; print sysconfig.get_config_var('LIBPL') ^ SyntaxError: invalid syntax not found checking whether gcc accepts -fno-strict-aliasing... yes checking for gobject-introspection... yes configure: creating ./config.status config.status: creating Makefile config.status: creating libmenu/Makefile config.status: creating libmenu/libgnome-menu.pc config.status: creating libmenu/libgnome-menu-uninstalled.pc config.status: creating layout/Makefile config.status: creating desktop-directories/Makefile config.status: creating util/Makefile config.status: creating python/Makefile config.status: creating simple-editor/Makefile config.status: creating simple-editor/GMenuSimpleEditor/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing libtool commands config.status: executing po/stamp-it commands gnome-menus 2.30.5 ================== prefix: /usr exec_prefix: ${prefix} libdir: ${exec_prefix}/lib bindir: ${exec_prefix}/bin sbindir: ${exec_prefix}/sbin sysconfdir: /etc localstatedir: /var datadir: ${datarootdir} source code location: . compiler: gcc cflags: -march=core2 -mtune=generic -O2 -pipe Maintainer mode: no Use *_DISABLE_DEPRECATED: no Turn on debugging: minimum Build python bindings: yes Build introspection support: yes make all-recursive make[1]: Entering directory `/dev/shm/abs/gnome-menus/src/gnome-menus-2.30.5' Making all in libmenu make[2]: Entering directory `/dev/shm/abs/gnome-menus/src/gnome-menus-2.30.5/libmenu' CC canonicalize.lo CC desktop-entries.lo CC entry-directories.lo CC gmenu-tree.lo CC menu-layout.lo CC menu-monitor.lo CC menu-util.lo CCLD libgnome-menu.la libtool: link: require no space between `-L' and `-lpython3.1' make[2]: *** [libgnome-menu.la] Error 1 make[2]: Leaving directory `/dev/shm/abs/gnome-menus/src/gnome-menus-2.30.5/libmenu' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/dev/shm/abs/gnome-menus/src/gnome-menus-2.30.5' make: *** [all] Error 2 Aborting... |
This task depends upon