Dahdi Package from AUR - makepkg error

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

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

Similar Messages

  • Virtual memory exhausted when compiling packages from AUR

    Recently I've seen this error more and more often. When I tried compiling some packages from AUR, I ended up getting "virtual memory exhausted" error. The first time it happened with clementine-git, then android-studio. Can I do something about it?

    I am also facing the same problem.  I am trying to install a package, and the installations aborts saying 'virtual memory exhausted'. The RAM is 2 GB and i have alloted 2 GB as swap.  Things i have tried so far
    -install  using yaourt
    -install using  makepkg.
    -change  TMPDIR to HDD.
    Even when i tried it without any window manager to start, limiting the RAM usage, the problem still persists. The only way is to allot an extra swap space, but that would mean that i will have to delete a partition, which is not a feasible solution. Is there anything else one could do. ?
    if it helps,
    ulimit -a
    core file size          (blocks, -c) 0
    data seg size           (kbytes, -d) unlimited
    scheduling priority             (-e) 20
    file size               (blocks, -f) unlimited
    pending signals                 (-i) 16033
    max locked memory       (kbytes, -l) 64
    max memory size         (kbytes, -m) unlimited
    open files                      (-n) 1024
    pipe size            (512 bytes, -p) 8
    POSIX message queues     (bytes, -q) 819200
    real-time priority              (-r) 0
    stack size              (kbytes, -s) 8192
    cpu time               (seconds, -t) unlimited
    max user processes              (-u) 16033
    virtual memory          (kbytes, -v) unlimited
    file locks                      (-x) unlimited

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

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

  • [yaourt] update only packages from aur

    I just switched from my own aur_update script to yaourt, because it handles dependencies.. But how to only update packages from aur?
    Last edited by lessthanjake (2010-01-15 09:37:35)

    Ape wrote:
    Xyne wrote:
    Can you do something like this (assuming yaourt supports pacman's "--needed" flag):
    yaourt -S --needed $(pacman -Qqm)
    If not, you can try bauerbill which does (or at least should) recognize the "--needed" flag.
    That just tries to reinstall (and rebuild as we are talking about AUR) all the AUR packages that are installed. Even the ones that doesn't need any updates.
    Xyne wrote:(assuming yaourt supports pacman's "--needed" flag)
    Obviously it doesn't. You're welcome to try bauerbill, which should do what you want using the code above.

  • Error installing package from AUR. /usr/lib64 exists in filesystem

    I installed the package zoneminder-xinetd 1.27.0-1 using the instruction on the wiki, the installation finished successfully. then I realized that the package was outdated, so I uninstalled it using "sudo pacman -R zoneminder-xinetd", manually edit the files .AURINFO and PKGBUILD to get the new version, compiled successfully using 'makepkg -s' but when I'm try to install it(sudo pacman -U zoneminder-xinetd-1.28.0-1-x86_64.pkg.tar.xz) I got this error:
    error: failed to commit transaction (conflicting files)
    zoneminder-xinetd: /usr/lib64 exists in filesystem
    Errors occurred, no packages were upgraded.
    I also tried to install this other package https://aur.archlinux.org/packages/zoneminder after removing some unwanted dependencies but i get the same error.

    fsckd wrote:Pacman 4.2 handles symlinks differently than past versions of pacman. Allan's blog has a good description (see the section "Directory Symlink Handling") http://allanmcrae.com/2014/12/pacman-4-2-released/. I suggest you inform the maintainers of those packages so that they may update the PKGBUILDs.
    Thanks for the quick answer.
    I solved this issue by adding "-DCMAKE_INSTALL_LIBDIR=/lib" to the cmake in the PKGBUILD. The mantainer of the zoneminder package solved this already by adding "-DZM_PERL_SUBPREFIX=/lib/perl5 \".
    Also, I adopted the zoneminder-xinetd package .

  • [SOLVED] Unable to build packages from AUR (build: command not found)

    I recently hosed the filesystem on my arch install of ~8 months. I reinstalled arch today and didn't have many problems since I had backups of many important config files. Anyways, I still need to get a few programs installed from AUR, but nothing I get from AUR will build.
    I download the tarball, extract into a folder in /home/myuser/builds and then go into that folder and run makepkg -s (as always)
    It checks the files and extracts/downloads them. Then I get the following error message:
    ==> Starting build()...
    /usr/bin/makepkg: line 741: build: command not found
    ==> ERROR: Build Failed.
    Aborting...
    I've run abs and I checked out the abs wiki page, I've also installed base-devel. I am not sure what else I need to do, the error message is not specific enough.
    The packages I have been trying to install are      ttf-ms-fonts 2.0-7,      keepass 2.14-2, and I also tried ttf-vista-fonts 1-3. I am fairly certain that it is not a problem with the PKGBUILD files.
    Any ideas? Thanks!
    Last edited by fatjake (2011-03-08 01:02:59)

    cyrus wrote:Have you tried Yaourt?
    Nope, haven't tried that, I think mainly because I wanted to learn how to use pacman and how to build using ABS. At this point I think I know how to use pacman/abs, as much as this thread might make it appear that I dont
    I'll give it a try, as I frequently install software from AUR. In the past I think I let software from the AUR get outdated, Yaourt (clumsy name) sounds like it would help that a bit. Thanks!
    Edit: BTW, I really love Arch. I tried it out on a flash drive about 8 months ago (maybe more), and after about 12 hours I was sold and installed it on the drive that Windows XP previously held. Even considering that I had many problems during the initial install, but they were all problems that caused me to learn and were easy to resolve. Seriously, I have lots of Windows tech experience, but only Arch forced me to learn Linux. I had tried Ubuntu previously but it was such a bore, and the problems tended to be hard to find solutions for. I try to convince my other Linux using friends to try arch, but they see it as too hands-on. I don't see it that way, it is very hands off after initial configuration, and the initial config only takes a week or less on the first try and a day and a half (or so) if you re-install. Having backups of your config files is of course a huge deal, and I am glad I had most of those.
    Really, I love Arch Linux, it has taught me so much.
    Last edited by fatjake (2011-03-08 04:25:15)

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

  • Script to grab packages from AUR

    The following python script can be used to semi-automate the install process for packages in AUR. It could use a little work, especially the part that grabs the version.
    To use it, first check in AUR to ensure the package exists, and that the PKGBUILD is not malicious or something you think will screw your system. AUR packages in unsupported CANNOT BE TRUSTED indiscriminantly.
    Then run:
    aurbuild packagename
    If you are root, this will download, build, and install the package. If you are a user, it will only be downloaded and built.  The script currently doesn't remove the build files and directory, which are created in the current directory.
    I've only tested this with one package, so its probably buggy.
    #!/usr/bin/env python
    import sys, os, urllib, tarfile, re
    def getsubstring(url, reg, prefix, suffix):
    page=urllib.urlopen(url)
    for line in page.readlines():
    if re.search(reg, line):
    break
    p1=line.find(prefix) + len(prefix)
    p2=line.find(suffix, p1)
    return line[p1:p2]
    if len(sys.argv) != 2:
    print "Usage: aurbuild.py <package>ntWhere <package> is the name of a valid package in AUR"
    sys.exit(1)
    name=sys.argv[1]
    page="http://aur.archlinux.org/packages.php?K=" + name
    reg="'/packages.php.*?><span class='black'>" + name
    ID=getsubstring(page, reg, "ID=", "&")
    page="http://aur.archlinux.org/packages.php?do_Details=1&ID=" + ID
    reg="<a href='.*?>Tarball</a> ::"
    tar="http://aur.archlinux.org" + getsubstring(page, reg, "<a href='", "'>")
    urllib.urlretrieve(tar, name + ".tar.gz")
    tar=tarfile.open(name + ".tar.gz", "r:gz")
    for member in tar.getmembers():
    tar.extract(member)
    os.chdir(name)
    os.spawnvp(os.P_WAIT, "makepkg", ["makepkg"])
    files = os.listdir(".")
    for name in files:
    if name.find(".pkg.tar.gz") >-1:
    pkgname=name
    break
    if os.getuid() == 0:
    os.spawnvp(os.P_WAIT, "pacman", ["pacman", "-U", pkgname])
    else:
    print "You must be root to install the package. cd into the " + name
    print " directory and run pacman -U " + pkgname + "."

    I thought you needed it for something else (to know which version you just made, but that info comes from the pkgbuild of course).
    But as I said before, most packages don't have a file with a version number in their name, but some have. E.g. look at the following urls:
    http://aur.archlinux.org/packages/ppracer/
    With version, and only build files in the ppraces subdir.
    http://aur.archlinux.org/packages/pptpclient/
    No version info, like most packages.
    http://aur.archlinux.org/packages/xerces-c/
    http://aur.archlinux.org/packages/acidrip/
    Version info, and the binary included in the tar.gz and the subdir.
    So it looks like there was a change in AUR at some point but existing packages weren't converted or something.

  • Installing older package from aur

    how do I revert to an older package from the aur? I installed the new build of utorrent and it won't run so I was wondering how to revert back to the old build? thanks

    Allan wrote:If I was the author, I would have just responded "yes"! 
    Well, my first thought was "of course it fscking is", but in the spirit of the forum I gave a more diplomatic answer.
    Last edited by Xyne (2010-12-26 07:13:50)

  • Deleting packages from AUR

    Hello,
    yesterday I saw a package in AUR that was included in another one in extra (python-editra, an editor included in wxpython). Since I made this mistake myself some time ago, I told the maintainer about this. He agreed to remove it and asked me how to do so.
    To my surprise it is impossible to do so for a normal user not being a TU. I read about this on aur-general, but I missed any announcement about this change. Was it announced somewhere?
    I told him either to write to aur-general to ask for removal or to put the request on the aur cleanup day list. What is the preferred way to ask for removals?

    Allan wrote:I think we decided an email to aur-general was the best way.
    Agree. BTW, I deleted it from AUR.

  • Yaourt: all git packages from AUR give me an error

    what could be the problem here? it worked before
    ==> Connecting to GIT server....
    Cloning into 'emesene'...
    fatal: unable to connect to github.com:
    github.com[0: 207.97.227.239]:
    Last edited by capoeira (2012-11-20 12:08:54)

    WorMzy wrote:It's working fine here. Just built pkgfile-git without problems.
    strange, why the hack isn't it working here?
    only way is editing the PCKGBUILD

  • Bibletime from AUR :: makepkg failing

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

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

  • Problems with ttf-mac-fonts package from AUR

    Hello,
    I've problems with generate package ttf-mac-fonts:
    $ sudo yaourt -S aur/ttf-mac-fonts
    A Macbuntu-10.04
    A Macbuntu-10.04/install.sh
    A Macbuntu-10.04/panel
    A Macbuntu-10.04/panel/panel.entries
    A Macbuntu-10.04/upgrade.sh
    A Macbuntu-10.04/compiz
    A Macbuntu-10.04/compiz/x64
    A Macbuntu-10.04/compiz/x64/original
    A Macbuntu-10.04/compiz/x64/original/libanimation.la
    A Macbuntu-10.04/compiz/x64/original/libanimation.a
    A Macbuntu-10.04/compiz/x64/original/libanimation.so
    A Macbuntu-10.04/compiz/x64/original/animation.xml
    A Macbuntu-10.04/compiz/x64/libanimation.a
    A Macbuntu-10.04/compiz/x64/libanimation.so
    A Macbuntu-10.04/compiz/x64/animation.xml
    A Macbuntu-10.04/compiz/x32
    A Macbuntu-10.04/compiz/x32/original
    A Macbuntu-10.04/compiz/x32/original/libanimation.la
    A Macbuntu-10.04/compiz/x32/original/libanimation.a
    A Macbuntu-10.04/compiz/x32/original/libanimation.so
    A Macbuntu-10.04/compiz/x32/original/animation.xml
    A Macbuntu-10.04/compiz/x32/libanimation.a
    A Macbuntu-10.04/compiz/x32/libanimation.so
    A Macbuntu-10.04/compiz/x32/animation.xml
    A Macbuntu-10.04/uninstall.sh
    A Macbuntu-10.04/readme
    Checked out revision 134.
    install: cannot stat 'gbk/*.ttf': No such file or directory
    ==> ERROR: A failure occurred in package().
    Aborting...
    ==> ERROR: Makepkg was unable to build ttf-mac-fonts.
    ==> Restart building ttf-mac-fonts ? [y/N]
    ==> --------------------------------------
    ==>
    How can I solve this problem?.
    Regards.

    Crap - sorry, I typed too quick, the upstream source if fine.  But as that PKGBUILD does some odd things, I missed the problem.   The simplest (but far from best) fix is to change the lines in the package function to the following:
    svn co https://macbuntu.svn.sourceforge.net/svnroot/macbuntu/Macbuntu/fonts/ ./
    install -d $pkgdir/usr/share/fonts/{TTF,Type1}
    install -m644 ./Macbuntu/fonts/gbk/*.ttf $pkgdir/usr/share/fonts/TTF
    install -m644 ./Macbuntu/fonts/mac/*.ttf $pkgdir/usr/share/fonts/TTF
    install -m644 ./Macbuntu/fonts/mac/*.pfb $pkgdir/usr/share/fonts/Type1
    That is, add the proper paths to the install commands.
    EDIT: or here is one that is at least a lot closer to the right way - though it's the first svn PKGBUILD I've worked on:
    _svn=ttf-mac-fonts
    pkgname=${_svn}-svn
    pkgver=134
    pkgrel=1
    pkgdesc="Mac fonts including Lucida Grande, Apple Garamond and other fonts from Apple"
    arch=('any')
    url="http://www.apple.com/safari/"
    license=('custom')
    depends=()
    makedepends=('subversion')
    conflicts=('macfonts' 'ttf-mac-fonts-svn')
    source=(
    "${_svn}::svn+http://svn.code.sf.net/p/macbuntu/code/Macbuntu/fonts"
    "http://images.apple.com/legal/sla/docs/SafariWindows.pdf"
    sha256sums=(
    'SKIP'
    'd1c9697ea430a3ddad6548c7b9c961c4b06f9da5a5ba1f1007fe998b3354df4a'
    install='ttf-mac-fonts.install'
    pkgver() {
    cd ${srcdir}/${_svn}
    svnversion | tr -d [A-z]
    package() {
    cd ${srcdir}
    install -d $pkgdir/usr/share/licenses/${_svn}
    install -m644 SafariWindows.pdf $pkgdir/usr/share/licenses/${_svn}/
    cd ${srcdir}/${_svn}
    install -d $pkgdir/usr/share/fonts/{TTF,Type1}
    install -m644 gbk/*.ttf $pkgdir/usr/share/fonts/TTF
    install -m644 mac/*.ttf $pkgdir/usr/share/fonts/TTF
    install -m644 mac/*.pfb $pkgdir/usr/share/fonts/Type1
    Last edited by Trilby (2013-08-21 13:35:55)

Maybe you are looking for

  • AZWR is not coming in ZFAZ

    We want to implement a down payment progress in our system. I did all of the customizing requirements in SD according to OSS Note 213526. Furthermore, when I placed an sales order in VA01 and then invoiced in VF01(only invoiced the value in billing p

  • Error while creating Sales Order from IDOC_INPUT_ORDERS F.M

    Hi All, I am processing IDOC_INPUT_ORDERS from WE19 which should create New Sales Order. But it is giving Error/Exit message and coming out of screen this error is coming in Billing Screen[Item]. Also error is coming in BDC part. This error is occuri

  • Problem following Oracle Note 437660.1

    I installed Oracle 11g Release 1 and receive "There is a problem with this website's security certificate". I found other blogs which pointed to Oracle Note 437660.1 I have tried to follow 437660.1. My first mistake was I misread step 2. I've never w

  • Both iPhoto and Aperture hanging up immediately on launch

    Both iPhoto and Aperture hanging up immediately on launch.. Please help in resolving the issues

  • RG1 Report requirements

    Hi all, Following is the clients requirements for RG1 report, 1. When there is opening qnty for materials,but no transactions(production or issues) the report should show the details of opening & closing stock of FG stocks, where as the above require