From: "Dmitry V. Levin" <ldv@altlinux.org> To: ALT Devel discussion list <devel@lists.altlinux.org> Subject: [devel] I: package build errors uncovered by bash4 Date: Fri, 21 Dec 2018 01:27:17 +0300 Message-ID: <20181220222717.GB2299@altlinux.org> (raw) [-- Attachment #1: Type: text/plain, Size: 4114 bytes --] Hi, Переключение bash на bash4 в Сизифе выявило несколько типовых тривиальных ошибок сборки пакетов, которые на данный момент ещё не исправлены: # source с файлом, которого нет в $PATH: OpenAD-20140315-alt3.1 + export DESTDIR=/usr/src/tmp/OpenAD-buildroot + DESTDIR=/usr/src/tmp/OpenAD-buildroot + export TOPDIR=/usr/src/RPM/BUILD/OpenAD-20140315 + TOPDIR=/usr/src/RPM/BUILD/OpenAD-20140315 + install -d /usr/src/tmp/OpenAD-buildroot/usr/lib64/whirl2f + source ./setenv.sh ++ ./tools/setenv/setenv.py --shell=sh ++ '[' 0 -ne 0 ']' ++ source setenv.tmp~ ./setenv.sh: line 12: source: setenv.tmp~: file not found python-module-hachoir-core-1:1.3.4-alt5 return stat def validateStat(self, stat): + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.62697 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd python-module-hachoir-core-1.3.4 + . setupenv.sh /usr/src/tmp/rpm-tmp.62697: line 122: .: setupenv.sh: file not found # ошибка в дочернем шелле, которую bash4 не игнорирует: clip-1.2.0cvs-alt3.qa5 + cd doc /usr/src/tmp/rpm-tmp.20832: line 102: cd: doc: No such file or directory fonts-otf-asana-math-000.955-alt1 + cd /usr/src/tmp/fonts-otf-asana-math-buildroot/usr/share/fonts/Asana-Math /usr/src/tmp/rpm-tmp.28923: line 103: cd: /usr/src/tmp/fonts-otf-asana-math-buildroot/usr/share/fonts/Asana-Math: No such file or directory golang-tools-0-alt6.git24acc66e mkdir -p $WORK/b001/exe/ cd . /usr/lib64/golang/pkg/tool/linux_amd64/link -o $WORK/b001/exe/a.out -importcfg $WORK/b001/importcfg.link -buildmode=exe -buildid=2qnclbH9N-Z1XckXnANV/pACa9yt0N-K5Q97Q3zmP/YePgUL5BqZG-Mmpn54ZD/2qnclbH9N-Z1XckXnANV -extld=gcc $WORK/b001/_pkg_.a /usr/lib64/golang/pkg/tool/linux_amd64/buildid -w $WORK/b001/exe/a.out # internal mkdir -p /usr/src/RPM/BUILD/golang-tools-0/.build/bin/ mv $WORK/b001/exe/a.out /usr/src/RPM/BUILD/golang-tools-0/.build/bin/stringer rm -r $WORK/b001/ tip.go:28:2: cannot find package "golang.org/x/crypto/acme/autocert" in any of: /usr/lib64/golang/src/golang.org/x/crypto/acme/autocert (from $GOROOT) /usr/src/RPM/BUILD/golang-tools-0/.build/src/golang.org/x/crypto/acme/autocert (from $GOPATH) kde4utils-15.12.1-alt3 + '[' superkaramba == superkaramba ']' + '[' -d superkaramba ']' + '[' -d superkaramba/cmake-modules ']' + '[' -d superkaramba/cmake/modules ']' + read d + '[' sweeper == sweeper ']' + '[' -d sweeper ']' + '[' -d sweeper/cmake-modules ']' + '[' -d sweeper/cmake/modules ']' + read d libqwt-1:5.2.3-alt1 make: Entering directory '/usr/src/RPM/BUILD/libqwt-5.2.3/examples' make: *** No rule to make target 'distclean'. Stop. make: Leaving directory '/usr/src/RPM/BUILD/libqwt-5.2.3/examples' lout-3.40-alt2 lout file "mydefs" (from "mybook" line 28, from "all" line 12): 9,6: fatal error: exiting now (error in definitions) # popd с параметрами: handbrake-1.1.2-alt3 && rm -f $file && /usr/bin/msgfmt -o $file /usr/src/RPM/BUILD/HandBrake-1.1.2/build/../gtk/po/zh_CN.po make[3]: Leaving directory '/usr/src/RPM/BUILD/HandBrake-1.1.2/build/gtk/po' make[3]: Entering directory '/usr/src/RPM/BUILD/HandBrake-1.1.2/build/gtk' make[3]: Leaving directory '/usr/src/RPM/BUILD/HandBrake-1.1.2/build/gtk' make[2]: Leaving directory '/usr/src/RPM/BUILD/HandBrake-1.1.2/build/gtk' make[1]: Leaving directory '/usr/src/RPM/BUILD/HandBrake-1.1.2/build/gtk' make: Leaving directory '/usr/src/RPM/BUILD/HandBrake-1.1.2/build' + popd build /usr/src/tmp/rpm-tmp.1169: line 139: popd: build: invalid argument popd: usage: popd [-n] [+N | -N] # pushd с лишними параметрами: python3-module-pywikibot-3.0.20180710-alt3 + cd pywikibot-3.0.20180710 + /bin/chmod -c -Rf u+rwX,go-w . + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.17604 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd pywikibot-3.0.20180710 + pushd core python3-module-pywikibot.spec /usr/src/tmp/rpm-tmp.17604: line 122: pushd: too many arguments -- ldv [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 801 bytes --]
next reply other threads:[~2018-12-20 22:27 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-12-20 22:27 Dmitry V. Levin [this message] 2019-01-09 12:41 ` Sergey Afonin 2019-01-09 12:45 ` 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=20181220222717.GB2299@altlinux.org \ --to=ldv@altlinux.org \ --cc=devel@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 Team development discussions This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \ devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru public-inbox-index devel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git