From: Ildar Mulyukov <ildar@users.sourceforge.net> To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru> Subject: [sisyphus] hasher: проблемы Date: Tue, 22 Jun 2004 12:57:04 +0400 Message-ID: <40D7F460.2020005@users.sourceforge.net> (raw) [-- 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
next reply other threads:[~2004-06-22 8:57 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2004-06-22 8:57 Ildar Mulyukov [this message] 2004-06-22 15:50 ` Dmitry V. Levin
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=40D7F460.2020005@users.sourceforge.net \ --to=ildar@users.sourceforge.net \ --cc=sisyphus@altlinux.ru \ /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 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