Makepkg error

i have installed base-devel, but when i execute makepkg -s , some errors occured:
==> Making package: libpng14 1.4.9-1 (Tue Mar 20 18:42:35 HKT 2012)
==> Checking runtime dependencies...
pacman: /usr/lib/libcurl.so.4: no version information available (required by /usr/lib/libalpm.so.7)
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Found libpng-1.4.9.tar.xz
-> Found libpng-1.4.9-apng.patch.gz
==> Validating source files with md5sums...
libpng-1.4.9.tar.xz ... Passed
libpng-1.4.9-apng.patch.gz ... Passed
==> Extracting Sources...
-> Extracting libpng-1.4.9.tar.xz with bsdtar
-> Extracting libpng-1.4.9-apng.patch.gz with gzip
==> Removing existing pkg/ directory...
==> Starting build()...
patching file png.h
patching file pngconf.h
patching file pngget.c
patching file pngpread.c
patching file pngpriv.h
patching file pngread.c
patching file pngrtran.c
patching file pngrutil.c
patching file pngset.c
patching file pngtest.c
patching file pngwrite.c
patching file pngwutil.c
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: warning: no serial number on `/usr/share/aclocal/libtool.m4', not copying.
libtoolize: You should add the contents of the following files to `aclocal.m4':
libtoolize: `/usr/share/aclocal/libtool.m4'
libtoolize: `/usr/share/aclocal/ltversion.m4'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
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 gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/mycityofsky/build/libpng14/src/libpng-1.4.9':
configure: error: C compiler cannot create executables
See `config.log' for more details
==> ERROR: A failure occurred in build().
Aborting...
and the config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by libpng configure 1.4.9, which was
generated by GNU Autoconf 2.68. Invocation command line was
$ ./configure --prefix=/usr
## Platform. ##
hostname = myhost
uname -m = i686
uname -r = 3.0-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Wed Aug 17 20:24:07 UTC 2011
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin
PATH: /usr/sbin
PATH: /sbin
PATH: /usr/bin/vendor_perl
PATH: /usr/bin/core_perl
## Core tests. ##
configure:2303: checking for a BSD-compatible install
configure:2371: result: /bin/install -c
configure:2382: checking whether build environment is sane
configure:2432: result: yes
configure:2573: checking for a thread-safe mkdir -p
configure:2612: result: /bin/mkdir -p
configure:2625: checking for gawk
configure:2641: found /usr/bin/gawk
configure:2652: result: gawk
configure:2663: checking whether make sets $(MAKE)
configure:2685: result: yes
configure:2766: checking whether to enable maintainer-specific portions of Makefiles
configure:2775: result: no
configure:2849: checking for gcc
configure:2865: found /usr/bin/gcc
configure:2876: result: gcc
configure:3105: checking for C compiler version
configure:3114: gcc --version >&5
gcc (GCC) 4.6.3
Copyright (C) 2011 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
configure:3125: $? = 0
configure:3114: gcc -v >&5
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/lto-wrapper
Target: i686-pc-linux-gnu
Configured with: /build/src/gcc-4.6.3/configure --prefix=/usr --libdir=/usr/lib --libexecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=https://bugs.archlinux.org/ --enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ --enable-shared --enable-threads=posix --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-clocale=gnu --disable-libstdcxx-pch --enable-libstdcxx-time --enable-gnu-unique-object --enable-linker-build-id --with-ppl --enable-cloog-backend=isl --enable-lto --enable-gold --enable-ld=default --enable-plugin --with-plugin-ld=ld.gold --disable-multilib --disable-libssp --enable-checking=release
Thread model: posix
gcc version 4.6.3 (GCC)
configure:3125: $? = 0
configure:3114: gcc -V >&5
gcc: error: unrecognized option '-V'
gcc: fatal error: no input files
compilation terminated.
configure:3125: $? = 1
configure:3114: gcc -qversion >&5
gcc: error: unrecognized option '-qversion'
gcc: fatal error: no input files
compilation terminated.
configure:3125: $? = 1
configure:3145: checking whether the C compiler works
configure:3167: gcc -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu conftest.c >&5
/usr/lib/gcc/i686-pc-linux-gnu/4.6.3/cc1: error while loading shared libraries: libcloog-isl.so.3: cannot open shared object file: No such file or directory
configure:3171: $? = 1
configure:3209: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libpng"
| #define PACKAGE_TARNAME "libpng"
| #define PACKAGE_VERSION "1.4.9"
| #define PACKAGE_STRING "libpng 1.4.9"
| #define PACKAGE_BUGREPORT "[email protected]"
| #define PACKAGE_URL ""
| #define PACKAGE "libpng"
| #define VERSION "1.4.9"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3214: error: in `/home/mycityofsky/build/libpng14/src/libpng-1.4.9':
configure:3216: error: C compiler cannot create executables
See `config.log' for more details
## Cache variables. ##
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_path_install='/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes
## Output variables. ##
ACLOCAL='${SHELL} /home/mycityofsky/build/libpng14/src/libpng-1.4.9/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='$${TAR-tar}'
AR=''
AS=''
AUTOCONF='${SHELL} /home/mycityofsky/build/libpng14/src/libpng-1.4.9/missing --run autoconf'
AUTOHEADER='${SHELL} /home/mycityofsky/build/libpng14/src/libpng-1.4.9/missing --run autoheader'
AUTOMAKE='${SHELL} /home/mycityofsky/build/libpng14/src/libpng-1.4.9/missing --run automake-1.11'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS='-march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DLLTOOL=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
HAVE_LD_VERSION_SCRIPT_FALSE=''
HAVE_LD_VERSION_SCRIPT_TRUE=''
HAVE_SOLARIS_LD_FALSE=''
HAVE_SOLARIS_LD_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS='-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu'
LIBOBJS=''
LIBPNG_DEFINES=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /home/mycityofsky/build/libpng14/src/libpng-1.4.9/missing --run makeinfo'
MANIFEST_TOOL=''
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='libpng'
PACKAGE_BUGREPORT='[email protected]'
PACKAGE_NAME='libpng'
PACKAGE_STRING='libpng 1.4.9'
PACKAGE_TARNAME='libpng'
PACKAGE_URL=''
PACKAGE_VERSION='1.4.9'
PATH_SEPARATOR=':'
PNGLIB_MAJOR='1'
PNGLIB_MINOR='4'
PNGLIB_RELEASE='9'
PNGLIB_VERSION='1.4.9'
POW_LIB=''
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
SYMBOL_PREFIX=''
VERSION='1.4.9'
ac_ct_AR=''
ac_ct_CC='gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__nodep=''
am__quote=''
am__tar='$${TAR-tar} chof - "$$tardir"'
am__untar='$${TAR-tar} xf -'
binconfigs=''
bindir='${exec_prefix}/bin'
build=''
build_alias=''
build_cpu=''
build_os=''
build_vendor=''
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host=''
host_alias=''
host_cpu=''
host_os=''
host_vendor=''
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/mycityofsky/build/libpng14/src/libpng-1.4.9/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
pkgconfigdir=''
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''
## confdefs.h. ##
/* confdefs.h */
#define PACKAGE_NAME "libpng"
#define PACKAGE_TARNAME "libpng"
#define PACKAGE_VERSION "1.4.9"
#define PACKAGE_STRING "libpng 1.4.9"
#define PACKAGE_BUGREPORT "[email protected]"
#define PACKAGE_URL ""
#define PACKAGE "libpng"
#define VERSION "1.4.9"
configure: exit 77
i dont know how to do with it. can anyone give some ideas? thanks a million!

Update.

Similar Messages

  • AUR package: makepkg error

    During the installation of http://aur.archlinux.org/packages/cddb-py/ I get this error
    [user@bir dl]$ tar -xvzf cddb-py.tar.gz
    cddb-py/
    cddb-py/PKGBUILD
    [user@bir dl]$ cd cddb-py
    [user@bir cddb-py]$ makepkg
    ==> ERROR: cddb-py is not available for the 'i686' architecture.
        Note that many packages may need a line added to their PKGBUILD
        such as arch=('i686').
    python is allready installed. makepkg -s causes the same error
    What is wrong?

    mumpf wrote:
    During the installation of http://aur.archlinux.org/packages/cddb-py/ I get this error
    [user@bir dl]$ tar -xvzf cddb-py.tar.gz
    cddb-py/
    cddb-py/PKGBUILD
    [user@bir dl]$ cd cddb-py
    [user@bir cddb-py]$ makepkg
    ==> ERROR: cddb-py is not available for the 'i686' architecture.
        Note that many packages may need a line added to their PKGBUILD
        such as arch=('i686').
    python is allready installed. makepkg -s causes the same error
    What is wrong?
    I have bolded the pertinent part of the error message.  Add arch=('i686') to the pkgbuild, or if arch=('x86_64') is already there, just add it like so: arch=('x86_64' 'i686')

  • [SOLVED] makepkg error: Why is it looking for '.part' files?

    I've been seeing the following problem with every package I try to build with makepkg.  The download works, but then makepkg complains that it can't find the source file:
    ==> Making package: android-sdk r20-2 (Fri Jun 29 11:01:35 CDT 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading android-sdk_r20-linux.tgz...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 78.7M 100 78.7M 0 0 1640k 0 0:00:49 0:00:49 --:--:-- 2166k
    mv: cannot stat ‘/usr/local/src/android-sdk_r20-linux.tgz.part’: No such file or directory
    ==> ERROR: Failure while downloading android-sdk_r20-linux.tgz
    Aborting...
    Why is it looking for the .part file, instead of the .tgz file?  When I run makepkg again, without doing anything in between, it finds the .tgz file and goes on its merry way.
    I'm using curl, and I haven't tried wget.  Judging by my unscientific sample of forum posts it looks like wget is the de facto standard, so this may not be on anyone else's radar.
    Here's my makepkg.conf:
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
    'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/wget
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Compiler and Linker Flags
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"
    LDFLAGS="-Wl,-O1,--sort-common,--as-needed,-z,relro"
    #-- Make Flags: change this for DistCC/SMP systems
    MAKEFLAGS="-j4"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache check !sign)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    #-- check: Run the check() function if present in the PKGBUILD
    #-- sign: Generate PGP signature file
    BUILDENV=(fakeroot !distcc color !ccache check !sign)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    #-- Specify a directory for package building.
    #BUILDDIR=/tmp/makepkg
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool emptydirs zipman purge !upx)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    #-- upx: Compress binary executable files using UPX
    OPTIONS=(strip docs !libtool emptydirs zipman purge !upx)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    PKGDEST=/usr/local/pkgs
    #-- Source cache: specify a fixed directory where source files will be cached
    SRCDEST=/usr/local/src
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Packager: name/email of the person or organization building packages
    PACKAGER="Whitney Marshall <[email protected]>"
    #-- Specify a key to use for package signing
    GPGKEY="E4FB694E"
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:
    Last edited by wmarshall (2012-07-02 15:39:16)

    It looks like this code is the culprit.  I don't have time to dig into it right now, but presumably this works with wget.  I would have thought any cmdline downloader would manage renaming the .part file itself...?
    makepkg, lines 395-417 (pacman 4.0.3-2):
    395 # replace %o by the temporary dlfile if it exists
    396 if [[ $dlcmd = *%o* ]]; then
    397 dlcmd=${dlcmd//\%o/\"$file.part\"}
    398 dlfile="$file.part"
    399 fi
    414 # rename the temporary download file to the final destination
    415 if [[ $dlfile != "$file" ]]; then
    416 mv -f "$SRCDEST/$dlfile" "$SRCDEST/$file"
    417 fi

  • Dahdi Package from AUR - makepkg error

    Unfortunately I have no easy way to copy/paste (it is on a different machine...).  This is the exact error:
    $ makepkg -s -i
    ==> Starting build()...
    patching file Makefile
    Hunk #1 succeeded at 132 (offset 4 lines)
    You do not appear to have the sources for the 3.6.3-1-ARCH kernel installed
    make: *** [modules] Error 1
    ==> ERROR: A failure occurred in build().
       Aborting...
    $
    So I go to /usr/src/ to see if I DO or DO NOT have the current sources.  I have two subdir there. 
    linux-3.6.3-1-ARCH      linux-3.6.6-1-ARCH
    All that .3 has under it is a file called 'vmlinux'.  The .6 directory has what I would expect to see under a src directory.  Furthermore, if I do:
    $ uname -a
    Linux archlap 3.6.3-1-ARCH .... .... ....
    This is where I'm stuck.  It seems the laptop (and thus the makepkg script) thinks that I'm still on 3.6.3 instead of 3.6.6?  Fwiw, I also tried a reboot.  I thought that perhaps, since I pretty much leave this on at all times,  I forgot to reboot after a system upgrade once (that happened to include a kernel upgrade).
    Any help is appreciated, thank you in advance.

    I solved my issue.  I tried another system update.
    $ pacman -Syu
    I noticed in the update it included linux-3.6.6.  After the update, I rebooted.  Now, under /usr/src/ I have only:
    linux-3.6.6-1-ARCH
    There is no longer two subdirs, with one having a vmlinux file.  The 'uname -a' command reports correctly now too.  I am still not certain what happened, but it appears to be resolved now.  Perhaps this post belonged in the 'newbie thread' instead.  I couldn't figure out how to delete my original post, so I figured at the very least I'd comment on my own post in case someone has the same issue in the future.

  • Makepkg-error: BUILDSCRIPT is not defined

    Hi!
    I can't use makepkg anymore, i think it is because i updated to the pacman-version from [testing]. When i try to run makepkg, it says:
    ==> FEHLER: BUILDSCRIPT ist nicht definiert! Stellen Sie sicher, dass /etc/makepkg.conf aktualisiert wurde.
    "ERROR: BUILDSCRIPT has not been defined! Make sure that /etc/makepkg.conf has been updated."
    This is my /etc/makepkg.conf
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The FTP/HTTP download utility that makepkg should use to acquire sources
    FTPAGENT="/usr/bin/wget --continue --passive-ftp --tries=3 --waitretry=3 --no-check-certificate"
    #FTPAGENT="/usr/bin/snarf"
    #FTPAGENT="/usr/bin/lftpget -c"
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="i686"
    CHOST="i686-pc-linux-gnu"
    #-- Exclusive: will only run on i686
    # -mtune builds exclusively for an architecture
    # -mcpu optimizes for an architecture, but builds for the whole processor family
    CFLAGS="-march=i686 -mtune=generic -O2 -pipe"
    CXXFLAGS="-march=i686 -mtune=generic -O2 -pipe"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(!fakeroot !distcc color !ccache)
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    BUILDENV=(fakeroot !distcc color !ccache)
    USE_FAKEROOT="y"
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip !docs !libtool emptydirs)
    #-- strip: Strip symbols from binaries/libraries
    #-- docs: Save doc and info directories
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    OPTIONS=(strip !docs libtool emptydirs)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Info and doc directories to remove (if option set correctly above)
    DOC_DIRS=(usr/{,share/}{info,doc,gtk-doc} opt/gnome/{,share/}{info,doc,gtk-doc})
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    # vim: set ft=sh ts=2 sw=2 et:
    How can i fix this?
    Thanks in advance

    Have a look at /etc/makepkg.conf.pacnew, you should merge new options.

  • [SOLVED]Installing from AUR dockbarx-shinybar-theme makepkg error

    dockbarx-shinybar-theme]$ makepkg
    ==> Making package: dockbarx-shinybar-theme 1.3.1-2 (Tue Jul 15 17:33:07 EDT 2014)
    ==> WARNING: Using a PKGBUILD without a package() function is deprecated.
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found Shinybar1_3_for_DockbarX_by_Levviathor.gz
    ==> Validating source files with md5sums...
    Shinybar1_3_for_DockbarX_by_Levviathor.gz ... Passed
    ==> Extracting sources...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    /home/itstallchris/Downloads/AUR-User-Install/dockbarx-shinybar-theme/PKGBUILD: line 16: cd: /home/itstallchris/Downloads/AUR-User-Install/dockbarx-shinybar-theme/src/Shinybar1.3.1_deviantart: No such file or directory
    ==> ERROR: A failure occurred in build().
    Aborting...
    PKGBUILD
    dockbarx-shinybar-theme]$ cat PKGBUILD
    # Contributor: twa022 <[email protected]>
    pkgname=dockbarx-shinybar-theme
    pkgver=1.3.1
    pkgrel=2
    pkgdesc="Windows 7-like theme for DockBarX"
    arch=('any')
    url="http://levviathor.deviantart.com/art/Shinybar1-3-for-DockbarX-135875506"
    license=('cc-by-sa')
    depends=('dockbarx')
    groups=('dockbarx-themes')
    source=('http://www.deviantart.com/download/135875506/Shinybar1_3_for_DockbarX_by_Levviathor.gz')
    DLAGENTS=('http::/usr/bin/wget -c -t 3 --waitretry=3 -H -U Mozilla -O %o %u')
    build () {
    cd ${srcdir}/Shinybar${pkgver}_deviantart
    mkdir -p ${pkgdir}/usr/share/dockbarx/themes
    install -Dm644 shinybar_13_horiz.tar.gz ${pkgdir}/usr/share/dockbarx/themes/
    install -Dm644 shinybar_13_vert.tar.gz ${pkgdir}/usr/share/dockbarx/themes/
    install -Dm644 README_shinybar.txt ${pkgdir}/usr/share/dockbarx/
    md5sums=('387ad43ff48ea410b42dfe07648c3132')
    I have already updated checksums with
    $ updpkgsums
    I've found https://bbs.archlinux.org/viewtopic.php?id=82790 says something about CDPATH= makepkg
    Is this my solution? If so, how do I implement?
    Last edited by heyitstallchris (2014-07-15 23:27:23)

    loqs wrote:
    That checksum matches up with the contents of this redirect
    <html><head><title>Redirection</title></head><body><script type="text/javascript">window.location.href="http:\/\/levviathor.deviantart.com\/art\/Shinybar1-3-1-for-DockbarX-135875506"</script><noscript><a href="http://levviathor.deviantart.com/art/Shinybar1-3-1-for-DockbarX-135875506">Click here to continue.</a></noscript></body></html>
    Translation for Newbie Corner?
    karol wrote:
    Edit: Oh yes, what's the output of
    file Shinybar1_3_for_DockbarX_by_Levviathor.gz
    I don't think it's a gz file :-)
    It's not, it's a gzip archive.
    karol wrote:Go to http://levviathor.deviantart.com/art/Sh … -135875506 , download the zip file and unzip it in the src directory you use for building the package.
    Comment out the 'source' line in the PKGBUILD.
    Is this all safe? I've never encountered this before.

  • [SOLVED] cross compiling libopenfst makepkg error

    Hello there,
    I am trying to cross compile openfst on my 64 bit arch setup since it is taking too long on my raspberry pi (which also happily runs arch). I thought I would be ok with the following makepkg to get me a binary package which I could transfer to my pi and then install with pacman-U:
    # Maintainer: Christoph Drexler <chrdr at gmx dot at>
    pkgname=openfst
    pkgver=1.4.1
    pkgrel=1
    pkgdesc="Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs)"
    arch=('i686' 'x86_64' 'armv6h')
    url="http://www.openfst.org/"
    license=('APACHE')
    depends=('gcc-libs' 'glibc')
    options=(!libtool)
    source=("http://openfst.cs.nyu.edu/twiki/pub/FST/FstDownload/${pkgname}-${pkgver}.tar.gz")
    md5sums=('ca8f1730b9b9b281e515611fa9ae23c0')
    build() {
    cd ${srcdir}/${pkgname}-${pkgver}
    #export CXX=arm-linux-gnueabi-g++
    #export CC=arm-linux-gnueabi-gcc
    # Options according to http://openfst.cs.nyu.edu/twiki/bin/view/FST/ReadMe
    OPTIONS="--prefix=/usr --disable-dependency-tracking"
    OPTIONS+=" --enable-bin" # Enable fst::script and command-line binaries; Default: yes
    OPTIONS+=" --enable-compact-fsts" # Enable all CompactFst classes; Default: no
    OPTIONS+=" --enable-const-fsts" # Enable all ConstFst classes; Default: no
    OPTIONS+=" --enable-far" # Enable FAR (FST Archive) extension; Default: no
    OPTIONS+=" --enable-linear-fsts" # Enable Linear{Tagger,Classifier}Fst extensions; Default: no
    OPTIONS+=" --enable-lookahead-fsts" # Enable LookAheadFst classes; Default: no
    OPTIONS+=" --enable-pdt" # Experimental push-down transducer extensions; Default: no
    OPTIONS+=" --host=arm-linux-gnueabi" # Experimental push-down transducer extensions; Default: no
    OPTIONS+=" --build=x86_64" # Experimental push-down transducer extensions; Default: no
    LIBS="-ldl" ./configure $OPTIONS
    make
    package() {
    cd ${srcdir}/${pkgname}-${pkgver}
    make DESTDIR=${pkgdir} install
    (basically adding the host and build option)
    However, I get an error in the output:
    ==> Making package: openfst 1.4.1-1 (Sun Jan 11 16:13:22 CET 2015)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
    -> Found openfst-1.4.1.tar.gz
    ==> Validating source files with md5sums...
    openfst-1.4.1.tar.gz ... Passed
    ==> Extracting sources...
    -> Extracting openfst-1.4.1.tar.gz with bsdtar
    ==> Removing existing $pkgdir/ directory...
    ==> Starting build()...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for arm-linux-gnueabi-strip... arm-linux-gnueabi-strip
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking for arm-linux-gnueabi-g++... arm-linux-gnueabi-g++
    checking whether the C++ compiler works... no
    configure: error: in `/home/tom/openfst-1.4.1/src/openfst-1.4.1':
    configure: error: C++ compiler cannot create executables
    See `config.log' for more details
    ==> ERROR: A failure occurred in build().
    Aborting...
    the error being that the C++ compiler cannot create excecutables makes sense since they are not meant to be excecuted on x86_64 but for armv6h (cross compilation). I have checked with arm-linux-gnueabi-g++ and its excecutables I can run on my pi so this should be ok. I am guessing that I am either missing an option to disable the compiler check, or I should change the configure script and remove this check, but I cannot figure out how to do either...
    //edit: I'm not sure this topic is in the right place btw, maybe it should be in scripting...
    Last edited by tomzooi (2015-01-11 18:23:35)

    that seems to do the trick, I'm not gonna test it since my pi just finished compiling it locally (which took 12+hours or so), but the compile seems to work since they are not excecutable on 64 bit, so pkgbuild for raspi cross compilation using makepkg -s:
    # Maintainer: Christoph Drexler <chrdr at gmx dot at>
    pkgname=openfst
    pkgver=1.4.1
    pkgrel=1
    pkgdesc="Library for constructing, combining, optimizing, and searching weighted finite-state transducers (FSTs)"
    arch=('i686' 'x86_64' 'armv6h')
    url="http://www.openfst.org/"
    license=('APACHE')
    depends=('gcc-libs' 'glibc')
    options=(!libtool !buildflags)
    source=("http://openfst.cs.nyu.edu/twiki/pub/FST/FstDownload/${pkgname}-${pkgver}.tar.gz")
    md5sums=('ca8f1730b9b9b281e515611fa9ae23c0')
    build() {
    cd ${srcdir}/${pkgname}-${pkgver}
    # Options according to http://openfst.cs.nyu.edu/twiki/bin/view/FST/ReadMe
    OPTIONS="--prefix=/usr --disable-dependency-tracking"
    OPTIONS+=" --enable-bin" # Enable fst::script and command-line binaries; Default: yes
    OPTIONS+=" --enable-compact-fsts" # Enable all CompactFst classes; Default: no
    OPTIONS+=" --enable-const-fsts" # Enable all ConstFst classes; Default: no
    OPTIONS+=" --enable-far" # Enable FAR (FST Archive) extension; Default: no
    OPTIONS+=" --enable-linear-fsts" # Enable Linear{Tagger,Classifier}Fst extensions; Default: no
    OPTIONS+=" --enable-lookahead-fsts" # Enable LookAheadFst classes; Default: no
    OPTIONS+=" --enable-pdt" # Experimental push-down transducer extensions; Default: no
    OPTIONS+=" --host=arm-linux-gnueabi" # Experimental push-down transducer extensions; Default: no
    OPTIONS+=" --build=x86_64" # Experimental push-down transducer extensions; Default: no
    LIBS="-ldl" ./configure $OPTIONS
    make
    package() {
    cd ${srcdir}/${pkgname}-${pkgver}
    make DESTDIR=${pkgdir} install
    to get some stuff which I think I can ignore:
    strip: Unable to recognise the format of the input file `./usr/bin/fstprint'
    strip: Unable to recognise the format of the input file `./usr/bin/farprintstrings'
    strip: Unable to recognise the format of the input file `./usr/bin/fstmap'
    strip: Unable to recognise the format of the input file `./usr/bin/fstsynchronize'
    strip: Unable to recognise the format of the input file `./usr/bin/fstdraw'
    strip: Unable to recognise the format of the input file `./usr/bin/fstepsnormalize'
    strip: Unable to recognise the format of the input file `./usr/bin/fstdisambiguate'
    strip: Unable to recognise the format of the input file `./usr/bin/fstunion'
    strip: Unable to recognise the format of the input file `./usr/bin/pdtexpand'
    strip: Unable to recognise the format of the input file `./usr/bin/fstminimize'
    strip: Unable to recognise the format of the input file `./usr/bin/fsttopsort'
    strip: Unable to recognise the format of the input file `./usr/bin/pdtreplace'
    strip: Unable to recognise the format of the input file `./usr/bin/fstreverse'
    strip: Unable to recognise the format of the input file `./usr/bin/fstsymbols'
    strip: Unable to recognise the format of the input file `./usr/bin/farequal'
    strip: Unable to recognise the format of the input file `./usr/bin/fstequal'
    strip: Unable to recognise the format of the input file `./usr/bin/fstcompile'
    strip: Unable to recognise the format of the input file `./usr/bin/fstshortestpath'
    strip: Unable to recognise the format of the input file `./usr/bin/farinfo'
    strip: Unable to recognise the format of the input file `./usr/bin/fstrandgen'
    strip: Unable to recognise the format of the input file `./usr/bin/fstshortestdistance'
    strip: Unable to recognise the format of the input file `./usr/bin/fstarcsort'
    strip: Unable to recognise the format of the input file `./usr/bin/fstrmepsilon'
    strip: Unable to recognise the format of the input file `./usr/bin/fstconvert'
    strip: Unable to recognise the format of the input file `./usr/bin/fstreplace'
    strip: Unable to recognise the format of the input file `./usr/bin/farcompilestrings'
    strip: Unable to recognise the format of the input file `./usr/bin/fstencode'
    strip: Unable to recognise the format of the input file `./usr/bin/fstpush'
    strip: Unable to recognise the format of the input file `./usr/bin/pdtshortestpath'
    strip: Unable to recognise the format of the input file `./usr/bin/fstinfo'
    strip: Unable to recognise the format of the input file `./usr/bin/fstrelabel'
    strip: Unable to recognise the format of the input file `./usr/bin/fstinvert'
    strip: Unable to recognise the format of the input file `./usr/bin/fstconcat'
    strip: Unable to recognise the format of the input file `./usr/bin/fstintersect'
    strip: Unable to recognise the format of the input file `./usr/bin/pdtreverse'
    strip: Unable to recognise the format of the input file `./usr/bin/fstclosure'
    strip: Unable to recognise the format of the input file `./usr/bin/fstdeterminize'
    strip: Unable to recognise the format of the input file `./usr/bin/fstcompose'
    strip: Unable to recognise the format of the input file `./usr/bin/fstlinear'
    strip: Unable to recognise the format of the input file `./usr/bin/pdtcompose'
    strip: Unable to recognise the format of the input file `./usr/bin/farcreate'
    strip: Unable to recognise the format of the input file `./usr/bin/fstdifference'
    strip: Unable to recognise the format of the input file `./usr/bin/fstloglinearapply'
    strip: Unable to recognise the format of the input file `./usr/bin/fstprune'
    strip: Unable to recognise the format of the input file `./usr/bin/pdtinfo'
    strip: Unable to recognise the format of the input file `./usr/bin/fstproject'
    strip: Unable to recognise the format of the input file `./usr/bin/farextract'
    strip: Unable to recognise the format of the input file `./usr/bin/fstequivalent'
    strip: Unable to recognise the format of the input file `./usr/bin/fstconnect'
    strip: Unable to recognise the format of the input file `./usr/bin/fstreweight'
    strip: Unable to recognise the format of the input file `./usr/lib/libfst.so.3.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact8_acceptor-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact8_string-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/libfstfar.so.1.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/const16-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact8_weighted_string-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/arc_lookahead-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/const64-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/libfstlinearscript.so.1.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact16_string-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact16_unweighted-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/libfstlookahead.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/linear_classifier-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/linear_tagger-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact16_acceptor-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/libfstcompact.so.1.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/olabel_lookahead-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/const8-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact16_weighted_string-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact16_unweighted_acceptor-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact64_string-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/libfstconst.so.1.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/ilabel_lookahead-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact64_unweighted-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact64_weighted_string-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/libfstfarscript.so.1.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact8_unweighted_acceptor-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/libfstpdtscript.so.1.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact8_unweighted-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact64_unweighted_acceptor-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/fst/compact64_acceptor-fst.so.0.0.0'
    strip: Unable to recognise the format of the input file `./usr/lib/libfstscript.so.1.0.0'
    I will check soon I hope , for now will mark it as solved.

  • Canon MG-3100 series makepkg error

    Hi everyone!
    I've always installed my Canon MG-3150 printer without any problem on x86_64 using the cnijfilter-mg3100 package from AUR in the past.
    Now I made a fresh new install of ARCH and wanted to install my printer on it but when run makepkg I get the following error:
    bjcupsmon_cups.c: In function 'checkPrinterState':
    bjcupsmon_cups.c:218:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:219:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:228:17: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:233:44: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c: In function 'getPrinterStatus':
    bjcupsmon_cups.c:291:12: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:292:12: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:301:18: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:313:7: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c: In function 'removeJob':
    bjcupsmon_cups.c:372:13: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:373:13: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:384:19: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c: In function 'getJobID':
    bjcupsmon_cups.c:447:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:448:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:459:17: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:463:27: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:466:45: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:467:30: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:473:45: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: warning: value computed is not used [-Wunused-value]
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:474:64: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:475:26: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: warning: value computed is not used [-Wunused-value]
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:477:67: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:478:43: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: warning: value computed is not used [-Wunused-value]
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:480:83: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:481:33: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:483:30: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:500:30: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c: In function 'getPrinterURI':
    bjcupsmon_cups.c:558:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:559:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:568:17: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:572:27: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:575:45: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:576:30: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:582:45: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: warning: value computed is not used [-Wunused-value]
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:583:70: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:584:29: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: warning: value computed is not used [-Wunused-value]
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:586:79: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:587:25: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:589:30: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:606:31: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c: In function 'getDeviceURI':
    bjcupsmon_cups.c:661:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:662:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:671:17: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:675:27: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:678:45: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:679:30: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:685:45: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: warning: value computed is not used [-Wunused-value]
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:686:70: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:687:29: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: warning: value computed is not used [-Wunused-value]
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: warning: left-hand operand of comma expression has no effect [-Wunused-value]
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:11: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:689:68: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:690:26: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:692:30: error: dereferencing pointer to incomplete type
    bjcupsmon_cups.c:701:31: error: dereferencing pointer to incomplete type
    make[2]: *** [bjcupsmon_cups.o] Error 1
    make[2]: Leaving directory `/home/adrian/packages/archlinux/cnijfilter-mg3100/src/cnijfilter-source-3.60-1/cngpijmon/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/adrian/packages/archlinux/cnijfilter-mg3100/src/cnijfilter-source-3.60-1/cngpijmon'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    I searched the forum but didn't find a solution for this problem.
    Do you guys have any ideas for solving this?

    I am having a similar problem with the cnijfilter-mp280. This is my build log: https://gist.github.com/3325907

  • Mozart-oz makepkg error; can build manually just fine

    Grrr.... I am trying to get a PKGBUILD working for mozart-oz http://www.mozart-oz.org/ (oz is a programming language). I have successfully built the package by hand, however my PKGBUILD fails with the following error.
    make boot-init.linked && \
    /home/mbeisser/packages/mozart/src/mozart-1.3.2.20060615/share/lib/p2t.sh < boot-init.linked > boot-init.ozt && \
    rm -f boot-init.linked
    gzip -d < /home/mbeisser/packages/mozart/src/mozart-1.3.2.20060615/share/lib/boot-ozc.ozt.gz > boot-ozc.ozt
    make[4]: Entering directory `/home/mbeisser/packages/mozart/src/mozart-1.3.2.20060615/share/lib'
    /home/mbeisser/packages/mozart/src/mozart-1.3.2.20060615/share/lib/ozc -z 9 -DSITE_PROPERTY -l Base=/home/mbeisser/packages/mozart/src/mozart-1.3.2.20060615/share/lib/Base.ozf -b /home/mbeisser/packages/mozart/src/mozart-1.3.2.20060615/share/lib/ -c dp/URL.oz -o URL.ozf
    make[4]: /home/mbeisser/packages/mozart/src/mozart-1.3.2.20060615/share/lib/ozc: Command not found
    make[4]: *** [URL.ozf] Error 127
    make[4]: Leaving directory `/home/mbeisser/packages/mozart/src/mozart-1.3.2.20060615/share/lib'
    make[3]: *** [boot-init.ozt] Error 2
    make[3]: *** Waiting for unfinished jobs....
    make[3]: Leaving directory `/home/mbeisser/packages/mozart/src/mozart-1.3.2.20060615/share/lib'
    make[2]: *** [bootstrap] Error 2
    make[2]: Leaving directory `/home/mbeisser/packages/mozart/src/mozart-1.3.2.20060615/share/lib'
    make[1]: *** [bootstrap] Error 1
    make[1]: Leaving directory `/home/mbeisser/packages/mozart/src/mozart-1.3.2.20060615/share'
    make: *** [bootstrap] Error 1
    ==> ERROR: Build Failed. Aborting...
    PKGBUILD
    # Contributer: Matt Beisser <beissemj(at)gmail(dot)com>
    pkgname=mozart
    pkgver=1.3.2.20060615
    pkgrel=1.1
    pkgdesc="A Compiler for the Oz Programing Language"
    arch=('i686')
    url="http://www.mozart-oz.org"
    license=('X11 style')
    depends=('bison' 'gcc' 'gmp' 'zlib' 'emacs')
    install=
    source=(http://www.mozart-oz.org/download/mozart-ftp/store/1.3.2-2006-06-15-tar/mozart-1.3.2.20060615-src.tar.gz
    http://www.mozart-oz.org/download/mozart-ftp/store/1.3.2-2006-06-15-tar/mozart-1.3.2.20060615-std.tar.gz)
    md5sums=('b84fb3932eca573e6b8d5d1b26379371'
    '0daf6c873990bebdde550ec1fd70bdb6')
    build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure --prefix=/usr --disable-doc --with-stdlib=../$pkgname-$pkgver-std
    make || return 1
    install -m 755 $pkgname $startdir/pkg/usr/
    After doing a bit of googling I found someone with a similar problem, and this is what was said. The problem is it obviously can't find ozc.
    > And I checked the Makefile and Makefile.in, I found that in order to
    > compile the source codes in this directory, I need an executable named
    > "ozc". But the question is that in order to make this "ozc", I need "ozc"
    > itself. It is just like a circle. How can I fix this problem?
    Here is how one normally builds mozart from sources:
    - fetch the sources into directory mozart
    - optionally fetch the sources of mopzart-stdlib into directory mozart-stdlib
    - create a sibling directory build
    cd build
    ../mozart/configure --with-stdlib=../mozart-stdlib
    make depend #this normally optional, but essential if you hack on the sources
    make
    make install
    Now, one very important detail is that in the top directory "make"
    actually invokes "make bootstrap". It is very important to remember
    this distinction if you are ever tempted to invoke make manually from
    a lower directory.  In this case, you should always invoke "make
    bootstrap" otherwise things won't work.
    To answer your worry: how do
    we get bootstrapped if we need the compiler in order to build the
    compiler?  The answer is that the sources contain a checked in version
    of the Oz compiler (the boot compiler) stored using the text form of
    the bytecode.  We use it to compile the Oz sources, including the
    sources of the compiler itself, thus obtaining a fresh build of a
    production compiler (this is in fact how we can update the boot
    compiler too).
    Cheers,
    Denys Duchier -
    I understand the solution and it makes sense, I just don't understand how to make makepkg do it...

    To fix the build issue, add
    options=('!makeflags')
    to the PKGBUILD. This package has problems building on multi-thread or multi-core cpu. This is usually the case when you get this error message:
    make[3]: *** Waiting for unfinished jobs....

  • Fsam7440 makepkg error - no rule to make modules

    Hi there!
    I'm trying to set up a wireless connection on an old Fujitsu Amilo M  7400
    and i'm trying to install the fsam7440 module from the AUR,
    to be able to control the wlan-switch.
    I don't even know if it's gonna work, but it is the only idea i got so far.
    When running makepkg, i get the error
    make: *** /lib/moduels/3.8.4-1ARCH/build: No such file or directory. Stop
    When i create the not-found build folder i get the error
    make[1]: *** No rule to make target `modules'. Stop.
    The package being flagged as "orphaned", i also tried to *make*
    the package provided on the projects page,
    getting the same error messages.
    Any thoughts?
    Thanks in advance!
    Levent

    Last Updated: 2007-05-07 00:29
    Fsam7440 is a module for Linux Kernel 2.4/2.6 that allows change the status of wireless card's radio on Fujitsu-Siemens Amilo M 7440.
    that driver doesn't appear to have had any updates for almost 6 years.
    you could try building 1 of the remaining 2.6 longterm (like 2.6.32.60) kernels from source.

  • Ion3 makepkg error [solved]

    Hi, i hope you can help me with my problem, i got the PKGBUILD file from the AUR, and tried to make a package to install, but makepkg allways ends, saying
    make[2]: Entering directory `/var/abs/local/src/ion-3ds-20050406/utils/ion-completefile'
    make[2]: CC@: Command not found
    make[2]: *** [ion-completefile] Error 127
    make[2]: Leaving directory `/var/abs/local/src/ion-3ds-20050406/utils/ion-completefile'
    make[1]: *** [subdirs] Error 2
    make[1]: Leaving directory `/var/abs/local/src/ion-3ds-20050406/utils'
    make: *** [subdirs] Error 2
    ==> ERROR: Build Failed. Aborting...
    can anyone tell me what went wrong?

    The AUR package should be for the latest snap. I noticed in
    your error messeage ion-3ds-20050406. The latest snap
    is ion-3ds-20050502. That may have something to do with it
    This one worked for me
    # Contributor: Christopher 'cycoon' Pfann <[email protected]>
    pkgname=ion
    pkgver=3ds20050502
    pkgrel=1
    pkgdesc="A keyboard-friendly tiling (no overlapping windows) window manager"
    depends=('x-server' 'lua>=5.0.2' 'libtool')
    source=(http://modeemi.fi/~tuomov/ion/dl/ion-3ds-20050502.tar.gz
    ion.desktop)
    url="http://modeemi.fi/~tuomov/ion/"
    build() {
    cd $startdir/src/ion-3ds-20050502
    ./configure --prefix=/usr
    /usr/bin/make ETCDIR=/etc/ion || return 1
    /usr/bin/make prefix=$startdir/pkg/usr ETCDIR=$startdir/pkg/etc/ion install
    # set up desktop session file
    /bin/mkdir -p $startdir/pkg/etc/X11/sessions
    /bin/cp $startdir/ion.desktop $startdir/pkg/etc/X11/sessions
    # vim: ts=2 sw=2 et ft=sh
    md5sums=('545cbb9894ee8fe47fc97e51c28227a5' '4c4a02e5258c6c35d7cb26abe0177cb6')
    ion.desktop
    [Desktop Entry]
    Encoding=UTF-8
    Name=Ion
    Comment=The Ion window manager
    Exec=ion
    # no icon yet, only the top three are currently used
    Icon=
    Type=Application

  • Xbmc-git makepkg errors (libcec)

    Fairly new Arch user here, but been compiling on other distros for a while. I am attempting to install xbmc-git from the AUR. But every time I makepkg, I get this error way down the line:
    checking for UDEV... yes
    configure: == libusb disabled. ==
    will not check for RPi support (unsupported cpu: x86_64)
    checking for CEC... no
    configure: error: == libcec disabled. CEC adapter support will not be available. ==
    ==> ERROR: A failure occurred in build().
        Aborting...
    ==> ERROR: Makepkg was unable to build xbmc-git
    And it kills the process, making it impossible for me to install xbmc-git.
    I have tried other methods of getting this done: manually from AUR, using yaourt, using makepkg --asroot, and nothing seems to work.
    I know for a fact that libcec is installed as it's a dependency. But why does this process not recognize it? How do I get xbmc-git installed?
    Last edited by ViperDVMan (2012-12-29 05:40:19)

    graysky wrote:That's because the maintainer needs to switch the dep out to 'libcec-git' not 'libcec' ... try xbmc-beta or modify the PKGBUILD yourself.
    when trying to build libcec-git (dependency to xbmc-beta)
    if fails to compile:
    /usr/bin/ld: /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/liblockdev.a(lockdev.o): relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.7.2/../../../../lib/liblockdev.a: could not read symbols: Bad value
    collect2: error: ld returned 1 exit status
    make[2]: *** [libcec.la] Fel 1
    Not sure if the problem is with "lockdev" or libcec-git though.
    EDIT:
    Had to recompile "lockdev" with -fPIC to get libcec-git to compile. No clue what it changes though (making the static shared..!?):
    --- PKGBUILD.txt 2012-12-29 15:21:42.685683028 +0100
    +++ PKGBUILD.mine 2012-12-29 15:20:23.108526815 +0100
    @@ -23,7 +23,7 @@ build() {
    sed -i "s|CFLAGS = -g|CFLAGS = -g -fPIC|" Makefile
    make shared CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\""
    - make static CFLAGS="${CFLAGS} -D_PATH_LOCK=\\\"/run/lock/lockdev\\\""
    + make static CFLAGS="${CFLAGS} -fPIC -D_PATH_LOCK=\\\"/run/lock/lockdev\\\""
    package() {
    Last edited by perosb (2012-12-29 14:30:21)

  • Makepkg error on xf86-video-via

    I am running Arch64 and current driver opencrhome does not work very well with my video card. I don't see via driver in repos. I found it in AUR instead. My box is up to date. Can I replace the current driver with this one from the AUR without breaking Xorg or anything ?
    Last edited by arnuld (2009-01-28 04:32:11)

    arnuld wrote:I am running Arch64 and current driver opencrhome does not work very well with my video card. I don't see via driver in repos. I found it in AUR instead. My box is up to date. Can I replace the current driver with this one from the AUR without breaking Xorg or anything ?
    Define "breaking". Worst case, it won't work and you'll have to reinstall (through Pacman) the current driver and change the line in xorg.conf back, all from the console.

  • [Solved] Makepkg aborting after last pacman update

    Hi all,
    firing makepkg yields:
    $ makepkg
    ==> ERROR: An unknown error has occurred. Exiting...
    And therefore this happens also when I try building packages of the AUR with yaourt.
    The problem showed up with last pacman update.
    What I am I doing wrong?
    Thanks for you patience,
    Davide
    Last edited by flakedave (2010-06-23 22:46:39)

    Yeah, version and help are fine.
    $ cat /etc/makepkg.conf
    # /etc/makepkg.conf
    # SOURCE ACQUISITION
    #-- The download utilities that makepkg should use to acquire sources
    # Format: 'protocol::agent'
    DLAGENTS=('ftp::/usr/bin/wget -c --passive-ftp -t 3 --waitretry=3 -O %o %u'
    'http::/usr/bin/wget -c -t 3 --waitretry=3 -O %o %u'
    'https::/usr/bin/wget -c -t 3 --waitretry=3 --no-check-certificate -O %o %u'
    'rsync::/usr/bin/rsync -z %u %o'
    'scp::/usr/bin/scp -C %u %o')
    # Other common tools:
    # /usr/bin/snarf
    # /usr/bin/lftpget -c
    # /usr/bin/curl
    # ARCHITECTURE, COMPILE FLAGS
    CARCH="x86_64"
    CHOST="x86_64-unknown-linux-gnu"
    #-- Exclusive: will only run on x86_64
    # -march (or -mcpu) builds exclusively for an architecture
    # -mtune optimizes for an architecture, but builds for whole processor family
    CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
    CXXFLAGS="-march=x86-64 -mtune=generic -O2 -pipe"
    LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
    #-- Make Flags: change this for DistCC/SMP systems
    #MAKEFLAGS="-j2"
    # BUILD ENVIRONMENT
    # Defaults: BUILDENV=(fakeroot !distcc color !ccache)
    # A negated environment option will do the opposite of the comments below.
    #-- fakeroot: Allow building packages as a non-root user
    #-- distcc: Use the Distributed C/C++/ObjC compiler
    #-- color: Colorize output messages
    #-- ccache: Use ccache to cache compilation
    BUILDENV=(fakeroot !distcc color !ccache)
    #-- If using DistCC, your MAKEFLAGS will also need modification. In addition,
    #-- specify a space-delimited list of hosts running in the DistCC cluster.
    #DISTCC_HOSTS=""
    # GLOBAL PACKAGE OPTIONS
    # These are default values for the options=() settings
    # Default: OPTIONS=(strip docs libtool emptydirs zipman purge)
    # A negated option will do the opposite of the comments below.
    #-- strip: Strip symbols from binaries/libraries in STRIP_DIRS
    #-- docs: Save doc directories specified by DOC_DIRS
    #-- libtool: Leave libtool (.la) files in packages
    #-- emptydirs: Leave empty directories in packages
    #-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
    #-- purge: Remove files specified by PURGE_TARGETS
    OPTIONS=(strip docs libtool emptydirs zipman purge)
    #-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
    INTEGRITY_CHECK=(md5)
    #-- Options to be used when stripping binaries. See `man strip' for details.
    STRIP_BINARIES="--strip-all"
    #-- Options to be used when stripping shared libraries. See `man strip' for details.
    STRIP_SHARED="--strip-unneeded"
    #-- Options to be used when stripping static libraries. See `man strip' for details.
    STRIP_STATIC="--strip-debug"
    #-- Manual (man and info) directories to compress (if zipman is specified)
    MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
    #-- Doc directories to remove (if !docs is specified)
    DOC_DIRS=(usr/{,local/}{,share/}{doc,gtk-doc} opt/*/{doc,gtk-doc})
    #-- Directories to be searched for the strip option (if strip is specified)
    STRIP_DIRS=(bin lib sbin usr/{bin,lib,sbin,local/{bin,lib,sbin}} opt/*/{bin,lib,sbin})
    #-- Files to be removed from all packages (if purge is specified)
    PURGE_TARGETS=(usr/{,share}/info/dir .packlist *.pod)
    # PACKAGE OUTPUT
    # Default: put built package and cached source in build directory
    #-- Destination: specify a fixed directory where all packages will be placed
    #PKGDEST=/home/packages
    #-- Source cache: specify a fixed directory where source files will be cached
    #SRCDEST=/home/sources
    #-- Source packages: specify a fixed directory where all src packages will be placed
    #SRCPKGDEST=/home/srcpackages
    #-- Packager: name/email of the person or organization building packages
    #PACKAGER="John Doe <[email protected]>"
    # EXTENSION DEFAULTS
    # WARNING: Do NOT modify these variables unless you know what you are
    # doing.
    PKGEXT='.pkg.tar.xz'
    SRCEXT='.src.tar.gz'
    # vim: set ft=sh ts=2 sw=2 et:

  • How to make Chionic with g++-3.3?

    Hi. I tried like that:
    # Contributor: Maciej Ciemborowicz <moonkey[at]op[dot]pl>
    pkgname=chionic
    pkgver=1.0.1
    pkgrel=1
    pkgdesc="advanced audio sampler for Linux"
    url="http://sourceforge.net/projects/cheesetronic"
    arch=('i686' 'x86_64')
    license=('GPL2')
    depends=('libsigcpp1.2')
    makedepends=('scons' 'python>=2.2')
    source=('http://downloads.sourceforge.net/cheesetronic/chionic-1.0.1.tar.gz')
    build() {
    cd "$srcdir/$pkgname-$pkgver"
    scons CXX="g++-3.3" || return 1
    scons install prefix=/usr || return 1
    scons -c || return 1
    But scons still use standard g++:
    bash-3.2# makepkg --asroot
    ==> Making package: chionic 1.0.1-1 x86_64 (pią, 13 mar 2009, 16:45:44 CET)
    ==> WARNING: Running makepkg as root...
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Found chionic-1.0.1.tar.gz in build dir
    ==> WARNING: Integrity checks (md5) are missing or incomplete.
    ==> Extracting Sources...
    -> bsdtar -x -f chionic-1.0.1.tar.gz
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    scons: Reading SConscript files ...
    scons: warning: The Options class is deprecated; use the Variables class instead.
    File "/var/abs/local/chionic/src/chionic-1.0.1/SConstruct", line 41, in <module>
    detected /opt/qt/bin/moc
    scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
    File "/var/abs/local/chionic/src/chionic-1.0.1/common/plugins/effects/custom/SCsub", line 3, in <module>
    scons: done reading SConscript files.
    scons: Building targets ...
    g++ -o cheezator/engine/cz_bank.o -c -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include -DPOSIX_ENABLED -O3 -ffast-math -DLADSPA_ENABLED -DOSS_ENABLED -DJACK_ENABLED -DALSA_ENABLED -I/usr/include/alsa -DSNDFILE_ENABLED -Icommon/ -Icommon/defines/ -Icommon/ -Icommon/defines/ -Icommon/components/data -Icommon/components/data -I/opt/qt/include -DQT_NO_EMIT -Icommon/components/data -Icommon -I. -Icommon/defines cheezator/engine/cz_bank.cpp
    In file included from common/components/audio/lfo.h:36,
    from ./cheezator/engine/cz_patch.h:17,
    from cheezator/engine/cz_bank.h:15,
    from cheezator/engine/cz_bank.cpp:12:
    common/components/data/property_bridges.h:92: error: extra qualification 'Int_Property_Bridge::' on member 'copy_value'
    common/components/data/property_bridges.h:147: error: extra qualification 'Float_Property_Bridge::' on member 'copy_value'
    common/components/data/property_bridges.h:162: error: extra qualification 'Bool_Property_Bridge::' on member 'copy_value'
    common/components/data/property_bridges.h:180: error: extra qualification 'String_Property_Bridge::' on member 'copy_value'
    common/components/data/property_bridges.h:199: error: extra qualification 'Options_Property_Bridge::' on member 'copy_value'
    scons: *** [cheezator/engine/cz_bank.o] Error 1
    scons: building terminated because of errors.
    ==> ERROR: Build Failed.
    Aborting...
    bash-3.2#
    What am I doing wrong?

    Yeah, i tried it. But it still doesn't works.
    bash-3.2# makepkg
    ==> ERROR: Running makepkg as root is a BAD idea and can cause
    permanent, catastrophic damage to your system. If you
    wish to run as root, please use the --asroot option.
    bash-3.2# makepkg --asroot
    ==> Making package: chionic 1.0.1-1 x86_64 (sob, 14 mar 2009, 17:22:38 CET)
    ==> WARNING: Running makepkg as root...
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Found chionic-1.0.1.tar.gz in build dir
    ==> WARNING: Integrity checks (md5) are missing or incomplete.
    ==> Extracting Sources...
    -> bsdtar -x -f chionic-1.0.1.tar.gz
    ==> Removing existing pkg/ directory...
    ==> Starting build()...
    Downloading patch...
    --2009-03-14 17:22:46-- http://gentoo-overlays.zugaina.org/pro-audio/portage/media-sound/chionic/files/gcc4.1-fix.patch
    Translacja gentoo-overlays.zugaina.org... 91.121.48.21, 2001:41d0:1:aed3::1
    Łączenie się z gentoo-overlays.zugaina.org|91.121.48.21|:80... połączono.
    Żądanie HTTP wysłano, oczekiwanie na odpowiedź... 200 OK
    Długość: 1299 (1,3K) [text/plain]
    Zapis do: `gcc4.1-fix.patch.1'
    100%[===================================================================================>] 1.299 --.-K/s w 0,001s
    2009-03-14 17:22:47 (1,08 MB/s) - zapisano `gcc4.1-fix.patch.1' [1299/1299]
    Editing SConstruct...
    Patching: gcc4.1-fix.patch...
    patching file common/components/data/property_bridges.h
    patching file common/components/audio/resampler_manager.h
    patching file common/drivers/posix/sound_driver_jack.h
    scons: Reading SConscript files ...
    detected /opt/qt/bin/moc
    scons: warning: The env.Copy() method is deprecated; use the env.Clone() method instead.
    File "/var/abs/local/chionic/src/chionic-1.0.1/common/plugins/effects/custom/SCsub", line 3, in <module>
    scons: done reading SConscript files.
    scons: Building targets ...
    g++ -o cheezator/engine/cz_engine.o -c -I/usr/lib/sigc++-1.2/include -I/usr/include/sigc++-1.2 -I/usr/include -DPOSIX_ENABLED -O3 -ffast-math -DLADSPA_ENABLED -DOSS_ENABLED -DJACK_ENABLED -DALSA_ENABLED -I/usr/include/alsa -DSNDFILE_ENABLED -Icommon/ -Icommon/defines/ -Icommon/ -Icommon/defines/ -Icommon/components/data -Icommon/components/data -I/opt/qt/include -DQT_NO_EMIT -Icommon/components/data -Icommon -I. -Icommon/defines cheezator/engine/cz_engine.cpp
    In file included from common/components/midi/midi_event_handler.h:22,
    from common/components/midi/midi_engine.h:16,
    from cheezator/engine/cz_engine.h:15,
    from cheezator/engine/cz_engine.cpp:12:
    common/defines/pvector.h:10: error: declaration of 'std::vector<T*, std::allocator<T*> > VectorPointer<T>::vector'
    /usr/lib/gcc/x86_64-unknown-linux-gnu/4.3.3/../../../../include/c++/4.3.3/bits/stl_vector.h:176: error: changes meaning of 'vector' from 'class std::vector<T*, std::allocator<T*> >'
    scons: *** [cheezator/engine/cz_engine.o] Error 1
    scons: building terminated because of errors.
    ==> ERROR: Build Failed.
    Aborting...
    bash-3.2#
    Here is the same problem: http://aur.archlinux.org/packages.php?ID=2743 .

Maybe you are looking for

  • Adobe LR auf 2 Rechnern

    Ich habe eben ein Macbook Air (512GB) gekauft zu meinem iMac. Ich habe Abo CC für LR und PS. Da ich mit meinem Macbook ausser Hause arbeiten möchte und die Daten (Total ca 400GB) nicht auf dem Macbook Platz finden und ich ausserdem auf beiden Rechner

  • SSRS Subscription Error (rsInvalidDataSourceCredentialSetting)

    Hi, I just started using SSRS using SQL Server 2005. I've created several reports and have deployed these reports so they are available to use in Report Manager. I started playing around with subscriptions hoping to automate and schedule printouts fo

  • Trigger sql agent upon a data load completion

    hi all, i insert/update data from server A to server B once the above step is successful, i want to try to start the sql agent job on server B. how can i set the sql agent job on server b to check and make sure that that data load has been completed

  • BW 7.40 with ERP 6.0 without EHP.

    We are planning an upgrade from BW 7.0 to BW 7.40, but the ERP is currently in version 6.0 without EHP, I searched notes related to ERP impact and have not caught anything. Plz any idea? Best regards. HD

  • Oracle-related job site

    There used to be a link in OTN homepage to an Oracle site that gathered all the Oracle-related jobs across the country into one searchable database. It was really good. I haven't been back in about 5 months. Now I cannot find it, not even with the ma