You are not logged in.

#1 2010-11-06 09:01:35

Alir3z4
Member
From: مغز
Registered: 2010-11-06
Posts: 14
Website

file command : problem with magic files

hi
when i installed Arch&kde build packages is easy and without any problem
but when i upgarde Arch,  building package have problem
for example i try to build avld
there is makepkg output:

[alireza@alireza avld]$ makepkg -cs
file: could not find any magic files!
==> Making package: avld 0.1.4-3 (Sat Nov  6 12:51:03 GST 2010)
==> Checking Runtime Dependencies...
==> Checking Buildtime Dependencies...
==> Retrieving Sources...
  -> Downloading avld_0.1.4.tar.bz2...
--2010-11-06 12:51:09--  http://allonlinux.free.fr/Projets/AVLD/src/avld_0.1.4.tar.bz2
Resolving allonlinux.free.fr... 212.27.63.146
Connecting to allonlinux.free.fr|212.27.63.146|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7540 (7.4K) [application/x-tar]
Saving to: "avld_0.1.4.tar.bz2.part"

100%[========================================================================>] 7,540       --.-K/s   in 0.07s   

2010-11-06 12:51:10 (112 KB/s) - "avld_0.1.4.tar.bz2.part" saved [7540/7540]

  -> Found avld_0.1.4.patch
  -> Found bad.patch
==> Validating source files with md5sums...
    avld_0.1.4.tar.bz2 ... Passed
    avld_0.1.4.patch ... Passed
    bad.patch ... Passed
==> Extracting Sources...
file: could not find any magic files!
file: could not find any magic files!
file: could not find any magic files!
==> Entering fakeroot environment...
file: could not find any magic files!
==> Starting build()...
/home/alireza/Downloads/avld/PKGBUILD: line 20: cd: /home/alireza/Downloads/avld/src/avld_0.1.4: No such file or directory
    Aborting...
[alireza@alireza avld]$ 

so how i can solve file: could not find any magic files! and why PKGBUILD say No such file or directory ??
so, i can't use yaourt beacuse finally need to compile&bulid ...
Thank's!

sorry for my english

Last edited by Alir3z4 (2010-11-06 16:15:51)

Offline

#2 2010-11-06 15:46:11

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 13,823

Re: file command : problem with magic files

The 'No such file or directory' appears because something went wrong with the extraction of the avld source file.

"file: could not find any magic files!" points to a problem with the linux file command, not a problem with makepkg.

as root, do

pacman -S file

to reinstall the file command.

please change the title to something like : "file command : problem with magic files"

@Moderators : this topic should be moved to a more appropriate section.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Online

#3 2010-11-06 16:19:30

Alir3z4
Member
From: مغز
Registered: 2010-11-06
Posts: 14
Website

Re: file command : problem with magic files

tnx for answer.
but i did install file
i don't know what happend for my Arch!
that error for all packages no just for avld source file.
i try many ways for solve this problem..
and finally i have to reinstall Arch linux. sad

Offline

Board footer

Powered by FluxBB