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)

Similar Messages

  • [SOLVED] l2tp-ipsec-vpn-daemon from AUR fails to build

    Please let me know if there are other details that require posting:-
    ==> Starting build()...
    /usr/bin/qmake -o qttmp-Release.mk -after "OBJECTS_DIR=build/Release" "DESTDIR=dist/Release" nbproject/qt-Release.pro
    mv -f qttmp-Release.mk nbproject/qt-Release.mk
    make -f nbproject/qt-Release.mk dist/Release/L2tpIPsecVpnControlDaemon
    make[1]: Entering directory '/tmp/yaourt-tmp-nimda/aur-l2tp-ipsec-vpn-daemon/src/l2tp-ipsec-vpn-daemon'
    g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -Inbproject -isystem /usr/include/qt -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -Isrc/generated -I. -o build/Release/main.o src/main.cpp
    g++ -c -pipe -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I/usr/lib/qt/mkspecs/linux-g++ -Inbproject -isystem /usr/include/qt -isystem /usr/include/qt/QtNetwork -isystem /usr/include/qt/QtCore -Isrc/generated -I. -o build/Release/VpnClientConnection.o src/VpnClientConnection.cpp
    src/VpnClientConnection.cpp: In member function 'void VpnClientConnection::readyRead()':
    src/VpnClientConnection.cpp:133:99: error: 'class QString' has no member named 'toAscii'
    ::syslog(LOG_DEBUG|LOG_DAEMON, "Executing command %s", m_strActiveCommand.toAscii().constData());
    ^
    src/VpnClientConnection.cpp:140:75: error: 'class QString' has no member named 'toAscii'
    if (COMMANDS[iCommand].pPipe->write(strCommand.toAscii().constData()) == strCommand.length())
    ^
    src/VpnClientConnection.cpp:159:63: error: 'class QString' has no member named 'toAscii'
    if (::mkfifo(strCommandParts[1].toAscii().constData(), DEFFILEMODE) == 0)
    ^
    src/VpnClientConnection.cpp:161:84: error: 'class QString' has no member named 'toAscii'
    const int iChmodResult(::chmod(strCommandParts[1].toAscii().constData(), DEFFILEMODE));
    ^
    src/VpnClientConnection.cpp:168:87: error: 'class QString' has no member named 'toAscii'
    const int iChownResult(::chown(strCommandParts[1].toAscii().constData(), pPwdInfo->pw_uid, pPwdInfo->pw_gid));
    ^
    src/VpnClientConnection.cpp:193:77: error: 'const class QString' has no member named 'toAscii'
    if (COMMANDS[iCommand].pPipe->write(str.toAscii().constData()) != str.length())
    ^
    src/VpnClientConnection.cpp: In member function 'void VpnClientConnection::onCommandError(QProcess::ProcessError)':
    src/VpnClientConnection.cpp:250:96: error: 'class QString' has no member named 'toAscii'
    ::syslog(LOG_DEBUG|LOG_DAEMON, "Command %s finished with error code %d", m_strActiveCommand.toAscii().constData(), ERR_COMMAND_FAILED_TO_START + iError);
    ^
    src/VpnClientConnection.cpp: In member function 'void VpnClientConnection::onCommandFinished(int)':
    src/VpnClientConnection.cpp:257:95: error: 'class QString' has no member named 'toAscii'
    ::syslog(LOG_DEBUG|LOG_DAEMON, "Command %s finished with exit code %d", m_strActiveCommand.toAscii().constData(), iExitCode);
    ^
    src/VpnClientConnection.cpp: In member function 'bool VpnClientConnection::send(VpnClientConnection::ResponseType, VpnClientConnection::ResponseResult, const QString&)':
    src/VpnClientConnection.cpp:268:118: error: 'const class QString' has no member named 'toAscii'
    m_pSocket->write((QString::number(responseType) + " " + QString::number(resultCode) + " " + strCommand + '\n').toAscii().constData());
    ^
    src/VpnClientConnection.cpp: In member function 'bool VpnClientConnection::send(VpnClientConnection::ResponseType, VpnClientConnection::ResponseInformation)':
    src/VpnClientConnection.cpp:281:108: error: 'const class QString' has no member named 'toAscii'
    m_pSocket->write((QString::number(responseType) + " " + QString::number(responseInformation) + '\n').toAscii().constData());
    ^
    src/VpnClientConnection.cpp: In member function 'bool VpnClientConnection::send(VpnClientConnection::ResponseType, const QString&)':
    src/VpnClientConnection.cpp:294:78: error: 'const class QString' has no member named 'toAscii'
    m_pSocket->write((QString::number(responseType) + " " + strOutputline).toAscii().constData());
    ^
    nbproject/qt-Release.mk:319: recipe for target 'build/Release/VpnClientConnection.o' failed
    make[1]: *** [build/Release/VpnClientConnection.o] Error 1
    make[1]: Leaving directory '/tmp/yaourt-tmp-nimda/aur-l2tp-ipsec-vpn-daemon/src/l2tp-ipsec-vpn-daemon'
    Makefile:62: recipe for target 'build' failed
    make: *** [build] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    ==> ERROR: Makepkg was unable to build l2tp-ipsec-vpn-daemon.
    Last edited by n1md4 (2014-06-06 09:47:25)

    Have you tried 0.9.9-2 from the comments: https://aur.archlinux.org/packages/l2tp … pn-daemon/ ?

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

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

  • Sage-mathematics from AUR fails to build

    Anyone have any ideas why eclib shared libraries failed to build. I'd like to get the program running quickly, as I'm using it for college. On an unrelated note, why hasn't it remained in the repos? Its takes quite a long time to build. Let me know if anything else will help.
    [duke@cii ~]$ cd '/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0' && '/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/sage' -sh
    Starting subshell with Sage environment variables set.
    Be sure to exit when you are done and do not do anything
    with other copies of Sage!
    Bypassing shell configuration files ...
    SAGE_ROOT=/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8
    (sage subshell) cii:eclib-20100711.p0 duke$ make
    make: *** No targets specified and no makefile found. Stop.
    SAGE_ROOT=/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8
    (sage subshell) cii:eclib-20100711.p0 duke$ ./configure
    bash: ./configure: No such file or directory
    SAGE_ROOT=/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8
    (sage subshell) cii:eclib-20100711.p0 duke$ ls
    spkg-check spkg-install SPKG.txt src
    SAGE_ROOT=/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8
    (sage subshell) cii:eclib-20100711.p0 duke$ ./spkg-install
    Deleting old versions of eclib libraries, which
    would interfere with new builds.
    rm: cannot remove `libcurvesntl.*': No such file or directory
    rm: cannot remove `libg0nntl.*': No such file or directory
    rm: cannot remove `libjcntl.*': No such file or directory
    rm: cannot remove `librankntl.*': No such file or directory
    rm: cannot remove `libmwrank.*': No such file or directory
    Deleting old include directory
    mkdir -p include
    mkdir -p lib
    cd procs && make lib install
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/procs'
    Makefile:92: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:95: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:108: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    ar r libjcntl.a interface_n.o arith_n.o marith_n.o gpslave_n.o conic_n.o legendre_n.o unimod_n.o quadratic_n.o cubic_n.o illl_n.o hilbert_n.o parifact_n.o p2points_n.o compproc_n.o kbessel_n.o vector_n.o matrix_n.o subspace_n.o mvector_n.o mmatrix_n.o msubspace_n.o xsplit2_n.o timer_n.o svector_n.o smatrix_n.o smatrix_elim_n.o polys_n.o realroots_n.o gf_n.o
    ranlib libjcntl.a
    chmod a+r *
    (cd ../include; rm -f interface.h templates.h arith.h xmod.h marith.h gpslave.h compproc.h vec.h vector.h mat.h matrix.h sub.h subspace.h rat.h bigrat.h kbessel.h svec.h svector.h smat.h smatrix.h smat_elim.h smatrix_elim.h mvector.h mmatrix.h msubspace.h method.h splitbase.h xsplit.h conic.h legendre.h quadratic.h unimod.h illl.h hilbert.h timer.h cubic.h gf.h polys.h realroots.h parifact.h p2points.h)
    cp -p interface.h templates.h arith.h xmod.h marith.h gpslave.h compproc.h vec.h vector.h mat.h matrix.h sub.h subspace.h rat.h bigrat.h kbessel.h svec.h svector.h smat.h smatrix.h smat_elim.h smatrix_elim.h mvector.h mmatrix.h msubspace.h method.h splitbase.h xsplit.h conic.h legendre.h quadratic.h unimod.h illl.h hilbert.h timer.h cubic.h gf.h polys.h realroots.h parifact.h p2points.h ../include
    chmod a+r ../include/*.h
    rm -f ../lib/libjcntl.a
    ar r ../lib/libjcntl.a interface_n.o arith_n.o marith_n.o gpslave_n.o conic_n.o legendre_n.o unimod_n.o quadratic_n.o cubic_n.o illl_n.o hilbert_n.o parifact_n.o p2points_n.o compproc_n.o kbessel_n.o vector_n.o matrix_n.o subspace_n.o mvector_n.o mmatrix_n.o msubspace_n.o xsplit2_n.o timer_n.o svector_n.o smatrix_n.o smatrix_elim_n.o polys_n.o realroots_n.o gf_n.o
    ar: creating ../lib/libjcntl.a
    ranlib ../lib/libjcntl.a
    chmod a+rx ../lib/libjcntl.a
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/procs'
    cd qcurves && make lib install
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qcurves'
    Makefile:123: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:126: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:134: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    make[1]: Nothing to be done for `lib'.
    (cd ../include; rm -f curve.h points.h cperiods.h isogs.h reader.h mwprocs.h lambda.h sifter.h sieve_search.h htconst.h egr.h saturate.h divpol.h pointsmod.h curvemod.h ffmod.h tlss.h elog.h getcurve.h )
    for f in curve.h points.h cperiods.h isogs.h reader.h mwprocs.h lambda.h sifter.h sieve_search.h htconst.h egr.h saturate.h divpol.h pointsmod.h curvemod.h ffmod.h tlss.h elog.h getcurve.h ; \
    do cp ${f} ../include; \
    done
    chmod a+r ../include/*
    rm -f ../lib/libcurvesntl.a
    cp libcurvesntl.a ../lib
    chmod a+rx ../lib/libcurvesntl.a
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qcurves'
    cd qrank && make lib install
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qrank'
    Makefile:78: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:122: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:146: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    rm -f librankntl.a
    ar r librankntl.a mrank1_n.o mrank2_n.o mequiv_n.o mquartic_n.o mlocsol_n.o mglobsol_n.o qc_n.o sqfdiv_n.o desc2_n.o transform_n.o minim_n.o reduce_n.o bitspace_n.o GetOpt_n.o twoadic_n.o descent_n.o
    ar: creating librankntl.a
    ranlib librankntl.a
    (cd ../include; rm -f mrank2.h mequiv.h mlocsol.h mglobsol.h msoluble.h mquartic.h mrank1.h qc.h sqfdiv.h version.h minim.h reduce.h transform.h desc2.h bitspace.h options.h GetOpt.h twoadic.h descent.h)
    for f in mrank2.h mequiv.h mlocsol.h mglobsol.h msoluble.h mquartic.h mrank1.h qc.h sqfdiv.h version.h minim.h reduce.h transform.h desc2.h bitspace.h options.h GetOpt.h twoadic.h descent.h; \
    do cp ${f} ../include; \
    done
    chmod a+r ../include/*
    rm -f ../lib/librankntl.a
    cp librankntl.a ../lib
    chmod a+rx ../lib/librankntl.a
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qrank'
    cd g0n && make lib install
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/g0n'
    Makefile:115: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:118: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:121: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    make[1]: Nothing to be done for `lib'.
    (cd ../include; rm -f periods.h cusp.h homspace.h newforms.h nflist.h moddata.h oldforms.h symb.h fixc6.h pcprocs.h)
    for f in periods.h cusp.h homspace.h newforms.h nflist.h moddata.h oldforms.h symb.h fixc6.h pcprocs.h; \
    do cp ${f} ../include; \
    done
    chmod a+r ../include/*
    rm -f ../lib/libg0nntl.a
    cp libg0nntl.a ../lib
    chmod a+rx ../lib/libg0nntl.a
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/g0n'
    cd procs && make install_so && make tests progs
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/procs'
    Makefile:92: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:95: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:108: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    g++ -fPIC --shared libjcntl.a interface_n.o arith_n.o marith_n.o gpslave_n.o conic_n.o legendre_n.o unimod_n.o quadratic_n.o cubic_n.o illl_n.o hilbert_n.o parifact_n.o p2points_n.o compproc_n.o kbessel_n.o vector_n.o matrix_n.o subspace_n.o mvector_n.o mmatrix_n.o msubspace_n.o xsplit2_n.o timer_n.o svector_n.o smatrix_n.o smatrix_elim_n.o polys_n.o realroots_n.o gf_n.o -o libjcntl.so -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -lgmp -lpari -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -lgmp -lpari -lm
    cp libjcntl.so ../lib/
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/procs'
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/procs'
    Makefile:92: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:95: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:108: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    make[1]: Nothing to be done for `tests'.
    make[1]: Nothing to be done for `progs'.
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/procs'
    cd qcurves && make install_so && make tests progs
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qcurves'
    Makefile:123: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:126: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:134: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    cp libcurvesntl.so ../lib/
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qcurves'
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qcurves'
    Makefile:123: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:126: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:134: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    make[1]: Nothing to be done for `tests'.
    g++ -o ./torsion torsion_n.o libcurvesntl.a -ljcntl -L../lib -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lm
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include conductor.cc -o conductor_n.o
    g++ -o ./conductor conductor_n.o libcurvesntl.a -ljcntl -L../lib -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lm
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include twist.cc -o twist_n.o
    g++ -o ./twist twist_n.o libcurvesntl.a -ljcntl -L../lib -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lm
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include allisog.cc -o allisog_n.o
    g++ -o ./allisog allisog_n.o libcurvesntl.a -ljcntl -L../lib -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lm
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include findinf.cc -o findinf_n.o
    g++ -o ./findinf findinf_n.o libcurvesntl.a -ljcntl -L../lib -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lm
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include indep.cc -o indep_n.o
    g++ -o ./indep indep_n.o libcurvesntl.a -ljcntl -L../lib -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lm
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qcurves'
    cd qrank && make install_so && make tests progs
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qrank'
    Makefile:78: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:122: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:146: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    g++ -fPIC --shared librankntl.a mrank1_n.o mrank2_n.o mequiv_n.o mquartic_n.o mlocsol_n.o mglobsol_n.o qc_n.o sqfdiv_n.o desc2_n.o transform_n.o minim_n.o reduce_n.o bitspace_n.o GetOpt_n.o twoadic_n.o descent_n.o -o librankntl.so -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -L../lib -lcurvesntl -ljcntl -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lpari -lm
    cp librankntl.so ../lib/
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qrank'
    make[1]: Entering directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qrank'
    Makefile:78: warning: overriding recipe for target `clean'
    ../Makefile:76: warning: ignoring old recipe for target `clean'
    Makefile:122: warning: overriding recipe for target `veryclean'
    ../Makefile:84: warning: ignoring old recipe for target `veryclean'
    Makefile:146: warning: overriding recipe for target `check'
    ../Makefile:95: warning: ignoring old recipe for target `check'
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include version.cc -o version_n.o
    g++ -c -fPIC -g -O2 -DNEW_OP_ORDER -DUSE_PARI_FACTORING -I../include -DNTL_ALL -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include -I/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/include mwrank.cc -o mwrank_n.o
    chmod og+r *
    g++ -o mwrank version_n.o mwrank_n.o descent_n.o mrank1_n.o mrank2_n.o mequiv_n.o mquartic_n.o \
    mlocsol_n.o mglobsol_n.o qc_n.o sqfdiv_n.o desc2_n.o \
    transform_n.o minim_n.o reduce_n.o bitspace_n.o GetOpt_n.o twoadic_n.o \
    -L../lib -lcurvesntl -ljcntl -lpari -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -L/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/local/lib -lntl -L../lib -lgmp -lpari -lpari -lm
    collect2: ld returned 1 exit status
    make[1]: *** [mwrank] Error 1
    make[1]: Leaving directory `/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8/spkg/build/eclib-20100711.p0/src/qrank'
    make: *** [so] Error 2
    Error building eclib shared libraries
    SAGE_ROOT=/tmp/yaourt-tmp-duke/aur-sage-mathematics/src/sage-4.8

    I'm getting something slightly different when I try to build this package. They all seem to be the same as this, except with different function names.
    error: ‘mulColDense’ was not declared in this scope, and no declarations were found by argument-dependent lookup at the point of instantiation [-fpermissive]
    Does anyone have any ideas on how to remedy this?

  • Lancelot from aur fails to build

    I tried installing the lancelot menu from the AUR and it fails at compile time. Here's the output. http://pastie.org/436602
    this seems to be the only place to get the lancelot menu, as kdemod dropped it from their repositories.

    theringmaster wrote:
    I tried installing the lancelot menu from the AUR and it fails at compile time. Here's the output. http://pastie.org/436602
    this seems to be the only place to get the lancelot menu, as kdemod dropped it from their repositories.
    The error message mentions that the FindPlasma.cmake has been deprecated. You can go in and change all the constant values that it asks you to change and see if it will successfully build. The other thing you could do is, wait until the maintainer of the app fixes it.

  • [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)

  • Enemylines3 from AUR doesn't build

    Hi everyone,
    I tried building enemylines3 from AUR and it stops building with the following error:
    hiscore.cc:4:24: fatal error: curl/types.h: No such file or directory
    compilation terminated.
    The file /usr/include/curl/types.h is indeed missing on my up-to-date system. As I'm not that much into programming to fix the code with the file missing I just wrote a patch to remove the curl dependency alltogether.
    diff -urB enemylines3-1.2/hiscore.cc enemylines3-1.2-patched/hiscore.cc
    --- enemylines3-1.2/hiscore.cc 2006-03-30 18:16:47.000000000 +0200
    +++ enemylines3-1.2-patched/hiscore.cc 2013-03-02 12:34:29.618621436 +0100
    @@ -1,4 +1,5 @@
    #include <sstream>
    +#define NOCURL
    #ifndef NOCURL
    #include <curl/curl.h>
    #include <curl/types.h>
    and updated the PKGBUILD file accordingly
    pkgname=enemylines3
    pkgver=1.2
    pkgrel=1
    pkgdesc="Semi-abstract first person 3d-shooter game."
    arch=('i686' 'x86_64')
    url="http://proj.phk.at/el/3/"
    license=('GPL')
    depends=('sdl' 'sdl_mixer' 'sdl_ttf')
    makedepends=()
    provides=()
    conflicts=()
    replaces=()
    backup=()
    options=()
    install=
    source=(http://proj.phk.at/el/3/$pkgname-$pkgver.tar.bz2
    enemylines_gcc43.patch
    enemylines3_rmcurldep.patch)
    noextract=()
    md5sums=('aa9538749df25bc967195fefe1439791'
    'd35dfc6f66bbed7d0c936da15b945d64'
    'cd6c20ae8a971fdfaa247c7eb808f4f9' )
    build() {
    cd "$srcdir"
    patch -p0 -i enemylines_gcc43.patch || return 1
    patch -p0 -i enemylines3_rmcurldep.patch || return 1
    cd "$pkgname-$pkgver"
    make || return 1
    make DESTDIR="$pkgdir/usr" install
    # vim:set ts=2 sw=2 et:
    Now it builds fine but of course without the hiscore functionality (which I don't need).
    What should I/we do now? Of course it makes no sense to have a broken package in the AUR but on the other hand some users probably want the hiscore functionality. Is there anyone willing to write another patch to make it work again or is it even an error in the curl package (why is the file missing?).

    http://projects.springlobby.info/issues/1575
    https://wiki.openstreetmap.org/wiki/Talk:Gosmore
    https://bugs.archlinux.org/task/27094
    curl/types.h is deprecated by curl devs and seems to be removed completely since curl version 7.21.7 .
    using sed to replace curl/types.h with curl/curl.h seems like it's worth a try.

  • 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] rt3090 driver from AUR won't build

    Here is the output from makepkg -si from the relevant directory:
    [imran@arch rt3090]$ makepkg -si
    ==> Making package: rt3090 2.4.0.4-1 (Tue Apr 2 23:39:55 AST 2013)
    ==> Checking runtime dependencies...
    ==> Checking buildtime dependencies...
    ==> Retrieving Sources...
    -> Downloading 2010_1217_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO.zip...
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    100 972k 100 972k 0 0 177k 0 0:00:05 0:00:05 --:--:-- 239k
    -> Found config.mk.new
    -> Found Makefile.new
    ==> Validating source files with md5sums...
    2010_1217_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO.zip ... Passed
    config.mk.new ... Passed
    Makefile.new ... Passed
    ==> Extracting Sources...
    -> Extracting 2010_1217_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO.zip with bsdtar
    ==> Starting build()...
    make -C tools
    make[1]: Entering directory `/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/tools'
    gcc -g bin2h.c -o bin2h
    make[1]: Leaving directory `/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/tools'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/tools/bin2h
    cp -f os/linux/Makefile.6 /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/Makefile
    make -C /lib/modules/3.8.4-1-ARCH/build SUBDIRS=/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux modules
    make[1]: Entering directory `/usr/src/linux-3.8.4-1-ARCH'
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_md5.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_sha2.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_hmac.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_aes.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_arc4.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c: In function 'MlmeResetRalinkCounters':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c:870:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c:870:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c: In function 'BssTableSetEntry':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c:5822:39: warning: operation on 'Tab->BssOverlapNr' may be undefined [-Wsequence-point]
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_wep.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/action.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_data.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_init.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_tkip.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_aes.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_sync.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/eeprom.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_sanity.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_info.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_cfg.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_wpa.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/dfs.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/spectrum.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/spectrum.c: In function 'PeerMeasureReportAction':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/spectrum.c:1966:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat]
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_timer.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rt_channel.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_profile.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_asic.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_cmd.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/assoc.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/auth.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/auth_rsp.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/sync.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/sanity.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/rtmp_data.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/connect.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/wpa.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/ags.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/sta_cfg.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_init_inf.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_profile.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/sta_ioctl.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'duplicate_pkt':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:484:3: warning: passing argument 1 of 'memmove' makes pointer from integer without a cast [enabled by default]
    In file included from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string.h:4:0,
    from include/linux/string.h:17,
    from include/linux/bitmap.h:8,
    from include/linux/cpumask.h:11,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/cpumask.h:4,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/msr.h:10,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/processor.h:20,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/thread_info.h:22,
    from include/linux/thread_info.h:54,
    from include/linux/preempt.h:9,
    from include/linux/spinlock.h:50,
    from include/linux/seqlock.h:29,
    from include/linux/time.h:5,
    from include/linux/stat.h:18,
    from include/linux/module.h:10,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/os/rt_linux.h:31,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rtmp_os.h:32,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rt_config.h:62,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:28:
    /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string_64.h:58:7: note: expected 'void *' but argument is of type 'sk_buff_data_t'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:486:3: warning: passing argument 1 of 'memmove' makes pointer from integer without a cast [enabled by default]
    In file included from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string.h:4:0,
    from include/linux/string.h:17,
    from include/linux/bitmap.h:8,
    from include/linux/cpumask.h:11,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/cpumask.h:4,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/msr.h:10,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/processor.h:20,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/thread_info.h:22,
    from include/linux/thread_info.h:54,
    from include/linux/preempt.h:9,
    from include/linux/spinlock.h:50,
    from include/linux/seqlock.h:29,
    from include/linux/time.h:5,
    from include/linux/stat.h:18,
    from include/linux/module.h:10,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/os/rt_linux.h:31,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rtmp_os.h:32,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rt_config.h:62,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:28:
    /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string_64.h:58:7: note: expected 'void *' but argument is of type 'sk_buff_data_t'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'ClonePacket':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:636:23: warning: assignment makes integer from pointer without a cast [enabled by default]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'update_os_packet_info':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:658:15: warning: assignment makes integer from pointer without a cast [enabled by default]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'wlan_802_11_to_802_3_packet':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:679:15: warning: assignment makes integer from pointer without a cast [enabled by default]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'send_monitor_packets':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:952:9: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevDetach':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:1701:38: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevAttach':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:1738:38: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_main_dev.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_main_dev.c: In function 'MainVirtualIF_close':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_main_dev.c:121:13: warning: unused variable 'Cancelled' [-Wunused-variable]
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ba_action.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ba_action.c: In function 'convert_reordering_packet_to_preAMSDU_or_802_3_packet':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ba_action.c:1568:2: warning: assignment makes integer from pointer without a cast [enabled by default]
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_mac_pci.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_data_pci.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ee_prom.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ee_efuse.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c: In function 'RtmpAsicLoadFirmware':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:352:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:355:2: warning: passing argument 1 of 'writel' makes integer from pointer without a cast [enabled by default]
    In file included from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/realmode.h:5:0,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/acpi.h:32,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/fixmap.h:19,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/apic.h:12,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/smp.h:13,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/mmzone_64.h:10,
    from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/mmzone.h:4,
    from include/linux/mmzone.h:909,
    from include/linux/gfp.h:4,
    from include/linux/kmod.h:22,
    from include/linux/module.h:13,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/os/rt_linux.h:31,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rtmp_os.h:32,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rt_config.h:62,
    from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:28:
    /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/io.h:63:1: note: expected 'unsigned int' but argument is of type 'ULONG *'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:356:2: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ULONG' [-Wformat]
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../chips/rt30xx.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rt_rf.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../chips/rt3090.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_pci_rbus.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_rbus_pci_util.o
    CC [M] /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.o
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:37:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_remove_one'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:38:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_probe'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:60:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__devinitdata'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:87:17: error: 'rt2860_pci_tbl' undeclared here (not in a function)
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:88:17: error: 'rt2860_probe' undeclared here (not in a function)
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:90:5: error: implicit declaration of function '__devexit_p' [-Werror=implicit-function-declaration]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:90:29: error: 'rt2860_remove_one' undeclared here (not in a function)
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:283:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_probe'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:449:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_remove_one'
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c: In function 'RTMPrt3xSetPCIePowerLinkCtrl':
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:941:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:974:5: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:986:5: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:949:11: warning: unused variable 'vendor_id' [-Wunused-variable]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:1000:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'ULONG' [-Wformat]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:1027:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:934:8: warning: unused variable 'offset' [-Wunused-variable]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:933:8: warning: unused variable 'Vendor' [-Wunused-variable]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c: At top level:
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:514:14: warning: 'RTMPInitPCIeDevice' defined but not used [-Wunused-function]
    /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:73:1: error: '__mod_pci_device_table' aliased to undefined symbol 'rt2860_pci_tbl'
    cc1: some warnings being treated as errors
    make[2]: *** [/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.o] Error 1
    make[1]: *** [_module_/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux] Error 2
    make[1]: Leaving directory `/usr/src/linux-3.8.4-1-ARCH'
    make: *** [LINUX] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    Last edited by TwoFlower (2013-07-09 07:21:31)

    sudo modprobe rt2800pci
    solves the problem for me.

  • LCD Brightness, sony_acpi from aur won't build

    I'm using a Sony VAIO vgn-sz430n, and the Fn keys won't work to change the brightness. I'm not so concerned about the Fn keys, for I've seen tons of documentation to get those working with xbindkeys, xmonad, openbox, etc. and I will worry about that later.
    Most importantly, I cannot change the screen brightness. Xbacklight does not do anything, laptop-mode-tools and gnome/xfce4-power-manager do nothing. The screen brightness is always at the maximum.
    I have an nvidia Geforce Go 7400 card with the proprietary nvidia driver
    I read that I need the sony_acpi module, and I've been trying to install it from the AUR, but I get errors and I don't know what to do. I've tried with yaourt and manually. Here are the results from yaourt:
    ==> Building and installing package
    ==> Making package: sony_acpi 1-1 i686 (Sun Jun 14 14:56:12 CDT 2009)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    -> Found sony_acpi.tar.gz in build dir
    ==> Validating source files with md5sums...
    sony_acpi.tar.gz ... Passed
    ==> Extracting Sources...
    -> bsdtar -x -f sony_acpi.tar.gz
    ==> Removing existing pkg/ directory...
    ==> Entering fakeroot environment...
    ==> Starting build()...
    make -C /lib/modules/2.6.29-ARCH/build SUBDIRS=/tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi modules
    make[1]: Entering directory `/usr/src/linux-2.6.29-ARCH'
    CC [M] /tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.o
    /tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c:55: warning: initialization from incompatible pointer type
    /tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c: In function 'sony_walk_callback':
    /tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c:253: error: dereferencing pointer to incomplete type
    /tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c:255: error: dereferencing pointer to incomplete type
    /tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c:256: error: dereferencing pointer to incomplete type
    /tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c: In function 'sony_acpi_add':
    /tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.c:269: error: lvalue required as left operand of assignment
    make[2]: *** [/tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi/sony_acpi.o] Error 1
    make[1]: *** [_module_/tmp/yaourt-tmp-agi/aur-sony_acpi/sony_acpi/src/sony_acpi] Error 2
    make[1]: Leaving directory `/usr/src/linux-2.6.29-ARCH'
    make: *** [default] Error 2
    ==> ERROR: Build Failed.
    Aborting...
    Error: Makepkg was unable to build sony_acpi package.
    The strange thing is this works in other distributions, such as Ubuntu. If I fired up a live cd and tested out my Fn keys, the brightness would change and there would be an on screen display for feedback.
    What is Ubuntu doing, specifically, that Arch is not doing? Is there any way I could load an ubuntu live cd and then find what files/programs/modules/whatever are in place that allow brightness changes? Does anyone know this offhand?
    Help!

    I have Sony Vaio VGN-FZ38M with Nvidia 8400M GT. I used package 'nvclock' (it is in repo) to control lcd brightness, here site with more info: NVClock.  Some time ago I also configured Fn keys to work with it (on Ubuntu), but on Arch I didn't  manged but I didn't try hard (in general i don't need, my laptop is stationary all the time). Solution I've found somwehere in Ubuntu forums.
    edit: typo in address
    edit2:
    here's the solution from Ubuntu: http://newyork.ubuntuforums.org/showthr … ?t=1004568
    Last edited by folletto (2009-06-14 20:58:56)

  • Error installing ruby-json from AUR

    Hey guys,
    I'm getting an error installing the ruby-json AUR package with yaourt. Here's the error https://gist.github.com/EvanPurkhiser/5409110
    I checked the directory pkg directory and it has 000 permissions =/ Changing the permissions doesn't seem to fix it as it just resets them back to 000 next time i try to install it
    Also, would this be a better to report this in the package comments instead of asking here?
    Last edited by EvanPurkhiser (2013-04-18 01:47:22)

    Scimmia wrote:Yes, it is better to notify the package maintainer. The problem is that $pkgdir is inaccessable from the build function.
    Technically that is not the problem, the problem is that the PKGBUILD was doing bad things in build(), which makepkg will now refuse 

  • [SOLVED]yaourt wants to build dependencies from AUR

    Hi,
    I've installed kdemod4... the only problem is that yaourt wants ti install all the dependences of the package(s) i've choose from aur, altough dependencies are present in extra (correct version). How can i solve this??
    An example is:
    cairo-lcd: i have to build all the dependencies from aur, like libpng,etc; but i see from PKGBUILD that the version that needs cairo-lcd is present in extra repository...
    thanks in advance
    Last edited by chesterfork (2009-07-13 10:07:26)

    ..i'm running kdemod 4 x86_64...so if i try install everything using yaourt the dependencies are shown in this way:
    ==> lib32-cairo-lcd dependencies:
    - lib32-gcc-libs (building from AUR)
    - lib32-libpng (building from AUR)
    - lib32-libxrender (building from AUR)
    - lib32-fontconfig (building from AUR)
    - lib32-pixman (building from AUR)
    - lib32-xcb-util (building from AUR)
    if it could help i found this:
    chesterfork ~ $ yaourt -S lib32-cairo
    lib32-cairo not found on AUR
    Packages that were installed as dependencies but are no longer required by any installed package:
    error:
    what about the error? it's a blank line.... i checked yaourtrc in /etc but it seems ok..
    It's happen even if i have these packages installed (and checking in pkg build they have are the same version). EVERYTIME yaourt shows that; cairo, cairo-lcd, bin32-skype-lib32-cairo-lcd....eveything i tried it needs dependencies from aur ONLY. That's the problem....there is a solution??

  • [SOLVED] install package from aur via yaourt

    Hi,
    i installed yaourt and tried to install from the aur.
    it keeps asking me to continue bulding and then restart building. it just wont install any packages.
    for none-aur packages it works fine btw.
    any help?
    alex
    Last edited by alext (2011-10-11 23:13:53)

    me too and it didnt.
    [xxx@xxx pcmanfm-mod]$ yaourt ntfs-config
    1 aur/ntfs-config 1.0.1-7 (200)
    Enable/disable NTFS write support with a simple click
    ==> Enter n° of packages to be installed (ex: 1 2 3 or 1-3)
    ==> -------------------------------------------------------
    ==> 1
    ==> Downloading ntfs-config PKGBUILD from AUR...
    x PKGBUILD
    x python-2.7.patch
    Comment by: loleg on Sat, 25 Jun 2011 10:07:14 +0000
    Compiles installs OK using yaourt, however does not work on my up-to-date system with the issue discussed here: http://ubuntuforums.org/archive/index.php/t-1497399.html
    Comment by: jlcordeiro on Mon, 27 Jun 2011 08:56:12 +0000
    Can you check if:
    sudo mkdir /etc/hal/fdi
    sudo touch /etc/hal/fdi/policy
    solves the problem?
    Comment by: mr430 on Tue, 04 Oct 2011 15:56:44 +0000
    jlcordeiro, same problem and making /etc/hal/fdi directory solve it, thanks
    Comment by: jlcordeiro on Sat, 08 Oct 2011 08:17:08 +0000
    Updated with the solution to the mentioned problem.
    Comment by: archdria on Tue, 11 Oct 2011 12:04:43 +0000
    Please, add perl-xml-parser as makedep :)
    Comment by: jlcordeiro on Tue, 11 Oct 2011 21:36:05 +0000
    Done. Thank you :)
    First Submitted: Fri, 19 Jan 2007 21:10:44 +0000
    ntfs-config 1.0.1-7
    ( Unsupported package: Potentially dangerous ! )
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> ntfs-config dependencies:
    - python2 (already installed)
    - pygtk (already installed)
    - udev (already installed)
    - ntfs-3g (already installed)
    - perl-xml-parser (already installed)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'core' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'extra' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community-testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'multilib' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    ==> Continue building ntfs-config ? [Y/n]
    ==> -------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for ntfs-config:
    Password:
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'core' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'extra' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community-testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'multilib' not recognized.
    error: target not found: recognized.
    ==> Restart building ntfs-config ? [y/N]
    ==> ------------------------------------
    ==>
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> ntfs-config dependencies:
    - python2 (already installed)
    - pygtk (already installed)
    - udev (already installed)
    - ntfs-3g (already installed)
    - perl-xml-parser (already installed)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'core' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'extra' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community-testing' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'community' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    - warning: (building from AUR)
    - config (building from AUR)
    - file (package found)
    - /etc/pacman.d/mirrorlist, (building from AUR)
    - line (building from AUR)
    - 82: (building from AUR)
    - directive (building from AUR)
    - 'Germany' (building from AUR)
    - in (building from AUR)
    - section (building from AUR)
    - 'multilib' (building from AUR)
    - not (building from AUR)
    - recognized. (building from AUR)
    ==> Continue building ntfs-config ? [Y/n]
    ==> -------------------------------------
    ==>
    ==> Building and installing package
    ==> Install or build missing dependencies for ntfs-config:
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'core' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'extra' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community-testing' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'community' not recognized.
    warning: config file /etc/pacman.d/mirrorlist, line 82: directive 'Germany' in section 'multilib' not recognized.
    error: target not found: recognized.
    ==> Restart building ntfs-config ? [y/N]
    ==> ------------------------------------
    ==>
    ==> WARNING: Following packages have not been installed:
    ntfs-config
    Edit: now ive just seen that i forgot about the warnings. i am not sure about what they mean and how to fix it.
    Last edited by alext (2011-10-11 22:16:58)

  • Help with ruby-gstreamer on aur

    Hello
    I'm trying to use ruby-gstreamer from aur, but i can't figure out why this package can't be used.
    I've managed to build and install it, but it seems th gem extension is unusable.
    I'm not familliar with ruby, so i don't really know where to go
    How to test the package :
    test.rb
    puts "Hello World!"
    require "gst"
    ruby test.rb
    Hello World!
    /usr/lib/ruby/2.1.0/rubygems/dependency.rb:298:in `to_specs': Could not find 'glib2' (= 2.0.2) among 11 total gem(s) (Gem::LoadError)
    from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1295:in `block in activate_dependencies'
    from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1284:in `each'
    from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1284:in `activate_dependencies'
    from /usr/lib/ruby/2.1.0/rubygems/specification.rb:1266:in `activate'
    from /usr/lib/ruby/2.1.0/rubygems.rb:196:in `rescue in try_activate'
    from /usr/lib/ruby/2.1.0/rubygems.rb:193:in `try_activate'
    from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:132:in `rescue in require'
    from /usr/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:144:in `require'
    from test:3:in `<main>'
    Once i've find a way to fix the package, i will gladly take the ownership of it, since it is orphaned.
    Last edited by GloW_on_dub (2014-10-10 09:58:48)

    okay, that helped. Here's what I get:
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$ ls
    comp_err mysql_zap
    makesharedlibdistribution mysqlaccess
    makewin_bindist mysqlaccess.conf
    makewin_srcdistribution mysqladmin
    msql2mysql mysqlbinlog
    myprintdefaults mysqlbug
    myisam_ftdump mysqlcheck
    myisamchk mysqld
    myisamlog mysqld_multi
    myisampack mysqld_safe
    mysql mysqldump
    mysqlclienttest mysqldumpslow
    mysql_config mysqlhotcopy
    mysqlconvert_tableformat mysqlimport
    mysqlcreate_systemtables mysqlmanager
    mysqlexplainlog mysqlshow
    mysqlfindrows mysqltest
    mysqlfixextensions mysqltestmanager
    mysqlfix_privilegetables mysqltestmanager-pwgen
    mysqlsecureinstallation mysqltestmanagerc
    mysql_setpermission perror
    mysql_tableinfo replace
    mysqltzinfo_tosql resolvestackdump
    mysql_upgrade resolveip
    mysqlupgradeshell safe_mysqld
    mysql_waitpid
    erik-petersons-computer:/usr/local/mysql/bin erikpeterson$
    How would I create a new database from here?

Maybe you are looking for

  • ALV data export to Excel using &VEXCEL  problem due to GUI Version

    If i download ALV report using &VEXCEL it works with GUI release 460 but when i am trying same with GUI release 710 it gives message View cannot be switched: Product is not installed or integration is not active. Please provide the solution so that s

  • End users are not able to save interactive pdf form created with designer

    I am new to using LiveCycle Designer and have created a pdf form but my end users are not able to save edited form. Does this have something to do with whether the form is static or dynamic. If so, I am not exactly sure how to use the restorestate op

  • CS3 JS Double Page Spread

    I'm trying to see if pages have items on them before sending off the page using: if(myDocument.pages[myPageName-1].pageItems.length==0){ This works well until I get a double page spread item.  The element sits on the left hand page and extends onto t

  • Parellels Server or switch to a Windows Terminal Server

    So we are implementing a Windows only accounting and project management software into our business that runs Macs, and this is undoubtedly the MOST IMPORTANT piece of software that we will run in our office. Hands down. (We will also have people dial

  • Profit Center Report Authorization

    Dear Experts,       We can give the authorization by transaction code level. But my client requirment is Transaction code S_PL0_86000029 is same but, we have 26 branches and 26 profit centers and 26 sap id's. Every sap id has authorization of above T