[100%] Built target rtl_airband
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/bin/rtl_airband
CMake Error at src/cmake_install.cmake:52 (file):
file INSTALL cannot copy file
"/home/bitscoper/.cache/yay/rtlsdr-airband-git/src/rtlsdr-airband/BUILD/src/rtl_airband"
to "/usr/bin/rtl_airband": Permission denied.
Call Stack (most recent call first):
cmake_install.cmake:47 (include)
make: *** [Makefile:100: install] Error 1
==> ERROR: A failure occurred in package().
Aborting...
-> error making: rtlsdr-airband-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
rtlsdr-airband-git - exit status 4
Search Criteria
Package Details: rtlsdr-airband-git 5.0.12.0.ge7cd0ec-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/rtlsdr-airband-git.git (read-only, click to copy) |
---|---|
Package Base: | rtlsdr-airband-git |
Description: | RTLSDR AM demodulator, support multiple channels per dongle |
Upstream URL: | https://github.com/charlie-foxtrot/RTLSDR-Airband |
Licenses: | GPL3 |
Conflicts: | rtlsdr-airband |
Provides: | rtlsdr-airband |
Submitter: | Mikos |
Maintainer: | EndlessEden (Strykar) |
Last Packager: | Strykar |
Votes: | 2 |
Popularity: | 0.000000 |
First Submitted: | 2015-12-06 13:45 (UTC) |
Last Updated: | 2024-05-02 16:07 (UTC) |
Dependencies (9)
- fftw
- lame (lame-svnAUR, lame-altivecAUR)
- libconfig (libconfig-gitAUR)
- libshout (libshout-gitAUR)
- libvorbis (libvorbis-aotuvAUR, libvorbis-aotuv-lancerAUR, libvorbis-gitAUR)
- rtl-sdr (rtl-sdr-librtlsdr-gitAUR, rtl-sdr-exp-gitAUR, rtl-sdr-gitAUR, rtl-sdr-blog-gitAUR, rtl-sdr-blogAUR)
- soapysdr (soapysdr-gitAUR)
- git (git-gitAUR, git-glAUR) (make)
- soapysdr (soapysdr-gitAUR) (optional)
Required by (0)
Sources (2)
<deleted-account> commented on 2024-07-14 09:13 (UTC)
benallard commented on 2024-06-09 14:09 (UTC)
please comment if there are any issues.
The make install step is still missing the DESTDIR environment.
Strykar commented on 2024-05-02 16:19 (UTC) (edited on 2024-05-02 16:19 (UTC) by Strykar)
Updated to the new upstream repo, please comment if there are any issues.
Strykar commented on 2024-01-21 04:23 (UTC)
Hi, feel free to add me as a co-maintainer.
The upstream URL https://github.com/szpajder/RTLSDR-Airband now redirects to https://github.com/charlie-foxtrot/RTLSDR-Airband as the project was handed over to another dev, see - https://github.com/charlie-foxtrot/RTLSDR-Airband/discussions/342
benallard commented on 2022-09-30 16:07 (UTC)
Reposting here for completness:
diff --git a/PKGBUILD b/PKGBUILD
index 9816beb..a2c40dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@ arch=('i686' 'x86_64')
url="https://github.com/szpajder/RTLSDR-Airband"
license=('GPL3')
depends=('rtl-sdr' 'fftw' 'libvorbis' 'lame' 'libshout' 'libconfig' 'libmirisdr' 'soapysdr')
-makedepends=('git' 'libmirisdr' 'soapysdr')
+makedepends=('git' 'libmirisdr5' 'soapysdr')
provides=("${pkgname%-git}")
conflicts=("${pkgname%-git}")
source=('rtlsdr-airband::git+https://github.com/szpajder/RTLSDR-Airband.git#branch=unstable'
@@ -47,7 +47,7 @@ build() {
package() {
cd "$srcdir"/"${pkgname%-git}"/BUILD
- make install
+ DESTDIR=${pkgdir} make install
install -Dm 0755 "$srcdir"/"${pkgname%-git}"/BUILD/src/rtl_airband "${pkgdir}"/usr/bin/rtl_airband
install -Dm 0600 "$srcdir"/"${pkgname%-git}"/config/basic_multichannel.conf "${pkgdir}"/etc/rtl_airband/basic_multichannel.conf
install -Dm 0600 "$srcdir"/"${pkgname%-git}"/config/basic_scanning.conf "${pkgdir}"/etc/rtl_airband/basic_scanning.conf
EndlessEden commented on 2022-09-13 06:11 (UTC)
I'm still really busy with offline stuff, accepting co-maintainers
Pinky commented on 2022-09-12 20:53 (UTC)
The following patch solves the issue for me.
@@ -47,7 +48,7 @@ build() {
package() {
cd "$srcdir"/"${pkgname%-git}"/BUILD
- make install
+ DESTDIR=${pkgdir} make install
install -Dm 0755 "$srcdir"/"${pkgname%-git}"/BUILD/src/rtl_airband "${pkgdir}"/usr/bin/rtl_airband
install -Dm 0600 "$srcdir"/"${pkgname%-git}"/config/basic_multichannel.conf "${pkgdir}"/etc/rtl_airband/basic_multichannel.conf
install -Dm 0600 "$srcdir"/"${pkgname%-git}"/config/basic_scanning.conf "${pkgdir}"/etc/rtl_airband/basic_scanning.conf
Pinky commented on 2022-05-20 17:14 (UTC) (edited on 2022-05-20 17:16 (UTC) by Pinky)
It failed with the following error:
CMake Error at src/cmake_install.cmake:52 (file):
file INSTALL cannot copy file
"/home/pinky/work/arch/rtlsdr-airband-git/src/rtlsdr-airband/BUILD/src/rtl_airband"
to "/usr/bin/rtl_airband": Permission denied.
Call Stack (most recent call first):
cmake_install.cmake:47 (include)
redurgam commented on 2021-12-04 06:02 (UTC) (edited on 2021-12-04 23:43 (UTC) by redurgam)
unless you need mirisdr it's optional.
in the PKGBUILD i removed 'libmirisdr'
from depends & makedepends. to the build() section, added -DMIRISDR=OFF \
after it didn't work, changed the package() section as well
rtl_airband looks for default config in /usr/local/etc/rtl_airband.conf but '-c' allows for alternatives: $ rtl_airband -c /etc/rtl_airband/basic_scanning.conf
Pinned Comments
EndlessEden commented on 2022-09-13 06:11 (UTC)
I'm still really busy with offline stuff, accepting co-maintainers
EndlessEden commented on 2021-08-27 15:51 (UTC)
Update: overhauled PKGBUILD, added removed conf from upstream to speed up first installs. added missing configs, from config directory.
Fixed: Fixed versioning to be more sensible.
if i have missed something or you have some suggestions, please leave a comment and i will review it when i have time.