Bibletime from AUR :: makepkg failing

Howdy. 
Attempts to makepkg bibletime from the AUR have been aborting.  I couldn't find how to contact the maintainer. 
Here's how it all ends. 
make[4]: Leaving directory `/home/bwayne/misc/src/bibletime/src/bibletime-1.6.4/bibletime/frontend/display'
make[4]: Entering directory `/home/bwayne/misc/src/bibletime/src/bibletime-1.6.4/bibletime/frontend'
rm -rf manageindicesform.h;
/opt/qt/bin/uic -L /opt/kde/lib/kde3/plugins/designer -nounload ./manageindicesform.ui | /usr/bin/perl -pi -e "s,public QWizard,public KWizard,g; s,#include <qwizard.h>,#include <kwizard.h>,g" >> manageindicesform.h ;
g++ -DHAVE_CONFIG_H -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I. -I/usr/include/sword -I/usr/include -I/usr/lib -I/usr/include/sword -DQT_THREAD_SUPPORT -D_REENTRANT -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -DQT_CLEAN_NAMESPACE -Wall -I../../ -I../../bibletime -I../../bibletime -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -march=i686 -mtune=generic -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fexceptions -MT btinstallmgr.o -MD -MP -MF .deps/btinstallmgr.Tpo -c -o btinstallmgr.o btinstallmgr.cpp
In file included from btinstallmgr.cpp:14:
[i]kio_ftptransport.h:45: error: invalid covariant return type for 'virtual std::vector<ftpparse, std::allocator<ftpparse> > BookshelfManager::KIO_FTPTransport::getDirList(const char*)'[/i]
/usr/include/sword/ftptrans.h:56: error: overriding 'virtual std::vector<sword::DirEntry, std::allocator<sword::DirEntry> > sword::FTPTransport::getDirList(const char*)'
make[4]: *** [btinstallmgr.o] Error 1
make[4]: Leaving directory `/home/bwayne/misc/src/bibletime/src/bibletime-1.6.4/bibletime/frontend'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/bwayne/misc/src/bibletime/src/bibletime-1.6.4/bibletime/frontend'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/bwayne/misc/src/bibletime/src/bibletime-1.6.4/bibletime'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/bwayne/misc/src/bibletime/src/bibletime-1.6.4'
make: *** [all] Error 2
==> ERROR: Build Failed. Aborting...
I'm fairly new to building from source.  The offender looks to be
kio_ftptransport.h:45: error: invalid covariant return type for 'virtual std::vector<ftpparse, std::allocator<ftpparse>
Google returned nada.  Ask.com returned this.  some kinda code or something :)
Any tips would be nice. 
Notes or links to notes on how to go about solving these sorts of issues for myself are doubly appreciated.  Kinda new to building from source.  Thanks!

The latest version seems to be 1.6.5 and the PKGBUILD is for 1.6.4 (I just flagged it out-of-date), you could try building 1.6.5 instead and see if that works better. Usually you only need to change the pkgver and update the md5sum array for that to work, and I've checked the PKGBUILD for this package and I don't think there should be any problem with that approach.

Similar Messages

  • SOLVED Installing idjc from AUR, compiling fails. libavformat problem?

    I'm having difficulty installing idjc from the AUR. I'm not sure what could be causing it, although it seems like it might be an issue with libavformat. Here is the relevant part of the output:
    gcc -DHAVE_CONFIG_H -I. -I.. -Wall -std=gnu99 -O2 -I/usr/include/FLAC -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -MT idjcmixer-avcodecdecode.o -MD -MP -MF .deps/idjcmixer-avcodecdecode.Tpo -c -o idjcmixer-avcodecdecode.o `test -f 'avcodecdecode.c' || echo './'`avcodecdecode.c
    avcodecdecode.c: In function 'once_init':
    avcodecdecode.c:43:4: warning: implicit declaration of function 'avcodec_init' [-Wimplicit-function-declaration]
    avcodecdecode.c: In function 'avcodecdecode_eject':
    avcodecdecode.c:64:4: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
    avcodecdecode.c: In function 'avcodecdecode_play':
    avcodecdecode.c:161:7: warning: 'avcodec_decode_audio3' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3658) [-Wdeprecated-declarations]
    avcodecdecode.c: In function 'avcodecdecode_reg':
    avcodecdecode.c:243:7: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
    avcodecdecode.c:248:4: warning: 'av_find_stream_info' is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
    avcodecdecode.c:256:7: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
    avcodecdecode.c:262:4: warning: 'avcodec_open' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3380) [-Wdeprecated-declarations]
    avcodecdecode.c:266:7: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
    avcodecdecode.c: In function 'avformatinfo':
    avcodecdecode.c:295:22: error: 'AV_METADATA_DONT_STRDUP_KEY' undeclared (first use in this function)
    avcodecdecode.c:295:22: note: each undeclared identifier is reported only once for each function it appears in
    avcodecdecode.c:295:52: error: 'AV_METADATA_DONT_STRDUP_VAL' undeclared (first use in this function)
    avcodecdecode.c:301:7: warning: 'av_find_stream_info' is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
    avcodecdecode.c:311:7: warning: 'av_close_input_file' is deprecated (declared at /usr/include/libavformat/avformat.h:1533) [-Wdeprecated-declarations]
    make[2]: *** [idjcmixer-avcodecdecode.o] Error 1
    make[2]: Leaving directory `/tmp/packerbuild-1000/idjc/idjc/src/idjc-0.8.7/c'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/packerbuild-1000/idjc/idjc/src/idjc-0.8.7'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    The build failed.
    Last edited by themusicalduck (2012-08-01 22:07:43)

    Yes, ffmpeg libraries dropped support for many deprecated functions and macros.  Either this was fairly recent, or the documentation has been fairly slow to catch up.
    This change, however, is documented.  AV_METADATA_... needs to be replaces with AV_DICT_... and dict.h needs to be included.
    This is an upstream issue and should be reported there, but I'll see if I can get a PKGBUILD to "patch" the problem in the mean time.
    edit:  I was able to fix this issue with a single sed line in the PKGBUILD, but then new issues sprang up.  I fixed those, then yet more arose.  The entire package is written against an outdated version of the ffmpeg libraries.  This either needs to be built against those old versions, or fixed (rewritten) upstream.
    edit2: if you don't need mp4 support, you should be able to disable this option and compile everything else just fine.  To do so you can use this PKGBULD hack in the build function:
    ./configure \
    --prefix=/usr \
    --libexecdir=/usr/lib \
    --disable-static
    sed -i 's/\(#define HAVE_AVCODEC 1\)/\/*\1*\//g' config.h
    sed -i 's/\(#define HAVE_AVFORMAT 1\)/\/*\1*\//g' config.h
    sed -i 's/\(#define HAVE_AVUTIL 1\)/\/*\1*\//g' config.h
    make
    adding the three sed lines.  This compiles fine, but again, you will not have mp4 support.
    Last edited by Trilby (2012-08-01 21:35:57)

  • 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.

  • [SOLVED] Building VCS packages from AUR fails

    Hello,
    Whenever I try to build a git or svn package from AUR, build fails with the error in a clean chroot enviroment:
    ==> ERROR: Unknown download protocol: svn
    Aborting...
    When the build starts, makepkg actually downloads source files properly. Any clues?
    Last edited by yuan_modu (2015-04-02 16:31:03)

    Trilby wrote:How many packages has this happened with?  Can you give an example of one that produces this error?  If the download proceeds when the build starts, it sounds like the PKGBUILD is outdated and is manually grabbing the source in the build function (in pacman<4.0 style).
    I was building https://aur.archlinux.org/packages/uefi-shell-svn: a popular and up-to-date PKGBUILD.
    Indeed I didn't merge the conf files of  clean chroot. There was a makepkg.conf.pacnew, the lacking part in my old makepkg.conf was:
    VCSCLIENTS=('bzr::bzr'
    'git::git'
    'hg::mercurial'
    'svn::subversion')
    and some small changes. Everything works fine now. Was my bad. Sorry for incovenience and thanks for your help.
    Last edited by yuan_modu (2015-04-02 13:08:21)

  • Compile AppArmor from AUR

    Hello
    i tried to compile the apparmor package from AUR but failed
    creating //tmp/yaourt-tmp-weltio/aur-apparmor/pkg/apparmor-libapparmor/usr/lib/python2.7
    creating //tmp/yaourt-tmp-weltio/aur-apparmor/pkg/apparmor-libapparmor/usr/lib/python2.7/site-packages
    creating //tmp/yaourt-tmp-weltio/aur-apparmor/pkg/apparmor-libapparmor/usr/lib/python2.7/site-packages/LibAppArmor
    copying build/lib.linux-x86_64-2.7/LibAppArmor/_LibAppArmor.so -> //tmp/yaourt-tmp-weltio/aur-apparmor/pkg/apparmor-libapparmor/usr/lib/python2.7/site-packages/LibAppArmor
    copying build/lib.linux-x86_64-2.7/LibAppArmor/__init__.py -> //tmp/yaourt-tmp-weltio/aur-apparmor/pkg/apparmor-libapparmor/usr/lib/python2.7/site-packages/LibAppArmor
    byte-compiling //tmp/yaourt-tmp-weltio/aur-apparmor/pkg/apparmor-libapparmor/usr/lib/python2.7/site-packages/LibAppArmor/__init__.py to __init__.pyc
    running install_egg_info
    Writing //tmp/yaourt-tmp-weltio/aur-apparmor/pkg/apparmor-libapparmor/usr/lib/python2.7/site-packages/LibAppArmor-2.8.1-py2.7.egg-info
    make[3]: Nothing to be done for `install-data-am'.
    make[3]: Leaving directory `/tmp/yaourt-tmp-weltio/aur-apparmor/src/apparmor-2.8.1/libraries/libapparmor/swig/python'
    make[2]: Leaving directory `/tmp/yaourt-tmp-weltio/aur-apparmor/src/apparmor-2.8.1/libraries/libapparmor/swig/python'
    Making install in ruby
    make[2]: Entering directory `/tmp/yaourt-tmp-weltio/aur-apparmor/src/apparmor-2.8.1/libraries/libapparmor/swig/ruby'
    make[3]: Entering directory `/tmp/yaourt-tmp-weltio/aur-apparmor/src/apparmor-2.8.1/libraries/libapparmor/swig/ruby'
    make -fMakefile.ruby install
    make[4]: Entering directory `/tmp/yaourt-tmp-weltio/aur-apparmor/src/apparmor-2.8.1/libraries/libapparmor/swig/ruby'
    make[4]: *** No rule to make target `/tmp/yaourt-tmp-weltio/aur-apparmor/pkg/apparmor-libapparmor/usr/include/ruby-2.0.0/ruby.h', needed by `LibAppArmor_wrap.o'. Stop.
    make[4]: Leaving directory `/tmp/yaourt-tmp-weltio/aur-apparmor/src/apparmor-2.8.1/libraries/libapparmor/swig/ruby'
    make[3]: *** [install-exec-local] Error 2
    make[3]: Leaving directory `/tmp/yaourt-tmp-weltio/aur-apparmor/src/apparmor-2.8.1/libraries/libapparmor/swig/ruby'
    make[2]: *** [install-am] Error 2
    make[2]: Leaving directory `/tmp/yaourt-tmp-weltio/aur-apparmor/src/apparmor-2.8.1/libraries/libapparmor/swig/ruby'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-weltio/aur-apparmor/src/apparmor-2.8.1/libraries/libapparmor/swig'
    make: *** [install-recursive] Error 1
    Somehow the ruby.h is missing there which obviously shouldnt be. Did anyone get managed to compile it?

    As a workaround, I just compile the bits I need:
    pushd parser &&
    make &&
    make install &&
    popd &&
    pushd libraries/libapparmor &&
    # From /usr/share/doc/apparmor/README
    ./autogen.sh &&
    ./configure --prefix=/usr --without-perl --with-python &&
    make &&
    make install &&
    popd &&
    # Utils
    pushd utils &&
    make &&
    d=$(installed_version perl) # This will not work in Arch - FIX IT
    make PERLDIR="/usr/lib/perl5/site_perl/$d/Immunix" install &&
    popd &&
    pushd profiles &&
    make &&
    make install &&
    popd
    You'd have to tweak that PERLDIR line

  • [SOLVED] Surf-hg and tabbed-hg from aur fail to build

    Hi,
    I'm trying to install surf-hg and tabbed-hg from aur and when I makepkg -i this happens:
    ==> ERROR: A failure occurred in build().
    Aborting...
    I've tried to apply this patch to surf's config.mk but it fails anyway.
    diff -paur surf/config.mk surf.new/config.mk
    --- surf/config.mk 2012-01-29 11:46:00.851597838 +0100
    +++ surf.new/config.mk 2012-01-29 11:46:36.633503895 +0100
    @@ -15,7 +15,7 @@ GTKLIB = `pkg-config --libs gtk+-2.0 web
    # includes and libs
    INCS = -I. -I/usr/include -I${X11INC} ${GTKINC}
    -LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0
    +LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2.0 -ljavascriptcoregtk-1.0
    # flags
    CPPFLAGS = -DVERSION=\"${VERSION}\"
    Can anyone help me please?
    Last edited by whooper (2012-03-01 21:42:10)

    Yes they both fail to build, manually or with packer.
    I deleted the src directory but it still fails.
    packer -S surf-hg
    Aur Targets (1): surf-hg
    Proceed with installation? [Y/n] y
    Edit surf-hg PKGBUILD with $EDITOR? [Y/n] n
    ==> Determining latest hg revision...
    pulling from http://hg.suckless.org/surf
    searching for changes
    no changes found
    -> Version found: 238
    ==> Making package: surf-hg 238-1 (Thu Mar 1 00:27:47 WET 2012)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    ==> Extracting Sources...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    cleaning
    pulling from http://hg.suckless.org/surf
    searching for changes
    no changes found
    ==> ERROR: A failure occurred in build().
    Aborting...
    The build failed.

  • [solved] error makepkg (make aborts) nucleo-cvs from AUR

    hi
    i wanted to try metisse and to do that i downloaded metisse-cvs and nucleo-cvs tarballs from aur. but if i "makepkg" to build nucleo-package i get the following:
    ==> Starting make...
    found automake 1.10.1 (1.7.x or better required)
    found libtool 1.5.26 (1.4.x or better required)
    found autoconf 2.61 (2.59 or better required)
    found pkg-config 0.22 (0.17.2 or better required)
    + rm -rf 'autom4te*.cache'
    + libtoolize --automake --copy
    + aclocal --force
    + autoheader --force
    + automake --add-missing --copy --force-missing
    configure.ac:17: installing `build-utils/install-sh'
    configure.ac:17: installing `build-utils/missing'
    Makefile.am: installing `./INSTALL'
    apps/Makefile.am: installing `build-utils/depcomp'
    nucleo/plugins/qt/Makefile.am:23: `%'-style pattern rules are a GNU make extension
    + autoconf --force
    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 for g++... g++
    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 g++ accepts -g... yes
    checking for style of include used by make... GNU
    checking dependency style of g++... gcc3
    checking build system type... i686-pc-linux-gnu
    checking host system type... i686-pc-linux-gnu
    checking for gcc... gcc
    checking whether we are using the GNU C compiler... yes
    checking whether gcc accepts -g... yes
    checking for gcc option to accept ISO C89... none needed
    checking dependency style of gcc... gcc3
    checking for a sed that does not truncate output... /bin/sed
    checking for grep that handles long lines and -e... /bin/grep
    checking for egrep... /bin/grep -E
    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 recognize dependent libraries... pass_all
    checking how to run the C preprocessor... gcc -E
    checking for ANSI C header files... yes
    checking for sys/types.h... yes
    checking for sys/stat.h... yes
    checking for stdlib.h... yes
    checking for string.h... yes
    checking for memory.h... yes
    checking for strings.h... yes
    checking for inttypes.h... yes
    checking for stdint.h... yes
    checking for unistd.h... yes
    checking dlfcn.h usability... yes
    checking dlfcn.h presence... yes
    checking for dlfcn.h... yes
    checking how to run the C++ preprocessor... g++ -E
    checking for g77... no
    checking for xlf... no
    checking for f77... no
    checking for frt... no
    checking for pgf77... no
    checking for cf77... no
    checking for fort77... no
    checking for fl32... no
    checking for af77... no
    checking for xlf90... no
    checking for f90... no
    checking for pgf90... no
    checking for pghpf... no
    checking for epcf90... no
    checking for gfortran... gfortran
    checking whether we are using the GNU Fortran 77 compiler... yes
    checking whether gfortran accepts -g... yes
    checking the maximum length of command line arguments... 98304
    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... no
    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
    (cached) (cached) checking how to hardcode library paths into programs... immediate
    appending configuration tag "F77" to libtool
    checking if libtool supports shared libraries... yes
    checking whether to build shared libraries... yes
    checking whether to build static libraries... no
    checking for gfortran option to produce PIC... -fPIC
    checking if gfortran PIC flag -fPIC works... yes
    checking if gfortran static flag -static works... yes
    checking if gfortran supports -c -o file.o... yes
    checking whether the gfortran linker (/usr/bin/ld) supports shared libraries... yes
    checking dynamic linker characteristics... GNU/Linux ld.so
    (cached) (cached) checking how to hardcode library paths into programs... immediate
    checking for pkg-config... /usr/bin/pkg-config
    checking for void *... yes
    checking size of void *... 4
    checking for unsigned... yes
    checking size of unsigned... 4
    debug unsigned int size: 4
    checking hash_map usability... yes
    checking hash_map presence... yes
    checking for hash_map... yes
    checking ext/hash_map usability... yes
    checking ext/hash_map presence... yes
    checking for ext/hash_map... yes
    checking for X... libraries , headers
    checking for gethostbyname... yes
    checking for connect... yes
    checking for remove... yes
    checking for shmat... yes
    checking for IceConnectionNumber in -lICE... yes
    checking GL/gl.h usability... yes
    checking GL/gl.h presence... yes
    checking for GL/gl.h... yes
    checking for GL/glext.h... yes
    checking for GL/glu.h... yes
    checking for GL/glx.h... yes
    checking for pthread_create in -lpthread... yes
    checking for glFlush in -lGL... yes
    checking for gluUnProject in -lGLU... yes
    checking for XListInputDevices in -lXi... yes
    checking for glXGetProcAddress in -lGL... yes
    checking for jpeg_start_decompress in -ljpeg... yes
    checking jpeglib.h usability... yes
    checking jpeglib.h presence... yes
    checking for jpeglib.h... yes
    checking for libpng using pkg-config... yes
    checking for libexif using pkg-config... yes
    checking for freetype2 using pkg-config... yes
    checking for DNSServiceRegister in -ldns_sd... yes
    checking dns_sd.h usability... yes
    checking dns_sd.h presence... yes
    checking for dns_sd.h... yes
    checking for XML_GetFeatureList in -lexpat... yes
    checking expat.h usability... yes
    checking expat.h presence... yes
    checking for expat.h... yes
    checking for gnutls using pkg-config... yes
    checking for dlfcn.h... (cached) yes
    checking dl.h usability... no
    checking dl.h presence... no
    checking for dl.h... no
    checking for dlopen... yes
    checking for libavformat using pkg-config... yes
    checking for QtCore using pkg-config... no
    checking for gdlib-config... yes
    checking for opencv using pkg-config... no
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating nucleo/nucleo.H
    config.status: creating nucleo/Makefile
    config.status: creating nucleo/core/Makefile
    config.status: creating nucleo/core/select/Makefile
    config.status: creating nucleo/core/carbon/Makefile
    config.status: creating nucleo/core/corefoundation/Makefile
    config.status: creating nucleo/utils/Makefile
    config.status: creating nucleo/xml/Makefile
    config.status: creating nucleo/network/Makefile
    config.status: creating nucleo/network/udp/Makefile
    config.status: creating nucleo/network/tcp/Makefile
    config.status: creating nucleo/network/http/Makefile
    config.status: creating nucleo/network/dnssd/Makefile
    config.status: creating nucleo/network/xmpp/Makefile
    config.status: creating nucleo/image/Makefile
    config.status: creating nucleo/image/encoding/Makefile
    config.status: creating nucleo/image/source/Makefile
    config.status: creating nucleo/image/sink/Makefile
    config.status: creating nucleo/image/processing/Makefile
    config.status: creating nucleo/image/processing/basic/Makefile
    config.status: creating nucleo/image/processing/chromakeying/Makefile
    config.status: creating nucleo/image/processing/convolution/Makefile
    config.status: creating nucleo/image/processing/difference/Makefile
    config.status: creating nucleo/image/processing/gamma/Makefile
    config.status: creating nucleo/image/processing/noise/Makefile
    config.status: creating nucleo/gl/Makefile
    config.status: creating nucleo/gl/glIncludes.H
    config.status: creating nucleo/gl/window/Makefile
    config.status: creating nucleo/gl/texture/Makefile
    config.status: creating nucleo/gl/text/Makefile
    config.status: creating nucleo/gl/scenegraph/Makefile
    config.status: creating nucleo/gl/shading/Makefile
    config.status: creating nucleo/helpers/Makefile
    config.status: creating nucleo/plugins/Makefile
    config.status: creating nucleo/plugins/vnc/Makefile
    config.status: creating nucleo/plugins/ffmpeg/Makefile
    config.status: creating nucleo/plugins/qt/Makefile
    config.status: creating nucleo/plugins/gd/Makefile
    config.status: creating tests/Makefile
    config.status: creating demos/Makefile
    config.status: creating demos/video/Makefile
    config.status: creating demos/misc/Makefile
    config.status: creating demos/vnc/Makefile
    config.status: creating demos/opencv/Makefile
    config.status: creating demos/opencv/faceFinder/Makefile
    config.status: creating demos/opencv/opticalFlow/Makefile
    config.status: creating apps/Makefile
    config.status: creating apps/videoServer/Makefile
    config.status: creating data/Makefile
    config.status: creating data/vera/Makefile
    config.status: creating docs/Makefile
    config.status: creating docs/MacOSX/Makefile
    config.status: creating docs/MacOSX/nTest
    config.status: WARNING: docs/MacOSX/nTest.in seems to ignore the --datarootdir setting
    config.status: creating docs/MacOSX/nBundle
    config.status: WARNING: docs/MacOSX/nBundle.in seems to ignore the --datarootdir setting
    config.status: creating build-utils/Makefile
    config.status: creating build-utils/rpm/Makefile
    config.status: creating build-utils/rpm/nucleo.spec
    config.status: creating nucleo-config
    config.status: creating nucleo.pc
    config.status: creating nucleo/config.H
    config.status: executing depfiles commands
    Núcleo configuration:
    Architecture: i686-pc-linux-gnu
    glWindow backend? GLX + Xinput glXGetProcAddress
    JPEG image support? yes (using libjpeg)
    PNG image support? yes (using libpng)
    EXIF support? yes (using libexif)
    Freetype2 support? yes
    DNS-SD support? yes
    <eXpat/> support? yes
    GnuTLS support? yes
    FFmpeg plugin? yes
    VNC plugin? no (--with-vnc option not or badly used)
    Qt plugin? no (QtCore not found by pkg-config)
    GD plugin? yes
    Build OpenCV demos? no (opencv not found by pkg-config)
    Making all in nucleo
    make[1]: Entering directory `/home/user/pakete/nucleo-cvs/src/nucleo-build/nucleo'
    make all-recursive
    make[2]: Entering directory `/home/user/pakete/nucleo-cvs/src/nucleo-build/nucleo'
    Making all in core
    make[3]: Entering directory `/home/user/pakete/nucleo-cvs/src/nucleo-build/nucleo/core'
    Making all in select
    make[4]: Entering directory `/home/user/pakete/nucleo-cvs/src/nucleo-build/nucleo/core/select'
    /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT sTimeKeeper.lo -MD -MP -MF .deps/sTimeKeeper.Tpo -c -o sTimeKeeper.lo sTimeKeeper.cxx
    mkdir .libs
    g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT sTimeKeeper.lo -MD -MP -MF .deps/sTimeKeeper.Tpo -c sTimeKeeper.cxx -fPIC -DPIC -o .libs/sTimeKeeper.o
    mv -f .deps/sTimeKeeper.Tpo .deps/sTimeKeeper.Plo
    /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT sFileKeeper.lo -MD -MP -MF .deps/sFileKeeper.Tpo -c -o sFileKeeper.lo sFileKeeper.cxx
    g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT sFileKeeper.lo -MD -MP -MF .deps/sFileKeeper.Tpo -c sFileKeeper.cxx -fPIC -DPIC -o .libs/sFileKeeper.o
    mv -f .deps/sFileKeeper.Tpo .deps/sFileKeeper.Plo
    /bin/sh ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT sReactiveEngine.lo -MD -MP -MF .deps/sReactiveEngine.Tpo -c -o sReactiveEngine.lo sReactiveEngine.cxx
    g++ -DHAVE_CONFIG_H -I. -I../../../nucleo -I../../.. -I../../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT sReactiveEngine.lo -MD -MP -MF .deps/sReactiveEngine.Tpo -c sReactiveEngine.cxx -fPIC -DPIC -o .libs/sReactiveEngine.o
    mv -f .deps/sReactiveEngine.Tpo .deps/sReactiveEngine.Plo
    /bin/sh ../../../libtool --tag=CXX --mode=link g++ -march=i686 -mtune=generic -O2 -pipe -o libselect.la sTimeKeeper.lo sFileKeeper.lo sReactiveEngine.lo -lexpat -ldns_sd -ljpeg -lGLU -lGL -lpthread -lSM -lICE -lXi -lpng12 -lexif -lm -lfreetype -lz -lgnutls
    ar cru .libs/libselect.a .libs/sTimeKeeper.o .libs/sFileKeeper.o .libs/sReactiveEngine.o
    ranlib .libs/libselect.a
    creating libselect.la
    (cd .libs && rm -f libselect.la && ln -s ../libselect.la libselect.la)
    make[4]: Leaving directory `/home/user/pakete/nucleo-cvs/src/nucleo-build/nucleo/core/select'
    make[4]: Entering directory `/home/user/pakete/nucleo-cvs/src/nucleo-build/nucleo/core'
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT TimeKeeper.lo -MD -MP -MF .deps/TimeKeeper.Tpo -c -o TimeKeeper.lo TimeKeeper.cxx
    mkdir .libs
    g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT TimeKeeper.lo -MD -MP -MF .deps/TimeKeeper.Tpo -c TimeKeeper.cxx -fPIC -DPIC -o .libs/TimeKeeper.o
    mv -f .deps/TimeKeeper.Tpo .deps/TimeKeeper.Plo
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT FileKeeper.lo -MD -MP -MF .deps/FileKeeper.Tpo -c -o FileKeeper.lo FileKeeper.cxx
    g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT FileKeeper.lo -MD -MP -MF .deps/FileKeeper.Tpo -c FileKeeper.cxx -fPIC -DPIC -o .libs/FileKeeper.o
    mv -f .deps/FileKeeper.Tpo .deps/FileKeeper.Plo
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT ReactiveEngine.lo -MD -MP -MF .deps/ReactiveEngine.Tpo -c -o ReactiveEngine.lo ReactiveEngine.cxx
    g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT ReactiveEngine.lo -MD -MP -MF .deps/ReactiveEngine.Tpo -c ReactiveEngine.cxx -fPIC -DPIC -o .libs/ReactiveEngine.o
    mv -f .deps/ReactiveEngine.Tpo .deps/ReactiveEngine.Plo
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT ReactiveObject.lo -MD -MP -MF .deps/ReactiveObject.Tpo -c -o ReactiveObject.lo ReactiveObject.cxx
    g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT ReactiveObject.lo -MD -MP -MF .deps/ReactiveObject.Tpo -c ReactiveObject.cxx -fPIC -DPIC -o .libs/ReactiveObject.o
    mv -f .deps/ReactiveObject.Tpo .deps/ReactiveObject.Plo
    /bin/sh ../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT URI.lo -MD -MP -MF .deps/URI.Tpo -c -o URI.lo URI.cxx
    g++ -DHAVE_CONFIG_H -I. -I../../nucleo -I../.. -I../.. -I/usr/include/libpng12 -I/usr/include/freetype2 -march=i686 -mtune=generic -O2 -pipe -MT URI.lo -MD -MP -MF .deps/URI.Tpo -c URI.cxx -fPIC -DPIC -o .libs/URI.o
    URI.cxx: In member function »void nucleo::URI::load(const std::string&)«:
    URI.cxx:97: Fehler: »atoi« wurde in diesem Gültigkeitsbereich nicht definiert
    URI.cxx: In static member function »static bool nucleo::URI::getQueryArg(const std::string&, const std::string&, bool*)«:
    URI.cxx:282: Fehler: »atoi« wurde in diesem Gültigkeitsbereich nicht definiert
    URI.cxx: In static member function »static bool nucleo::URI::getQueryArg(const std::string&, const std::string&, int*)«:
    URI.cxx:290: Fehler: »atoi« wurde in diesem Gültigkeitsbereich nicht definiert
    URI.cxx: In static member function »static bool nucleo::URI::getQueryArg(const std::string&, const std::string&, unsigned int*)«:
    URI.cxx:298: Fehler: »atoi« wurde in diesem Gültigkeitsbereich nicht definiert
    URI.cxx: In static member function »static bool nucleo::URI::getQueryArg(const std::string&, const std::string&, long unsigned int*)«:
    URI.cxx:306: Fehler: »strtol« wurde in diesem Gültigkeitsbereich nicht definiert
    URI.cxx: In static member function »static bool nucleo::URI::getQueryArg(const std::string&, const std::string&, int64_t*)«:
    URI.cxx:314: Fehler: »strtol« wurde in diesem Gültigkeitsbereich nicht definiert
    URI.cxx: In static member function »static bool nucleo::URI::getQueryArg(const std::string&, const std::string&, double*)«:
    URI.cxx:322: Fehler: »atof« wurde in diesem Gültigkeitsbereich nicht definiert
    URI.cxx: In static member function »static bool nucleo::URI::getQueryArg(const std::string&, const std::string&, float*)«:
    URI.cxx:330: Fehler: »atof« wurde in diesem Gültigkeitsbereich nicht definiert
    make[4]: *** [URI.lo] Fehler 1
    make[4]: Leaving directory `/home/user/pakete/nucleo-cvs/src/nucleo-build/nucleo/core'
    make[3]: *** [all-recursive] Fehler 1
    make[3]: Leaving directory `/home/user/pakete/nucleo-cvs/src/nucleo-build/nucleo/core'
    make[2]: *** [all-recursive] Fehler 1
    make[2]: Leaving directory `/home/user/pakete/nucleo-cvs/src/nucleo-build/nucleo'
    make[1]: *** [all] Fehler 2
    make[1]: Leaving directory `/home/user/pakete/nucleo-cvs/src/nucleo-build/nucleo'
    make: *** [all-recursive] Fehler 1
    ==> FEHLER: Build fehlgeschlagen.
    Breche ab ...
    what am i "making" wrong...?
    Last edited by Madi (2008-03-30 16:28:07)

    hi
    ok, i was able to tell ./configure where to find nucleo-config, just editet /etc/profile:
    # Set our default path
    PATH="/bin:/usr/bin:/sbin:/usr/sbin"
    export PATH
    to
    # Set our default path
    PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin"
    export PATH
    but "make" failed again:
    make[3]: Entering directory `/home/user/pakete/metisse-cvs/src/metisse-build/FvwmCompositor/desktop'
    g++ -DHAVE_CONFIG_H -I. -I../.. -I../../xserver/include -I../../FvwmCompositor -I../../proto -I../../libmetisse -I../../xserver/mi -I../../xserver/include -I../../fvwm-insitu -I/usr/include/libpng12 -I/usr/include/freetype2 -I/usr/local/include -DORBIT2=1 -pthread -I/usr/include/at-spi-1.0 -I/usr/include/libbonobo-2.0 -I/usr/include/atk-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0 -march=i686 -mtune=generic -O2 -pipe -MT MetisseDesktop.o -MD -MP -MF .deps/MetisseDesktop.Tpo -c -o MetisseDesktop.o MetisseDesktop.cxx
    In file included from MetisseDesktop.H:29,
    from MetisseDesktop.cxx:15:
    MetisseWindow.H:272: Fehler: mehrere Parameter wurden »n« genannt
    MetisseWindow.H:273: Fehler: mehrere Parameter wurden »n« genannt
    In file included from MetisseDesktop.cxx:15:
    MetisseDesktop.H:79: Fehler: mehrere Parameter wurden »width« genannt
    MetisseDesktop.cxx: In member function »void MetisseDesktop::_closeWindow(MetisseWindow*)«:
    MetisseDesktop.cxx:1355: Warnung: veraltete Konvertierung von Zeichenkettenkonstante in »char*«
    make[3]: *** [MetisseDesktop.o] Fehler 1
    make[3]: Leaving directory `/home/user/pakete/metisse-cvs/src/metisse-build/FvwmCompositor/desktop'
    make[2]: *** [all-recursive] Fehler 1
    make[2]: Leaving directory `/home/user/pakete/metisse-cvs/src/metisse-build/FvwmCompositor'
    make[1]: *** [all-recursive] Fehler 1
    make[1]: Leaving directory `/home/user/pakete/metisse-cvs/src/metisse-build'
    make: *** [all] Fehler 2
    it's the same with metisse-0.4.0-rc4 from the project-page and with metisse-cvs AUR-tarball.
    how can i get metisse run...? seems to be more tricky...

  • DarkRadiant from AUR fails to build

    Hello,
    I am trying to install DarkRadiant (Doom 3 and Dark Mod level editor) from AUR using yaourt, but all I get is this:
    darkradiant 1.1.0-1 : Open-source fork of GtkRadiant: a level editor for Doom 3 and The Dark Mod
    ( Unsupported package: Potentally dangerous ! )
    ==> Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
    ==> ----------------------------------------------
    ==>n
    ==> darkradiant dependencies:
    - boost (already installed)
    - freealut (already installed)
    - glew (already installed)
    - gtkglext (already installed)
    - gtksourceview2 (already installed)
    - openal (already installed)
    - python (already installed)
    - svn (package that provides svn already installed)
    ==> Continue the building of darkradiant ? [Y/n]
    ==> ----------------------------------------------
    ==>
    ==> Install or build missing dependencies for darkradiant:
    ==> Building and installing package
    ==> darkradiant dependencies:
    - boost (already installed)
    - freealut (already installed)
    - glew (already installed)
    - gtkglext (already installed)
    - gtksourceview2 (already installed)
    - openal (already installed)
    - python (already installed)
    - svn (package that provides svn already installed)
    ==> Making package: darkradiant 1.1.0-1 x86_64 (Mon Feb 22 16:48:50 EET 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Extracting Sources...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    ==> Retrieving sources via svn for darkradiant version 1.1.0...
    -> Done
    ==> Validating sources from svn: if building fails here try to
    ==> delete the directory 'sources' and try again.
    ==> If it continues to fails the sources are changed and
    ==> the package needs to be updated.
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build darkradiant package.
    I have tried to delete sources folder but it did not help. Any ideas?

    Seems MD5Sums outdated, i don't know the yaourt way but here's the manual fix to bypass stepbystep:
    $ wget http://aur.archlinux.org/packages/darkr … ant.tar.gz
    $ tar xvzf darkradiant.tar.gz
    $ cd darkradiant
    $ nano PKBUILD <- edit this file and remove theese two lines:
        echo "a79fe9432899ccdd883fd1c56cef4f2b  -" >"$srcdir"/md5sources
        find . -type f -print0 | xargs -0 cat | md5sum --status -c "$srcdir"/md5sources || return 1
    $ makepkg -c -i -s
    Hope that helps...

  • Ruby-audio from AUR fails to build [SOLVED]

    I'm attempting to install ruby-audio from AUR.  Got the PKGBUILD file.  Running makepkg results in a complaint about options for an install directory.   I'm not expert enough at the ruby ecosystem and gem to see any obvious problem.  What is the fix? 
    => makepkg
    ==> Making package: ruby-audio 1.6.1-1 (Mon Jun 16 09:51:10 PDT 2014)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving sources...
      -> Found ruby-audio-1.6.1.gem
    ==> Validating source files with md5sums...
        ruby-audio-1.6.1.gem ... Passed
    ==> Extracting sources...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting package()...
    ERROR:  Use --install-dir or --user-install but not both
    ==> ERROR: A failure occurred in package().
        Aborting...
    Apparently the error is in the package() routine in PKGBUILD:
    package() {
      cd "$srcdir"
      # _gemdir is defined inside package() because if ruby[gems] is not installed on
      # the system, makepkg will exit with an error when sourcing the PKGBUILD.
      local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
      gem install --ignore-dependencies -i "$pkgdir$_gemdir" -n "$pkgdir/usr/bin" \
        "$_gemname-$pkgver.gem"
    A search here in the Arch forums turned up nothing.
    Last edited by darenw (2014-06-19 03:43:00)

    Tell me if this works for you:
    # Maintainer: Josh Klar <[email protected]>
    # Contributor: Joel Almeida <aullidolunar at gmail dot c0m>
    pkgname=ruby-audio
    pkgver=1.6.1
    pkgrel=2
    pkgdesc="Wrapper around libsndfile to provide simplified sound reading and writing support for Ruby"
    arch=("any")
    url="http://rubygems.org/gems/ruby-audio"
    license=('GPL')
    depends=("ruby" "libsndfile")
    source=("https://rubygems.org/downloads/$pkgname-$pkgver.gem")
    noextract=('$pkgname-$pkgver.gem')
    md5sums=('d4f5cea4c14190ca67231a0349b6e141')
    package() {
    cd "$srcdir"
    local _gemdir="$(ruby -e'puts Gem.default_dir')"
    gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $pkgname-$pkgver.gem
    rm "$pkgdir/$_gemdir/cache/$pkgname-$pkgver.gem"
    install -Dm644 "$pkgdir$_gemdir/gems/$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/MIT-LICENSE"
    build() {
    cd "$srcdir"
    Last edited by Joel (2014-06-19 01:22:00)

  • Package from AUR failed to install after doing many steps, how to rm?

    How can I see what files have been left on my hard drive after a package failed to install. I can't pacman -Rsu the package because it didnt install, but now i got some other packages that i don't need then. and probably some other stuff while the package was being extracted..
    How can i prevent from leaving a messy trail?

    Yeah gen2ly, i was using yaourt to get a package from AUR.
    I was able to uninstall the extra packages that were uninstalled, but is it possible that when the PKGBUILD failed that it left some random files somewhere? That's what I trully want to know. The other dependancies i have already removed.
    Hey thanks for the info on unzip, Runiq! unzip works miracles!!!! I installed it, and now the front end "File Roller" AKA "Archive Manager" in Gnome can suddenly handle .zip files! It's awesome! no need for p7zip or xarchiver.
    Every newbie or windows transferee should know about it!
    But anyways, is it possible the failed PKGBUILD left files somewhere?

  • [SOLVED] Makepkg, install dependencies from AUR.

    Is it possible for makepkg to install the dependencies from AUR with makepkg -si?
    Last edited by lemanski6 (2012-09-20 18:05:38)

    Nope.  Many "AUR helpers" do this though.  In my limited experience yaourt seems to be one that handles this seemlessly, but I'd say it comes with some costs of hiding what is doing from the user.

  • [Solved] Toxic won't open and makepkg fails to reinstall it

    Hi there, this is my first time posting in these forums and I hope I'm in the right place.
    I use the CLI tox client Toxic as a method for secure communication with friends etc. and I haven't encountered a problem with it before today. I'm not sure what happened but when I tried to run in it my terminal I received this error:
    toxic: error while loading shared libraries: libsodium.so.10: cannot open shared object file: No such file or directory
    I figured it was a problem with libsodium so I decided to reinstall it, but I still had the same problem. I replaced libsodium with libsodium-git and still the error persists.
    The next course of action I tried was to reinstall Toxic from the AUR. I use the git package so I typed:
    yaourt -S toxic-git
    The package didn't install however and I received this error when the machine tried to build the package:
    Makefile:56: recipe for target 'global_commands.o' failed
    make: *** [global_commands.o] Error 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build toxic-git.
    ==> Restart building toxic-git ? [y/N]
    ==> ----------------------------------
    Restarting the build returns the same error, and the regular toxic package also will not build.
    I've been using Arch for a few months now, but I've never encountered a problem like this before. Does anyone know what I can do to get Toxic working again? Any help would be greatly appreciated, thanks!
    Last edited by handles (2014-08-28 21:07:49)

    Lone_Wolf wrote:libsodium was upgraded to version 0.7 on 2014-08-27 , and there appears to have been a so-name bump to libsodium.so.13 .
    I did a quick check on my system and it would seem that the required libsodium.so.10 is missing, but libsodium.so.13 is present.
    pkgfile -l libsodium
    community/libsodium /usr/lib/
    community/libsodium /usr/lib/libsodium.so
    community/libsodium /usr/lib/libsodium.so.13
    community/libsodium /usr/lib/libsodium.so.13.0.0
    Thanks for letting me about the version change.
    Lone_Wolf wrote:You'll have to rebuild everything from aur that uses libsodium against the new version.
    I've never had to rebuild a package against a new version of a library before, so I'm going to use this as a good learning opportunity. I spent a good hour and a half searching various Arch wiki pages and forums, but I don't know how to do this. Do I need to edit something in the PKGBUILD file when I go to download the package from the AUR?
    The PKGBUILD file looks for toxic-git looks like this:
    # Maintainer: Florian Hahn <[email protected]>
    pkgname=toxic-git
    pkgdesc='CLI client for tox, a Skype replacement that respects your privacy'
    license=('GPL3')
    pkgver=0.r1134.efe61e3
    pkgrel=1
    depends=('tox-git' 'ncurses' 'libconfig')
    makedepends=('git')
    conflicts=('toxic')
    provides=('toxic')
    arch=('i686' 'x86_64')
    url=('http://tox.im')
    source=('git+https://github.com/Tox/toxic.git')
    md5sums=('SKIP')
    optdepends=(
    'openal: audio notifications'
    'freealut: audio notifications'
    _gitname=toxic
    pkgver() {
    cd "${srcdir}/${_gitname}"
    printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
    build() {
    cd "${srcdir}/${_gitname}/build"
    make PREFIX=/usr
    package() {
    cd "${srcdir}/${_gitname}/build"
    make PREFIX=/usr DESTDIR="${pkgdir}" install
    PKGBUILD (END)
    I don't see any references to libsodium within this file though, so I'm not really certain what I should be doing to get to compile against the new libsodium v0.7.0 .
    If anyone could point me in the right direction, I would really greatly appreciate it.
    Last edited by handles (2014-08-28 20:57:56)

  • SOLVED: makepkg fails at signing package

    Hi all,
    I'm trying to build a package from AUR but makepkg fails to sign the package.
    I receive the following message: "==> WARNING: Failed to sign package file." and nothing else.
    I have, as far as i can tell, installed all the necessary keys (pacman-key --recv-key and pacman-key --lsign). I even tried to completely reset the keyring  (remove of /etc/pacman.d/gnupg, pacman-key --init, ...) but it does not solve my problem.
    I can see the key when issuing pacman-key -l.
    Any idea is welcome cause I'm completely loss right now and I fear becoming nuts...
    Last edited by calyce (2012-05-25 23:02:49)

    https://wiki.archlinux.org/index.php/De … g_Packages
    That should explain everything you need to sign packages
    To sign packages you need your own key, what comes with pacman is the developers' keys for the packages in the repos
    Last edited by ethail (2012-05-25 16:16:27)

  • [SOLVED] Enabling debug for ath9k in compat-drivers-patched from AUR

    Wireless card: TP-LINK TL-WN951N. lspci says that it is an Atheros AR5416 adapter [AR5008].
    Some background: I'm having the same issues as the OP in this thread, which references this bug report. The problem is that I get a 2000 ms ping every 30 seconds. So 2 seconds of inactivity every 30 seconds. I have the same wireless PCI card, as well. I need to fix this, because it's making online gaming impossible. I should also note that the card is working just fine in Windows 8, however. I am using net-auto-wireless. I have tried using wicd, enabling ath9k's nohwcrypt option, toggling the card's power save, installing the latest compat-drivers-patched from the AUR, toggling different settings in my motherboard's BIOS, and removing the antennae from the card. But nothing has made a significant difference.
    I think I'm really close now. I just have to disable ANI. But in order to do that, it seems that I need to enable debugging for ath9k. But this means that I need to either recompile a custom kernel, or somehow enable debug for ath9k in compat-drivers-patched from the AUR. I'd prefer the latter, as that means that I will have a more bleeding-edge driver. That, and I won't have to touch the kernel as much. What I want is described on this page. But it seems too complicated to me. Please let me explain.
    I've installed things from the AUR before, as mentioned above, and have properly configured my makepkg.conf for my system. So I'd like to use the CFLAGS and such that I've set. I don't understand how everything works in the PKGBUILD; I don't have much experience with sed and awk and regular expressions, and haven't done much shell scripting at all. It seems that at some point in the PKGBUILD, I need to enable debugging for ath9k before it is compiled. Apparently on the last page I linked to, I need to add:
    export CONFIG_ATH_DEBUG=y
    export CONFIG_ATH9K_DEBUG=y
    export CONFIG_ATH9K_DEBUGFS=y
    to some config.mk file. I can only get access to the config.mk file after I install the package with pacman. I've tried adding those lines to my /etc/profile file, and checked, after a reboot, with "set", that those variables are indeed set. But the thing is, with these variables set in /etc/profile, when I run makepkg, makepkg fails with an error 2. I tried again and got the same error. I removed those lines from my /etc/profile, rebooted, tried makepkg again, and everything worked. So putting those lines in my /etc/profile is not the solution, and I feel like I'm doing something very stupid. What am I doing wrong?
    I should also note that I've tried to read the wiki page on compiling a custom kernel using ABS, but it seems to just say "get your custom configuration files" and then just continue (so it assumes that I should already be familiar with the configuration part). The PKGBUILD and Creating Packages wiki pages also seem to be a little... too advanced for me at this point in time.
    So how do I enable debugging for ath9k in compat-drivers-patched from the AUR? I'd prefer to stick with only editing the PKGBUILD and using makepkg, if possible.
    I've really tried to search the web and the arch forums on how to fix this problem myself, but alas, it seems that I need help this time. I greatly appreciate your time for reading my long post.
    UPDATE:
    I've made a lot of progress. I ended up removing the AUR package with pacman by invoking "pacman -Rsn compat-drivers-patched".
    Instructions for [almost] success: First, download compat-drivers-patched from AUR. Then move it to the "builds" directory (or "local", if using ABS). Extract the tarball. After the new directory is created, cd into it. Now here's the important part: run
    $ makepkg -so
    Then cd into src, cd into the directory inside src, then edit the config.mk file. Make sure these lines are uncommented (or created, if not already there):
    export CONFIG_CFG80211_DEBUGFS=y
    export CONFIG_MAC80211_DEBUGFS=y
    export CONFIG_ATH_DEBUG=y
    export CONFIG_ATH9K_DEBUG=y
    export CONFIG_ATH9K_DEBUGFS=y
    (source)
    Now run "cd ../.." to go back up two directories. Now run:
    $ makepkg -e
    # pacman -U <file that was produced>
    And I ran "mkinitcpio -p linux" just in case, but I'm not sure if that is necessary at all. I'm... not touching the kernel, right?
    Now I ran:
    echo 1 > /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani
    But bash would say that the file or directory doesn't exist. Even if I prepend it with "sudo", I get the same results. I was only able to get the command to work if I logged in as root. I even put the line in my /etc/profile. The 2000 ms ping every 30 seconds is now GONE. HOWEVER! If I reboot and log in as a normal user, the problem is there again. If I reboot and log in as root, the problem is gone. If I then log out and then log back in as a normal user, the problem does not come back.
    So really, I can avoid the problem if I first log in as root, log out, and then log back in as a normal user. But this is a great inconvenience. I would much prefer if I could just log in as a normal user right after boot, and have everything working.
    Now, how do I get the command to automatically run at boot as root (without me having to log in as root), and work?
    UPDATE 2:
    I got it working. Putting the line in /etc/profile is not the solution. I created a custom systemd .service file.
    Put this into /etc/systemd/service (name it "disable_ani.service"):
    EDIT: Wow. I made a glaring typo here. It should be /etc/systemd/system/disable_ani.service
    [Unit]
    Description=disable_ani
    [Service]
    Type=oneshot
    ExecStart=/bin/sh -c "echo 1 > /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani"
    [Install]
    WantedBy=multi-user.target
    Then make sure to "sudo chmod 755 /etc/systemd/service/disable_ani.service", since root owns this file.
    Then run "sudo systemctl enable disable_ani.service".
    EDIT: It has been brought to my attention that there is a much simpler way than creating a custom service.
    Using a tmpfile:
    /etc/tmpfiles.d/disable_ani.conf
    w /sys/kernel/debug/ieee80211/phy0/ath9k/disable_ani - - - - 1
    Done.
    Now ANI is persistently disabled between boots, even if I log in as a normal user right after boot.
    Thanks for reading.
    Last edited by vyu223 (2013-03-12 10:20:19)

    So zsh is telling you that the command didn't work, since it claims that there is no such file or directory. I had a lot of trouble with getting the echo command to work, as well. I found that if out of these lines:
    export CONFIG_CFG80211_DEBUGFS=y
    export CONFIG_MAC80211_DEBUGFS=y
    export CONFIG_ATH_DEBUG=y
    export CONFIG_ATH9K_DEBUG=y
    export CONFIG_ATH9K_DEBUGFS=y
    If the first and second line above were not uncommented in the config.mk file, I couldn't leave the last line above uncommented as well, or else makepkg would fail and give me an error. So originally I had only the 3rd and 4th lines above uncommented/inserted in my config.mk. With that configuration, I could not get the echo command to work, no matter what. Have you uncommented or inserted all of the above 5 lines into your config.mk?
    After making sure all of the above 5 lines were in my config.mk, the echo command still didn't work, even if I preceded the command with sudo, or entered a su session. Bash would tell me that there was no such file or directory. I found that if I actually logged out of my normal user, and then logged back into the computer as root, the command would work. If your shell does not give you any feedback (particularly, "no such file or directory"), then the command worked. In order to get the command to run every time the computer boots, I used a systemd service, so that the command is issued as root. For some reason, it doesn't work if you put the command into /etc/profile.
    Oh, and it would probably be helpful to mention that for the compat-drivers-patched package from the AUR, the PKGBUILD checks to see what your _selected_drivers variable is before compilation. If you set _selected_drivers=ath9k, your compile times will be much shorter.

  • [solved] vmware-server aur build fails

    I'm trying to install vmware-server from aur.  Downloaded the .tar.gz file from vmware, placed it in the build directory, and let it go.  Build fails with the following:
    (in building vmware-server-modules)
    /tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only/./include/vm_atomic.h:1536:7: warning: "_MSC_VER" is not defined
    /tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only/./include/vm_atomic.h:1663:7: warning: "_MSC_VER" is not defined
    /tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only/./include/vm_atomic.h:1796:7: warning: "_MSC_VER" is not defined
    make[2]: *** [/tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only/linux/driver.o] Error 1
    make[1]: *** [_module_/tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.33-ARCH'
    make: *** [vmci.ko] Error 2
    make: Leaving directory `/tmp/yaourt-tmp-david/aur-vmware-server-modules/vmware-server-modules/src/vmware-server-distrib/lib/modules/source/vmci-only'
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build vmware-server-modules package.
    Does anyone know of a solution?  virtualbox works great, but doesn't support TI's MSP430UIF FET, which is why I'm trying out vmware.
    Last edited by beretta (2010-05-07 17:32:03)

    Trying again... I haven't been able to find a solution.  Is there something else I should be doing to install vmware-server and vmware-server-modules?

Maybe you are looking for