[devel-ports] Пропадаю. Sed собирается не правильно- что я мог сделать не так?

gosha =?iso-8859-1?q?gosha_=CE=C1_elins=2Eru?=
Пн Апр 21 17:43:58 MSD 2008


                                                      Добрый день.


 Собирается 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: `'
+../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.



Подробная информация о списке рассылки devel-ports