From: gosha <gosha@elins.ru> To: devel-ports@lists.altlinux.org Subject: [devel-ports] Пропадаю. Sed собирается не правильно- что я мог сделать не так? Date: Mon, 21 Apr 2008 13:43:58 +0000 Message-ID: <200804211343.58938.gosha@elins.ru> (raw) Добрый день. Собирается sed нативной сборкой на mips машине. На Mips машине установлено немного пакетов AltLinux (не Debian - только Alt Linux пакеты) & sed собирается. Но Но sed/testsuite/bsd.sh выдает, что он не работает с ключом -x и ошибку с макросами #sed -x<cr> -> unknown option Но самое важное, он дает ошибку в тесте 7.8:171 +../sed/sed: -e expression #1, char 40: unknown option to `s' Testing substitution commands После такой сборки при помощи rpmbuild , или ./configure , make, make install все макросы sed типа "s,^ " при сборке пакетов не отрабатываются. И напр пборка пакета gdbm завершается следующей неудачей: make: Entering directory `/home/builder/RPM/BUILD/gdbm-1.8.3' /bin/sh ./libtool --mode=compile gcc -c -I. -I. -pipe -Wall -O2 gdbmopen.c ./libtool: line 323: s,^.*/,,g: No such file or directory ./libtool: line 688: -e: command not found *** Warning: inferring the mode of operation is deprecated. *** Future versions of Libtool will require --mode=MODE be specified. ./libtool: line 998: -e: command not found ./libtool: line 998: -e: command not found ./libtool: line 998: -e: command not found ./libtool: line 998: -e: command not found ./libtool: line 998: -e: command not found ./libtool: line 998: -e: command not found ./libtool: line 998: -e: command not found ./libtool: line 1026: -e: command not found ./libtool: line 1049: -e: command not found : compile: cannot determine name of library object from `' make: *** [gdbmopen.lo] Error 1 make: Leaving directory `/home/builder/RPM/BUILD/gdbm-1.8.3' error: Bad exit status from /home/builder/tmp/rpm-tmp.99337 (%build) RPM build errors: Bad exit status from /home/builder/tmp/rpm-tmp.99337 (%build) Что я мог сделать не так? Или что недо- установить ? Результат проверки ./sed_build/testsuite/bsd.sh : /*=====================================================================*/ --- bsd.good 2007-04-09 21:10:15.000000000 +0000 +++ bsd.out 2008-04-21 14:11:39.000000000 +0000 @@ -591,6 +591,7 @@ ============ Test 2.5:124 ============ +hello ============ Test 2.6:125 @@ -1398,6 +1399,129 @@ l1_4 l1_5 l1_6 +../sed/sed: invalid option -- x +Usage: ../sed/sed [OPTION]... {script-only-if-no-other-script} [input-file]... + + -n, --quiet, --silent + suppress automatic printing of pattern space + -e script, --expression=script + add the script to the commands to be executed + -f script-file, --file=script-file + add the contents of script-file to the commands to be executed + -i[SUFFIX], --in-place[=SUFFIX] + edit files in place (makes backup if extension supplied) + -l N, --line-length=N + specify the desired line-wrap length for the `l' command + --posix + disable all GNU extensions. + -r, --regexp-extended + use extended regular expressions in the script. + -s, --separate + consider files as separate rather than as a single continuous + long stream. + -u, --unbuffered + load minimal amounts of data from the input files and flush + the output buffers more often + --help display this help and exit + --version output version information and exit + +If no -e, --expression, -f, or --file option is given, then the first +non-option argument is taken as the sed script to interpret. All +remaining arguments are names of input files; if no input files are +specified, then the standard input is read. + +E-mail bug reports to: bonzini@gnu.org . +Be sure to include the word ``sed'' somewhere in the ``Subject:'' field. +../sed/sed: option requires an argument -- f +Usage: ../sed/sed [OPTION]... {script-only-if-no-other-script} [input-file]... + + -n, --quiet, --silent + suppress automatic printing of pattern space + -e script, --expression=script + add the script to the commands to be executed + -f script-file, --file=script-file + add the contents of script-file to the commands to be executed + -i[SUFFIX], --in-place[=SUFFIX] + edit files in place (makes backup if extension supplied) + -l N, --line-length=N + specify the desired line-wrap length for the `l' command + --posix + disable all GNU extensions. + -r, --regexp-extended + use extended regular expressions in the script. + -s, --separate + consider files as separate rather than as a single continuous + long stream. + -u, --unbuffered + load minimal amounts of data from the input files and flush + the output buffers more often + --help display this help and exit + --version output version information and exit + +If no -e, --expression, -f, or --file option is given, then the first +non-option argument is taken as the sed script to interpret. All +remaining arguments are names of input files; if no input files are +specified, then the standard input is read. + +E-mail bug reports to: bonzini@gnu.org . +Be sure to include the word ``sed'' somewhere in the ``Subject:'' field. +../sed/sed: option requires an argument -- e +Usage: ../sed/sed [OPTION]... {script-only-if-no-other-script} [input-file]... + + -n, --quiet, --silent + suppress automatic printing of pattern space + -e script, --expression=script + add the script to the commands to be executed + -f script-file, --file=script-file + add the contents of script-file to the commands to be executed + -i[SUFFIX], --in-place[=SUFFIX] + edit files in place (makes backup if extension supplied) + -l N, --line-length=N + specify the desired line-wrap length for the `l' command + --posix + disable all GNU extensions. + -r, --regexp-extended + use extended regular expressions in the script. + -s, --separate + consider files as separate rather than as a single continuous + long stream. + -u, --unbuffered + load minimal amounts of data from the input files and flush + the output buffers more often + --help display this help and exit + --version output version information and exit + +If no -e, --expression, -f, or --file option is given, then the first +non-option argument is taken as the sed script to interpret. All +remaining arguments are names of input files; if no input files are +specified, then the standard input is read. + +E-mail bug reports to: bonzini@gnu.org . +Be sure to include the word ``sed'' somewhere in the ``Subject:'' field. +../sed/sed: couldn't open file /dev/dds: No such file or directory +../sed/sed: can't read /dev/dds: No such file or directory +../sed/sed: file /bin/sh line 1: unknown command: `\x7f' +../sed/sed: -e expression #1, char 0: unmatched `{' +../sed/sed: -e expression #1, char 0: unmatched `{' +../sed/sed: -e expression #1, char 7: missing command +../sed/sed: -e expression #1, char 9: missing command +../sed/sed: -e expression #1, char 1: unknown command: `-' +../sed/sed: -e expression #1, char 3: unterminated address regex +../sed/sed: can't find label for jump to `foo' +../sed/sed: -e expression #1, char 3: extra characters after command +../sed/sed: -e expression #1, char 4: unterminated `s' command +../sed/sed: -e expression #1, char 5: unterminated `s' command +../sed/sed: -e expression #1, char 5: unterminated `s' command +../sed/sed: -e expression #1, char 7: unknown option to `s' +../sed/sed: -e expression #1, char 10: multiple number options to `s' command +../sed/sed: couldn't open file : No such file or directory +../sed/sed: -e expression #1, char 4: unterminated `y' command +../sed/sed: -e expression #1, char 7: strings for `y' command are different lengths +../sed/sed: -e expression #1, char 5: unterminated `y' command +../sed/sed: -e expression #1, char 5: unterminated `y' command +../sed/sed: -e expression #1, char 7: extra characters after command +../sed/sed: -e expression #1, char 1: missing command +../sed/sed: -e expression #1, char 40: unknown option to `s' l1_7 l1_8 l1_9 @@ -1410,7 +1534,7 @@ ============ Test 7.8:171 ============ - +../sed/sed: -e expression #1, char 40: unknown option to `s' Testing substitution commands /*=====================================================================*/ ================================ 1 of 75 tests failed Please report to bonzini@gnu.org ================================ make[2]: *** [check-TESTS] Error 1 make[2]: Leaving directory `/home/builder/RPM/BUILD/sed-4.1.5/testsuite' make[1]: *** [check-am] Error 2 make[1]: Target `check' not remade because of errors. make[1]: Leaving directory `/home/builder/RPM/BUILD/sed-4.1.5/testsuite' make[1]: Entering directory `/home/builder/RPM/BUILD/sed-4.1.5' make[1]: Nothing to be done for `check-am'. make[1]: Leaving directory `/home/builder/RPM/BUILD/sed-4.1.5' make: *** [check-recursive] Error 1 make: Target `check' not remade because of errors. make: Leaving directory `/home/builder/RPM/BUILD/sed-4.1.5' error: Bad exit status from /home/builder/tmp/rpm-tmp.35952 (%build) /*=====================================================================*/ Спасибо. -- С Уваженим, gosha.
next reply other threads:[~2008-04-21 13:43 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-04-21 13:43 gosha [this message] 2008-04-21 13:02 ` Vitaly Ostanin 2008-04-21 13:07 ` Vitaly Ostanin
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=200804211343.58938.gosha@elins.ru \ --to=gosha@elins.ru \ --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