[lokisetup] Loki Setup ; installation problems -- Please Help

Ram vshrirama at gmail.com
Thu Aug 4 00:24:15 EDT 2005


Hi,
    I get the following errors:


 Tar: 'bootloader/tools-3.2.2/arm-linux/bin/g++' is unknown file type: 1
Tar: 'bootloader/tools-3.2.2/bin/arm-linux-ar' is unknown file type: 1
Tar: 'bootloader/tools-3.2.2/bin/arm-linux-ranlib' is unknown file type: 1
Tar: 'bootloader/tools-3.2.2/bin/arm-linux-nm' is unknown file type: 1
Tar: 'bootloader/tools-3.2.2/bin/arm-linux-strip' is unknown file type: 1
Tar: 'bootloader/tools-3.2.2/bin/arm-linux-as' is unknown file type: 1
Tar: 'bootloader/tools-3.2.2/bin/arm-linux-ld' is unknown file type: 1
Tar: 'bootloader/tools-3.2.2/bin/arm-linux-c++' is unknown file type: 1


Went through the tar.c in plugins. The type of the file is 1. That means,
 TF_LINK (Which is a Link to a previously dumped file)

I dont know why it is so, it is my tool chain (compiler, linker etc.)
i use these and it works fine. Dont understand why i get these errors:

On My System,

[oe at LocalSystem bin]$ ls -l
total 15144
-rwxr-xr-x  2 oe oe 1888474 Jul 29 14:32 ar
-rwxr-xr-x  2 oe oe 3278807 Jul 29 14:32 as
-rwxr-xr-x  2 oe oe  284064 Jul 29 15:56 c++
-rwxr-xr-x  1 oe oe    3362 Jul 29 15:35 catchsegv
-rwxr-xr-x  2 oe oe  284064 Jul 29 15:56 g++
-rwxr-xr-x  1 oe oe  280224 Jul 29 15:56 gcc
-rwxr-xr-x  1 oe oe   26263 Jul 29 15:34 gencat
-rwxr-xr-x  1 oe oe   19877 Jul 29 15:34 getconf
-rwxr-xr-x  1 oe oe   25105 Jul 29 15:35 getent
-rwxr-xr-x  1 oe oe    7483 Jul 29 15:33 glibcbug
-rwxr-xr-x  1 oe oe   59141 Jul 29 15:33 iconv
-rwxr-xr-x  2 oe oe 2578287 Jul 29 14:32 ld
-rwxr-xr-x  1 oe oe    4595 Jul 29 15:36 ldd
-rwxr-xr-x  1 oe oe   40396 Jul 29 15:33 locale
-rwxr-xr-x  1 oe oe  345597 Jul 29 15:33 localedef
-rwxr-xr-x  1 oe oe    6420 Jul 29 15:34 mtrace
-rwxr-xr-x  2 oe oe 1866649 Jul 29 14:32 nm
-rwxr-xr-x  1 oe oe   11213 Jul 29 15:35 pcprofiledump
-rwxr-xr-x  2 oe oe 1888473 Jul 29 14:32 ranlib
-rwxr-xr-x  1 oe oe   90154 Jul 29 15:36 rpcgen
-rwxr-xr-x  1 oe oe   29603 Jul 29 15:36 sprof
-rwxr-xr-x  2 oe oe 2373946 Jul 29 14:32 strip
-rwxr-xr-x  1 oe oe    6913 Jul 29 15:34 tzselect
-rwxr-xr-x  1 oe oe    5213 Jul 29 15:35 xtrace
[oe at LocalSystem bin]$

Using file command:

[oe at LocalSystem bin]$ file ar
ar: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
[oe at LocalSystem bin]$ file g++
g++: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
[oe at LocalSystem bin]$ file ranlib
ranlib: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.2.5, dynamically linked (uses shared libs), not stripped
[oe at LocalSystem bin]$



Can i modify the tar.c file to ignore these: are there any sideeffects
to this ?.


Normal tar works fine for me. I dont get any errors.



Also i want to know If i give RPM file. Will it extract the rpm into
installation directory.

Went, through the rpm.c in plugins. It uses something like --relocate. 

Should My rpm file a relocatable rpm ?.




Thanks,
Are there any archives of the mailing list ?. It would be helpful.

Regards,
Sriram


On 8/3/05, Stéphane Peter <megastep at megastep.org> wrote:
> The error you get comes from the tar extraction plugin, which does not
> directly call the tar command but rather has some code from GNU tar to
> extract it from within Loki setup. The type of compression you use is
> irrelevant as it is handled separately.
> 
> This particular error is triggered with one of the files inside the tar
> archive is of a type not handled by this code. It is mysterious exactly what
> would be the problem in this case. What is the type of files for which you
> get this error? We don't handle a few of the types usually supported by tar
> archives, i.e. sockets and the like. Files, directories, symbolic links
> should be fine though.
> 
> 
> 
> 
> On Aug 2, 2005, at 9:34 PM, Ram wrote:
> 
> I am using loki setup and i have given a tar file which contains
> 1000's of binaries as an argument to <files>mytarfile.tar.gz</file>
> 
> 
> When i try to install i get the following messages and the file (which
> appears in the warning messages) dont get installed.
> 
> Tar: 'bootloader/tools-3.2.2/arm-linux/bin/g++' is unknown file type: 1
> 
> 
> I get messages like the above many times.
> 
> 
> I tried with both .tar.gz format and .tar.bz2 format and i get
> messages like above.
> 
> I dont think there is a problem with the tar files as they work
> properly when i invoke them as a shell command.
>    tar -xvzf mytarfile.tar.gz  works file on my system.
> 
> 
> I cant specify the files to be installed as the number of files run
> into thousands and i cant put them all in a cd. only way i can put
> them is compress them and put it.
> 
> 
> How do i resolve this problem.
> 
> 
> Regards,
> Sriram 
> 
>  
> 
> -- 
> 
> Stéphane Peter 
> 
> megastep at megastep.org 
>



More information about the Lokisetup mailing list