ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] python-module-MySQLdb требует пересборки?
Date: Sat, 26 Aug 2006 17:57:29 +0400
Message-ID: <20060826135729.GL9658@localhost.localdomain> (raw)
In-Reply-To: <m2bqq7c0ly.fsf@eugene-home.ikz.ru>

[-- Attachment #1: Type: text/plain, Size: 4826 bytes --]

On Sat, Aug 26, 2006 at 03:22:49PM +0600, Eugene Vlasov wrote:
> Добрый день.
> 
> После обновления MySQL до 5.0.24-alt1 у меня отказалось работать одно
> приложение, использующее python-module-MySQLdb (1.2.0-alt0.1).
> Пересборка последнего вроде решила проблему. Это у кого-то
> воспроизводится? Возможно и другие приложения собранные с MySQL
> сломались?

Так точно.  Проверил perl-DBD-mysql.  Пересборка и make test проходят
нормально.  Но если в make test подсунуть ранее собранный модуль, то
драйвер виснет/ падает /проваливает тесты.

at@localhost ~build/DBD-mysql-3.0006 8 $ make
...
/usr/bin/perl5.8.8 myld gcc  -shared -Wl,-O1 -L/usr/local/lib dbdimp.o mysql.o  -o blib/arch/auto/DBD/mysql/mysql.so    \
           -L/usr/lib -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto     \

chmod 755 blib/arch/auto/DBD/mysql/mysql.so
cp mysql.bs blib/arch/auto/DBD/mysql/mysql.bs
chmod 644 blib/arch/auto/DBD/mysql/mysql.bs
Manifying blib/man3/DBD::mysql.3
Manifying blib/man3/DBD::mysql::INSTALL.3
Manifying blib/man3/Mysql.3
Manifying blib/man3/Bundle::DBD::mysql.3
at@localhost ~build/DBD-mysql-3.0006 8 $ make test
PERL_DL_NONLAZY=1 /usr/bin/perl5.8.8 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00base.............ok
t/10dsnlist..........ok
t/20createdrop.......ok
t/30insertfetch......ok
t/35limit............ok
t/35prepare..........ok
t/40bindparam........ok
t/40blobs............ok
t/40listfields.......ok
t/40nulls............ok
t/40numrows..........ok
t/41bindparam........ok
t/41blobs_prepare....ok
t/42bindparam........ok
t/50chopblanks.......ok
t/50commit...........ok
t/60leaks............skipped
        all skipped: $ENV{SLOW_TESTS} is not set or Proc::ProcessTable not installed
t/dbdadmin...........ok
t/insertid...........ok
t/param_values.......ok
t/prepare_noerror....ok
t/texecute...........ok
All tests successful, 1 test skipped.
Files=22, Tests=434, 22 wallclock secs ( 1.28 cusr +  0.10 csys =  1.38 CPU)
at@localhost ~build/DBD-mysql-3.0006 8 $ rm -rf blib
at@localhost ~build/DBD-mysql-3.0006 8 $ perl -MExtUtils::Command::MM -e test_harness */*.t
t/00base.............ok                                                      
t/10dsnlist..........dubious                                                 
        Test returned status 0 (wstat 11, 0xb)
t/20createdrop.......ok                                                      
t/30insertfetch......ok                                                      
t/35limit............ok                                                      
t/35prepare..........ok                                                      
t/40bindparam........ok                                                      
t/40blobs............ok                                                      
t/40listfields.......ok                                                      
t/40nulls............ok                                                      
t/40numrows..........ok                                                      
t/41bindparam........ok                                                      
t/41blobs_prepare....ok                                                      
t/42bindparam........ok                                                      
t/50chopblanks.......ok                                                      
t/50commit...........Transactions not supported by database at t/50commit.t line 101.
t/50commit...........dubious                                                 
        Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 5-30
        Failed 26/30 tests, 13.33% okay
t/60leaks............skipped
        all skipped: $ENV{SLOW_TESTS} is not set or Proc::ProcessTable not installed 
t/dbdadmin...........dubious                                                 
        Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 2-21
        Failed 20/21 tests, 4.76% okay
t/insertid...........ok                                                      
t/param_values.......ok                                                      
t/prepare_noerror....ok                                                      
t/texecute...........ok                                                      
Failed Test   Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/10dsnlist.t    0    11    ??   ??  ??
t/50commit.t   255 65280    30   52  5-30
t/dbdadmin.t     0    11    21   40  2-21
1 test skipped.
Failed 3/22 test scripts. 46/425 subtests failed.
Files=22, Tests=425,  7 wallclock secs ( 1.25 cusr +  0.09 csys =  1.34 CPU)
Failed 3/22 test programs. 46/425 subtests failed.
$

wstat 11 -- это SEGV.
Сволочи.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2006-08-26 13:57 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-26  9:22 Eugene Vlasov
2006-08-26 11:14 ` Konstantin A. Lepikhov
2006-08-26 13:57 ` Alexey Tourbin [this message]
2006-08-26 14:09   ` Konstantin A. Lepikhov
2006-08-26 14:17     ` Alexey Tourbin
2006-08-26 14:43       ` Alexey Tourbin
2006-08-26 18:48         ` [devel] debug MySQL SEGV Alexey Tourbin
2006-08-26 19:22           ` Sergey Vlasov
2006-08-26 19:29             ` Konstantin A. Lepikhov
2006-08-26 20:22             ` Konstantin A. Lepikhov
2006-08-26 20:34               ` Alexey Tourbin
2006-08-27  7:03                 ` Денис Смирнов
2006-08-27 12:37                   ` Alexey Tourbin
2006-08-27 12:46                     ` Денис Смирнов
2006-08-31 21:51                 ` Alexey Tourbin
2006-08-29 23:55             ` Michael Shigorin
2006-08-30  5:49               ` Alexey Rusakov
2006-09-02 13:22                 ` Michael Shigorin
2006-09-02 13:41                   ` [devel] [jt] " Dmitry V. Levin
2006-09-02 14:36               ` [devel] " Alexey Tourbin
2006-08-26 19:15         ` [devel] python-module-MySQLdb требует пересборки? Konstantin A. Lepikhov
2006-08-26 19:27           ` Alexey Tourbin
2006-08-26 18:47   ` Vitaly Lipatov
2006-08-26 17:30 ` Ivan Fedorov
2006-08-26 17:49   ` Alexey Tourbin

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=20060826135729.GL9658@localhost.localdomain \
    --to=at@altlinux.ru \
    --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