PKGBUILD install command ( or cp ) fails for a file but why

whats wrong with this.
libtap.a does not get copied in package()
do i have to mkdir -p all dirs first? if soo, that did fail to cp the libtap.a too.
but install does auto mkdir -p doesnt it?
pkgname=tap
pkgver=r88.1796a0d
pkgrel=1
pkgdesc='A C library for writing unit tests conforming to TAP'
arch=(i686 x86_64)
url="https://github.com/zorgnax/libtap"
license='GPLv2'
depends=()
makedepends=('git')
source=("git+https://github.com/zorgnax/libtap.git")
md5sums=('SKIP')
_gitname="libtap"
pkgver() {
cd "$srcdir/$_gitname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
build() {
cd "$srcdir/$_gitname"
make
package() {
cd "$srcdir/$_gitname"
install -Dm755 libtap.a "$pkgdir/usr/lib/libtap.a"
install -Dm755 tap.h "$pkgdir/usr/include/tap.h"
Last edited by shadow23 (2014-05-15 11:38:13)

If you want static libraries in your package, you have to tell makepkg to leave them in (the default is to remove them). Read 'man makepkg.conf' and 'man PKGBUILD' for details.

Similar Messages

  • AVI import fails for older files but works in iMovie

    I have two sets of AVI files, one from early 2000 and newer post 2008.
    Both groups of files import fine into iMovie 11.
    however, only the newer group imports into FCP X.
    I can convert the older files to MOV using QT, but this won't work well for many files.
    Seems if iMovie can read, so should FCP X.

    I have had a similar problem, where maye 8 out of 10 AVI format moves will download into iPhoto, but the rest simply never get there. I did get 107 out of 109 files OK but have seen worse. I can tell you about which camera it is, how I connect and so on, but first, this:
    A small sidebar in the Bugs & Fixes column of the April, 2007 Macworld magazine (see page 89) mentions that: "the likely cause is a problematic third-party QuickTime Plug-in." and advises the reader to check for and remove plug-ins not installed by OSX.
    I took the same camera and imported all 109 pics from my camera on a separate account of the same machine (20" i-mac but I don't think this is relevant) and got all 109 f 109 files just fine.
    So, I think "problematic third party QT plug-ins may be a good call. Need to investigate this some more, but its a flaky problem and Macs are supposed to "just plain work".

  • Fixed asset import failed for 1 asset but why?

    Hi Experts!
    1 assets wasnt imported to SAP, but no idea why.
    The asset was bought on 2007.01.08, the import regards to 2009, so only 1 month is to be depreciated.
    This is the log file:
    Life Parameter: 1000123;Z0001;szoftverlicenc;155;2007-01-08;;;;LK100;;;;2080000;0;2080000;100;2007-01-08;24;1;LINHU;2060052;;;;;;;;200;2007-01-08;24;1;LINHU;2060052;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    Any idea what to do with it?
    Thank you in advance!!

    Only this item wasnt imported.
    The last depreciation of this item is in the same month as the import regards, maybe this cause it?
    But then what to write into the remaining deprecitation run..

  • Post install checks failed for DBC file - Oracle App11.5.10.2 Linux  5.3

    Hi everybody,
    I tried Installing Oracle E-Business Suite 11.5.10.2 on Red Hat Enterprise Linux Server release 5.3
    The Post install checks failed for DBC file, HTTP, JSP and PHP. Apparently the DBC hadn’t been created. I had verified the log file, while executing adgendbc.sh, it throwing below error.
    Generating /jith/d01/oracle/appl/visappl/fnd/11.5.0/secure/prithvi.bangalore.bedford.local_vis.dbc
    DBC generation failed with exit code 127
    Generating /jith/d01/oracle/appl/visappl/fnd/11.5.0/secure/prithvi_vis.dbc
    DBC generation failed with exit code 127
    Updating Server Security Authentication
    Updating Server Security Authentication failed with exit code 127
    adgendbc.sh exiting with status 127
    ERRORCODE = 127 ERRORCODE_END
    .end std out.
    touch: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
    sqlplus: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
    mkdir: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    sed: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    /jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
    cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    /jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
    cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    /jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
    cp: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
    /jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
    /jith/d01/oracle/appl/viscomn/util/java/1.4/j2sdk1.4.2_04/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
    .end err out.
    Thanks in advance.
    sreejith

    Welcome to the forums !
    Pl post EBS related question in the EBS forums at http://forums.oracle.com/forums/category.jspa?categoryID=3
    HTH
    Srini

  • Plain user and systemd: dependency failed for local file system

    I tried to switch to systemd, but ended up in a maintenance console (Enter root password or Ctrl-D to continue):
    Enter password.
    journalctl -b as suggested yields "Dependency failed for local file system".
    I couldn't find a systemd troubleshooting page in the Wiki. So, can someone point me to such a page? Anyone willing to give some hints?
    What I did so far: Did what https://wiki.archlinux.org/index.php/Systemd tells one should do to switch to systemd.
    In the boot menu pressed e, moved one down to the line starting with "kernel", pressed e again, and appended init=/bin/systemd.
    Somewhere I read that "mkinitcpio -p linux" should be issued to make systemd work. No (positive) effects.
    Paul
    P.S.: Shouldn't there be a topic "systemd" in "Pacman Upgrades, Packaging & AUR"?

    skunktrader wrote:
    poseidon wrote:In the boot menu pressed e, moved one down to the line starting with "kernel", pressed e again, and appended init=/bin/systemd.
    According to the wiki you are supposed to append init=/usr/lib/systemd/systemd if you are using the "Mixed systemd/sysvinit/initscripts installation" mode.  In all other configurations you should NOT have an init=.... entry since init becomes a symlink to systemd
    As far as I know, the init= entry doesn't hurt anything - it just isn't necessary.
    EDIT: Of course, it will hurt if the path was wrong...
    Also, at least on my system, /bin/systemd symlinks to /usr/lib/systemd/systemd.
    Last edited by cfr (2012-11-19 23:53:55)

  • I backup to an external hdd with Time Machine, when it ran out of space it did not delete old backups, now my internal hdd says its full when before it had heaps of space. I have searched for extra files but cant find any. Can anyone help, please.

    I backup to an external hdd with Time Machine, when it ran out of space it did not delete old backups, now my internal hdd says its full when before it had heaps of space. I have searched for extra files but cant find any. Can anyone help, please.

    First, empty the Trash if you haven't already done so. Then reboot. That will temporarily free up some space.
    To locate large files, you can use Spotlight as described here. That method may not find large folders that contain a lot of small files.
    You can also use a tool such as OmniDiskSweeper (ODS) to explore your volume and find out what's taking up the space. You can delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one.
    Proceed further only if the problem hasn't been solved.
    ODS can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    Install ODS in the Applications folder as usual.
    Triple-click the line of text below to select it, then copy the selected text to the Clipboard (command-C):sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    I don't recommend that you make a habit of doing this. Don't delete anything while running ODS as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means.
    When you're done with ODS, quit it and also quit Terminal.

  • I have 14GB for Movie File But I have Movie File only 1GB. I don't know where the other ?

    I have 14GB for Movie File But I have Movie File only 1GB. I don't know where the other ?

    Type    .mov     into Spotlight search to see if any files show, other than the one you know about.
    Also you can try other types like    .mp4
    Al

  • An error occurred while attempting to install the BizTalk application: Failed extracting CAB files.

    Ok I have a BizTalk Application that's called :
    FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200
    I know that is a long name but why should I be punisched when I create an installer for that. I also have a WebService that exposes this schema. And this webservice is stored inside the MSI cab files. So far so good.
    But now when I try to install this MSI alongside all my other MSI's I get the following message :
    Failed to extract file "C:\Program Files\Generated by BizTalk\FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200\36FAA7B1-99DE-4AF6-A910-ED56D02D84EF\WebDirectory\-FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200.WES\App_Data\FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200.Schemas.FinancieleOpdrachtLogistiekMiddel_v0200.xsd".
    (Length=306)
    The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters., (NULL), (NULL), (NULL).
    If i could install in C:\Program Files\Generated by BizTalk\FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200 but the extraction would take place in d:\temp or whatever, I would not have a problem. But unfortunately it extracts in a subdir of an already
    very long path......
    Is there anybody who knows how to solve this... (can I tell the MSI to use D:\TEMP\ as an extract folder).
    And using shorter names is not an option.
    Well0549, Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread

    You can control the destination path of resources in your MSI by modifying them in the Resources folder of a BizTalk application.
    %BTAD_InstallDir% defaults to C:\Program Files\Generated by BizTalk\... etc etc.  You can put in whatever you like here.
    You can get more granular control over the resources by using the
    BTSTask.exe tool.
    If you can tell me how to make the extract process of he cabs point to c:\temp i will be happy to use BTSTASK (wich i am already doing). But the problem is with the extraction oft he web service. It will extract to :
    C:\Program Files\Generated by BizTalk\FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200\36FAA7B1-99DE-4AF6-A910-ED56D02D84EF\WebDirectory\-FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200.WES\App_Data\FH.CCE.CDM.FinancieleOpdrachtLogistiekMiddel_v0200.Schemas.FinancieleOpdrachtLogistiekMiddel_v0200.xsd
    Wich is just to long. I want the cabs to extract to c:\temp or something like that.....
    Well0549, Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread

  • Mount_smbfs fails for one file server but works on another

    I have a simple terminal .command file that i've written and added to my login items. this script mounts two SMB file shares from different servers (win2003). this script has been working for over a month now it fails for one server and works fine for the second one.
    script looks like this:
    mkdir /Users/me/Desktop/fs1
    mkdir /Users/me/Desktop/fs2
    mount_smbfs //winserv1/fs1$ /Users/me/Desktop/fs1
    mount_smbfs //winserv2/fs2$ /Users/me/Desktop/fs2
    When it runs it should use my kerberos credentials to authenticate me to the winserv1 but seems to fail and then prompts for password. If I enter the password in the terminal window it fails.
    the mount_smbfs command for fs2 on winserv2 works fine and uses my kerberos credentials.
    i looked through the system.log for clues and found:
    Oct 8 12:11:06 is3018 login[2009]: USER_PROCESS: 2009 ttys000
    Oct 8 12:11:08 is3018 gssd-agent[2017]: Error returned by svcmach_gss_init_seccontext:
    then I am prompted for password in terminal (which should not happen). i enter password and it fails
    then console log responds with:
    Oct 8 12:11:08 is3018 gssd-agent[2017]: Major error = 851968: Unspecified GSS failure. Minor code may provide more information
    Oct 8 12:11:08 is3018 gssd-agent[2017]: Minor error = 100004:
    Oct 8 12:11:33 is3018 BBDaemon[50]: IOBSDNameMatching returned a NULL dictionary.
    Oct 8 12:11:33: --- last message repeated 1 time ---
    Oct 8 12:11:33 is3018 com.apple.launchd.peruser.1368768338[141] ([0x0-0x91091].com.apple.Terminal[2005]): Exited: Terminated
    Oct 8 12:11:33 is3018 login[2009]: DEAD_PROCESS: 2009 ttys000
    the cryptic log file entries don't mean much to me - anyone have any ideas what might be happening?

    Turns out that our network time server was having some problems and the the two servers had drifted several minutes off the correct time. Once the time on each server was corrected my kerberos authentication issues resolved.

  • After I installed 10.6.8, my HP Officejet lost the ability to print 2-sided.  I installed the latest HP drivers for Snow Leopard, but the 2-sided option is turned off and greyed out.

    After I installed 10.6.8, my HP Officejet 7310 lost the ability to print 2-sided.  I installed the latest HP drivers for Snow Leopard, the 2-sided option shows up in the print window but is turned off and greyed out.  Also the scan function won't let me scan at any density greater than 150 dpi.  I have talked to Applecare and to HP tech support and been told "too bad."  Any help would be appreciated.

    THANK YOU!  And who are you?  I spent a couple of hours on the phone with Applecare and with HP Tech Support and they couldn't fix what you did in a few words.  Many thanks!  John

  • ODBC--connection to 'SQL Serverservername' failed for one user but not another

    In Win7, we're linking tables in an MS Access 2010 db to tables in a SQL Server 2008 R2 db. The driver user by the File dsn is SQL Server version 6.01.7601.17514 & we're using SQL Server Authentication.
    For some reason, one user gets the msg "ODBC--connection to 'SQL Serverservername' failed" before they're even asked for a password, but for other users, the prompt comes up and when they uncheck the Windows Auth box, they enter their password
    and connect successfully to the SQL Server db.  Both users have db_datareader access to the SQL Server db.
    I had the user that gets the error msg log onto my PC and they get the same error (yet it works for me.)
    This user was, however, able to successfully relink the tables, but then when we closed the access db and opened it again, the user got the "ODBC--connection..." error agin.
    I'm stumped as to why this is happening for one user.

    Hello Knellen,
    Please help to collect more log information regarding this issue, such as windows event log, SQL Sever log information. They are helpful for us to troubleshoot it.
    Regards,
    Elvis Long
    TechNet Community Support

  • VC model fails for one user but not another - both have same auths

    We have a VC model that we created and moved to Prod (portal NW04s connecting to BW 3.5 query).  It works fine for user A, but user B gets error:
    #1.5#0003BADBD644002D000000030000053D0004282F58AC16AC#1170083723088#com.sap.port
    al.visualComposer_NWBIKit_logger#sap.com/irj#com.sap.portal.visualComposer_NWBIK
    it_logger#DOBREGON#11523#####SAPEngine_Application_Thread[impl:3]_5##0#0#Error#1
    #/System/Server#Java###Cannot execute BW query::Nested Exception. Failure to exe
    cute native function. Nested Exception. INVALID_VARIABLE_VALUES
    Both user have same authorizations in Portal and BW backend.
    There is no trace info on the BW back end, so it seems like the hangup is occuring on the portal side.

    It turns out it was the backend authorizations.  The user was able to view the BW query via the BEX Explorer.  But when she tried to access it via a VC Flex IView, we got that error.  Initially I wasn't seeing any auth traces in the BW system, but then we expaneded the trace and determined the user was missing an activity.   It's a strange error.  Would be nicer to see a 'user not authorized' or something along those lines to better pinpoint the cause.  But we're good now.

  • I installed the google tool bar for f.fox but don't see a home key

    I installed the google tool bar supported by Firefox but I don't see a home key (little house symbol) to return me to the home page.

    In Firefox 4 the Home icon was moved the right-side of the Navigation Bar, see the screenshot image below.

  • Performing a mass rename on originals to get rid of backslashes in file names. Worked for most files but failed for some with OSSStatus -43. Can't find any info on error -43. Any ideas?

    I'm moving all my managed files to be referenced so I can access from both Aperture and lightroom. Needed to do a rename on 16,000 files to get rid of backslashes in the file names. Most of the time it worked but for 1093 files it gave OSSStatus -43. I've tried googling the error and got nothing. Any ideas where to begin looking?
    Thanks
    Jim

    How are you renaming the files? In the "File > Relocate original file" dialog panel? Are you using a custom name format?
    Have you checked in Aperture, if the originals, that are giving you the error message, are still inside the Aperture library?

  • Trying to install the new itunes/borjour for windows 64 but neither install

    I downloaded the current version of itunes for windows 64.  I received a message to install Bonjour and did so.
    I have 2 Bonjour items in Programs and tried to uninstall the one dated 2010 but received the message that this program is for 32bit and to go get the download/bonjourforwindows. html, which I did when itunes was downloaded and this version will not 'uninstall'.
    I tried to open the Bonjour Printer Wizard and received a message "Bonjour service is not available".
    Also, itunes is still version 9.1.1.12.
    HELP

    No one can help you if you cannot or will not provide specifics of the issue.
    TechnicallyLost wrote:
    then gives me an error message that says it wasn't able to finish because an apps file or something was not located.
    You might as well not even ask for help if that is all the detail you can or will provide... that statement is completely useless.
    Would you take your car to a mechanic and simply say "it just doesn't work"? 

Maybe you are looking for

  • Itunes and the dreaded !

    hey guys, i just reformated my pc and i was able to transfer my library over replacing the new itunes folder from the fresh install with my old backup folder. This worked perfect.. now im having a problem, my music was always stored on "c->my downloa

  • Getting the Lenovo Dataslim E16 160GB portable drive to be recognised by Windows XP?

    Dear Lenovo, I have my portable Dataslim E16 drive communicating to my Lenovo Laptop without issue. I also need to connect the  portable drive to my othe Window XP desktop PC. But plug & play has not found a suitable driver. Where can I download a su

  • Sequence settings for HDV 720p 24 fps

    Okay, now that the French is gone I'm back on track, but still confused. I've captured my HDV 720p @ 24FPS footage using LumiereHD & it's separated & ready to go. What sequence settings/editing timebase should I use? I've noted people here saying DVC

  • Adobe Reader X:Recurring issues with print and save requiring reinstalls

    One of our staff has recurring issues with PDF print, view, save.  These issue are temporarily resolved by re-installing the Reader from the Adobe website.  No error messages are displayed - the functions just cease to work.  In the most recent itera

  • Can you use BBB iplayer application with Apple Tv

    Can you use BBC iplayer application on Apple TV. I live in Spain