ALT Linux architecture porting
 help / color / mirror / Atom feed
From: Ivan Kuten <ivan.kuten@promwad.com>
To: ALT Linux arch porting <devel-ports@lists.altlinux.org>
Subject: Re: [devel-ports] проблемы с mkimage-profile-armrootfs
Date: Sat, 18 Dec 2010 00:25:04 +0200
Message-ID: <4D0BE340.3050306@promwad.com> (raw)
In-Reply-To: <4D0BD80E.1030906@promwad.com>

On 12/17/2010 11:37 PM, Ivan Kuten wrote:
> Здравствуйте,
>
> Есть задача попробовать ALT Linux ARM port для некоторого железа разработанного в нашей
> компании.
>
> Пробую идти по шагам, указанным тут:
> http://www.altlinux.org/%D0%A3%D1%81%D1%82%D0%B0%D0%BD%D0%BE%D0%B2%D0%BA%D0%B0_%D0%BD%D0%B0_sheevaplug
>
> Поставил hasher, добавил пользователя
> cat apt.conf
> Dir::Etc::SourceList "/mkimage-profile-armrootfs/sources.list";
>
> cat sources.list
> rpm ftp://ftp.altlinux.org/pub/distributions/ALTLinux/Sisyphus arm classic
>
> Запускаю make из каталога /mkimage-profile-armrootfs/
>
> make V=1
> mkimage: Processing 'prepare' ...
> mkimage: Processing 'prepare-workdir' ...
> mkimage: Processing 'prepare-image-workdir' ...
> mkimage: Processing 'build-image' ...
> /usr/bin/hsh-sh-functions: line 257: cd: /hasher: No such file or directory
> make: *** [build-image] Error 1
>
> Смотрю в hsh-sh-functions : 257 :
>
>       cd "$workdir" || return 1
>
> ранее в скипте вижу workdir="$HOME/hasher"
>
> хомяк определен: echo $HOME
> /home/hasher
> и каталог /home/hasher/hasher есть.
>
> Может кто сталкивался с данной проблемой?
>
> P.S. можно ли средствами hasher сгенерить jffs2, ubifs и uImage формате (как в
> Buildroot/OpenEmbedded) ?
>
> С уважением,
> Кутень Иван
>

Следуя http://www.altlinux.org/Ports/arm/BuildHowto пробую:

  hsh -v --initroot --target=arm --with-qemu=arm --apt-config=/mkimage-profile-armrootfs/apt.conf
