MakePKG error

Ask questions about Arch Linux ARM. Please search before making a new topic.

MakePKG error

Postby seza » Sat Dec 08, 2012 7:35 pm

Hi all,
I am trying to run
$this->bbcode_second_pass_code('', 'makepkg --asroot')
on this AUR package: http://aur.archlinux.org/packages.php?ID=41472

but I get the following error:
cat: /usr/lib/modules/extramodules-3.6-ARCH/version: No such file or directory
==> ERROR: An unknown error has occurred. Exiting...

Any ideas please
seza
 
Posts: 13
Joined: Sat Dec 08, 2012 6:51 am

Re: MakePKG error

Postby WarheadsSE » Sat Dec 08, 2012 11:45 pm

$this->bbcode_second_pass_code('', 'uname -a')
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: MakePKG error

Postby seza » Sun Dec 09, 2012 8:50 am

I run the command you suggested - WarheadsSE
it seems like the Kernel ver I have is older than the pkg is written for,
I found the right pakg but it does not contain PKGBUILD
I searched high and low in the AUR to no avail

so how am I suppose to run Makepkg without PKGBUILD?
seza
 
Posts: 13
Joined: Sat Dec 08, 2012 6:51 am

Re: MakePKG error

Postby moonman » Sun Dec 09, 2012 9:38 am

You can't run makepkg if there isn't a PKGBUILD. You would have to build it the regular way with

$this->bbcode_second_pass_quote('', '.')/configure # if there's one
make
make install


if it's the compat-wireless then look here:
http://linuxwireless.org/en/users/Download/stable/
specifically the Building and installing section
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: MakePKG error

Postby seza » Sun Dec 09, 2012 10:09 pm

Not much joy here,
downloaded the latest [compat-wireless-3.6.8-1] but when I run
$this->bbcode_second_pass_code('', 'make')

I get this error:
$this->bbcode_second_pass_code('', './scripts/gen-compat-autoconf.sh /home/compat-wireless-3.6.8-1/.config /home/compat-wireless-3.6.8-1/config.mk > include/linux/compat_autoconf.h
make -C /lib/modules/3.2.27+/build M=/home/compat-wireless-3.6.8-1 modules
make: *** /lib/modules/3.2.27+/build: No such file or directory. Stop.
make: *** [modules] Error 2')

any thoughts please.
seza
 
Posts: 13
Joined: Sat Dec 08, 2012 6:51 am

Re: MakePKG error

Postby seza » Mon Dec 10, 2012 6:59 am

Anyone please.
seza
 
Posts: 13
Joined: Sat Dec 08, 2012 6:51 am

Re: MakePKG error

Postby pepedog » Mon Dec 10, 2012 11:02 am

I would have expected scripts to use uname to locate the build file, which is a symlink (provided by the linux-headers package) that points where the src is
$this->bbcode_second_pass_code('', 'uname -a
ls -l /usr/lib/modules/')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: MakePKG error

Postby seza » Mon Dec 10, 2012 11:40 am

thanks Pepedog - I sent you a PM.
seza
 
Posts: 13
Joined: Sat Dec 08, 2012 6:51 am

Re: MakePKG error

Postby pepedog » Mon Dec 10, 2012 3:14 pm

Yes, I saw.
It seems that its replaced by https://aur.archlinux.org/packages/co/compat-drivers-patched/compat-drivers-patched.tar.gz
I edited PKGBUILD so that _extramodules= points to the right place, in MY case
_extramodules=extramodules-3.6.7--raspberrypi-next
Find out yours with ls /usr/lib/modules/

So i makepkg -Acs --asroot and get this error
error: -mfloat-abi=soft and -mfloat-abi=hard may not be used together

So I add this to the build section of PKGBUILD
CFLAGS=""
CXXLAGS=""
Kernels are not really soft or hard

It builds a lot of stuff and errors out to where I can't help any more, sorry
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: MakePKG error

Postby seza » Mon Dec 10, 2012 3:38 pm

thanks anyway.
seza
 
Posts: 13
Joined: Sat Dec 08, 2012 6:51 am


Return to User Questions

Who is online

Users browsing this forum: No registered users and 7 guests