[SOLVED] libgcrypt-git

Hello,
I'm maintaining gnupg-git AUR package. A nice beta of gnupg development branch has just arrived today that brings experimental support for Ed25519 ECC for signature. However for encryption support a patched libgcrypt is required. I tried to put together a PKGBUILD to build libgcrypt based upon the git version but it fails towards the end on the doc section.
Would someone be kind enough to try to fix it?
# $Id$
# Maintainer: Andreas Radke <[email protected]>
_gitname=libgcrypt
pkgname=libgcrypt-git
pkgver=1.6.0+83+gf14fb5b
pkgrel=1
pkgdesc="General purpose cryptographic library based on the code from GnuPG"
arch=(i686 x86_64)
url="http://www.gnupg.org"
license=('LGPL')
depends=('libgpg-error>=1.10-2')
makedepends=('git' 'automake-1.11')
provides=("libgcrypt=${pkgver}")
conflicts=('libgcrypt')
install=${pkgname}.install
source=("git://git.gnupg.org/libgcrypt.git")
sha1sums=('SKIP')
pkgver() {
cd "$_gitname"
git describe --tags | sed 's/libgcrypt-//;s/-/+/g'
build() {
cd "$_gitname"
AUTOMAKE_SUFFIX="-1.11" ./autogen.sh --force
./configure --prefix=/usr \
--disable-static \
--disable-padlock-support
make
package() {
cd "$_gitname"
make DESTDIR=${pkgdir} install
Here is the error message I am getting:
make[2]: Leaving directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/src'
Making all in doc
make[2]: Entering directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/doc'
fig2dev -L eps `test -f 'libgcrypt-modules.fig' || echo './'`libgcrypt-modules.fig libgcrypt-modules.eps
fig2dev -L eps `test -f 'fips-fsm.fig' || echo './'`fips-fsm.fig fips-fsm.eps
fig2dev -L png `test -f 'libgcrypt-modules.fig' || echo './'`libgcrypt-modules.fig libgcrypt-modules.png
fig2dev -L png `test -f 'fips-fsm.fig' || echo './'`fips-fsm.fig fips-fsm.png
fig2dev -L pdf `test -f 'libgcrypt-modules.fig' || echo './'`libgcrypt-modules.fig libgcrypt-modules.pdf
fig2dev -L pdf `test -f 'fips-fsm.fig' || echo './'`fips-fsm.fig fips-fsm.pdf
make all-am
make[3]: Entering directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/doc'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh /home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/build-aux/missing --run makeinfo --version) >/dev/null 2>&1; then \
for f in gcrypt.info gcrypt.info-[0-9] gcrypt.info-[0-9][0-9] gcrypt.i[0-9] gcrypt.i[0-9][0-9]; do \
if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh /home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/build-aux/missing --run makeinfo -I . \
-o gcrypt.info gcrypt.texi; \
then \
rc=0; \
CDPATH="${ZSH_VERSION+.}:" && cd .; \
else \
rc=$?; \
CDPATH="${ZSH_VERSION+.}:" && cd . && \
$restore $backupdir/* `echo "./gcrypt.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
gcrypt.texi:4: @include: could not find version.texi
gcrypt.texi:12: warning: undefined flag: VERSION
gcrypt.texi:12: warning: undefined flag: UPDATED
gcrypt.texi:58: warning: undefined flag: VERSION
gcrypt.texi:59: warning: undefined flag: UPDATED
Makefile:370: recipe for target 'gcrypt.info' failed
make[3]: *** [gcrypt.info] Error 1
make[3]: Leaving directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/doc'
Makefile:328: recipe for target 'all' failed
make[2]: *** [all] Error 2
make[2]: Leaving directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt/doc'
Makefile:411: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/alpha/PERSO/GIT-REPOS/arch-packages/NOTDONEYET/libgcrypt-git/src/libgcrypt'
Makefile:342: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Thanks
alphazo
Last edited by alphazo (2014-06-07 19:32:10)

Please let me know if the following works for you. You can verify the changes with a diff. Here's a summary of what I did:
1) pkgver=1.7
This is because although the git describe says we're 1.6.something, the output from the ./configure says it's actually 1.7. This matters, in my opinion.
2) Removed pkgver() for reason mentioned above
3) depends=('libgpg-error>=1.13-1')
When I compiled, outside of the Arch Build System, I had trouble with compiling libgcrypt without having a high enough version of libgpg-error. You may find that this is not needed, and that requirement can be relaxed at your discretion.
4) Configure invocation: --enable-maintainer-mode --with-capabilities
We're Arch, so we're definitely Linux, so configure with Linux capabilities. I have no idea what this means, but why not enable it, right? Enabling maintainer mode is apparently required to get the doc portion to build correctly. Not sure why.
5) make -j
Who only has one core anyway?
5) Added check()
Since libgcrypt and gnupg 2.1 are still unstable, we should always run the test suite.
# $Id$
# Maintainer: Andreas Radke <[email protected]>
# Contributor: Adrian Cohea <[email protected]>
_gitname=libgcrypt
pkgname=libgcrypt-git
pkgver=1.7
pkgrel=1
pkgdesc="General purpose cryptographic library based on the code from GnuPG"
arch=(i686 x86_64)
url="http://www.gnupg.org"
license=('LGPL')
depends=('libgpg-error>=1.13-1')
makedepends=('git' 'automake-1.11')
provides=("libgcrypt=${pkgver}")
conflicts=('libgcrypt')
install=${pkgname}.install
source=("git://git.gnupg.org/libgcrypt.git")
sha1sums=('SKIP')
build() {
cd "$_gitname"
AUTOMAKE_SUFFIX="-1.11" ./autogen.sh --force
./configure --prefix=/usr --enable-maintainer-mode --with-capabilities --disable-static --disable-padlock-support
make -j
check() {
cd "$_gitname"
make check
package() {
cd "$_gitname"
make DESTDIR=${pkgdir} install

Similar Messages

  • [SOLVED] ocrfeeder-git PKGBUILD doesn't work

    https://aur.archlinux.org/packages/ocrfeeder-git/
    [pippo@linux ocrfeeder-git]$ makepkg -s
    ==> Creazione del pacchetto: ocrfeeder-git 0.7.11.20.g22218bc-1 (mar 18 nov 2014, 14.32.01, CET)
    ==> Controllo delle dipendenze durante l'avvio in corso...
    ==> Controllo delle dipendenze durante la compilazione in corso...
    ==> Download dei sorgenti in corso...
    -> Clonazione del repository ocrfeeder git in corso...
    Clone nel repository spoglio '/home/pippo/TEMP/ocrfeeder-git/ocrfeeder'...
    remote: Counting objects: 3584, done.
    remote: Compressing objects: 100% (2578/2578), done.
    remote: Total 3584 (delta 2415), reused 1346 (delta 936)
    Ricezione degli oggetti: 100% (3584/3584), 1.71 MiB | 510.00 KiB/s, done.
    Risoluzione dei delta: 100% (2415/2415), done.
    Checking connectivity... fatto.
    ==> Validazione dei sorgenti con sha512sums in corso...
    ocrfeeder ... Ignorato
    ==> Estrazione dei sorgenti in corso...
    -> Creazione di una copia di lavoro del repository ocrfeeder git in corso...
    Cloning into 'ocrfeeder'...
    fatto.
    ==> Avvio di pkgver() in corso...
    ==> Versione aggiornata: ocrfeeder-git 0.8-1
    ==> Avvio di build() in corso...
    /usr/bin/gnome-autogen.sh
    checking for automake >= 1.11.2...
    testing automake... found 1.14.1
    checking for autoreconf >= 2.53...
    testing autoreconf... found 2.69
    checking for glib-gettext >= 2.2.0...
    testing glib-gettextize... found 2.42.0
    checking for intltool >= 0.25...
    testing intltoolize... found 0.50.2
    checking for gnome-doc-utils >= 0.4.2...
    testing gnome-doc-prepare... found 0.20.10
    Checking for required M4 macros...
    Processing ./configure.ac
    Running glib-gettextize... Ignore non-fatal messages.
    Copying file po/Makefile.in.in
    Please add the files
    codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
    progtest.m4
    from the /usr/share/aclocal directory to your autoconf macro directory
    or directly to your aclocal.m4 file.
    You will also need config.guess and config.sub, which you can get from
    ftp://ftp.gnu.org/pub/gnu/config/.
    Running gnome-doc-prepare...
    You should add the contents of '/usr/share/aclocal/gnome-doc-utils.m4' to 'aclocal.m4'.
    Putting files in AC_CONFIG_MACRO_DIR, 'm4'.
    Running intltoolize...
    Running autoreconf...
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force --warnings=no-portability -I m4 ${ACLOCAL_FLAGS}
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
    autoreconf: configure.ac: not using Autoheader
    autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
    configure.ac:48: installing './compile'
    configure.ac:9: installing './install-sh'
    configure.ac:9: installing './missing'
    Makefile.am: installing './INSTALL'
    src/ocrfeeder/Makefile.am:3: installing './py-compile'
    autoreconf: Leaving directory `.'
    Running ./configure --enable-maintainer-mode PYTHON=python2 ...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking whether make supports nested variables... (cached) yes
    checking whether python2 version is >= 2.5... yes
    checking for python2 version... 2.7
    checking for python2 platform... linux2
    checking for python2 script directory... ${prefix}/lib/python2.7/site-packages
    checking for python2 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
    checking python2 module: enchant... yes
    checking python2 module: sane... yes
    checking python2 module: PIL... yes
    checking python2 module: reportlab... yes
    checking python2 module: gobject... yes
    checking gobject introspection module Gtk... yes
    checking gobject introspection module GooCanvas... no
    configure: error: failed to find required GObject Introspection module GooCanvas
    ==> ERRORE: Si è verificato un errore in build().
    L'operazione sta per essere interrotta...
    with yaourt:
    ocrfeeder-git 0.7.11.20.g22218bc-1 (gio 19 set 2013, 16.13.18, CEST)
    ( Pacchetto non supportato: Potenzialmente pericoloso! )
    ==> Modificare PKGBUILD [S/n] ("A" per annullare)
    ==> ----------------------------------------------
    ==> n
    ==> Dipendenze di ocrfeeder-git
    - python2-pyenchant (già installato)
    - pygoocanvas (già installato)
    - python2-gtkspell (già installato)
    - python2-imaging (già installato)
    - python2-lxml (già installato)
    - python2-reportlab (già installato)
    - ghostscript (già installato)
    - unpaper (già installato)
    - sane (già installato)
    - desktop-file-utils (già installato)
    - intltool (già installato)
    - gnome-doc-utils (già installato)
    - gnome-common (già installato)
    ==> Modificare ocrfeeder.install [S/n] ("A" per annullare)
    ==> -------------------------------------------------------
    ==> n
    ==> Continuare la compilazione di ocrfeeder-git [S/n]
    ==> -------------------------------------------------
    ==>
    ==> Compilazione e installazione del pacchetto
    ==> Creazione del pacchetto: ocrfeeder-git 0.7.11.20.g22218bc-1 (mar 18 nov 2014, 18.53.10, CET)
    ==> Controllo delle dipendenze durante l'avvio in corso...
    ==> Controllo delle dipendenze durante la compilazione in corso...
    ==> Download dei sorgenti in corso...
    -> Clonazione del repository ocrfeeder git in corso...
    Clone nel repository spoglio '/tmp/yaourt-tmp-pippo/aur-ocrfeeder-git/ocrfeeder'...
    remote: Counting objects: 3584, done.
    remote: Compressing objects: 100% (2578/2578), done.
    remote: Total 3584 (delta 2414), reused 1346 (delta 936)
    Ricezione degli oggetti: 100% (3584/3584), 1.71 MiB | 556.00 KiB/s, done.
    Risoluzione dei delta: 100% (2414/2414), done.
    Checking connectivity... fatto.
    ==> Validazione dei sorgenti con sha512sums in corso...
    ocrfeeder ... Ignorato
    ==> Estrazione dei sorgenti in corso...
    -> Creazione di una copia di lavoro del repository ocrfeeder git in corso...
    Cloning into 'ocrfeeder'...
    fatto.
    ==> Avvio di pkgver() in corso...
    ==> Versione aggiornata: ocrfeeder-git 0.8-1
    ==> Avvio di build() in corso...
    /usr/bin/gnome-autogen.sh
    checking for automake >= 1.11.2...
    testing automake... found 1.14.1
    checking for autoreconf >= 2.53...
    testing autoreconf... found 2.69
    checking for glib-gettext >= 2.2.0...
    testing glib-gettextize... found 2.42.0
    checking for intltool >= 0.25...
    testing intltoolize... found 0.50.2
    checking for gnome-doc-utils >= 0.4.2...
    testing gnome-doc-prepare... found 0.20.10
    Checking for required M4 macros...
    Processing ./configure.ac
    Running glib-gettextize... Ignore non-fatal messages.
    Copying file po/Makefile.in.in
    Please add the files
    codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
    progtest.m4
    from the /usr/share/aclocal directory to your autoconf macro directory
    or directly to your aclocal.m4 file.
    You will also need config.guess and config.sub, which you can get from
    ftp://ftp.gnu.org/pub/gnu/config/.
    Running gnome-doc-prepare...
    You should add the contents of '/usr/share/aclocal/gnome-doc-utils.m4' to 'aclocal.m4'.
    Putting files in AC_CONFIG_MACRO_DIR, 'm4'.
    Running intltoolize...
    Running autoreconf...
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal --force --warnings=no-portability -I m4 ${ACLOCAL_FLAGS}
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: running: /usr/bin/autoconf --force --warnings=no-portability
    autoreconf: configure.ac: not using Autoheader
    autoreconf: running: automake --add-missing --copy --force-missing --warnings=no-portability
    configure.ac:48: installing './compile'
    configure.ac:9: installing './install-sh'
    configure.ac:9: installing './missing'
    Makefile.am: installing './INSTALL'
    src/ocrfeeder/Makefile.am:3: installing './py-compile'
    autoreconf: Leaving directory `.'
    Running ./configure --enable-maintainer-mode PYTHON=python2 ...
    checking for a BSD-compatible install... /usr/bin/install -c
    checking whether build environment is sane... yes
    checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
    checking for gawk... gawk
    checking whether make sets $(MAKE)... yes
    checking whether make supports nested variables... yes
    checking whether to enable maintainer-specific portions of Makefiles... yes
    checking whether make supports nested variables... (cached) yes
    checking whether python2 version is >= 2.5... yes
    checking for python2 version... 2.7
    checking for python2 platform... linux2
    checking for python2 script directory... ${prefix}/lib/python2.7/site-packages
    checking for python2 extension module directory... ${exec_prefix}/lib/python2.7/site-packages
    checking python2 module: enchant... yes
    checking python2 module: sane... yes
    checking python2 module: PIL... yes
    checking python2 module: reportlab... yes
    checking python2 module: gobject... yes
    checking gobject introspection module Gtk... yes
    checking gobject introspection module GooCanvas... no
    configure: error: failed to find required GObject Introspection module GooCanvas
    ==> ERRORE: Si è verificato un errore in build().
    L'operazione sta per essere interrotta...
    ==> ERRORE: Makepkg non è riuscito a compilare ocrfeeder-git.
    ==> Riavviare la compilazione di ocrfeeder-git [s/N]
    ==> ------------------------------------------------
    ==>
    $ pacman -Q|grep canvas
    goocanvas1 1.0.0-3
    pygoocanvas 0.14.1-6
    EDIT:
    SOLVED:
    # pacman -S goocanvas
    Last edited by quellen (2014-11-18 18:02:18)

    VCS PKGBUILDs need to include the VCS type at the end of the pkgname. In this case your package should be named "wifiz-git".
    Here's an updated version of your PKGBUILD:
    # Maintainer: Cody Dostal <[email protected]>
    pkgname=wifiz-git
    _gitname=WiFiz
    pkgver=0.9.2.2.r1.g8147a9f
    pkgrel=1
    pkgdesc="NetCTL GUI Frontend, written in wxPython. Stable Version."
    arch=('any')
    url="https://github.com/codywd/$_gitname"
    license=('MIT')
    depends=('python2' 'wxpython' 'wireless_tools' 'netctl' 'wpa_supplicant')
    makedepends=('git')
    optdepends=('gedit: manually edit profiles')
    conflicts=('wifiz' 'wifiz-nightly')
    provides=('wifiz')
    source=("git://github.com/codywd/$_gitname.git")
    sha256sums=('SKIP')
    pkgver() {
    cd "$srcdir/$_gitname"
    git describe --always --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
    package() {
    cd "$srcdir/$_gitname"
    python2 setup.py install --root="$pkgdir/" --optimize=1
    Note the following changes:
    pkgname
    conflicts with "wifiz" (all VCS packages should provide and conflict with their non-VCS equivalents)
    removed redundant echo and shell invocation from pkgver function
    "$srcdir/$_gitname" instead of "$_gitname" in pkgver function: the git repo will not be in the same directory if the user sets SRCDIR in makepkg.conf

  • [SOLVED] sbcl-git PKGBUILD

    I'm trying to write a sbcl-git PKGBUILD so people can circumvent some sbcl bugs and install stumpwm-git, here's my attempt thus far which fails miserably.
    Edit: solved, big thanks to acieroid who provided the pkgbuild:
    http://aur.archlinux.org/packages.php?ID=45922
    Last edited by drot (2011-01-30 20:39:05)

    It currently looks like this:
    # Maintainer: Gerardo Marset <[email protected]>
    pkgname=lci-git
    pkgver=20110413
    pkgrel=1
    pkgdesc="A simple and fast 1.2 lolcode interpreter written in C."
    arch=('i686' 'x86_64')
    url="http://icanhaslolcode.org/"
    license=('GPL3')
    makedepends=('git')
    provides=('lci')
    conflicts=('lci')
    _gitroot="https://github.com/justinmeza/lci.git"
    _gitname="lci"
    build() {
    cd "$srcdir"
    msg "Connecting to GIT server...."
    if [ -d $_gitname ] ; then
    cd $_gitname && git pull origin
    msg "The local files are updated."
    else
    git clone $_gitroot $_gitname
    fi
    msg "GIT checkout done or server timeout"
    msg "Starting make..."
    rm -rf "$srcdir/$_gitname-build"
    git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
    cd "$srcdir/$_gitname-build"
    make
    make check
    install -Dm755 lci ${pkgdir}/usr/bin/lci

  • [Solved] Avidemux-git fails to compile

    I looked for a fresh update to the latest avidemux compilation. I got this while attempting to make the package:
    [ 80%] Building CXX object ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/CMakeFiles/ADM_coreLibVA6.dir/ADM_coreLibVA.cpp.o
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp: In static member function ‘static VASurfaceID admLibVA::allocateSurface(int, int)’:
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:365:89: error: invalid conversion from ‘int’ to ‘VASurfaceID* {aka unsigned int*}’ [-fpermissive]
    CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,w,h,VA_RT_FORMAT_YUV420,1,&s));
    ^
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:57:32: note: in definition of macro ‘CHECK_ERROR’
    #define CHECK_ERROR(x) {xError=x;displayXError(#x,ADM_coreLibVA::display,xError);}
    ^
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:365:89: error: invalid conversion from ‘VASurfaceID* {aka unsigned int*}’ to ‘unsigned int’ [-fpermissive]
    CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,w,h,VA_RT_FORMAT_YUV420,1,&s));
    ^
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:57:32: note: in definition of macro ‘CHECK_ERROR’
    #define CHECK_ERROR(x) {xError=x;displayXError(#x,ADM_coreLibVA::display,xError);}
    ^
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:365:89: error: too few arguments to function ‘VAStatus vaCreateSurfaces(VADisplay, unsigned int, unsigned int, unsigned int, VASurfaceID*, unsigned int, VASurfaceAttrib*, unsigned int)’
    CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,w,h,VA_RT_FORMAT_YUV420,1,&s));
    ^
    /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:57:32: note: in definition of macro ‘CHECK_ERROR’
    #define CHECK_ERROR(x) {xError=x;displayXError(#x,ADM_coreLibVA::display,xError);}
    ^
    In file included from /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/../include/ADM_coreLibVA.h:28:0,
    from /tmp/yaourt-tmp-myself/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp:17:
    /usr/include/va/va.h:792:1: note: declared here
    vaCreateSurfaces(
    ^
    make[2]: *** [ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/CMakeFiles/ADM_coreLibVA6.dir/ADM_coreLibVA.cpp.o] Errore 1
    make[1]: *** [ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/CMakeFiles/ADM_coreLibVA6.dir/all] Errore 2
    make: *** [all] Errore 2
    I'll point this at avidemux forum, in case isn't caused by package making.
    Last edited by TheSaint (2013-08-28 13:22:44)

    I'ved the same error.
    I resolved it for the r3392 version :
    I said N for recompilation
    in the file /tmp/yaourt-tmp-$USER/aur-avidemux-2.6-git/src/avidemux/avidemux_core/ADM_coreVideoCodec/ADM_hwAccel/ADM_coreLibVA/src/ADM_coreLibVA.cpp
       i replaced
    CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,w,h,VA_RT_FORMAT_YUV420,1,&s));
      by
    VASurfaceAttrib attrib_list;
    unsigned int num_attribs;
    CHECK_ERROR(vaCreateSurfaces(ADM_coreLibVA::display,VA_RT_FORMAT_YUV420,w,h,&s,1,&attrib_list,num_attribs));
    in the file /tmp/yaourt-tmp-christophe/aur-avidemux-2.6-git/src/avidemux/avidemux_plugins/ADM_videoEncoder/libva/ADM_libvaEncoder.cpp
       i replaced
    if(!vaSurface.fromAdmImage(image))
      by
    if(!vaSurface->fromAdmImage(image))
    then i typed :
    makepkg -e && makepkg -i
    That's it!
    Enjoy !!! 
    Last edited by japama (2013-08-06 09:58:07)

  • [SOLVED] makepkg git clone fails (firewalled), how to use https

    At my new employer git(hub) traffic has been blocked so I am unable to clone a repo with "git clone git://someurl/..." but I can clone via https "git clone https://someurl/..."
    However, makepkg uses the former and fails with the following error:
    Cloning into bare repository '/tmp/cower-git/cower' ...
    fatal: unable to connect to github.com:
    github.com[0: 192.30.252.130]: errno=Connection refused
    Can I configure makepkg to use https cloning?  I can edit makepkg itself, but this seems far from ideal.
    For the time being, I just cd'ed into 'src' and manually cloned via https, then backed out and used 'makepkg -ei'.  So I now have cower up and running, but this is a bit tedius to do for all git packages.

    Change it how?  I tried changing it to "https://github..." but then makepkg didn't treat it as a git repo and just downloaded the webpage.
    EDIT: nevermind, I'm an idiot:
    source=("git+https://github/...")
    I know I had done this before, but I wasn't finding it when I needed it.  Thanks.
      - Trilby: Moderator and Noob!

  • [Solved] [audacious-git] dependency question

    Hi, I maintain audacious-git and audacious-plugins-git and have a question:
    audacious-plugins-git should be a dependency of audacious-git.
    On the other side audacious-git should be a makedependency of audacious-git.
    This is the case for the packages from [extra] (of course without -git)
    How is it now possible to compile audacious / audacious-plugins if both packages are not installed?
    And how should I handle this in the PKGBUILD?
    Thanks for an answer
    Radioactiveman
    Last edited by Radioactiveman (2011-06-24 12:32:59)

    The audacious-plugins package need only be a dependency of audacious for usability reasons: it is not required to build it. So it is easy to "manually" bootstrap by first compiling an audacious PKGBUILD without the audacious-plugins dependency. In the AUR, of course, that's not so handy, and I believe the best solution to your issue is to have audacious-plugins-git as an optdepends (not a depends) in the audacious-git PKGBUILD, and remind your users that they very likely want to install it.

  • [Solved] E17-git: Compilation error of elementary-git

    Dear all;
    When I trying to compile elementary-git, via yaourt, I have the following error
    configure: error: Package requirements (
    eina >= 1.8.99.9289
    eet >= 1.8.99.9289
    evas >= 1.8.99.9289
    ecore >= 1.8.99.9289
    ecore-evas >= 1.8.99.9289
    ecore-file >= 1.8.99.9289
    ecore-input >= 1.8.99.9289
    edje >= 1.8.99.9289
    eo >= 1.8.99.9289
    ethumb_client >= 1.8.99.9289
    emotion >= 1.8.99.9289
    ecore-imf >= 1.8.99.9289
    ecore-con >= 1.8.99.9289
    eio >= 1.8.99.9289
    eldbus >= 1.8.99.9289
    efreet >= 1.8.99.9289
    efreet-mime >= 1.8.99.9289
    efreet-trash >= 1.8.99.9289
    ) were not met:
    Requested 'eina >= 1.8.99.9289' but version of Eina is 1.8.99
    Requested 'eet >= 1.8.99.9289' but version of eet is 1.8.99
    Requested 'evas >= 1.8.99.9289' but version of evas is 1.8.99
    Requested 'ecore >= 1.8.99.9289' but version of ecore is 1.8.99
    Requested 'ecore-evas >= 1.8.99.9289' but version of ecore-evas is 1.8.99
    Requested 'ecore-file >= 1.8.99.9289' but version of ecore-file is 1.8.99
    Requested 'ecore-input >= 1.8.99.9289' but version of ecore-input is 1.8.99
    Requested 'edje >= 1.8.99.9289' but version of edje is 1.8.99
    Requested 'eo >= 1.8.99.9289' but version of Eo is 1.8.99
    Requested 'ethumb_client >= 1.8.99.9289' but version of ethumb_client is 1.8.99
    Requested 'emotion >= 1.8.99.9289' but version of emotion is 1.8.99
    Requested 'ecore-imf >= 1.8.99.9289' but version of ecore-imf is 1.8.99
    Requested 'ecore-con >= 1.8.99.9289' but version of ecore-con is 1.8.99
    Requested 'eio >= 1.8.99.9289' but version of eio is 1.8.99
    Requested 'eldbus >= 1.8.99.9289' but version of eldbus is 1.8.99
    Requested 'efreet >= 1.8.99.9289' but version of efreet is 1.8.99
    Requested 'efreet-mime >= 1.8.99.9289' but version of efreet-mime is 1.8.99
    Requested 'efreet-trash >= 1.8.99.9289' but version of efreet-trash is 1.8.99
    So I check the version of efl-git and I had a kind of strange things :
    aur/efl-git 1.8.99.24257.6db1691-1 [installed: 1.8.99.24285.cc8fa1d-1] (73)
    Any idea???
    Last edited by barbsbou (2014-01-31 17:21:09)

    Rebuild EFL. They forgot to re-enable v_rev for a while there after the release.

  • [solved] glib-git build fails with gdbus-codegen/python error

    Has anyone succeeded to install glib-git lately? For me, the build fails with the following error:
    Making all in tests
    make[4]: Entering directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/tests'
    GEN gdbus-test-codegen-generated.c
    Traceback (most recent call last):
    File "../../gio/gdbus-codegen/codegen_main.py", line 200, in <module>
    codegen_main()
    File "../../gio/gdbus-codegen/codegen_main.py", line 171, in codegen_main
    parsed_ifaces = parser.parse_dbus_xml(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 289, in parse_dbus_xml
    parser = DBusXMLParser(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 57, in __init__
    self._parser.Parse(xml_data)
    File "/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/gdbus-codegen/parser.py", line 155, in handle_start_element
    if attrs.has_key('name') and self.doc_comment_last_symbol == attrs['name']:
    AttributeError: 'dict' object has no attribute 'has_key'
    make[4]: *** [gdbus-test-codegen-generated.c] Error 1
    make[4]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio/tests'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build/gio'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/tmp/clyde-carlos/glib-git/glib-git/src/glib-build'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    It is not the PKGBUILD's fault, apparently, as the same error occurs when I autogen-configure-make manually. So is there something wrong with my system, the python setup maybe? (I tried manually replacing "python" by "python2.7" in the Makefile – no success.) Or is it an upstream bug, maybe related to this bug? Is there anything I can do?
    Sorry if the answer is obvious, but I really do not feel like I understand this python stuff properly. Also, sorry for duplicating my AUR comments – it was only today that I figured I might get more response in the forum.
    Last edited by Franek (2011-08-23 13:33:23)

    Don't panic, I don't. Just did not have time before now.
    EDIT: Done. I am still throwing in the towel, though. I was trying to make a gtkmm-git PKGBUILD, because I need the latest gtkmm for development. However for gtkmm-git I needed gtk-git, for which I needed glib-git and pango-git. I successfully (at least it appears so) managed to install glib-git and pango-git, but now I get a linker error with gtk-git and will not spend another day looking for its source. I will just wait until gtkmm-3.1 is released.
    EDIT 2: Alright, it appears there must have been something wrong with my "successfull" installs as well, as I just started a gtk app (Balsa) and it did not have any font, just rectangles for letters. Replacing glib-git and pango-git with their stable counterparts turned everything right again.
    Last edited by Franek (2011-08-23 20:46:47)

  • [Solved]Wicked-git

    When trying to compile wicked-git, I get this output:
    yaourt -S wicked-git
    ==> Resuming previous build
    ==> Downloading wicked-git PKGBUILD from AUR...
    tar: Record size = 7 blocks
    First Submitted: Thu, 29 May 2008 12:23:16 +0000
    wicked-git 20090112-1 (Unsupported): Wicked widgets for the development version of the awesome window manager
    ==> Edit the PKGBUILD (recommended) ? [Y/n]("A" to abort)
    ==> ----------------------------------------------
    ==>n
    ==> wicked-git dependencies:
    - awesome (already installed)
    - git (already installed)
    ==> Continue the building of wicked-git ? [Y/n]
    ==> ----------------------------------------------
    ==>y
    ==> Building and installing package
    mkdir: cannot create directory `/var/abs/local/yaourtbuild': Permission denied
    ==> WARNING: Unable to write in /var/abs/local/yaourtbuild/wicked-git directory. Using /tmp directory
    ==> Determining latest git revision...
    -> Version found: 20090217
    ==> Making package: wicked-git 20090217-1 x86_64 (Tue Feb 17 19:39:34 PST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Validating source files with md5sums...
    ==> Extracting Sources...
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    ==> Connecting to git server....
    Initialized empty Git repository in /tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/.git/
    fatal: The remote end hung up unexpectedly
    ==> GIT checkout done or server timeout
    luac: cannot open /tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.lua: No such file or directory
    install: cannot stat `/tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.lua': No such file or directory
    install: cannot stat `/tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.luac': No such file or directory
    install: cannot stat `/tmp/yaourt-tmp-shawn/aur-wicked-git/wicked-git/src/wicked/wicked.7.gz': No such file or directory
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build wicked-git package.
    It seems that it cannot connect to the git page, but I can get to the page fine.
    Last edited by Reasons (2009-02-18 04:33:27)

    No change.
    [reasons // ~/Desktop/wicked] yaourt -G wicked-git
    --2009-02-17 19:59:48-- http://aur.archlinux.org/packages/wicked-git/wicked-git.tar.
    gz
    Resolving aur.archlinux.org... 66.211.213.17
    Connecting to aur.archlinux.org|66.211.213.17|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 646 [application/x-gzip]
    Saving to: `wicked-git.tar.gz'
    100%[===========================================>] 646 --.-K/s in 0s
    2009-02-17 19:59:48 (95.4 MB/s) - `wicked-git.tar.gz' saved [646/646]
    [reasons // ~/Desktop/wicked] makepkg
    ==> Determining latest git revision...
    -> Version found: 20090217
    ==> Making package: wicked-git 20090217-1 x86_64 (Tue Feb 17 19:59:50 PST 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Validating source files with md5sums...
    ==> Extracting Sources...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    ==> Connecting to git server....
    Initialized empty Git repository in /home/shawn/Desktop/wicked/src/wicked/.git/
    fatal: The remote end hung up unexpectedly
    ==> GIT checkout done or server timeout
    luac: cannot open /home/shawn/Desktop/wicked/src/wicked/wicked.lua: No such file or d
    irectory
    install: cannot stat `/home/shawn/Desktop/wicked/src/wicked/wicked.lua': No such file
    or directory
    install: cannot stat `/home/shawn/Desktop/wicked/src/wicked/wicked.luac': No such fil
    e or directory
    install: cannot stat `/home/shawn/Desktop/wicked/src/wicked/wicked.7.gz': No such fil
    e or directory
    ==> ERROR: Build Failed.
    Aborting...
    [reasons // ~/Desktop/wicked]

  • [SOLVED] vala-git build fails -- autoconf problems?

    My system is up to date as of today and I have the regular extra/vala 0.16.0-1 installed. When building aur/vala-git with yaourt I get this:
    ==> Starting build...
    Cloning into '/tmp/yaourt-tmp-herman/aur-vala-git/src/vala-build'...
    done.
    autoreconf: Entering directory `.'
    autoreconf: configure.ac: not using Gettext
    autoreconf: running: aclocal -I m4
    autoreconf: configure.ac: tracing
    autoreconf: configure.ac: not using Libtool
    autoreconf: running: /usr/bin/autoconf
    configure.ac:25: error: possibly undefined macro: AC_DISABLE_STATIC
    If this token and others are legitimate, please use m4_pattern_allow.
    See the Autoconf documentation.
    configure.ac:26: error: possibly undefined macro: AC_PROG_LIBTOOL
    autoreconf: /usr/bin/autoconf failed with exit status: 1
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build vala-git.
    ==> Restart building vala-git ? [y/N]
    ==> ---------------------------------
    ==>
    ==> WARNING: Following packages have not been installed:
    vala-git
    The reason I want to install it is that cario-compmgr is also failing to build. Do I need to tweak some PKGBUILD settings or the .install here? These files seems fine. Appreciate your time.
    Solution: install the WHOLE base-devel package
    Last edited by hesse (2012-06-16 22:32:42)

    Don't panic, I don't. Just did not have time before now.
    EDIT: Done. I am still throwing in the towel, though. I was trying to make a gtkmm-git PKGBUILD, because I need the latest gtkmm for development. However for gtkmm-git I needed gtk-git, for which I needed glib-git and pango-git. I successfully (at least it appears so) managed to install glib-git and pango-git, but now I get a linker error with gtk-git and will not spend another day looking for its source. I will just wait until gtkmm-3.1 is released.
    EDIT 2: Alright, it appears there must have been something wrong with my "successfull" installs as well, as I just started a gtk app (Balsa) and it did not have any font, just rectangles for letters. Replacing glib-git and pango-git with their stable counterparts turned everything right again.
    Last edited by Franek (2011-08-23 20:46:47)

  • [SOLVED]mplayer2-git fails compiling

    Hey guys,
    since some time i failed to update my mplayer2 cause the compile failes. Currently i have installed `harfbuzz 20110919-1` and `libass-git 20110918-1`, but mplayer2 uses its own libass. When compiling withut any changes, it hangs on ass_shaper.c:580, cause the harfbuzz function hb_language_from_string takes not 2 parameters, not one. I fixed this by changing 'hb_language_from_string(code);' to 'hb_language_from_string(code, strlen(code));'. But now it fails with some linking stuff, here the output:
    CC stream/audio_in.o
    CC sub/unrar_exec.o
    CC stream/stream_vcd.o
    CC libmpcodecs/ad_libvorbis.o
    CC libmpdemux/demux_ogg.o
    CC libmpcodecs/vd_xanim.o
    CC libmpcodecs/vd_xvid4.o
    CC mplayer
    /tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/build_libs/lib/libass.a(ass_shaper.o): In function `shape_harfbuzz':
    ass_shaper.c:(.text+0x221): undefined reference to `hb_buffer_create'
    ass_shaper.c:(.text+0x2ab): undefined reference to `hb_font_set_scale'
    ass_shaper.c:(.text+0x2cc): undefined reference to `hb_font_set_ppem'
    ass_shaper.c:(.text+0x369): undefined reference to `hb_buffer_pre_allocate'
    ass_shaper.c:(.text+0x381): undefined reference to `hb_buffer_set_direction'
    ass_shaper.c:(.text+0x38e): undefined reference to `hb_buffer_set_language'
    ass_shaper.c:(.text+0x3ad): undefined reference to `hb_buffer_add_utf32'
    ass_shaper.c:(.text+0x3c7): undefined reference to `hb_shape'
    ass_shaper.c:(.text+0x45c): undefined reference to `hb_buffer_get_length'
    ass_shaper.c:(.text+0x468): undefined reference to `hb_buffer_get_glyph_infos'
    ass_shaper.c:(.text+0x475): undefined reference to `hb_buffer_get_glyph_positions'
    ass_shaper.c:(.text+0x5f8): undefined reference to `hb_buffer_destroy'
    ass_shaper.c:(.text+0x63d): undefined reference to `hb_ft_font_create'
    ass_shaper.c:(.text+0x6a4): undefined reference to `hb_font_funcs_create'
    ass_shaper.c:(.text+0x6d6): undefined reference to `hb_font_funcs_set_glyph_func'
    ass_shaper.c:(.text+0x6ec): undefined reference to `hb_font_funcs_set_glyph_h_advance_func'
    ass_shaper.c:(.text+0x702): undefined reference to `hb_font_funcs_set_glyph_v_advance_func'
    ass_shaper.c:(.text+0x718): undefined reference to `hb_font_funcs_set_glyph_h_origin_func'
    ass_shaper.c:(.text+0x72e): undefined reference to `hb_font_funcs_set_glyph_v_origin_func'
    ass_shaper.c:(.text+0x744): undefined reference to `hb_font_funcs_set_glyph_h_kerning_func'
    ass_shaper.c:(.text+0x75a): undefined reference to `hb_font_funcs_set_glyph_v_kerning_func'
    ass_shaper.c:(.text+0x770): undefined reference to `hb_font_funcs_set_glyph_extents_func'
    ass_shaper.c:(.text+0x786): undefined reference to `hb_font_funcs_set_glyph_contour_point_func'
    ass_shaper.c:(.text+0x7a9): undefined reference to `hb_font_set_funcs'
    /tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/build_libs/lib/libass.a(ass_shaper.o): In function `ass_shaper_info':
    ass_shaper.c:(.text+0x895): undefined reference to `hb_version_string'
    /tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/build_libs/lib/libass.a(ass_shaper.o): In function `ass_shaper_font_data_free':
    ass_shaper.c:(.text+0x936): undefined reference to `hb_font_destroy'
    ass_shaper.c:(.text+0x93f): undefined reference to `hb_font_funcs_destroy'
    /tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/build_libs/lib/libass.a(ass_shaper.o): In function `ass_shaper_set_language':
    ass_shaper.c:(.text+0xc62): undefined reference to `hb_language_from_string'
    collect2: ld returned 1 exit status
    make[1]: *** [mplayer] Fehler 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-marko/aur-mplayer2-git/src/mplayer2-build/mplayer'
    make: *** [mplayer] Fehler 2
    ==> FEHLER: Ein Fehler geschah in build().
    Breche ab ...
    ==> ERROR: Makepkg was unable to build mplayer2-git.
    ==> Restart building mplayer2-git ? [y/N]
    ==> -------------------------------------
    ==>
    i tried to include the hb.h from my include-directory inside the ass-shaper.c, but it neither work as to copy the harfbuzz-dir from /usr/include to the include-dir in the mplayer2-build-dir. Obviously mplayer2 uses another source than libass-git, cause it compiles without any problems. Anyone can give me some advise how to fix this thing?
    Greetz Corubba
    Last edited by Corubba (2011-09-22 16:19:21)

    It seems newer libass-git depends on a newer harfbuzz than the libass in mplayer2 can work with. What's more, the libass in mplayer2 doesn't need harfbuzz to function, but the git version does (from what my gentoo system dependencies tell me). I just came across, and fixed (got around) the problem by downgrading libass to a version that doesn't pull in harfbuzz (this was on gentoo). Then the mplayer2 libass never picked up harfbuzz and disabled its functionality.
    A better solution would be to pass --disable-harfbuzz to the libass configure script in mplayer2, then you will not get the compile error. Edit the file script/libass-config, here is a diff.
    --- a/libass-config 2011-09-22 22:26:29.341675565 +0930
    +++ b/libass-config 2011-09-22 22:26:47.086315777 +0930
    @@ -3,8 +3,8 @@
    mydir="$(pwd)"
    if test -f "wrapper_export_version" ; then
    cd "$mydir"/libass
    - ./configure --prefix="$mydir/build_libs" --enable-static --disable-shared
    + ./configure --prefix="$mydir/build_libs" --enable-static --disable-shared --disable-harfbuzz
    else
    cd "$mydir"/libass
    - ./autogen.sh --prefix="$mydir/build_libs" --enable-static --disable-shared
    + ./autogen.sh --prefix="$mydir/build_libs" --enable-static --disable-shared --disable-harfbuzz
    fi
    Hopefully that all works for you. I should report this to the mplayer2 bug tracker (or libass, as it must not do version checking correctly).

  • [SOLVED] qt-git (4.8)

    appmenu-qt needs qt-4.8; but the qt-git in aur compiles only qt-4.7.4. moreover qt-4.8 + calligra has better font rendering in words, tables, etc. (as claimed at osnews' comment);
    could we have qt-git (qt 4.8), please!?
    Last edited by fast_rizwaan (2011-06-30 05:03:48)

    Sevenseven wrote:Hello, pkgbbuild is here http://ompldr.org/iOTh3bg
    Thanks Sevenseven, thanks a lot; but unfortunately qt-git does not bring jre support to rekonq/kwebkit-git and calligra-git does not build with it... So I'd better wait till qt-4.8.0 is released with arch.
    Calligra guys said that the text rendering is good with qt-4.8 and qtwebkit based browsers always claims that qt is responsible for no jre support; but it seems they are avoiding the issue...
    and qt-appmenu does not work either; perhaps whole kde-git has to be build to take advantage of that... bah!

  • [SOLVED] [kernel26zen-git] Unable to build kernel

    Hi!
    I am unable to sucessfully build the kernel26zen-git package.
    I am using the stable version, master branch.
    Error is:
    ==> Building kernel and modules...
    scripts/kconfig/conf -s arch/x86/Kconfig
    CHK include/linux/version.h
    CHK include/generated/utsrelease.h
    CC arch/x86/kernel/asm-offsets.s - due to target missing
    In file included from include/linux/module.h:18:0,
    from include/linux/crypto.h:21,
    from arch/x86/kernel/asm-offsets_64.c:8,
    from arch/x86/kernel/asm-offsets.c:4:
    include/linux/tracepoint.h: In function 'tracepoint_synchronize_unregister':
    include/linux/tracepoint.h:80:2: error: implicit declaration of function 'synchronize_sched'
    make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1
    make: *** [prepare0] Error 2
    ==> ERROR: Failed... Your source tree might be broken. Run 'make mrproper' in src/kernel26zen-stable to clean it up
    Aborting...
    I already tried the "make mrproper", building it without any modifications to "config" and googleing for the problem.
    Anyone got a clue?
    EDIT: Okay, I was searching with the wrong keywords. I searched for
    include/linux/tracepoint.h:80:2: error: implicit declaration of function 'synchronize_sched'
    and found this thread.
    Going to try this out.
    EDIT 2: What can I say? It worked.
    EDIT 3: Another Thread with the solution
    PS: What about this "RCU"? What does it do and why does the "classic RCU" not work?
    Last edited by akurei (2010-10-05 19:39:30)

    ChoK wrote:It seems like you need lib32-jack and the maintainer of lib32-portaudio forgot to add it to makedepends/depends
    Iv'e got lib32-jack already installed. And by reading the comments of the AUR link to the package ( lib32-portaudio ) they supposedly fixed the PKGBUILD too.

  • [Solved in GIT]xmms2 error when trying to play *.wma files

    Hi - I just installed xmms2 and find it to fit my needs pretty well.  I'm not able to make it play wma files though.
    Here's the relevant section from xmms2d.log
    --- Starting new xmms2d ---
    INFO: ../src/xmms/log.c:49: Initialized logging system :)
    08:09:39 INFO: ../src/xmms/ipc.c:874: IPC listening on 'unix:///tmp/xmms-ipc-user'.
    08:09:39 ERROR: ../src/xmms/plugin.c:375: Failed to open plugin /usr/lib/xmms2/libxmms_mpg123.so: libmpg123.so.0: cannot open shared object file: No such file or directory
    08:09:40 ERROR: ../src/xmms/plugin.c:375: Failed to open plugin /usr/lib/xmms2/libxmms_pulse.so: libpulse.so.0: cannot open shared object file: No such file or directory
    08:09:40 ERROR: ../src/xmms/plugin.c:313: Setup function failed for plugin 'DAAP access plugin'!
    params.c:OpenConfFile() - Unable to open configuration file "/home/user/.smb/smb.conf":
    No such file or directory
    params.c:OpenConfFile() - Unable to open configuration file "/home/user/.smb/smb.conf.append":
    No such file or directory
    08:09:41 INFO: ../src/xmms/main.c:563: Using output plugin: alsa
    codec type or id mismatches
    08:10:51 ERROR: ../src/xmms/xform.c:1453: Couldn't set up chain for 'file:///home/user/music/seu+jorge-life+aquatic+soundtrack/02+Life+on+Mars-.wma' (1231)
    08:10:51 ERROR: ../src/xmms/xform.c:1453: Couldn't set up chain for 'file:///home/user/music/seu+jorge-life+aquatic+soundtrack/03+Starman.wma' (1232)
    08:11:17 INFO: ../src/xmms/log.c:55: Logging says bye bye :)
    and the output from pacman -Qi xmms2:
    Name : xmms2
    Version : 0.7DrNo-4
    URL : http://xmms2.xmms.org/
    Licenses : LGPL
    Groups : None
    Provides : None
    Depends On : sqlite3 libmad
    Optional Deps : alsa-lib: ALSA audio output
    boost: C++ language bindings
    curl: play HTTP streams
    faad2: AAC support
    ffmpeg: WMA, avcodec & avformat support
    fftw: calculations for visualization
    flac: FLAC support
    jack-audio-connection-kit: JACK audio output
    libao: liboa audio output
    libofa: MusicDNS fingerprinting
    libmms: play MMS streams
    libmodplug: to play MOD files
    libmpcdec: Musepack support
    libsamplerate: vocoder support
    libshout: Icecast audio output
    libvorbis: Ogg Vorbis support
    libxml2: XSPF and podcast support
    mpg123: alternative MP3 plugin
    oss: OSS audio output
    perl: Perl language bindings
    pulseaudio: PulseAudio audio output
    pyrex: Python language bindings
    ruby: Ruby language bindings
    smbclient: direct CIFS/SMB access
    speex: Speex support
    wavpack: WavPack support
    Required By : ccx2 lxmusic
    Conflicts With : xmms2-devel
    Replaces : None
    Installed Size : 4724.00 K
    Packager : Andrea Scarpino <[email protected]>
    Architecture : i686
    Build Date : Sun 11 Apr 2010 03:16:12 IST
    Install Date : Mon 26 Apr 2010 20:23:53 IST
    Install Reason : Explicitly installed
    Install Script : Yes
    Description : complete rewrite of the popular music player
    I have ffmpeg installed :
    > pacman -Qs | grep ffmpeg
    local/ffmpeg 22837-2
    local/ffmpegthumbnailer 2.0.0-4
    The files in question play wo problems with mplayer and vlc.
    Any ideas ?
    Last edited by choubi (2010-04-28 13:20:25)

    Seems it is an upstream problem - see http://bugs.xmms2.xmms.se/view.php?id=2332
    Think I will wait until they get it fixed.

  • [SOLVED] lib32-libgpg-error and lib32-libgcrypt no longer working

    The Dell 1320c printer requires a workaround of using it with a FujiXerox DocuPrint C525a driver, which only exists for 32bit systems.  In order to get it running, you need to manually copy the files to the proper locations.  With the new upgrade on both of those packages (lib32-libgpg-error and lib32-libgcrypt) the filter file /usr/lib/cups/filters/FXM_PF no longer runs, and complains about "wrong ELFCLASS64", which I take it to mean it's not recognizing/finding the lib32 packages.  I've since downgraded and added the packages to the IgnorePkg array in pacman.conf, but I wanted to point it out to anyone who may have the same issue, or in case it was an error with the generation of the packages.  Or is there simply a dependency that hasn't yet been updated?
    *EDIT* Thanks to Wonder for fixing it (or letting us know it was fixed)!
    Last edited by lswest (2010-06-02 20:14:43)

    Kirurgs wrote:Exactly the same error with Lotus Notes. Dowgrading package solves the problem.
    New packages are couple of bytes in size, which is waaaay smaller than previous versions.
    Smart thinking, I didn't think to check the size of the packages.  Same thing here, lib32-libgcrypt is 4Kb vs 240Kb (working package), and lib32-libgpg-error is 4Kb vs 8Kb (working package).  For the lib32-libgpg-error it might be due to the new compression format, but I doubt that.  I doubt very much that .xz compression can result in a change of 1/60th the original size for lib32-libgcrypt.
    Last edited by lswest (2010-06-02 15:30:55)

Maybe you are looking for

  • Auto flagging of low resolution links

    Hello again In a large document with many links, is there an indesign trick to detect or flag all the image blocks which are below a specific effective dpi (not actual dpi) resolution? That would be great as a reminder for the pages which are not pro

  • How to access storage link?!?

    Hello All, Well, I'm trying to access the storage link option on my WRT600N router without any luck!! i would really appreciate this if someone could tell me how to do it from the first step (choosing partition-should it be one letter only?-->display

  • Photos disappear from camera roll

    After taking photos & videos i can view them on Camera Roll. However, when I next open camera roll they have all disappeared. This only started happening 5 weeks ago. Earlier photos are still on Camera Roll. This is very frustrating. Any ideas out th

  • So out of nowhere my computer gets all these strange problems... Headache

    Recently, after having my computer problem-free for quite some time now since the day I bought it, I'm starting to have problems with my Mac. Out of nowhere really, I'm getting several seemingly random problems I'll just go ahead and list: - iTunes w

  • How to check my usage (data size) of Oracle XE?

    The maximum is 4G, right? How can I know how much there is left, from sqlplus? Thanks so much! Also, if I use up the space, can I back up my DB and empty it for future use?