hsh: changed working directory to `/home/hasher/hasher'
hsh: Locked working directory `/home/hasher/hasher'
mkaptbox: changed working directory to `/home/hasher/hasher'
mkdir: created directory `aptbox'
mkaptbox: Changed working directory to `/home/hasher/hasher/aptbox'.
mkdir: created directory `./etc'
mkdir: created directory `./etc/apt'
mkdir: created directory `./etc/apt/apt.conf.d'
mkdir: created directory `./etc/apt/sources.list.d'
mkdir: created directory `./etc/apt/vendors.list.d'
mkdir: created directory `./home'
mkdir: created directory `./home/user'
mkdir: created directory `./var'
mkdir: created directory `./var/cache'
mkdir: created directory `./var/cache/apt'
mkdir: created directory `./var/cache/apt/archives'
mkdir: created directory `./var/cache/apt/archives/partial'
mkdir: created directory `./var/lib'
mkdir: created directory `./var/lib/apt'
mkdir: created directory `./var/lib/apt/lists'
mkdir: created directory `./var/lib/apt/lists/partial'
mkdir: created directory `./var/lib/rpm'
`/home/hasher/.rpmmacros' ->  `/home/hasher/hasher/aptbox/home/user/.rpmmacros'
mode of `setarch' changed to 0755 (rwxr-xr-x)
mkaptbox: created apt-cache wrapper
mode of `apt-cache' changed to 0755 (rwxr-xr-x)
mkaptbox: created apt-config wrapper
mode of `apt-config' changed to 0755 (rwxr-xr-x)
mkaptbox: created apt-get wrapper
mode of `apt-get' changed to 0755 (rwxr-xr-x)
mkaptbox: created genbasedir wrapper
mode of `genbasedir' changed to 0755 (rwxr-xr-x)
mkaptbox: created regenbasedir
mode of `regenbasedir' changed to 0755 (rwxr-xr-x)
mkaptbox: Created APT configuration file `/home/hasher/hasher/aptbox/etc/apt/apt.conf'.
mkaptbox: Created APT source list file `./etc/apt/sources.list'.
mkaptbox: Created RPM database in `./var/lib/rpm/'.
mkaptbox: updated hasher repository indices.
Get:1 http://ftp.altlinux.org arm release [649B]
Fetched 649B in 0s (2786B/s)
Get:1 http://ftp.altlinux.org arm/classic pkglist [6014kB]
Get:2 http://ftp.altlinux.org arm/classic release [142B]
Fetched 6014kB in 2m50s (35.3kB/s)
Reading Package Lists... Done
Building Dependency Tree... Done
hsh: Acquiring lock for config file `/etc/hasher-priv/user.d/hasher'...
hsh: Locked config file `/etc/hasher-priv/user.d/hasher'
hsh-mkchroot: changed working directory to `/home/hasher/hasher'
mkdir: created directory `chroot'
hsh-mkchroot: Changed working directory to `/home/hasher/hasher/chroot'.
mkdir: created directory `.host'
mkdir: created directory `.in'
mkdir: created directory `dev'
mkdir: created directory `dev/pts'
changed group of `.' to 501
changed group of `dev' to 501
changed group of `dev/pts' to 501
mkdir: created directory `.out'
changed group of `.out' to 502
hsh-mkchroot: Created directory tree.
`dev/fd' ->  `../proc/self/fd'
`dev/stdin' ->  `../proc/self/fd/0'
`dev/stdout' ->  `../proc/self/fd/1'
`dev/stderr' ->  `../proc/self/fd/2'
hsh-mkchroot: Created /dev symlinks.
`/bin/ash.static' ->  `/home/hasher/hasher/chroot/.host/sh'
`/usr/bin/find.static' ->  `/home/hasher/hasher/chroot/.host/find'
`/usr/bin/cpio.static' ->  `/home/hasher/hasher/chroot/.host/cpio'
`/usr/bin/qemu-arm.static' ->  `/home/hasher/hasher/chroot/.host/qemu-arm'
hsh-mkchroot: Installed .host programs.
hsh-mkchroot: Created devices in `/home/hasher/hasher/chroot/dev/'.
hsh-initroot: changed working directory to `/home/hasher/hasher'
removed directory: `/home/hasher/hasher/cache/chroot/list.new'
removed directory: `/home/hasher/hasher/cache/chroot/package.new'
mkdir: created directory `/home/hasher/hasher/cache/chroot/list.new'
mkdir: created directory `/home/hasher/hasher/cache/chroot/package.new'
Reading Package Lists...
Building Dependency Tree...
Selected version fakeroot#1.12.2-alt1 for fakeroot>=0:0.7.3
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
   fakeroot: Depends: coreutils
   rpm: PreDepends: librpm (= 4.0.4-alt100.1)
        PreDepends: librpmbuild (= 4.0.4-alt100.1)
        PreDepends: coreutils
        Depends: /usr/lib/rpm
        Depends: /usr/lib/rpm/rpmrc
        Depends: librpm-4.0.4.so
        Depends: librpmbuild-4.0.4.1.so
        Depends: librpmdb-4.0.4.so
        Depends: librpmio-4.0.4.so
        PreDepends: coreutils
        PreDepends: coreutils
E: Broken packages
hsh-initroot: failed to calculate package file list.
hsh-initroot: Failed to generate initial package file list.


Это fail для ARM или x86 fakeroota?

Regards,
Ivan



  reply	other threads:[~2010-12-17 22:25 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-17 21:37 Ivan Kuten
2010-12-17 22:25 ` Ivan Kuten [this message]
2010-12-20  8:12 ` Mike Lykov
2010-12-20 10:37 ` Michail Yakushin
2010-12-20 12:27   ` Ivan Kuten
2010-12-20 14:07     ` Ivan Fedorov
2010-12-20 14:45     ` Ivan Kuten
2010-12-20 16:24       ` Michael Shigorin
2010-12-20 22:43       ` Ivan Kuten
2010-12-21  4:57         ` Michail Yakushin
2010-12-21  8:40           ` Ivan Kuten
2010-12-21  8:56             ` Ivan Kuten
2010-12-21 11:37               ` Ivan Kuten
2010-12-21  9:03             ` Michail Yakushin
2010-12-21 17:34           ` Michael Shigorin
2010-12-21 18:45             ` Ivan Kuten
2010-12-21 18:50               ` Mike Lykov
2010-12-21 18:59               ` Michael Shigorin
2010-12-21 20:53                 ` Kirill A. Shutemov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D0BE340.3050306@promwad.com \
    --to=ivan.kuten@promwad.com \
    --cc=devel-ports@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux architecture porting

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel-ports/0 devel-ports/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel-ports devel-ports/ http://lore.altlinux.org/devel-ports \
		devel-ports@lists.altlinux.org devel-ports@lists.altlinux.ru devel-ports@lists.altlinux.com
	public-inbox-index devel-ports

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel-ports


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git