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

Similar Messages

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

  • [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/ ?

  • 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] how to patch source file from AUR for gcc46 ?

    In a topic from yesterday, I was seeking help to get AUR package 'insight' installed, but so far no luck, since there seems to be a bug in the source that won't work with the gcc47 compiler.  I'm posting this new topic, since the subject has changed a bit - I'm now trying to compile gcc46 because another user had success with that version in compiling the 'insight' package, and I need to patch the gcc46 source to get it to compile.
    I'm looking for help to fix the problem myself, or if anyone wants to create a new PKGBUILD to handle the problem, that would be nice too
    Originally, I thought I would try to install gcc42 from AUR and use that to run makepkg on the 'insight' app, since one user had success with this version of gcc.  Both gcc42 and gcc46 give me the same errors with an 'unwind' file, and I couldn't get either to compile (errors about unwind.h or linux-unwind.h).
    I found a post with a link to a patch (for gcc46), but I have no idea where to apply or how to apply this patch.  I think I'm supposed to apply it to this file, but again, I'm not sure how to apply a patch:
    /home/briphi/builds/gcc46/src/gcc-4.6.3/gcc/unwind-dw2.c
    , but this c file has includes to other "unwind" header files.  Here is a link to the unwind-dw2.c file at my dropbox folder, if anyone needs to see this file without downloading/compiling gcc46: http://dl.dropbox.com/u/8169867/unwind-dw2.c
    Sticking with gcc46 for the moment (since I found the patch for this version)...
    The post with the link to the patch to gcc46 is here: https://bbs.archlinux.org/viewtopic.php … 0#p1229880
    The patch at pastebin.com is here: http://pastebin.com/VkgE27Pd and looks like this:
    --- a/gcc/config/i386/linux-unwind.h 2011-01-03 20:52:22.000000000 +0000
    +++ b/gcc/config/i386/linux-unwind.h 2012-07-06 12:23:51.562859470 +0100
    @@ -133,9 +133,9 @@
    struct rt_sigframe {
    int sig;
    - struct siginfo *pinfo;
    + siginfo_t *pinfo;
    void *puc;
    - struct siginfo info;
    + siginfo_t info;
    struct ucontext uc;
    } *rt_ = context->cfa;
    /* The void * cast is necessary to avoid an aliasing warning.
    The package that I'm actually trying to install is 'insight', here: https://aur.archlinux.org/packages/insight/
    My error when compiling (running makepkg -s on gcc46) looks like this:
    /home/briphi/builds/gcc46/src/gcc-build/./gcc/xgcc -B/home/briphi/builds/gcc46/src/gcc-build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -g -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -O2 -g -march=i686 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -I. -I. -I../.././gcc -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/. -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../include -I/home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT -DHAVE_CC_TLS -DUSE_TLS -o unwind-dw2.o -MT unwind-dw2.o -MD -MP -MF unwind-dw2.dep -fexceptions -c /home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc/unwind-dw2.c -fvisibility=hidden -DHIDE_EXPORTS
    In file included from /home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc/unwind-dw2.c:333:0:
    /home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc/config/i386/linux-unwind.h: In function ‘x86_fallback_frame_state’:
    /home/briphi/builds/gcc46/src/gcc-4.6.3/libgcc/../gcc/config/i386/linux-unwind.h:138:17: error: field ‘info’ has incomplete type
    make[3]: *** [unwind-dw2.o] Error 1
    make[3]: Leaving directory `/home/briphi/builds/gcc46/src/gcc-build/i686-pc-linux-gnu/libgcc'
    make[2]: *** [all-stage1-target-libgcc] Error 2
    make[2]: Leaving directory `/home/briphi/builds/gcc46/src/gcc-build'
    make[1]: *** [stage1-bubble] Error 2
    make[1]: Leaving directory `/home/briphi/builds/gcc46/src/gcc-build'
    make: *** [all] Error 2
    ==> ERROR: A failure occurred in build().
    Aborting...
    Last edited by stringchopper (2013-02-15 08:29:39)

    Lone_Wolf wrote:
    @ stringchopper
    The file(s) that need patching are mentioned in the patch, so you don't have to know yourself where they are.
    patch files like these are usually applied from the directory where you build stuff.
    On your system that is probably this folder :   /home/briphi/builds/gcc46/src/gcc-4.6.3/
    for details about the command used to apply the patch, t0m5k1's link above should help.
    Thanks Lone_Wolf for the help.  I'm suffering from information overload at the moment, so (@t0m5k1) even though I found the same results that you found through google, they weren't explicit enough.

  • [Solved] Problem installing et-sdl-sound from AUR

    Hey All,
    Ok now! I know that there are several threads on this forum related to this issue, but the question I have is slightly different and may even sound silly, but I just cannot figure it out.
    I tried installing Wolfenstein: Enemy Territory from AUR. The sound didn't work out-of-the-box. Just as expected because the comments against the package on AUR had warned me so: http://aur.archlinux.org/packages.php?ID=2063
    When I researched a little I found out that, to make sound work, I had to install et-sdl-sound package: http://aur.archlinux.org/packages.php?ID=9777
    So I went ahead and did this:
    1. download the tarball from AUR
    2. tar -zxvf et-sdl-sound.tar.gz
    3. cd et-sdl-sound
    4. makepkg -s
    Now when I do the "makepkg -s" it fails with the error: "ERROR: A failure occured in build()"
    Going by the comments on the package in AUR, adding a line #include <unistd.h> to one of the .cpp file supposedly should fix this error. I did this.
    But when I try to run the command makepkg -s it overwrites the file I just modified. Can someone please tell me how do I overcome this? How do I make makepkg use the .cpp file with the modification that I made?
    Thank you,
    Nachiket
    Last edited by Nachiket (2012-06-12 06:04:37)

    Perhaps makepkg's man page will have an option to not extract source files; use whatever source already exists in the src/ directory
    Last edited by SS4 (2012-06-11 16:14:25)

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

  • [SOLVED] How to install custom kernel from AUR?

    I am trying to install the custom kernel for the Acer Aspire One from AUR. What is the correct way to go about doing this? I pacman -U the .pkg.tar.gz I downloaded and it put a new kernel folder in /usr/src. Do I just copy the old .config file and make?
    Last edited by future stir-fry (2008-12-23 01:26:57)

    zaza224 wrote:
    After installing new kernel with pacman -U you  just need to add a new line to grub menu.lst pointing to it and reboot
    How would you go about doing this in syslinux instead of grub?
    Whoa there, get your shotguns, the zombies are coming!!
    Seriously, welcome to the Arch forums zaza224
    Please familiarize yourself with our forum guidelines, in particular the topic about waking the dead:
    https://wiki.archlinux.org/index.php/Fo … Bumping.22
    Closing.

  • [SOLVED]Whenever I try to install from aur, an error occurs

    Whenever I try to install stuff from aur, this error occurs.
    ~/Downloads/fnfx/PKGBUILD: line 16: make: command not found
    A failure occurred in build()
    What is wrong?
    Last edited by bilgee0629 (2011-10-23 16:51:12)

    You need to install base-devel group.
    https://wiki.archlinux.org/index.php/AUR#Prerequisites

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

  • [SOLVED][bash] read and tab character

    Hello archers!
    I'm trying to write simple script for mysql query results parsing. And I got that `read` command "eats" tab-characters:
    $ echo -e "foo\tbar\nbaz\tquuix\nfin" | while read L; do echo -e $L; done
    foo bar
    baz quuix
    fin
    i.e. tab characters were replaced with spaces.
    So, I can't perform the following:
    mysql -e "SELECT title,summary,body,added,modified FROM news" \
    | while IFS=\t read TITLE SUMMARY BODY ADDED MODIFIED
    do
    echo $TITLE
    done
    How can I prevent such behavior?
    Thanks!
    Last edited by pshevtsov (2012-05-23 09:42:13)

    pshevtsov wrote:
    So, I can't perform the following:
    mysql -e "SELECT title,summary,body,added,modified FROM news" \
    | while IFS=\t read TITLE SUMMARY BODY ADDED MODIFIED
    do
    echo $TITLE
    done
    How can I prevent such behavior?
    Thanks!
    If you want to use \t as IFS you have to quote it
    mysql -e "SELECT title,summary,body,added,modified FROM news" \
    | while IFS=$'\t' read TITLE SUMMARY BODY ADDED MODIFIED
    do
    echo $TITLE
    done

Maybe you are looking for

  • Adobe Acrobat X 'spools' in both Vista & 7

    Hi guys, I am posting here in the hopes someone else has previously run into this issue. This user originally had Windows Vista, along with an older version of Acrobat (9.0). The problem would be triggered by them attempting to "print to a PDF" throu

  • Convert date time local Timezone  to GMT

    I need to get GMT time... How to convert local time to GMT ?      public static long getGMTNow()          Calendar local = new GregorianCalendar();          local.set(Calendar.HOUR_OF_DAY, 0);                        local.set(Calendar.MINUTE, 0);    

  • 100's of titles in my iTunes music folder say streaming..

    100's of titles in my iTunes music folder say streaming.. this is the folder that holds the music for the iphone, it shows me this when it (iphone) is connected to the mac. Thing is, there are the same songs in the folder, but with a size listed. How

  • Captivate 4

    Within the edit mode I have placed an image and highlighted areas of the slide. However, in the published edition the images and highlight box are not visable at all. I have tried moving the speech bubble and the click box but this has not improved t

  • Can not download Dreamweaver CC 2014 through Creative Cloud, takes me through Signed Out

    Hello, I can not able to download Dreamweaver CC through "Creative Cloud", it is always saying "You have been signed out" , how to resolve this error? Even if I was trying to signed in through different email address , but no luck Please feel free to