ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Настройка hasher на сборку для другой архитектуры
@ 2010-11-16 16:42 Alexey Bochenin
  2010-11-16 17:12 ` Sergey V Turchin
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Alexey Bochenin @ 2010-11-16 16:42 UTC (permalink / raw)
  To: ALT Linux Community general discussions

Добрый день

Пытаюсь освоить сборку в хешере для другой архитектуры, руководствуясь 
описанием на вики www.a.o/Ports/x8664/32bitOn64bit:

При попытке выполнить
hsh -v --apt-conf=/home/test/hasher/apt/apt.conf.sisyphus64 
--no-sisyphus-check=packager,gpg,changelog --target=x86_64 ~/hasher64 
~/RPM/SRPMS/libvirt-0.8.4-alt1.xlab1.src.rpm

Выдается сообщение об ошибке:
...
mkaptbox: apt-config: broken Dir::Etc::SourceList: 
/home/test/hasher/apt/sources.list-sisyphys64
Не пойму, почему "broken", вроде все указал верно? Содержимое файлов 
привожу.


$ cat /home/test/hasher/apt/apt.conf.sisyphus64
Dir::Etc::main "/dev/null";
Dir::Etc::parts "/var/empty";
Dir::Etc::SourceList "/home/test/hasher/apt/sources.list-sisyphys64";
Dir::Etc::SourceParts "/var/empty";


$ cat /home/test/hasher/apt/sources.list-sisyphus64
rpm  ftp://localhost/ALT/Sisyphus x86_64 classic
rpm  ftp://localhost/ALT/Sisyphus noarch classic


$ apt-config -c apt.conf.sisyphus64 dump
APT "";
APT::Architecture "i686";
APT::DistroVersion "";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::prefetch "prefetch";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "/home/test/hasher/apt/sources.list-sisyphys64";
Dir::Etc::sourceparts "/var/empty";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "/dev/null";
Dir::Etc::parts "/var/empty";
Dir::Etc::preferences "preferences";
Dir::Etc::pkgpriorities "pkgpriorities";
Dir::Etc::translatelist "translate.list";
Dir::Etc::translateparts "translate.list.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::rpm "/bin/rpm";
Dir::Bin::scripts "/usr/share/apt/scripts";
Dir::Locale "/usr/share/locale";
Acquire "";
Acquire::ComprExtension ".bz2";
Acquire::CDROM "";
Acquire::CDROM::Copy "true";
Acquire::CDROM::mount "/media/cdrom";
Acquire::CDROM::Copy-All "true";
Acquire::DistroID "ALT Linux";
Scripts "";
Scripts::AptCache "";
Scripts::AptCache::Command "";
Scripts::AptCache::Command:: "list-extras.lua";
Scripts::AptCache::Command:: "list-nodeps.lua";
Scripts::AptCache::Help "";
Scripts::AptCache::Help::Command "";
Scripts::AptCache::Help::Command:: "list-extras.lua";
Scripts::AptCache::Help::Command:: "list-nodeps.lua";
Synaptic "";
Synaptic::mark-unsupported "y";
Synaptic::supported-label "Server Desktop updates 4.0 4.1 5.0 p5 5.1 
sisyphus";
Synaptic::supported-components "base castle classic contrib junior 
kernel main master non-free updates";
Synaptic::supported-text "_(Package is supported)";
RPM "";
RPM::Allow-Duplicated "";
RPM::Allow-Duplicated:: 
"^(NVIDIA_)?(kernel|alsa)[0-9]*(-adv|-linus)?($|-up|-smp|-secure|-custom|-enterprise|-BOOT|-tape|-aureal)";
RPM::Allow-Duplicated:: "^kernel-(image|modules)-.*";
RPM::Hold "";
RPM::Hold:: "^(kernel|alsa)[0-9]+-source";
-- 
WBR, Alexey


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Настройка hasher на сборку для другой архитектуры
  2010-11-16 16:42 [Comm] Настройка hasher на сборку для другой архитектуры Alexey Bochenin
@ 2010-11-16 17:12 ` Sergey V Turchin
  2010-11-16 17:22 ` Konstantin Pavlov
  2010-11-16 17:43 ` Andrey Liakhovets
  2 siblings, 0 replies; 6+ messages in thread
From: Sergey V Turchin @ 2010-11-16 17:12 UTC (permalink / raw)
  To: ALT Linux Community general discussions

[-- Attachment #1: Type: Text/Plain, Size: 353 bytes --]

On Tuesday 16 November 2010 19:42, Alexey Bochenin wrote:

[...]
> mkaptbox: apt-config: broken Dir::Etc::SourceList:
> /home/test/hasher/apt/sources.list-sisyphys64
> Не пойму, почему "broken", вроде все указал верно? Содержимое файлов
> привожу.
Покажите тот, который "broken" ;-)

[...]

-- 
Regards, Sergey.       ALT Linux, http://www.altlinux.ru/

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Настройка hasher на сборку для другой архитектуры
  2010-11-16 16:42 [Comm] Настройка hasher на сборку для другой архитектуры Alexey Bochenin
  2010-11-16 17:12 ` Sergey V Turchin
@ 2010-11-16 17:22 ` Konstantin Pavlov
  2010-11-17  5:14   ` Alexey Bochenin
  2010-11-16 17:43 ` Andrey Liakhovets
  2 siblings, 1 reply; 6+ messages in thread
