And a simple 'pwd' in the beginning of a(ny) function is a simple way to find out the default build directory (even package() functions are executed from "$srcdir").
Search Criteria
Package Details: virtualbox-ext-oracle 7.1.4-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/virtualbox-ext-oracle.git (read-only, click to copy) |
---|---|
Package Base: | virtualbox-ext-oracle |
Description: | Oracle VM VirtualBox Extension Pack |
Upstream URL: | https://www.virtualbox.org/ |
Keywords: | virtualbox |
Licenses: | custom:PUEL |
Submitter: | seblu |
Maintainer: | seblu (eworm) |
Last Packager: | eworm |
Votes: | 1361 |
Popularity: | 1.50 |
First Submitted: | 2010-12-24 16:48 (UTC) |
Last Updated: | 2024-10-15 16:10 (UTC) |
Dependencies (2)
- virtualbox (virtualbox6-binAUR, virtualbox-svnAUR, virtualbox6.1-binAUR, virtualbox-binAUR)
- rdesktop (optional) – client to connect vm via RDP
Required by (2)
- virtualbox-bin (optional)
- virtualbox6.1-bin (optional)
Sources (1)
Latest Comments
« First ‹ Previous 1 .. 29 30 31 32 33 34 35 36 37 38 39 .. 42 Next › Last »
Det commented on 2011-06-25 00:30 (UTC)
seblu commented on 2011-06-24 20:41 (UTC)
ok thx.
<deleted-account> commented on 2011-06-24 20:24 (UTC)
$startdir is deprecated. In case of doubt the wiki and every developer who has said that several times on the mailing lists are right. And, btw., every file in $startdir is symlinked to $srcdir. So there's no need to use $startdir, no matter if it's deprecated or not.
seblu commented on 2011-06-24 19:38 (UTC)
I will clean this in next release.
About deprecation of startdir, this is not written in man page of PKGBUILD, but it's written on the wiki (who is right?). In source code, startdir is used, so i don't think it's deprecated! But here, I agree it's unnecessary.
About build()/package()/whatever() functions, i don't find any informations in manual or wiki about where it should when function is run. In source code, there is a cd in src before every function call.
Thanks for the suggestions!
Det commented on 2011-06-24 19:07 (UTC)
Great, yet simple package. Just one suggestion.
You don't need to define "$srcdir" or "$startdir" (deprecated) in the beginning of the build()/package()/whatever() function since that's where the commands are already being executed in ("$srcdir"). After that you don't need the quotes there either.
adlaiff6 commented on 2011-06-17 00:28 (UTC)
Yes, I still get those.
someonerandom: do you have /usr on a separate partition?
seblu commented on 2011-05-20 09:09 (UTC)
do you have those messages if you run as root:
VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"
VBoxManage extpack install /usr/share/virtualbox/extensions/Oracle_VM_VirtualBox_Extension_Pack-4.0.8.vbox-extpack
someonerandom commented on 2011-05-20 07:13 (UTC)
@adlaiff6: same for me!
adlaiff6 commented on 2011-05-17 07:39 (UTC)
resolving dependencies...
looking for inter-conflicts...
Targets (1): virtualbox-ext-oracle-4.0.8-1
Total Download Size: 0.00 MB
Total Installed Size: 3.39 MB
Proceed with installation? [Y/n]
(1/1) checking package integrity [########################################] 100%
(1/1) checking for file conflicts [########################################] 100%
0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to uninstall "Oracle VM VirtualBox Extension Pack": The installer failed with exit code 1: VBoxExtPackHelperApp: error: Failed to rename the extension pack directory: VERR_NOT_SAME_DEVICE
VBoxManage: error: rcExit=1
error: command failed to execute correctly
(1/1) upgrading virtualbox-ext-oracle [########################################] 100%
0%...
Progress state: NS_ERROR_FAILURE
VBoxManage: error: Failed to install "/usr/share/virtualbox/extensions/Oracle_VM_VirtualBox_Extension_Pack-4.0.8.vbox-extpack": Extension pack 'Oracle VM VirtualBox Extension Pack' is already installed. In case of a reinstallation, please uninstall it first
error: command failed to execute correctly
Pinned Comments
seblu commented on 2019-04-25 17:41 (UTC)
There is no version dependency on this package on purpose! You could read comments back from 2011 to understand why.