* [devel] Ошибка при сборке wxPerl @ 2006-06-21 14:59 Slava Dubrovskiy 2006-06-21 15:41 ` Sergey Vlasov 0 siblings, 1 reply; 22+ messages in thread From: Slava Dubrovskiy @ 2006-06-21 14:59 UTC (permalink / raw) To: Devel [-- Attachment #1.1: Type: text/plain, Size: 6012 bytes --] Здравствуйте. Собираю wxperl (http://wxperl.sourceforge.net/download.html) Не собирается. :-( Может чего-то в зависимостях не хватает? Подскажите, в чем может быть причина ошибки. /usr/bin/perl /usr/lib/perl5/ExtUtils/xsubpp -noprototypes -nolinenumbers -typemap /usr/lib/perl5/ExtUtils/typemap -typemap ../../typemap -typemap typemap Grid.xs > Grid.xsc && mv Grid.xsc Grid.c i586-alt-linux-g++ -c -I. -I../.. -I/usr/lib/wx/include/gtk2-unicode-release-2.6 -I/usr/include/wx-2.6 -pipe -Wall -Os -march=i586 -mtune=pentium4 -D_GNU_SOURCE -momit-leaf-frame-pointer -DVERSION=\"0.01\" -DXS_VERSION=\"0.01\" -fPIC -DPIC "-I/usr/lib/perl5/i386-linux/CORE" -DWXPL_EXT -DGTK_NO_CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -DNO_GCC_PRAGMA Grid.c /usr/lib/perl5/i386-linux/CORE/thrdvar.h:34: error: invalid use of 'register' in linkage specification /usr/lib/perl5/i386-linux/CORE/thrdvar.h:38: error: invalid use of 'register' in linkage specification /usr/lib/perl5/i386-linux/CORE/thrdvar.h:40: error: invalid use of 'register' in linkage specification /usr/lib/perl5/i386-linux/CORE/thrdvar.h:42: error: invalid use of 'register' in linkage specification /usr/lib/perl5/i386-linux/CORE/thrdvar.h:43: error: invalid use of 'register' in linkage specification ===skip /usr/lib/perl5/i386-linux/CORE/perlvars.h:69: error: invalid use of 'register' in linkage specification /usr/lib/perl5/i386-linux/CORE/perlvars.h:73: error: invalid use of 'register' in linkage specification /usr/include/wx-2.6/wx/hashmap.h: In member function 'wxLongToLongHashMap_wxImplementation_HashTable::Node** wxLongToLongHashMap_wxImplementation_HashTable::GetNodePtr(const long int&) const': /usr/include/wx-2.6/wx/hashmap.h:705: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.6/wx/gdicmn.h: In member function 'wxStringToColourHashMap_wxImplementation_HashTable::Node** wxStringToColourHashMap_wxImplementation_HashTable::GetNodePtr(const wxString&) const': /usr/include/wx-2.6/wx/gdicmn.h:476: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.6/wx/clntdata.h: In member function 'wxShadowObjectMethods_wxImplementation_HashTable::Node** wxShadowObjectMethods_wxImplementation_HashTable::GetNodePtr(const wxString&) const': /usr/include/wx-2.6/wx/clntdata.h:26: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.6/wx/clntdata.h: In member function 'wxShadowObjectFields_wxImplementation_HashTable::Node** wxShadowObjectFields_wxImplementation_HashTable::GetNodePtr(const wxString&) const': /usr/include/wx-2.6/wx/clntdata.h:31: warning: dereferencing type-punned pointer will break strict-aliasing rules /usr/include/wx-2.6/wx/image.h: In member function 'wxImageHistogramBase_wxImplementation_HashTable::Node** wxImageHistogramBase_wxImplementation_HashTable::GetNodePtr(const long unsigned int&) const': /usr/include/wx-2.6/wx/image.h:123: warning: dereferencing type-punned pointer will break strict-aliasing rules Grid.c: In function 'void XS_Wx__GridCellTextEditor_new(PerlInterpreter*, CV*)': Grid.c:286: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridCellNumberEditor_new(PerlInterpreter*, CV*)': Grid.c:306: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridCellFloatEditor_new(PerlInterpreter*, CV*)': Grid.c:338: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridCellBoolEditor_new(PerlInterpreter*, CV*)': Grid.c:368: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridCellChoiceEditor_new(PerlInterpreter*, CV*)': Grid.c:390: warning: unused variable 'CLASS' ../../cpp/v_cback.h: At global scope: ../../cpp/v_cback.h:40: warning: 'unused' attribute ignored Grid.c: In function 'void XS_Wx__GridCellStringRenderer_new(PerlInterpreter*, CV*)': Grid.c:511: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridCellNumberRenderer_new(PerlInterpreter*, CV*)': Grid.c:529: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridCellFloatRenderer_new(PerlInterpreter*, CV*)': Grid.c:549: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridCellBoolRenderer_new(PerlInterpreter*, CV*)': Grid.c:643: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridEvent_new(PerlInterpreter*, CV*)': Grid.c:717: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridSizeEvent_new(PerlInterpreter*, CV*)': Grid.c:935: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridRangeSelectEvent_new(PerlInterpreter*, CV*)': Grid.c:1107: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridEditorCreatedEvent_new(PerlInterpreter*, CV*)': Grid.c:1348: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridCellAttr_new(PerlInterpreter*, CV*)': Grid.c:1466: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridCellCoords_new(PerlInterpreter*, CV*)': Grid.c:1887: warning: unused variable 'CLASS' Grid.c: In function 'void XS_Wx__GridTableMessage_new(PerlInterpreter*, CV*)': Grid.c:5816: warning: unused variable 'CLASS' Grid.c: At global scope: Grid.c:5993: error: invalid use of 'register' in linkage specification /usr/lib/perl5/i386-linux/CORE/patchlevel.h:122: warning: 'local_patches' defined but not used make[2]: *** [Grid.o] Error 1 make[2]: Leaving directory `/usr/src/RPM/BUILD/Wx-0.26/ext/grid' make[1]: *** [subdirs] Error 2 make[1]: Leaving directory `/usr/src/RPM/BUILD/Wx-0.26/ext' make: *** [subdirs] Error 2 make: Leaving directory `/usr/src/RPM/BUILD/Wx-0.26' error: Bad exit status from /usr/src/tmp/rpm-tmp.268 (%build) -- С уважением, Дубровский Вячеслав. [-- Attachment #1.2: perl-Wx.spec --] [-- Type: text/plain, Size: 841 bytes --] Name: perl-Wx Version: 0.26 Release: alt0 Summary: wxPerl - Perl bindings for wxWindows License: GPL Group: System/Libraries Source: http://prdownload.sourceforge.net/wxperl/Wx-%version.tar.gz Url: http://wxperl.sourceforge.net/ BuildRequires: gcc-c++ wxGTK2u-devel perl-Module-Build perl-Module-Install %description wxPerl is a Perl module wrapping the awesome wxWindows library for cross-platform GUI developement. %prep %setup -q -n Wx-%version %build %def_without test %perl_vendor_build %install %perl_vendor_install %files %doc README.txt docs/todo.txt Changes %perl_vendor_archlib/Wx* %perl_vendor_autolib/Wx* %perl_vendor_man3dir/* %changelog * Wed Jun 21 2006 Slava Dubrovskiy <dubrsl@altlinux.ru> 0.26-alt0 - 0.26 - Update spec * Sat May 13 2006 Valentyn Solomko <val@pere.org.ua> 0.2.0.060513 - First build for ALTLinux. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 254 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-21 14:59 [devel] Ошибка при сборке wxPerl Slava Dubrovskiy @ 2006-06-21 15:41 ` Sergey Vlasov 2006-06-21 15:50 ` Led 2006-06-23 8:22 ` Slava Dubrovskiy 0 siblings, 2 replies; 22+ messages in thread From: Sergey Vlasov @ 2006-06-21 15:41 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 268 bytes --] On Wed, Jun 21, 2006 at 05:59:22PM +0300, Slava Dubrovskiy wrote: > /usr/lib/perl5/i386-linux/CORE/thrdvar.h:34: error: invalid use of > 'register' in linkage specification gcc4.1-c++ в Сизифе сейчас сломан: https://bugzilla.altlinux.org/show_bug.cgi?id=9715 [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-21 15:41 ` Sergey Vlasov @ 2006-06-21 15:50 ` Led 2006-06-23 8:22 ` Slava Dubrovskiy 1 sibling, 0 replies; 22+ messages in thread From: Led @ 2006-06-21 15:50 UTC (permalink / raw) To: ALT Devel discussion list В сообщении от 21 июня 2006 18:41 Sergey Vlasov написал(a): > On Wed, Jun 21, 2006 at 05:59:22PM +0300, Slava Dubrovskiy wrote: > > /usr/lib/perl5/i386-linux/CORE/thrdvar.h:34: error: invalid use of > > 'register' in linkage specification > > gcc4.1-c++ в Сизифе сейчас сломан: > > https://bugzilla.altlinux.org/show_bug.cgi?id=9715 А "костыль" типа: %add_optflags -Dregister= допустим (пока c++ сломан)? -- Led. ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-21 15:41 ` Sergey Vlasov 2006-06-21 15:50 ` Led @ 2006-06-23 8:22 ` Slava Dubrovskiy 2006-06-23 14:22 ` Alexey Tourbin 1 sibling, 1 reply; 22+ messages in thread From: Slava Dubrovskiy @ 2006-06-23 8:22 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 952 bytes --] Sergey Vlasov пишет: Спасибо, это вылечилось. Теперь вылазит другая: Executing(Requires): /bin/sh -e /usr/src/tmp/rpm-tmp.72083 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /usr/lib/rpm/find-requires /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx.pm syntax OK /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/App.pm syntax OK /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/ArtProvider.pm syntax OK # /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: deparse failed, trying to recover with -MWx # /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: deparse failed. prefix=/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux error: /bin/sh failed error: Failed to find Requires Может кто-то знает? -- С уважением, Дубровский Вячеслав. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 254 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-23 8:22 ` Slava Dubrovskiy @ 2006-06-23 14:22 ` Alexey Tourbin 2006-06-24 0:02 ` Alexey Tourbin 0 siblings, 1 reply; 22+ messages in thread From: Alexey Tourbin @ 2006-06-23 14:22 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 1045 bytes --] On Fri, Jun 23, 2006 at 11:22:44AM +0300, Slava Dubrovskiy wrote: > Sergey Vlasov пишет: > > Спасибо, это вылечилось. Теперь вылазит другая: > > Executing(Requires): /bin/sh -e /usr/src/tmp/rpm-tmp.72083 > + umask 022 > + /bin/mkdir -p /usr/src/RPM/BUILD > + cd /usr/src/RPM/BUILD > + /usr/lib/rpm/find-requires > /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx.pm > syntax OK > /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/App.pm > syntax OK > /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/ArtProvider.pm > syntax OK > # > /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: > deparse failed, trying to recover with -MWx > # > /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: > deparse failed. > prefix=/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux > error: /bin/sh failed > error: Failed to find Requires > > Может кто-то знает? Покажите src.rpm. [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-23 14:22 ` Alexey Tourbin @ 2006-06-24 0:02 ` Alexey Tourbin 2006-06-26 9:17 ` Slava Dubrovskiy 0 siblings, 1 reply; 22+ messages in thread From: Alexey Tourbin @ 2006-06-24 0:02 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 664 bytes --] On Fri, Jun 23, 2006 at 06:22:39PM +0400, Alexey Tourbin wrote: > > /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/ArtProvider.pm > > syntax OK > > # > > /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: > > deparse failed, trying to recover with -MWx > > # > > /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: > > deparse failed. > > prefix=/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux > > error: /bin/sh failed > > error: Failed to find Requires > > > > Может кто-то знает? > > Покажите src.rpm. Заодно собирайте сразу 0.50. [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-24 0:02 ` Alexey Tourbin @ 2006-06-26 9:17 ` Slava Dubrovskiy 2006-06-26 10:45 ` Alex Gorbachenko 2006-06-26 12:39 ` Alexey Tourbin 0 siblings, 2 replies; 22+ messages in thread From: Slava Dubrovskiy @ 2006-06-26 9:17 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 746 bytes --] Alexey Tourbin пишет: >>> /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/ArtProvider.pm >>> syntax OK >>> # >>> /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: >>> deparse failed, trying to recover with -MWx >>> # >>> /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: >>> deparse failed. >>> prefix=/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux >>> error: /bin/sh failed >>> error: Failed to find Requires >>> >>> Может кто-то знает? >>> >> Покажите src.rpm. >> Посылаю лично. > Заодно собирайте сразу 0.50. > Ага. Тот теперь хочет Alien::wxWidgets -- С уважением, Дубровский Вячеслав. [-- Attachment #2: S/MIME Cryptographic Signature --] [-- Type: application/x-pkcs7-signature, Size: 3237 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 9:17 ` Slava Dubrovskiy @ 2006-06-26 10:45 ` Alex Gorbachenko 2006-06-26 12:39 ` Alexey Tourbin 1 sibling, 0 replies; 22+ messages in thread From: Alex Gorbachenko @ 2006-06-26 10:45 UTC (permalink / raw) To: devel [-- Attachment #1: Type: text/plain, Size: 274 bytes --] On Mon, 26 Jun 2006 12:17:52 +0300 Slava wrote: >Посылаю лично. >> Заодно собирайте сразу 0.50. там, случайно, проблема не с '\r' в концах строк ? а то вот буквально прямо сейчас налетел на такое в perl-DIME-Tools. -- np: Disarmonia Mundi - Celestial Furnace [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 9:17 ` Slava Dubrovskiy 2006-06-26 10:45 ` Alex Gorbachenko @ 2006-06-26 12:39 ` Alexey Tourbin 2006-06-26 13:02 ` Slava Dubrovskiy 1 sibling, 1 reply; 22+ messages in thread From: Alexey Tourbin @ 2006-06-26 12:39 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 207 bytes --] On Mon, Jun 26, 2006 at 12:17:52PM +0300, Slava Dubrovskiy wrote: > >> Покажите src.rpm. > Посылаю лично. Не вижу. Если проблема осталась, кидайте спек в рассылку. А то м.б. спамассассин зверствует. [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 12:39 ` Alexey Tourbin @ 2006-06-26 13:02 ` Slava Dubrovskiy 2006-06-26 13:16 ` Alexey Tourbin 2006-06-26 14:04 ` Alexey Tourbin 0 siblings, 2 replies; 22+ messages in thread From: Slava Dubrovskiy @ 2006-06-26 13:02 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1.1: Type: text/plain, Size: 942 bytes --] Alexey Tourbin пишет: >> Посылаю лично. >> > Не вижу. Если проблема осталась, кидайте спек в рассылку. > А то м.б. спамассассин зверствует. > Вот спек. Ошибка выглядит вот так: + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + /usr/lib/rpm/find-requires /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx.pm syntax OK /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/App.pm syntax OK /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/ArtProvider.pm syntax OK # /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: deparse failed, trying to recover with -MWx # /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: deparse failed. prefix=/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux error: /bin/sh failed error: Failed to find Requires -- С уважением, Дубровский Вячеслав. [-- Attachment #1.2: perl-Wx.spec --] [-- Type: text/plain, Size: 1003 bytes --] Name: perl-Wx Version: 0.26 Release: alt0 Summary: wxPerl - Perl bindings for wxWindows License: GPL Group: System/Libraries Source: http://prdownload.sourceforge.net/wxperl/Wx-%version.tar.gz Url: http://wxperl.sourceforge.net/ BuildRequires: gcc-c++ wxGTK2u-devel wxGTK2u-contrib-stc-devel wxGTK2u-contrib-gizmos-devel wxGTK2u-contrib-ogl-devel perl-devel libpango-devel %description wxPerl is a Perl module wrapping the awesome wxWindows library for cross-platform GUI developement. %prep %setup -q -n Wx-%version %build %def_without test ##export LDFLAGS="-L%buildroot/magick/.libs $LDFLAGS" %perl_vendor_build %install %perl_vendor_install %files %doc README.txt docs/todo.txt Changes %perl_vendor_archlib/Wx* %perl_vendor_autolib/Wx* %perl_vendor_man3dir/* %changelog * Wed Jun 21 2006 Slava Dubrovskiy <dubrsl@altlinux.ru> 0.26-alt0 - 0.26 - Update spec * Sat May 13 2006 Valentyn Solomko <val@pere.org.ua> 0.2.0.060513 - First build for ALTLinux. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 254 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 13:02 ` Slava Dubrovskiy @ 2006-06-26 13:16 ` Alexey Tourbin 2006-06-26 13:31 ` Slava Dubrovskiy 2006-06-26 14:04 ` Alexey Tourbin 1 sibling, 1 reply; 22+ messages in thread From: Alexey Tourbin @ 2006-06-26 13:16 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 393 bytes --] On Mon, Jun 26, 2006 at 04:02:19PM +0300, Slava Dubrovskiy wrote: > Alexey Tourbin пишет: > >> Посылаю лично. > >> > > Не вижу. Если проблема осталась, кидайте спек в рассылку. > > А то м.б. спамассассин зверствует. > Вот спек. С новой версией проблемы есть? > Source: http://prdownload.sourceforge.net/wxperl/Wx-%version.tar.gz Вы урл вручную вводите? s/prdownload/&s/ [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 13:16 ` Alexey Tourbin @ 2006-06-26 13:31 ` Slava Dubrovskiy 0 siblings, 0 replies; 22+ messages in thread From: Slava Dubrovskiy @ 2006-06-26 13:31 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 534 bytes --] Alexey Tourbin пишет: > С новой версией проблемы есть? > Да. Она хочет Alien-wxWidgets для своей сборки который у меня собрался, но как-то криво и похоже не работает (с ним надо отдельно разбираться). Вообщем решил пока хоть старую запустить. >> Source: http://prdownload.sourceforge.net/wxperl/Wx-%version.tar.gz >> > Вы урл вручную вводите? s/prdownload/&s/ > Я его не менял. Вот по которому загружается исходник http://switch.dl.sourceforge.net/sourceforge/wxperl/Wx-0.26.tar.gz -- С уважением, Дубровский Вячеслав. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 254 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 13:02 ` Slava Dubrovskiy 2006-06-26 13:16 ` Alexey Tourbin @ 2006-06-26 14:04 ` Alexey Tourbin 2006-06-26 14:17 ` Slava Dubrovskiy 2006-06-26 14:22 ` Alexey Tourbin 1 sibling, 2 replies; 22+ messages in thread From: Alexey Tourbin @ 2006-06-26 14:04 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 814 bytes --] On Mon, Jun 26, 2006 at 04:02:19PM +0300, Slava Dubrovskiy wrote: > # > /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: > deparse failed, trying to recover with -MWx > # > /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: > deparse failed. > prefix=/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux > error: /bin/sh failed > error: Failed to find Requires Проблема локализована, это SEGV при отсутствии DISPLAY. at@localhost ~build/Wx-0.26 12 $ perl -Mblib -c blib/lib/Wx/Calendar.pm blib/lib/Wx/Calendar.pm syntax OK at@localhost ~build/Wx-0.26 12 $ DISPLAY= perl -Mblib -c blib/lib/Wx/Calendar.pm zsh: segmentation fault DISPLAY= perl -Mblib -c blib/lib/Wx/Calendar.pm at@localhost ~build/Wx-0.26 12 $ [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 14:04 ` Alexey Tourbin @ 2006-06-26 14:17 ` Slava Dubrovskiy 2006-06-26 14:27 ` Alexey Tourbin 2006-06-26 14:54 ` Alexey Tourbin 2006-06-26 14:22 ` Alexey Tourbin 1 sibling, 2 replies; 22+ messages in thread From: Slava Dubrovskiy @ 2006-06-26 14:17 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 862 bytes --] Alexey Tourbin пишет: >> # >> /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: >> deparse failed, trying to recover with -MWx >> # >> /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: >> deparse failed. >> prefix=/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux >> error: /bin/sh failed >> error: Failed to find Requires >> > > Проблема локализована, это SEGV при отсутствии DISPLAY. > > at@localhost ~build/Wx-0.26 12 $ perl -Mblib -c blib/lib/Wx/Calendar.pm > blib/lib/Wx/Calendar.pm syntax OK > at@localhost ~build/Wx-0.26 12 $ DISPLAY= perl -Mblib -c blib/lib/Wx/Calendar.pm > zsh: segmentation fault DISPLAY= perl -Mblib -c blib/lib/Wx/Calendar.pm > at@localhost ~build/Wx-0.26 12 $ > Спасибо. Как быть в таком случае? -- С уважением, Дубровский Вячеслав. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 254 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 14:17 ` Slava Dubrovskiy @ 2006-06-26 14:27 ` Alexey Tourbin 2006-06-26 14:32 ` Slava Dubrovskiy 2006-06-26 14:54 ` Alexey Tourbin 1 sibling, 1 reply; 22+ messages in thread From: Alexey Tourbin @ 2006-06-26 14:27 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 452 bytes --] On Mon, Jun 26, 2006 at 05:17:09PM +0300, Slava Dubrovskiy wrote: > > at@localhost ~build/Wx-0.26 12 $ perl -Mblib -c blib/lib/Wx/Calendar.pm > > blib/lib/Wx/Calendar.pm syntax OK > > at@localhost ~build/Wx-0.26 12 $ DISPLAY= perl -Mblib -c blib/lib/Wx/Calendar.pm > > zsh: segmentation fault DISPLAY= perl -Mblib -c blib/lib/Wx/Calendar.pm > > at@localhost ~build/Wx-0.26 12 $ > > > Спасибо. Как быть в таком случае? Зачем вам wxPerl? [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 14:27 ` Alexey Tourbin @ 2006-06-26 14:32 ` Slava Dubrovskiy 2006-06-26 14:39 ` Alexey Tourbin 0 siblings, 1 reply; 22+ messages in thread From: Slava Dubrovskiy @ 2006-06-26 14:32 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 284 bytes --] Alexey Tourbin пишет: > Зачем вам wxPerl? > Хочу собрать переводчик pere.org.ua Там есть GUI который написан с использованием wxPerl. Автор делал сборку для ALM с использованием 2.4.2. Но потом и она поломалась. Думали опакетить для Сизифа. -- С уважением, Дубровский Вячеслав. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 254 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 14:32 ` Slava Dubrovskiy @ 2006-06-26 14:39 ` Alexey Tourbin 0 siblings, 0 replies; 22+ messages in thread From: Alexey Tourbin @ 2006-06-26 14:39 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 364 bytes --] On Mon, Jun 26, 2006 at 05:32:04PM +0300, Slava Dubrovskiy wrote: > Alexey Tourbin пишет: > > Зачем вам wxPerl? > > > Хочу собрать переводчик pere.org.ua > Там есть GUI который написан с использованием wxPerl. Автор делал сборку > для ALM с использованием 2.4.2. Но потом и она поломалась. Думали > опакетить для Сизифа. В сизиф собрать? Хорошо. :) [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 14:17 ` Slava Dubrovskiy 2006-06-26 14:27 ` Alexey Tourbin @ 2006-06-26 14:54 ` Alexey Tourbin 2006-06-26 15:30 ` Igor Zubkov 2006-06-27 6:38 ` Slava Dubrovskiy 1 sibling, 2 replies; 22+ messages in thread From: Alexey Tourbin @ 2006-06-26 14:54 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1.1: Type: text/plain, Size: 1344 bytes --] On Mon, Jun 26, 2006 at 05:17:09PM +0300, Slava Dubrovskiy wrote: > Alexey Tourbin пишет: > >> # > >> /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: > >> deparse failed, trying to recover with -MWx > >> # > >> /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: > >> deparse failed. > >> prefix=/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux > >> error: /bin/sh failed > >> error: Failed to find Requires > >> > > > > Проблема локализована, это SEGV при отсутствии DISPLAY. > > > > at@localhost ~build/Wx-0.26 12 $ perl -Mblib -c blib/lib/Wx/Calendar.pm > > blib/lib/Wx/Calendar.pm syntax OK > > at@localhost ~build/Wx-0.26 12 $ DISPLAY= perl -Mblib -c blib/lib/Wx/Calendar.pm > > zsh: segmentation fault DISPLAY= perl -Mblib -c blib/lib/Wx/Calendar.pm > > at@localhost ~build/Wx-0.26 12 $ > > > Спасибо. Как быть в таком случае? Ну как быть у случае взятия значения по нулевому адресу? Надо постараться не брать значения по нулевому адресу. В общем как в аттаче прцеплено в хешере собирается -- с ужасной руганью, но собирается. Отошлите им патч в апстрим, скажите, что проверка синтаксиса perl -c без DISPLAY'я не работает. ЗЫ: УНИМАНИЕ УСЕМ!! Починю любой пакет умеренной сложности за ящик пива aka $20. [-- Attachment #1.2: perl-Wx-0.26-alt-SetConstants.patch --] [-- Type: text/plain, Size: 2393 bytes --] --- Wx-0.26/Constant.xs- 2005-11-19 02:19:10 +0300 +++ Wx-0.26/Constant.xs 2006-06-26 18:29:45 +0400 @@ -2162,41 +2162,55 @@ void SetConstants() // // Predefined colours // +if (wxRED) wxPli_set_const( "wxRED", "Wx::Colour", new wxColour( *wxRED ) ); +if (wxGREEN) wxPli_set_const( "wxGREEN", "Wx::Colour", new wxColour( *wxGREEN ) ); +if (wxBLUE) wxPli_set_const( "wxBLUE", "Wx::Colour", new wxColour( *wxBLUE ) ); +if (wxBLACK) wxPli_set_const( "wxBLACK", "Wx::Colour", new wxColour( *wxBLACK ) ); +if (wxWHITE) wxPli_set_const( "wxWHITE", "Wx::Colour", new wxColour( *wxWHITE ) ); +if (wxCYAN) wxPli_set_const( "wxCYAN", "Wx::Colour", new wxColour( *wxCYAN ) ); +if (wxLIGHT_GREY) wxPli_set_const( "wxLIGHT_GREY", "Wx::Colour", new wxColour( *wxLIGHT_GREY ) ); // // predefined cursors // +if (wxSTANDARD_CURSOR) wxPli_set_const( "wxSTANDARD_CURSOR", "Wx::Cursor", new wxCursor( *wxSTANDARD_CURSOR ) ); +if (wxHOURGLASS_CURSOR) wxPli_set_const( "wxHOURGLASS_CURSOR", "Wx::Cursor", new wxCursor( *wxHOURGLASS_CURSOR ) ); +if (wxCROSS_CURSOR) wxPli_set_const( "wxCROSS_CURSOR", "Wx::Cursor", new wxCursor( *wxCROSS_CURSOR ) ); // // predefined fonts // +if (wxNORMAL_FONT) wxPli_set_const( "wxNORMAL_FONT", "Wx::Font", new wxFont( *wxNORMAL_FONT ) ); +if (wxSMALL_FONT) wxPli_set_const( "wxSMALL_FONT", "Wx::Font", new wxFont( *wxSMALL_FONT ) ); +if (wxITALIC_FONT) wxPli_set_const( "wxITALIC_FONT", "Wx::Font", new wxFont( *wxITALIC_FONT ) ); +if (wxSWISS_FONT) wxPli_set_const( "wxSWISS_FONT", "Wx::Font", new wxFont( *wxSWISS_FONT ) ); // // predefined pens // - #define DEFINE_PEN( pen ) \ + #define DEFINE_PEN( pen ) if (pen) \ wxPli_set_const( #pen, "Wx::Pen", new wxPen( *pen ) ) DEFINE_PEN( wxRED_PEN ); @@ -2215,7 +2229,7 @@ void SetConstants() // // Predefined brushes // - #define DEFINE_BRUSH( brush ) \ + #define DEFINE_BRUSH( brush ) if (brush) \ wxPli_set_const( #brush, "Wx::Brush", new wxBrush( *brush ) ) DEFINE_BRUSH( wxBLUE_BRUSH ); [-- Attachment #1.3: perl-Wx.spec --] [-- Type: text/plain, Size: 1066 bytes --] Name: perl-Wx Version: 0.26 Release: alt0 Summary: wxPerl - Perl bindings for wxWindows License: GPL Group: System/Libraries Source: http://prdownloads.sourceforge.net/wxperl/Wx-%version.tar.gz Url: http://wxperl.sourceforge.net/ Patch0: perl-Wx-0.26-alt-SetConstants.patch # Added by buildreq2 on Mon Jun 26 2006 BuildRequires: gcc-c++ icon-theme-hicolor libXcursor-devel libpango-devel perl-Storable perl-Test-Pod perl-YAML wxGTK2u-contrib-stc-devel wxGTK2u-devel xvfb-run %description wxPerl is a Perl module wrapping the awesome wxWindows library for cross-platform GUI developement. %prep %setup -q -n Wx-%version %patch0 -p1 %build %def_without test %perl_vendor_build xvfb-run -a make test %install %perl_vendor_install %files %doc README.txt docs/todo.txt Changes %perl_vendor_archlib/Wx* %perl_vendor_autolib/Wx* %changelog * Wed Jun 21 2006 Slava Dubrovskiy <dubrsl@altlinux.ru> 0.26-alt0 - 0.26 - Update spec * Sat May 13 2006 Valentyn Solomko <val@pere.org.ua> 0.2.0.060513 - First build for ALTLinux. [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 14:54 ` Alexey Tourbin @ 2006-06-26 15:30 ` Igor Zubkov 2006-06-26 15:44 ` Alexey Tourbin 2006-06-27 6:38 ` Slava Dubrovskiy 1 sibling, 1 reply; 22+ messages in thread From: Igor Zubkov @ 2006-06-26 15:30 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 231 bytes --] В сообщении от 26 июня 2006 17:54 Alexey Tourbin написал(a): > ЗЫ: УНИМАНИЕ УСЕМ!! Починю любой пакет умеренной сложности за ящик > пива aka $20. 10$ дам за TORCS. Оплата на LF или через WMZ. Идёт? :) -- Кипелов - На распутье [-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 15:30 ` Igor Zubkov @ 2006-06-26 15:44 ` Alexey Tourbin 0 siblings, 0 replies; 22+ messages in thread From: Alexey Tourbin @ 2006-06-26 15:44 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 337 bytes --] On Mon, Jun 26, 2006 at 06:30:24PM +0300, Igor Zubkov wrote: > В сообщении от 26 июня 2006 17:54 Alexey Tourbin написал(a): > > ЗЫ: УНИМАНИЕ УСЕМ!! Починю любой пакет умеренной сложности за ящик > > пива aka $20. > > 10$ дам за TORCS. Оплата на LF или через WMZ. Идёт? :) Не, торг не уместен. Пол-ящика меня не возбудят. :) [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 14:54 ` Alexey Tourbin 2006-06-26 15:30 ` Igor Zubkov @ 2006-06-27 6:38 ` Slava Dubrovskiy 1 sibling, 0 replies; 22+ messages in thread From: Slava Dubrovskiy @ 2006-06-27 6:38 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 437 bytes --] Alexey Tourbin пишет: >> Спасибо. Как быть в таком случае? >> > Ну как быть у случае взятия значения по нулевому адресу? Надо > постараться не брать значения по нулевому адресу. В общем как в аттаче > прцеплено в хешере собирается -- с ужасной руганью, но собирается. > Отошлите им патч в апстрим, скажите, что проверка синтаксиса perl -c > без DISPLAY'я не работает. > Спасибо большое. -- С уважением, Дубровский Вячеслав. [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 254 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
* Re: [devel] Ошибка при сборке wxPerl 2006-06-26 14:04 ` Alexey Tourbin 2006-06-26 14:17 ` Slava Dubrovskiy @ 2006-06-26 14:22 ` Alexey Tourbin 1 sibling, 0 replies; 22+ messages in thread From: Alexey Tourbin @ 2006-06-26 14:22 UTC (permalink / raw) To: ALT Devel discussion list [-- Attachment #1: Type: text/plain, Size: 1686 bytes --] On Mon, Jun 26, 2006 at 06:04:38PM +0400, Alexey Tourbin wrote: > On Mon, Jun 26, 2006 at 04:02:19PM +0300, Slava Dubrovskiy wrote: > > # > > /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: > > deparse failed, trying to recover with -MWx > > # > > /usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux/Wx/Calendar.pm: > > deparse failed. > > prefix=/usr/src/tmp/perl-Wx-buildroot/usr/lib/perl5/vendor_perl/i386-linux > > error: /bin/sh failed > > error: Failed to find Requires > > Проблема локализована, это SEGV при отсутствии DISPLAY. > > at@localhost ~build/Wx-0.26 12 $ perl -Mblib -c blib/lib/Wx/Calendar.pm > blib/lib/Wx/Calendar.pm syntax OK > at@localhost ~build/Wx-0.26 12 $ DISPLAY= perl -Mblib -c blib/lib/Wx/Calendar.pm > zsh: segmentation fault DISPLAY= perl -Mblib -c blib/lib/Wx/Calendar.pm > at@localhost ~build/Wx-0.26 12 $ Проблема локализована ещё сильнее. at@localhost ~build/Wx-0.26 13 $ gendiff . - --- ./Constant.c- 2006-06-26 17:48:59 +0400 +++ ./Constant.c 2006-06-26 18:18:42 +0400 @@ -2170,6 +2170,7 @@ void SetConstants() // // Predefined colours // + fprintf(stderr, "wxRED=%p\n", wxRED); wxPli_set_const( "wxRED", "Wx::Colour", new wxColour( *wxRED ) ); wxPli_set_const( "wxGREEN", "Wx::Colour", new wxColour( *wxGREEN ) ); wxPli_set_const( "wxBLUE", "Wx::Colour", new wxColour( *wxBLUE ) ); at@localhost ~build/Wx-0.26 13 $ DISPLAY= perl -Mblib -e 'use Wx' wxRED=(nil) zsh: segmentation fault DISPLAY= perl -Mblib -e 'use Wx' at@localhost ~build/Wx-0.26 13 $ Узятие значения по нулевму адресу у чистом виде. [-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --] ^ permalink raw reply [flat|nested] 22+ messages in thread
end of thread, other threads:[~2006-06-27 6:38 UTC | newest] Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2006-06-21 14:59 [devel] Ошибка при сборке wxPerl Slava Dubrovskiy 2006-06-21 15:41 ` Sergey Vlasov 2006-06-21 15:50 ` Led 2006-06-23 8:22 ` Slava Dubrovskiy 2006-06-23 14:22 ` Alexey Tourbin 2006-06-24 0:02 ` Alexey Tourbin 2006-06-26 9:17 ` Slava Dubrovskiy 2006-06-26 10:45 ` Alex Gorbachenko 2006-06-26 12:39 ` Alexey Tourbin 2006-06-26 13:02 ` Slava Dubrovskiy 2006-06-26 13:16 ` Alexey Tourbin 2006-06-26 13:31 ` Slava Dubrovskiy 2006-06-26 14:04 ` Alexey Tourbin 2006-06-26 14:17 ` Slava Dubrovskiy 2006-06-26 14:27 ` Alexey Tourbin 2006-06-26 14:32 ` Slava Dubrovskiy 2006-06-26 14:39 ` Alexey Tourbin 2006-06-26 14:54 ` Alexey Tourbin 2006-06-26 15:30 ` Igor Zubkov 2006-06-26 15:44 ` Alexey Tourbin 2006-06-27 6:38 ` Slava Dubrovskiy 2006-06-26 14:22 ` Alexey Tourbin
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