* [sisyphus] hasher: проблемы
@ 2004-06-22 8:57 Ildar Mulyukov
2004-06-22 15:50 ` Dmitry V. Levin
0 siblings, 1 reply; 2+ messages in thread
From: Ildar Mulyukov @ 2004-06-22 8:57 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
[-- Attachment #1: Type: text/plain, Size: 1185 bytes --]
Уважаемые коллеги, ldv,
Я новичок хэшера и у меня проблемы :-)
1. заметил, что если в /etc/hasher-priv/user.d/USER : prefix=/some/path/
- оканчивается на "/", возникает проблема. Minor bug вешать?
2. реальная проблема.
Components: hasher
Processing pkglists... hasher done
Processing srclists... hasher done
Creating component releases... done
Updating global release file... done
Appending MD5Sum... hasher done
All your base are belong to us!!!
touch: ошибка получения атрибутов `': No such file or directory
mv: невозможно выполнить stat для `cache/chroot/package.new/*': No
such file or directory
Гуголь ничего подобного ещё не видел.
sh -x hsh в атаче.
При том, что вызванный вручную /usr/share/hasher/initroot
/var/tmp/ildar/RPM/hasher выдаёт совсем иные результаты.
Воспроизводится на 2-х машинах.
Спасибо.
С уважением, Ильдар
--
Ildar Mulyukov,
free SW designer/programmer
================================================
email: ildar@users.sourceforge.net
projects: http://os-development.sourceforge.net/
home: http://tuganger.narod.ru/
ALT Linux Sisyphus (20040514)
================================================
[-- Attachment #2: hasher.bug --]
[-- Type: text/plain, Size: 4293 bytes --]
Components: hasher
Processing pkglists... hasher done
Processing srclists... hasher done
Creating component releases... done
Updating global release file... done
Appending MD5Sum... hasher done
All your base are belong to us!!!
touch: îøèáêà ïîëó÷åíèÿ àòðèáóòîâ `': No such file or directory
mv: íåâîçìîæíî âûïîëíèòü stat äëÿ `cache/chroot/package.new/*': No such file or directory
+ '[' hsh = ./hsh ']'
+ . /usr/share/hasher/functions
++ unset CDPATH
++ PROG=hsh
++ quiet=
++ verbose=
++ '[' 499 -gt 0 ']'
++ umask 022
+++ /bin/pwd
++ saved_cwd=/home/ildar
++ hasher_dir=/usr/share/hasher
++ number=
++ def_target=i586
++ target=
++ def_hasher_priv_dir=/usr/lib/hasher-priv
++ hasher_priv_dir=
++ workdir=
++ aptbox=
++ chroot=
++ entry=
++ no_stuff=
++ no_sisyphus_check=
++ no_sisyphus_check_in=
++ no_sisyphus_check_out=
++ '[' -n '' ']'
++ prog_apt_get=apt-get
++ '[' -n '' ']'
++ prog_apt_cache=apt-cache
++ '[' -n '' ']'
++ prog_apt_config=apt-config
++ '[' -n '' ']'
++ prog_genbasedir=genbasedir
++ export prog_apt_get prog_apt_cache prog_apt_config prog_genbasedir
++ APT_CONFIG=
++ hash=
++ rpm_verbose=
++ exclude_docs=
++ entry_header=#!/bin/sh -e
TMPDIR="$HOME/tmp"
export TMPDIR
cd /.in
++ entry_fakeroot_header=#!/bin/sh -e
if [ -z "$FAKEROOTKEY" -a "$USER" = "root" -a -x "/usr/bin/fakeroot" ]; then
exec /usr/bin/fakeroot "$0" "$@"
fi
cd /.in
++ getopt -n hsh -o q,v,V,h -l no-stuff,no-cache,no-contents-indices,no-sisyphus-check::,no-sisyphus-check-in::,no-sisyphus-check-out::,rebuild-prog:,repackage-source,target:,number:,hasher-priv-dir:,nprocs:,install-langs:,build-args:,contents-index-all:,contents-index-bin:,pkg-init-list:,pkg-build-list:,apt-config:,apt-prefix:,quiet,verbose,help,version -- /home/ildar/tmp/RPM/hasher/ /home/ildar/tmp/RPM/SRPMS/mono-0.95-alt1.src.rpm
+ TEMP= -- '/home/ildar/tmp/RPM/hasher/' '/home/ildar/tmp/RPM/SRPMS/mono-0.95-alt1.src.rpm'
+ eval set -- ' -- '\''/home/ildar/tmp/RPM/hasher/'\'' '\''/home/ildar/tmp/RPM/SRPMS/mono-0.95-alt1.src.rpm'\'''
++ set -- -- /home/ildar/tmp/RPM/hasher/ /home/ildar/tmp/RPM/SRPMS/mono-0.95-alt1.src.rpm
+ no_cache=
+ no_contents_indices=
+ nprocs=
+ rpmargs=
+ prog_rebuild=
+ install_langs=
+ contents_index_all=
+ contents_index_bin=
+ init_list=
+ build_list=
+ repackage_source=
+ apt_config=
+ :
+ shift
+ break
+ '[' 2 -ge 2 ']'
+ set_workdir /home/ildar/tmp/RPM/hasher/
+ workdir=/home/ildar/tmp/RPM/hasher/
+ cd /home/ildar/tmp/RPM/hasher/
++ /bin/pwd
+ workdir=/var/tmp/ildar/RPM/hasher
++ printf %s /var/tmp/ildar/RPM/hasher
++ tr -d /.
+ '[' -n vartmpildarRPMhasher ']'
+ printf %s /var/tmp/ildar/RPM/hasher
+ grep -qs '[`"$\]'
+ '[' -w . ']'
+ Verbose 'changed working directory to `/var/tmp/ildar/RPM/hasher'\'''
+ '[' -n '' ']'
+ return 0
+ aptbox=/var/tmp/ildar/RPM/hasher/aptbox
+ chroot=/var/tmp/ildar/RPM/hasher/chroot
+ entry=/var/tmp/ildar/RPM/hasher/chroot/.host/entry
+ export APT_CONFIG=/var/tmp/ildar/RPM/hasher/aptbox/etc/apt/apt.conf
+ APT_CONFIG=/var/tmp/ildar/RPM/hasher/aptbox/etc/apt/apt.conf
+ shift
+ set_apt_vars
+ '[' -n '' ']'
+ return 0
+ '[' -z '' ']'
+ '[' -r /home/ildar/tmp/RPM/SRPMS/mono-0.95-alt1.src.rpm ']'
+ '[' -s /home/ildar/tmp/RPM/SRPMS/mono-0.95-alt1.src.rpm ']'
+ pidfile=lockdir/pid
+ mkdir -m700 -- lockdir
+ trap exit_handler SIGHUP SIGPIPE SIGINT SIGQUIT SIGTERM EXIT
+ echo 24077
+ '[' -z '' ']'
+ rm -rf aptbox
+ /usr/share/hasher/mkaptbox /var/tmp/ildar/RPM/hasher
Components: hasher
Processing pkglists... hasher done
Processing srclists... hasher done
Creating component releases... done
Updating global release file... done
Appending MD5Sum... hasher done
All your base are belong to us!!!
+ '[' '!' -d chroot ']'
+ /usr/share/hasher/rmchroot /var/tmp/ildar/RPM/hasher
+ /usr/share/hasher/mkchroot /var/tmp/ildar/RPM/hasher
+ /usr/share/hasher/initroot /var/tmp/ildar/RPM/hasher
touch: îøèáêà ïîëó÷åíèÿ àòðèáóòîâ `': No such file or directory
mv: íåâîçìîæíî âûïîëíèòü stat äëÿ `cache/chroot/package.new/*': No such file or directory
+ /usr/share/hasher/rebuild /var/tmp/ildar/RPM/hasher /home/ildar/tmp/RPM/SRPMS/mono-0.95-alt1.src.rpm
/usr/lib/hasher-priv/hasher-priv: chrootuid: execve: /.host/entry: No such file or directory
install: packages installation failed.
+ exit_handler
+ local rc=1
+ trap - EXIT
+ rm -rf -- lockdir
+ exit 1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [sisyphus] hasher: проблемы
2004-06-22 8:57 [sisyphus] hasher: проблемы Ildar Mulyukov
@ 2004-06-22 15:50 ` Dmitry V. Levin
0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2004-06-22 15:50 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list
[-- Attachment #1: Type: text/plain, Size: 845 bytes --]
Hi,
On Tue, Jun 22, 2004 at 12:57:04PM +0400, Ildar Mulyukov wrote:
> Уважаемые коллеги, ldv,
> Я новичок хэшера и у меня проблемы :-)
> 1. заметил, что если в /etc/hasher-priv/user.d/USER : prefix=/some/path/
> - оканчивается на "/", возникает проблема. Minor bug вешать?
> 2. реальная проблема.
>
> Components: hasher
> Processing pkglists... hasher done
> Processing srclists... hasher done
> Creating component releases... done
> Updating global release file... done
> Appending MD5Sum... hasher done
> All your base are belong to us!!!
> touch: ошибка получения атрибутов `': No such file or directory
> mv: невозможно выполнить stat для `cache/chroot/package.new/*': No
> such file or directory
>
> Гуголь ничего подобного ещё не видел.
Fixed in 0.9.9.2-alt1.
--
ldv
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-06-22 15:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-22 8:57 [sisyphus] hasher: проблемы Ildar Mulyukov
2004-06-22 15:50 ` Dmitry V. Levin
ALT Linux Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git