[SOLVED]"permission denied" when building pkg

most consistantly, I get the error when a pkgbuild has the line: ./autogen.sh
in building linphone-git, mediastreamer-git and ortp-git
another time, I got burned with the line: ./system.tmp
from building wiimms-iso-tools
and the last pkg I tried to build, I got it on the line: ./file2h
while building linux-wbfs-manager
...it really bugs me about these packages, because my desktop has the exact same install and works fine (so well, I can build them on the desktop and install them on the laptop... but that becomes tedious after a while, so I'd like to fix this issue... I searched for the issue in the forums, and it always semed to be related to the actual pkgbuild... but that's not the case in my scenario because the build works fine on the desktop and kicks me in the teeth on the laptop.  Please ask whatever questions necessary to get the info needed to deal with this issue.  I'm not really strong at pkgbuild configurations (only make a couple for my own to test my abiliities) so I'm not sure what to include exactly.  I can include the line numbers for the pkgbuilds in question, but I'm sure the PKGBBUILDs are not the issue here... it's something to do with my laptop...
come to think of it, my desktop isn't quite up to date as my laptop, I think... because the laptop ran into an issue where python-qt and python-sip were attempting to replace python2-qt and python2-sip, but both python2 pkgs were deps for like 50+ other packages... so I'm not sure if that's related.  Pretty sure I didn't update my desktop and get that issue... not in the last couple of days.  And that issue started on my laptop today... both issues, actually, so maybe they are related.
SOLUTION: removed "noexec" from tmpfs options for /tmp ramdisk setup in fstab
Moral of the story: be mindful of how you configure things, because an old configuration can ruin a new package installation or functionality.
Last edited by CPUnltd (2011-01-24 22:09:34)

==> Starting make...
patching file Makefile
Hunk #1 succeeded at 165 (offset 11 lines).
Hunk #2 succeeded at 459 (offset 19 lines).
./setup.sh: line 47: ./system.tmp: Permission denied
***  create templates.sed     
***  create version.h         
/bin/bash: ./gen-template.sh: Permission denied
make: *** [version.h] Error 126
    Aborting...
The build failed.
==> Starting build()...
gcc -march=x86-64 -mtune=generic -O2 -pipe -Wall -DLARGE_FILES -D_FILE_OFFSET_BITS=64 -Ilibwbfs -I. -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14    -c -o file2h.o file2h.c
gcc -o file2h file2h.o
./file2h wbfs_gui_glade.h wbfs_gui.glade
make: execvp: ./file2h: Permission denied
make: *** [wbfs_gui_glade.h] Error 127
    Aborting...
The build failed.
==> Starting make...
/tmp/packerbuild-1000/linphone-git/linphone-git/PKGBUILD: line 39: ./autogen.sh: Permission denied
    Aborting...
The build failed.
/tmp/packerbuild-1000/mediastreamer-git/mediastreamer-git/PKGBUILD: line 35: ./autogen.sh: Permission denied
    Aborting...
The build failed.
==> Starting make...
/tmp/packerbuild-1000/ortp-git/ortp-git/PKGBUILD: line 34: ./autogen.sh: Permission denied
    Aborting...
The build failed.

Similar Messages

  • [Solved] Permission denied when trying to create aur4 repo

    I'm trying to follow the steps here to migrate my aur packages to aur4.  I've created my public key, edited ~/.ssh/config as described, and copied my public key file to my aur4 account settings.
    When I run my git clone command I get this:
    $ git clone ssh://[email protected]/wcgbrowser-git.git
    Cloning into 'wcgbrowser-git'...
    Permission denied (publickey).
    fatal: Could not read from remote repository.
    Please make sure you have the correct access rights
    and the repository exists.
    Is there a step missing here where I need to create the repository on aur4 first, or is that done automatically when I clone?  Seems logical, but I couldn't find a way to create the repo either in the web interface or on the wiki.  Or is this indeed an authentication issue of some kind?
    Last edited by lykwydchykyn (2015-06-08 18:53:57)

    lykwydchykyn wrote:is this indeed an authentication issue of some kind?
    The "Permission denied (publickey)" message suggests that this is the case. Double-check that your ~/.ssh/config and the public key on the AUR web interface are correct.

  • Permission Denied when calling a method from VB using WebLogic 8.1.2 JCOM

    Hi,
    We are calling an java/ejb methods from VB using WebLogic JCOM 8.1 SP2. But
    using JCOM, we are getting a error Permission denied when called from VB. We think
    that we should update pathch jintegra 2.0 or 2.1 in WebLogic 8.1.2 the to solve
    this issue, because we faced the same problen "permission denied" when we used
    JINTEGRA(third party software). Once we installed the JINTEGRA 2.1 it solved the
    issue.
    So, can anyone help on regard to this issue of "Permission denied" in WebLogic
    JCOM 8.1 SP2.
    Thanks & Regards
    Raghu

    I too am experiencing the jCOM error: "Run-time error '70': Permission Denied". The problem appears to be related to a Microsoft Security Patch KB835732 (MS04-011 which, as you indicated, has been fixed in J-Integra v2.1 (FYI, jCOM 8.1 is based on J-Integra 1.5.4, see J-Integra/jCOM versions.
    Did you ever get a resolution concerning 8.1 SP2? 8.1 SP3 is available now but I don't see any mention of jCOM updates in the WebLogic 8.1 What's New documention. I can't immediately upgrade (trying to stay on same version as a few other developers I work with) but I am hoping it is resolved in SP3.

  • [solved] "permission denied" even though I am logged in as root

    Hi, I just installed Arch and now I am trying to add repositories to pacman.
    I am currently logged in as root
    [root@arch ~]#
    Now I am trying to access /etc/pacman.conf by typing
    /etc/pacman.conf
    wich returns
    -basch: /etc/pacman.conf: Permission denied
    So I checked the forum and the wiki how to check permissions for files. found this wiki.archlinux.org/index.php/File_Permi … ermissions
    so I did
    # cd /etc
    # ls -l
    wich gave me
    -rw-r--r-- 1 root root 2862 Jun 18 06:01 pacman.conf
    If I read this correctly it says that "root" can read and write. But I am logged in as "root" so why can I not edit the file?
    Last edited by ningfengrui (2013-08-21 09:50:17)

    No problem at all & welcome to arch.
    If you had not been so new, I would not of been this kind to you because the first result of a google search of  "basch: /etc/pacman.conf: Permission denied" would have given you the answer you needed
    But hey! we all make the same mistake, but be sure to search for the answer before you ask here.
    Also, you need to edit the title of your original post to read "[Solved]  "permission denied" even though I am logged in as root"
    lecture over ! & again, welcome to arch

  • Hi, I have Mac Book It currently at 10.6.8 I want know how to recover the FileVault Password? I tried /Library/Keychains/FileVaultMaster.keychain but it say permission denied when i'm the admin account

    Hi, I have Mac Book It currently at 10.6.8 I want know how to recover the FileVault Password? I tried /Library/Keychains/FileVaultMaster.keychain but it say permission denied when i'm the admin account

    Hi BobRz,
    As this is a new issue for me, I believe I had the incorrect approach, maybe you can help me. What I want to do is recover a few files in my desktop, and some information i had on the iCal application and the Mail application as well.As I do not want to do a full migration into this computer (which is not mine) I believe that starting the damaged MBP in Target mode should allow me to search and cop the files I need. But:
    1. Can I open the Ical and mail apps to look for the info I need while reading it as an external HD  ?
    2. Do the target machine (my friends) still need to be updated to ML o Mavs so that it recognizes my MBP as an external drive if starting it in Target mode ? (no migration assistant)
    Thanks.

  • Solved, permission error when creating Flash Clip

    My new HP PC is equipped with a device called a personal media drive (K:\). When I tried to and write to this new external drive when creating a Flash clip for the first time, I was unable to do so because I did not have permission. After much searching, I determined that this error is not an Adobe error, but rather a Windows error in Vista. I accessed the drive in explorer, right clicked on it and went to properties. By following the tabs, I was eventually able to enable sharing and grant all permissions to the drive. Once this was done, I was able to successfully render out a .flv file without no diffuculty and withut needing to restart the computer.
    Please, all users, when you do eventually solve your problems, do post your results. Forums are such depressing places to visit otherwise. Registration is pretty quick and "paying it forward", is just being a good human.

    ChojinDSL wrote:
    However, when I try to run gitosis-init as the git user I get the following error:
    IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/soaplib-1.0.0_beta8-py2.7.egg-info/top_level.txt'
    What are the permissions of that file? Did you use a restrictive umask while building gitosis-git?

  • [solved] Permission Error when trying to run gitosis-init

    Im trying to install a git repository using gitosis, as described in the Arch Wiki:
    https://wiki.archlinux.org/index.php/Gitosis
    However, when I try to run gitosis-init as the git user I get the following error:
    sh-4.2$ gitosis-init < /srv/id_dsa.pub
    Traceback (most recent call last):
    File "/usr/bin/gitosis-init", line 5, in <module>
    from pkg_resources import load_entry_point
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2691, in <module>
    add_activation_listener(lambda dist: dist.activate())
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 668, in subscribe
    callback(dist)
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2691, in <lambda>
    add_activation_listener(lambda dist: dist.activate())
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2192, in activate
    self.insert_on(path)
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2299, in insert_on
    self.check_version_conflict()
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2338, in check_version_conflict
    for modname in self._get_metadata('top_level.txt'):
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2186, in _get_metadata
    for line in self.get_metadata_lines(name):
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1174, in get_metadata_lines
    return yield_lines(self.get_metadata(name))
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1166, in get_metadata
    return self._get(self._fn(self.egg_info,name))
    File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 1281, in _get
    stream = open(path, 'rb')
    IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/soaplib-1.0.0_beta8-py2.7.egg-info/top_level.txt'
    It works if I run gitosis-init as root. But I'd rather avoid that.
    Any ideas on how I could fix this?
    Last edited by ChojinDSL (2011-03-16 12:29:54)

    ChojinDSL wrote:
    However, when I try to run gitosis-init as the git user I get the following error:
    IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/soaplib-1.0.0_beta8-py2.7.egg-info/top_level.txt'
    What are the permissions of that file? Did you use a restrictive umask while building gitosis-git?

  • Permission denied when trying to save document

    My wife is trying to save a Pages document and when she gives it a name to replace "untitled" she gets a drop down dialogue that says "Permission Denied." I ran Disk Utility to repair disk permissions, she has tried saving it under several names to avoid duplicates. Any idea why this would suddenly crop up?

    I couldn't all the sudden get pages to save or change or update any document in my external hard drive, when I dragged the document to a flashdrive suddenly I could do it, it is still a mystery to me, this is a Macbook, as far as I know my external drive will still do it in my iBook

  • Permission denied when saving from applications on shared volume

    We have an AFP shared volume on Xraid attached to an Xserve running 10.5.8. The OS is kept up to date.
    Users started to get a "permission denied" message when trying to save open files on the shared volume, which is using POSIX permissions only. This seems to happen to Snow Leopard clients using Pages and Numbers (iLife 09). No errors appear in the server logs.
    At the moment they can circumvent the problem by saving locally and then copying the file onto the server.
    Has anyone got any pointer to a solution?
    Thanks.

    Lucazade wrote:
    This seems to happen to Snow Leopard clients using Pages and Numbers (iLife 09).
    Of course I meant iWork, not iLife.

  • OUI permission Denied when trying to Install 10gr2 on RHEL5

    Hi,
    I have been trying to install oracle1ogr2 on RHEL5 on our test server and i m following the procedure mentioned in this site http://www.oracle-base.com/articles/10g/OracleDB10gR2InstallationOnRHEL5.php
    The problem that i m facing for past 2 days is ...when i try to execute runInstaller i get this message
    *./runInstaller: line 54: /home/oracle/Disk1/database/install/.oui: Permission denied*
    Inspite of following all the the steps i m stuck at this one point. It would really be great if some one could help me out me this.
    Thanks,
    Edited by: Suhail Faraaz on Jul 19, 2010 11:51 PM

    oracle@localhost database]$ ./runInstaller
    Starting Oracle Universal Installer...
    Checking installer requirements...
    Checking operating system version: must be redhat-3, SuSE-9, redhat-4, UnitedLinux-1.0, asianux-1 or asianux-2
                                          Passed
    All installer requirements met.
    Preparing to launch Oracle Universal Installer from /tmp/OraInstall2010-07-20_01-15-18PM. Please wait ...[oracle@localhost database]$ Exception in thread "main" java.lang.UnsatisfiedLinkError: /tmp/OraInstall2010-07-20_01-15-18PM/jre/1.4.2/lib/i386/libawt.so: libXp.so.6: cannot open shared object file: No such file or directory
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(Unknown Source)
            at java.lang.ClassLoader.loadLibrary(Unknown Source)
            at java.lang.Runtime.loadLibrary0(Unknown Source)
            at java.lang.System.loadLibrary(Unknown Source)
            at sun.security.action.LoadLibraryAction.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
            at sun.awt.DebugHelper.<clinit>(Unknown Source)
            at java.awt.Component.<clinit>(Unknown Source)Now this is what i m receiving

  • Permission denied when running runInstaller

    I'm getting 'permission denied' message when running
    runInstaller. I'm running the program directly from the CD. I'm
    logged-in as oracle with 'dba' group. I've checked the
    permissions on jre and it is fine. I can run jre on the
    command-line without any problem. I also tried running the
    runIns.sh and the same message is returned.
    What could be the other reasons why I am getting this message?
    null

    I don't know if it has anyhting to do with it but I had a similar
    problem. The difference was that I was part of the root group
    not dba as you state. The documentation suggests using a group
    called oinstall. Give it a try ... you never know how the
    packages within the installtion might have been built.
    kiwi (guest) wrote:
    : I'm getting 'permission denied' message when running
    : runInstaller. I'm running the program directly from the CD.
    I'm
    : logged-in as oracle with 'dba' group. I've checked the
    : permissions on jre and it is fine. I can run jre on the
    : command-line without any problem. I also tried running the
    : runIns.sh and the same message is returned.
    : What could be the other reasons why I am getting this message?
    null

  • Permission Denied when trying to Save or Save As

    I don't know what I did to make it happen. I added a couple of new text boxes and now it won't let me save. Sometimes it says something about Myriad Pro being the default (and I'm ok with that). Here is my error log:
    Generating PDF Document...
    Font Service: Default font typeface is Myriad Pro.
    PDF generated successfully.
    Generating PDF Document...
    Font Service: Default font typeface is Myriad Pro.
    Unable to open or create file C:\Users\owner\Documents\Kathee's Docs\3-NMF\public_html\Lab Test Order Form - Version Feb 2014-Female.pdf
    Permission denied
    Generating PDF Document...
    Unable to open or create file C:\Users\owner\Documents\Kathee's Docs\3-NMF\public_html\Lab Test Order Form - Version Feb 2014-Female.pdf
    Permission denied
    2 warnings/errors reported.
    Any ideas????
    Kathee

    Just as I was typing out that that could not be the problem as I'm the only one that would ever work on it and I have definitely closed out of it ... it occured to me ... check my task manager to see if it's being held open somewhere ... sure enough ... it was. I have no idea why, but it doesn't surprise me. I am not a big fan of Adobe, but because we need it in our every day life I can't stop using it.
    Thank you for your fast response!!
    Kathee

  • [Solved] Permission denied for imgs in apache home folder

    Hi,
    I'm getting 403 error when trying to open a captcha image with the browser (generated by codeigniter PHP framework  with captcha helper and Tank Auth library) the imgs are created with the http owner with permission "-rw-r--r--" inside a captcha folder
    with 777 permissions.
       The apache local server is configured to use the documentRoot to a www folder in /home dir with this permissions  "drwxr-xr-x" 
    Have http group and users created like the arch wiki LAMP section.
    The httpd.conf is confgured like this:
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    DocumentRoot "/home/lucas/www"
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories).
    # First, we configure the "default" to be a very restrictive set of
    # features.
    <Directory />
    Options FollowSymLinks
    AllowOverride All
    Order deny,allow
    Deny from all
    </Directory>
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    # This should be changed to whatever you set DocumentRoot to.
    <Directory "/home/lucas/www">
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    # The Options directive is both complicated and important. Please see
    # http://httpd.apache.org/docs/2.2/mod/core.html#options
    # for more information.
    Options Indexes FollowSymLinks
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    # Options FileInfo AuthConfig Limit
    #AllowOverride None
    # Controls who can get stuff from this server.
    Order allow,deny
    Allow from all
    </Directory>
    Last edited by crosssover (2012-09-17 23:20:57)

    Here is the log massge
    [Sun Sep 16 14:26:47 2012] [error] [client ::1] File does not exist: /home/lucas/www/favicon.ico
    [Sun Sep 16 14:26:47 2012] [error] [client ::1] client denied by server configuration: /home/lucas/www/test/application/captcha/1347816281.8856.jpg

  • Permission denied when in windows trying to save files to the MacHD

    I just made the huge leap from a Dell Laptop to the Mac Book Pro and I can't be more thrilled about it! With change, obviously comes with some challenges, not the least of which is my lack of knowledge on the new platform.
    Because I had some programs I wanted to keep that were more robust in the Windows environment than Mac OS, I set up a dual boot. It works great.
    For the first few days I was able to write while in Mac to the Windows Drive and while in Windows to the Mac drive.
    Now, for some reason, and I'm not sure what change I made or installation caused it, but I'm now getting "denied access you don't have permission to write to this drive" when I'm in windows trying to save doc's to the Mac. I keep everything in one place.
    I used disc utility and verify and repair permissions, there was a bunch of code on the screen it says it fixed it except one area in the library it said it couldn't modify. This is all greek to me at this point.
    Im at the point of reinstalling the OSX system with the archive and install, to see if a 'reset' in that fashion would work.
    Any help for a Mac Newbie would be appreciated. The learning curve is fun.

    As you have found out, Paragon HFS+ and MacDrive allow you to write from Windows to Mac, while booted in Windows, but you may also want to get Paragon's NTFS for Mac or NTFS Mounter (free) which also enable you to write to the Windows partition while booted in Mac. These install on the Mac side of course. I often use these to put files on the Windows desktop (or elsewhere) I know I may want next time I boot to Windows.
    Paragon's NTFS for Mac is seamless compared to NTFS Mounter, but is more expensive, and also requires a slightly different process (via the Paragon pref pane) to boot from Mac to Windows.
    BTW I have experience of both MacDrive 8 and Paragon HFS+. Both work but I had Paragons HFS+ installed when I tried to update to Windows 7 Service Pack 1 recently, and it kept failing. There was a thread about it here somewhere, where a number of other people had the same problem. The culprit was Paragon HFS+. Uninstalled Paragon HFS+ and the update went through. MacDrive 8 was OK, and I have stayed with it since then.
    MacDrive 8 is good and has good support, but it has the most draconian activation policy I have ever encountered. You can deactivate in order to use the SN on another computer, but if you forget or the hard drive fails you will get a message about exceeding allowed number of activations. Support are very quick to reset it when this happens, but it is irksome.

  • Permission denied when creating database in Sql Server 2008 for SQLExpress

    I'm getting an permission error while restoring the database. I'm using SQL Server 2008 SQLEXPRESS
    I'm able to create the user using this script " CREATE LOGIN [darth\vader] FROM WINDOWS;
    GO;"
    But when I try to give role to the user it's still give me permission error.. SP_ADDSRVROLEMEMBER ‘darth\vader’, ‘sysadmin’
    Can someone guide me how to resolve this issue?

    http://msdn.microsoft.com/en-us/library/ms186858.aspx
    Permissions
    If the database being restored does not exist, the user must have CREATE DATABASE permissions to be able to execute RESTORE. If the database exists, RESTORE permissions default to members of the sysadmin and dbcreator fixed
    server roles and the owner (dbo) of the database (for the FROM DATABASE_SNAPSHOT option, the database always exists).
    RESTORE permissions are given to roles in which membership information is always readily available to the server. Because fixed database role membership can be checked only when the database is accessible and undamaged, which is not always the case when RESTORE
    is executed, members of the db_ownerfixed database role do not have RESTORE permissions.
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

Maybe you are looking for