Hi,
I am trying to install a pre-built binary package of a glibc based cross
toolchain but am unable to do so. The packages are present in
"/usr/portage/packages/cross/sh4-unnown-linux-gnu/All". I have set the PKGDIR
to "/usr/portage/packages/cross/sh4-unknown-linux-gnu". The command used for
installing the package is, emerge binutils-2.18-r1.tbz2. I am getting the
following error:-
--------------------------------------------------------------------------------------------
emerging by path implies --oneshot... adding --oneshot to options.
*** emerging by path is broken and may not always work!!!
Calculating dependencies -!!! Binary package has an unrecognized category:
'/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/gcc-4.2.2.tbz2'
!!! 'cross-sh4-unknown-linux-gnu/gcc-4.2.2' has a category that is not listed
in /etc/portage/categories
!!! Binary package has an unrecognized category:
'/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/glibc-2.7-r1.tbz2'
!!! 'cross-sh4-unknown-linux-gnu/glibc-2.7-r1' has a category that is not
listed in /etc/portage/categories
!!! Binary package has an unrecognized category:
'/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/linux-headers-2.6.24.tbz2'
!!! 'cross-sh4-unknown-linux-gnu/linux-headers-2.6.24' has a category that is
not listed in /etc/portage/categories
!!! Binary package has an unrecognized category:
'/usr/portage/packages/cross/sh4-unknown-linux-gnu/All/binutils-2.18-r1.tbz2'
!!! 'cross-sh4-unknown-linux-gnu/binutils-2.18-r1' has a category that is not
listed in /etc/portage/categories \Traceback (most
recent call last):
File "/usr/bin/emerge", line 5481, in ?
retval = emerge_main()
File "/usr/bin/emerge", line 5476, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/bin/emerge", line 4804, in action_build
retval, favorites = mydepgraph.select_files(myfiles)
File "/usr/bin/emerge", line 1338, in select_files
None, "--onlydeps" not in self.myopts):
File "/usr/bin/emerge", line 1119, in create
self.pkgsettings[myroot].setcpv(mykey, mydb=portdb)
File "/usr/lib/portage/pym/portage.py", line 1680, in setcpv
pkginternaluse = " ".join([x[1:] \
File "/usr/lib/portage/pym/portage.py", line 5795, in aux_get
raise KeyError(mycpv)
KeyError: 'cross-sh4-unknown-linux-gnu/binutils-2.18-r1'
--------------------------------------------------------------------------------------------
Kindly help me in installing the package
Regards,
Suma Sharma
--
[email protected] mailing list