You are not logged in.

#1 2006-07-21 18:00:54

Galdona
Member
Registered: 2006-03-15
Posts: 196

cannot build packages

I am trying to "makepkg" xbindkeys with the --disable-fork option, but I am getting the error below. It happens even with the original PKGBUILD from abs.

checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
sed: -e expression #1, char 295: unknown option to `s'
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make: *** No targets.  Stop.
==> ERROR: Build Failed.  Aborting...
# $Id: PKGBUILD,v 1.6 2006/05/21 18:25:06 uid1014 Exp $
# Maintainer: damir <damir>
# Contributor: damir <damir>

pkgname=xbindkeys
pkgver=1.7.2
pkgrel=2
pkgdesc="xbindkeys allows you to launch shell commands with your keyboard or your mouse under X Window"
arch=(i686 x86_64)
url="http://hocwp.free.fr/xbindkeys"
depends=('libx11' 'guile' 'tk')

source=($url/$pkgname-$pkgver.tar.gz)

build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr --disable-fork 
  make || return 1
  make prefix=$startdir/pkg/usr install
}

What to do?

Offline

#2 2006-07-21 21:19:41

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: cannot build packages

Works here.
Do you have sed installed? If not, install it.
If it still fails, post all the output that makepkg gives you.

EDIT: Make sure you have write access in the directory where you run makepkg.  Only root can write in /var/abs, so you'll need to copy the PKGBUILD someplace where you have write permissions.

Offline

#3 2006-07-22 18:16:48

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: cannot build packages

yes, sed is installed. and I do compile only in my user home folder.

Actually, I think this is another of the many cases of failed pkg building due to some upgrade quirks. I have been unable to compile several other packages as well. On another PC with an arch install that hasnt been updated in about a month, packages compile fine.

do you have any recommendations of a "general fix" for these upgrade issues? I have been looking at many of the threads here, but havent solved it.

Offline

#4 2006-07-22 19:40:30

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: cannot build packages

Reinstall the kernel-headers package. It solved building problem for other users.
Make sure all the packages are up-to-date, i.e. use pacman -Syu

If it doesn't fix it, post the complete output of makepkg.

Offline

#5 2006-07-23 03:56:26

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: cannot build packages

im sorry its a late reply.

I reinstalled sed and kernel-headers, and even did a reboot, but its still the same. here is the output:

