error with makepkg

This forum is for all other ARMv5 devices

error with makepkg

Postby nick2012 » Fri Apr 26, 2013 6:24 pm

hey guys i am noob at linux and got p21

got some errors with makepkg
$this->bbcode_second_pass_code('', '[root@alarm package-query]# makepkg
==> ERROR: Running makepkg as root is a BAD idea and can cause permanent,
catastrophic damage to your system. If you wish to run as root, please
use the --asroot option.
[root@alarm package-query]# makepkg --asroot
==> ERROR: package-query is not available for the 'arm' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('arm').')
i am not able to install from aur

and why cant i use systemd commands??
thanks
nick2012
 
Posts: 85
Joined: Fri Apr 26, 2013 6:03 pm

Re: error with makepkg

Postby pepedog » Fri Apr 26, 2013 6:38 pm

makepkg -A --asroot
You have an old kernel and systemd won't run on that device
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: error with makepkg

Postby nick2012 » Fri Apr 26, 2013 6:43 pm

$this->bbcode_second_pass_quote('pepedog', 'm')akepkg -A --asroot
You have an old kernel and systemd won't run on that device


hey thanks bro

$this->bbcode_second_pass_code('', 'makepkg -A --asroot
==> Making package: yaourt 1.3-1 (Fri Apr 26 14:18:00 CDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading yaourt-1.3.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 62464 100 62464 0 0 57268 0 0:00:01 0:00:01 --:--:-- 57359
==> Validating source files with md5sums...
yaourt-1.3.tar.gz ... Passed
==> Extracting sources...
-> Extracting yaourt-1.3.tar.gz with bsdtar
==> Starting build()...
GEN yaourt.sh
GEN pacdiffviewer.sh
GEN yaourtrc
GEN lib/util.sh
GEN lib/pkgbuild.sh
GEN lib/pacman.sh
GEN lib/abs.sh
==> Starting package()...
/usr/bin/env install -d /root/yaourt/pkg/yaourt/usr/bin
/usr/bin/env install -d /root/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -d /root/yaourt/pkg/yaourt/etc
/usr/bin/env install -d /root/yaourt/pkg/yaourt/usr/share/bash-completion/completions
/usr/bin/env install -d /root/yaourt/pkg/yaourt/usr/share/man/man{5,8}
# Scripts
/usr/bin/env install -m755 yaourt.sh /root/yaourt/pkg/yaourt/usr/bin/yaourt
/usr/bin/env install -m755 pacdiffviewer.sh /root/yaourt/pkg/yaourt/usr/bin/pacdiffviewer
# Configuration
/usr/bin/env install -m644 yaourtrc /root/yaourt/pkg/yaourt/etc/yaourtrc
/usr/bin/env install -m644 bashcompletion /root/yaourt/pkg/yaourt/usr/share/bash-completion/completions/yaourt
# Libs
/usr/bin/env install -m644 lib/alpm_backup.sh /root/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/alpm_query.sh /root/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/alpm_stats.sh /root/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/abs.sh /root/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/aur.sh /root/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/util.sh /root/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/io.sh /root/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/pacman.sh /root/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/pkgbuild.sh /root/yaourt/pkg/yaourt/usr/lib/yaourt
/usr/bin/env install -m644 lib/misc.sh /root/yaourt/pkg/yaourt/usr/lib/yaourt
# Man
/usr/bin/env install -m644 man/*.5 /root/yaourt/pkg/yaourt/usr/share/man/man5
/usr/bin/env install -m644 man/*.8 /root/yaourt/pkg/yaourt/usr/share/man/man8
# Locales
test -x /usr/bin/msgfmt && for file in po/*/*.po; \
do \
package=$(echo $file | /bin/sed -e 's#po/\([^/]\+\).*#\1#'); \
lang=$(echo $file | /bin/sed -e 's#.*/\([^/]\+\).po#\1#'); \
/usr/bin/env install -d /root/yaourt/pkg/yaourt/usr/share/locale/$lang/LC_MESSAGES; \
/usr/bin/msgfmt -o /root/yaourt/pkg/yaourt/usr/share/locale/$lang/LC_MESSAGES/$package.mo $file; \
done
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package "yaourt"...
-> Generating .PKGINFO file...
-> Generating .MTREE file...
-> Compressing package...
xz: (stdin): Cannot allocate memory
bsdtar: Write error
==> ERROR: Failed to create package file.
')
and why does this error occur??
nick2012
 
Posts: 85
Joined: Fri Apr 26, 2013 6:03 pm

Re: error with makepkg

Postby pepedog » Fri Apr 26, 2013 8:11 pm

You run out of memory. Create a swapfile if not on solid state media
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: error with makepkg

Postby hydro » Sat Apr 27, 2013 8:39 am

Or change compression format in /etc/makepkg.conf
PKGEXT='.pkg.tar.gz'
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany

Re: error with makepkg

Postby nick2012 » Sat Apr 27, 2013 9:14 am

$this->bbcode_second_pass_quote('hydro', 'O')r change compression format in /etc/makepkg.conf
PKGEXT='.pkg.tar.gz'

hey thanks now working but why everytime it says
$this->bbcode_second_pass_quote('', '(') Unsupported package: Potentially dangerous ! )

$this->bbcode_second_pass_quote('', 'E')RROR: libtorrent-extended is not available for the 'arm' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('arm').
nick2012
 
Posts: 85
Joined: Fri Apr 26, 2013 6:03 pm
Top

Re: error with makepkg

Postby hydro » Sat Apr 27, 2013 10:32 am

I don't use yaourt, but I think Unsupported package: Potentially dangerous ! is displayed every time you install a package from the AUR, because they are indeed potentially dangerous. The second issue should be self-explanatory, so when yaourt asks you whether you want to edit the PKGBUILD answer Y and edit the arch() array as suggested.
VDR on DockStar / Pogoplug E02: http://linux.bplaced.net/
hydro
 
Posts: 210
Joined: Wed Jun 15, 2011 2:03 pm
Location: Germany

Re: error with makepkg

Postby nick2012 » Sun Apr 28, 2013 10:08 am

getting this error
$this->bbcode_second_pass_code('', 'WARNING: Building package as root is dangerous.
Please run yaourt as a non-privileged user.
==> ERROR: libtorrent-git is not available for the 'arm' architecture.
Note that many packages may need a line added to their PKGBUILD
such as arch=('arm').
==> ERROR: Makepkg was unable to build libtorrent-git.
')[/quote]
nick2012
 
Posts: 85
Joined: Fri Apr 26, 2013 6:03 pm

Re: error with makepkg

Postby pepedog » Sun Apr 28, 2013 10:11 am

Try this (from scratch)
$this->bbcode_second_pass_code('', 'wget https://aur.archlinux.org/packages/li/libtorrent-git/libtorrent-git.tar.gz
tar xf libtorrent-git.tar.gz
cd libtorrent-git
makepkg -Acs --asroot')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: error with makepkg

Postby nick2012 » Mon Apr 29, 2013 8:29 am

thanks working now :))
nick2012
 
Posts: 85
Joined: Fri Apr 26, 2013 6:03 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 8 guests

cron