From: Konstantin Pavlov @ 2010-11-16 17:22 UTC (permalink / raw)
  To: community

[-- Attachment #1: Type: text/plain, Size: 976 bytes --]

On Tue, Nov 16, 2010 at 07:42:40PM +0300, Alexey Bochenin wrote:
> Добрый день
> 
> Пытаюсь освоить сборку в хешере для другой архитектуры, руководствуясь 
> описанием на вики www.a.o/Ports/x8664/32bitOn64bit:
> 
> При попытке выполнить
> hsh -v --apt-conf=/home/test/hasher/apt/apt.conf.sisyphus64 
> --no-sisyphus-check=packager,gpg,changelog --target=x86_64 ~/hasher64 
> ~/RPM/SRPMS/libvirt-0.8.4-alt1.xlab1.src.rpm
> 
> Выдается сообщение об ошибке:
> ...
> mkaptbox: apt-config: broken Dir::Etc::SourceList: 
> /home/test/hasher/apt/sources.list-sisyphys64
> Не пойму, почему "broken", вроде все указал верно? Содержимое файлов 
> привожу.

Собрать на 32bit для 64bit нельзя

-- 
 * wRAR . o O ( alias св='cd' )
<Lost[work]> alias перейти=cd
<Lost[work]> alias выйти=exit
<dottedmag> alias так_точно=-f
<Lost[work]> alias первый_нах='head -n 1'
<Lost[work]> alias фдисятке='head -n 10'
<vorphalack[nb]> Lost[work]: alias фтопку=' rm -rf / .'

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Настройка hasher на сборку для другой архитектуры
  2010-11-16 16:42 [Comm] Настройка hasher на сборку для другой архитектуры Alexey Bochenin
  2010-11-16 17:12 ` Sergey V Turchin
  2010-11-16 17:22 ` Konstantin Pavlov
@ 2010-11-16 17:43 ` Andrey Liakhovets
  2010-11-17  5:09   ` Alexey Bochenin
  2 siblings, 1 reply; 6+ messages in thread
From: Andrey Liakhovets @ 2010-11-16 17:43 UTC (permalink / raw)
  To: community

On Tue, 16 Nov 2010 19:42:40 +0300 Alexey Bochenin wrote:
...
>Выдается сообщение об ошибке:
>...
>mkaptbox: apt-config: broken Dir::Etc::SourceList: /home/test/hasher/apt/sources.list-sisyphys64
>Не пойму, почему "broken", вроде все указал верно? Содержимое файлов привожу.
>
>
>$ cat /home/test/hasher/apt/apt.conf.sisyphus64
>Dir::Etc::main "/dev/null";
>Dir::Etc::parts "/var/empty";
>Dir::Etc::SourceList "/home/test/hasher/apt/sources.list-sisyphys64";
>Dir::Etc::SourceParts "/var/empty";
>
>
>$ cat /home/test/hasher/apt/sources.list-sisyphus64
                                                ^
Почему здесь совсем другой файл?
См. также:

>$ apt-config -c apt.conf.sisyphus64 dump
...
>Dir::Etc::sourcelist "/home/test/hasher/apt/sources.list-sisyphys64";

Андрей Ляховец


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Настройка hasher на сборку для другой архитектуры
  2010-11-16 17:43 ` Andrey Liakhovets
@ 2010-11-17  5:09   ` Alexey Bochenin
  0 siblings, 0 replies; 6+ messages in thread
From: Alexey Bochenin @ 2010-11-17  5:09 UTC (permalink / raw)
  To: ALT Linux Community general discussions

16.11.2010 20:43, Andrey Liakhovets пишет:
> On Tue, 16 Nov 2010 19:42:40 +0300 Alexey Bochenin wrote:

> См. также:
>
>> $ apt-config -c apt.conf.sisyphus64 dump
> ...
>> Dir::Etc::sourcelist "/home/test/hasher/apt/sources.list-sisyphys64";
>

Нашел опечатку в слове sisyphYs, спасибо

-- 
WBR, Alexey


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [Comm] Настройка hasher на сборку для другой архитектуры
  2010-11-16 17:22 ` Konstantin Pavlov
@ 2010-11-17  5:14   ` Alexey Bochenin
  0 siblings, 0 replies; 6+ messages in thread
From: Alexey Bochenin @ 2010-11-17  5:14 UTC (permalink / raw)
  To: community

16.11.2010 20:22, Konstantin Pavlov пишет:

>
> Собрать на 32bit для 64bit нельзя

С этим тоже разобрался. Мне, как новичку, это было неочевидно, но 
получив в итоге ошибки
hasher-priv: slave: chrootuid: execve: /.host/entry: Exec format error
понял что выбрал неверный путь.

В итоге нашел x86_64 платформу для сборки, и там libvirt успешно 
собралась с поддержкой xen. Спасибо

-- 
WBR, Alexey


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2010-11-17  5:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-11-16 16:42 [Comm] Настройка hasher на сборку для другой архитектуры Alexey Bochenin
2010-11-16 17:12 ` Sergey V Turchin
2010-11-16 17:22 ` Konstantin Pavlov
2010-11-17  5:14   ` Alexey Bochenin
2010-11-16 17:43 ` Andrey Liakhovets
2010-11-17  5:09   ` Alexey Bochenin

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/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 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

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


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