$ makepkg
==> Entering fakeroot environment
==> Making package: xbindkeys 1.7.2-2 (Sun Jul 23 11:52:36 PHT 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Found xbindkeys-1.7.2.tar.gz in build dir
==> WARNING: MD5sums are missing or incomplete.  Cannot verify source integrity.
==> Extracting Sources...
==>     tar --use-compress-program=gzip -xf xbindkeys-1.7.2.tar.gz
==> Removing existing pkg/ directory...
==> Starting build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking whether make sets $(MAKE)... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 ANSI C... none needed
checking for a BSD-compatible install... /bin/install -c
checking whether make sets $(MAKE)... (cached) yes
checking for gawk... gawk
checking how to run the C preprocessor... gcc -E
checking for X... libraries , headers in standard search path
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for XCreateWindow in -lX11... yes
checking libguile.h usability... yes
checking libguile.h presence... yes
checking for libguile.h... yes
checking for scm_boot_guile in -lguile... yes
checking for pid_t... yes
checking for unistd.h... (cached) yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking return type of signal handlers... void
checking for strcasecmp... yes
checking for strchr... yes
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
configure: creating ./config.status
config.status: creating Makefile
sed: -e expression #1, char 295: unknown option to `s'
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing default-1 commands
make: *** No targets.  Stop.
==> ERROR: Build Failed.  Aborting...
$

Offline

#6 2006-07-23 04:05:55

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: cannot build packages

um, i hope you can help me, so here is another package that i cannot build (dates from aur)

==> Entering fakeroot environment
==> Making package: dates 0.1-1 (Sun Jul 23 12:02:05 PHT 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Found dates-0.1.tar.gz in build dir
==> Validating source files with MD5sums
    dates-0.1.tar.gz ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=gzip -xf dates-0.1.tar.gz
==> Removing existing pkg/ directory...
==> Starting build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
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 for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
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 ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... 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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module is required for intltool
make: *** No targets specified and no makefile found.  Stop.
==> ERROR: Build Failed.  Aborting...

Offline

#7 2006-07-23 04:09:43

Galdona
Member
Registered: 2006-03-15
Posts: 196

Re: cannot build packages

and here's another (galculator from the extra repo)
I was able to compile the above and this pkg before.

==> Entering fakeroot environment
==> Making package: galculator 1.2.5.2-1 (Sun Jul 23 12:06:54 PHT 2006)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
==>     Downloading galculator-1.2.5.2.tar.bz2
--12:07:08--  http://dl.sourceforge.net/sourceforge/galculator/galculator-1.2.5.2.tar.bz2
           => `galculator-1.2.5.2.tar.bz2'
Resolving dl.sourceforge.net... 64.74.207.41, 66.35.250.221, 69.9.164.2, ...
Connecting to dl.sourceforge.net|64.74.207.41|:80... failed: Connection refused.
Connecting to dl.sourceforge.net|66.35.250.221|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 355,372 (347K) [application/x-bzip2]

100%[================================================================>] 355,372       40.05K/s    ETA 00:00

12:07:16 (50.70 KB/s) - `galculator-1.2.5.2.tar.bz2' saved [355372/355372]

==> Validating source files with MD5sums
    galculator-1.2.5.2.tar.bz2 ... Passed
==> Extracting Sources...
==>     tar --use-compress-program=bzip2 -xf galculator-1.2.5.2.tar.bz2
==> Starting build()...
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
/home/bubuyg/,proggies/abs/galculator/src/galculator-1.2.5.2/missing: Unknown `--run' option
Try `/home/bubuyg/,proggies/abs/galculator/src/galculator-1.2.5.2/missing --help' for more information
configure: WARNING: `missing' script is too old or missing
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for perl... /usr/bin/perl
checking for iconv... /usr/bin/iconv
checking for msgfmt... /usr/bin/msgfmt
checking for msgmerge... /usr/bin/msgmerge
checking for xgettext... /usr/bin/xgettext
checking for library containing strerror... none required
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for PACKAGE... yes
checking for flex... flex
checking for yywrap in -lfl... yes
checking lex output file root... lex.yy
checking whether yytext is a pointer... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for f77... no
checking for xlf... no
checking for frt... no
checking for pgf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for f90... no
checking for xlf90... no
checking for pgf90... no
checking for epcf90... no
checking for f95... no
checking for fort... no
checking for xlf95... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for gfortran... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether  accepts -g... no
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... 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... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
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 for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed...  de fr ja pt_BR pl ro
configure: creating ./config.status
config.status: creating Makefile
sed: -e expression #1, char 295: unknown option to `s'
config.status: creating galculator.spec
sed: -e expression #1, char 309: unknown option to `s'
config.status: creating src/Makefile
sed: -e expression #1, char 299: unknown option to `s'
config.status: creating po/Makefile.in
sed: -e expression #1, char 304: unknown option to `s'
config.status: creating ui/Makefile
sed: -e expression #1, char 298: unknown option to `s'
config.status: creating doc/Makefile
sed: -e expression #1, char 299: unknown option to `s'
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing intltool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
make: *** No targets.  Stop.
==> ERROR: Build Failed.  Aborting...

Offline

#8 2006-07-23 04:24:14

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: cannot build packages

xbindkeys: I don't know why you get the sed error. The rest of the makepkg output is the same as I get.

dates: Install perlxml. It's probably a missing makedepends.

Offline

Board footer

Powered by FluxBB