From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Alexandr R Ogurtzoff To: community@altlinux.ru Date: Fri, 9 Jul 2004 11:34:33 +0300 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="koi8-r" Content-Transfer-Encoding: 8bit Message-Id: <200407091134.33467.iscander@mercuri.mk.ua> X-Virus-Scanned: by amavisd-new at localhost Cc: sisyphus@altlinux.ru Subject: [sisyphus] Broken python23 ? X-BeenThere: sisyphus@altlinux.ru X-Mailman-Version: 2.1.5 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jul 2004 08:39:29 -0000 Archived-At: List-Archive: Подскажите может кто столкнулся уже пытаюсь собрать игрушку adonthell захотела она Питона, добавил ей питона, захотела питона-devel и это поставил rpm -qa | grep python python22-2.2.3-alt5 python23-2.3.3-alt6 python23-devel-2.3.3-alt6 python22-devel-2.2.3-alt5 Пробую rpmbuild --rebuild adonthell-0.3.3-1.src.rpm В итоге вываливается с ошибкой /usr/include/python2.3/pyconfig.h:847:1: warning: "_POSIX_C_SOURCE" redefined In file included from /usr/lib/gcc-lib/i586-alt-linux/3.2.3/include/stdio.h:37, from /usr/include/SDL/SDL_rwops.h:35, from SDL_mixer.h:29, from audio.h:18, from main.cc:25: /usr/include/features.h:131:1: warning: this is the location of the previous definition /bin/sh ../libtool --mode=link g++ -g -Wall -fno-exceptions -DSWIG_GLOBAL -DDATA_DIR="\"/usr/share/adonthell\"" -o adonthell main.o libadonthell.a -lSDL -lpthread -Wl,-E -L/usr/lib/python2.3/config -lpython2.3 -lpython2.3 -lpthread -ldl -lutil -lgcc_s -lz mkdir .libs g++ -g -Wall -fno-exceptions -DSWIG_GLOBAL -DDATA_DIR=\"/usr/share/adonthell\" -o adonthell main.o -Wl,-E libadonthell.a -lSDL -L/usr/lib/python2.3/config -lpython2.3 -lpthread -ldl -lutil -lgcc_s -lz /usr/lib/python2.3/config/libpython2.3.a(posixmodule.o)(.text+0x403e): In function `posix_tmpnam': : warning: the use of `tmpnam_r' is dangerous, better use `mkstemp' /usr/lib/python2.3/config/libpython2.3.a(posixmodule.o)(.text+0x3f69): In function `posix_tempnam': : warning: the use of `tempnam' is dangerous, better use `mkstemp' /usr/lib/python2.3/config/libpython2.3.a(floatobject.o)(.text+0x165): In function `PyFloat_FromString': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(floatobject.o)(.text+0x204): In function `PyFloat_FromString': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(floatobject.o)(.text+0x530): In function `format_float': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(intobject.o)(.text+0x6dc): In function `PyInt_FromString': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(intobject.o)(.text+0x75a): In function `PyInt_FromString': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(intobject.o)(.text+0x798): more undefined references to `__ctype_b' follow /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x32d5): In function `string_lower': : undefined reference to `__ctype_tolower' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x3366): In function `string_upper': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x3385): In function `string_upper': : undefined reference to `__ctype_toupper' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x3416): In function `string_title': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x343e): In function `string_title': : undefined reference to `__ctype_toupper' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x348e): In function `string_title': : undefined reference to `__ctype_tolower' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x3510): In function `string_capitalize': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x3531): In function `string_capitalize': : undefined reference to `__ctype_toupper' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x355c): In function `string_capitalize': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x357a): In function `string_capitalize': : undefined reference to `__ctype_tolower' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x37b6): In function `string_swapcase': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x37d6): In function `string_swapcase': : undefined reference to `__ctype_toupper' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x380b): In function `string_swapcase': : undefined reference to `__ctype_tolower' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x4a5e): In function `string_isspace': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x4aa1): In function `string_isspace': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x4ade): In function `string_isalpha': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x4b21): In function `string_isalpha': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x4b5e): In function `string_isalnum': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(stringobject.o)(.text+0x4ba0): more undefined references to `__ctype_b' follow /usr/lib/python2.3/config/libpython2.3.a(codecs.o)(.text+0xed): In function `normalizestring': : undefined reference to `__ctype_tolower' /usr/lib/python2.3/config/libpython2.3.a(getargs.o)(.text+0x271): In function `vgetargs1': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(getargs.o)(.text+0x626): In function `vgetargs1': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(getargs.o)(.text+0x95d): In function `converttuple': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(getargs.o)(.text+0x2037): In function `vgetargskeywords': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(mystrtoul.o)(.text+0x61): In function `PyOS_strtoul': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(mystrtoul.o)(.text+0xc2): more undefined references to `__ctype_b' follow /usr/lib/python2.3/config/libpython2.3.a(mystrtoul.o)(.text+0x167): In function `PyOS_strtoul': : undefined reference to `__ctype_tolower' /usr/lib/python2.3/config/libpython2.3.a(mystrtoul.o)(.text+0x205): In function `PyOS_strtol': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x5d): In function `sre_lower_locale': : undefined reference to `__ctype_tolower' /usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x199): In function `.L43': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x1c4): In function `.L47': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x6de): In function `.L131': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x706): In function `.L131': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x756): In function `.L137': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(_sre.o)(.text+0x77e): more undefined references to `__ctype_b' follow /usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x1e8): In function `get_normal_name': : undefined reference to `__ctype_tolower' /usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x3e8): In function `get_coding_spec': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x17aa): In function `tok_get': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x1b16): In function `tok_get': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x1b67): In function `tok_get': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x1bcd): In function `tok_get': : undefined reference to `__ctype_b' /usr/lib/python2.3/config/libpython2.3.a(tokenizer.o)(.text+0x1d4b): more undefined references to `__ctype_b' follow collect2: ld returned 1 exit status make[3]: *** [adonthell] Error 1 make[3]: Leaving directory `/home/iscander/RPM/BUILD/adonthell-0.3.3/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/iscander/RPM/BUILD/adonthell-0.3.3/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/iscander/RPM/BUILD/adonthell-0.3.3' make: *** [all] Error 2 make: Leaving directory `/home/iscander/RPM/BUILD/adonthell-0.3.3' ошибка: Неверный код возврата из /home/iscander/tmp/rpm-tmp.99027 (%build) Чего то не хватает из библиотек? Чего? -- С наилучшими пожеланиями With best regards Александр Огурцов Alexandr Ogurtzoff