[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#303608: marked as done (libqt0-ruby1.8: incorrect include in qtruby library badly polutes Module namespace)



Your message dated Tue, 14 Jun 2005 14:32:40 -0400
with message-id <E1DiGDI-00073k-00@newraff.debian.org>
and subject line Bug#303608: fixed in postgresql-7.4 1:7.4.8-9
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 7 Apr 2005 17:28:54 +0000
>From sgbirch@imsmail.org Thu Apr 07 10:28:54 2005
Return-path: <sgbirch@imsmail.org>
Received: from adsl-gte-la-216-86-209-223.mminternet.com (imsmail.imsmail.org) [216.86.209.223] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DJaoI-0001Pf-00; Thu, 07 Apr 2005 10:28:54 -0700
Received: from sgbirch by imsmail.imsmail.org with local (Exim 4.50)
	id 1DJanm-0004w1-SI
	for submit@bugs.debian.org; Thu, 07 Apr 2005 10:28:22 -0700
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Stephen Birch <sgbirch@imsmail.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: libqt0-ruby1.8: incorrect include in qtruby library badly polutes Module
 namespace
X-Mailer: reportbug 3.8
Date: Thu, 07 Apr 2005 10:28:22 -0700
Message-Id: <E1DJanm-0004w1-SI@imsmail.imsmail.org>
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 

Package: libqt0-ruby1.8
Version: 4:3.3.2-1
Severity: important


A mistake in the use of include means that Qt methods were being added
to "Module" badly poluting its namespace.  This bug also breaks the
rubyscript2exe program.

The good news is that this problem has been fixed upstream but since
it is a pretty serious problem I am hoping that the fix gets into
sarge.

Here is a discussion regarding the bug from:

http://groups-beta.google.com/group/comp.lang.ruby/msg/7e8234d288fde7d2

Erik Veenstra wrote:
>> An 'include Qt' statement in qtruby.rb where a couple of
>> methods were being added to class Module was causing all the
>> Qt methods to be added to Module. Oops, this a really serious
>> bug. Various methods in qtruby.rb are now module methods in
>> the Qt::Internal module.

> This "hack" caused a problem in RubyScript2Exe when trying to
> "compile" a Ruby application which uses Qt. I've tested the
> combination RubyScript2Exe and Qt with a little HelloWorld
> program. It works!

Richard Dale replied:

Yes, my mistake was to think of 'include Qt' being just like a 'using
namespace' statement in a static language like C++. But it isn't like
that at all, and in this case was having quite major unexpected
effects.

I'd known there was something 'not quite right' in the namespace
handling of QtRuby for a while, but couldn't work out what it was. That
was I was so pleased when you found the problem.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.4.27-1-686
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages libqt0-ruby1.8 depends on:
ii  libaudio2                1.7-2           The Network Audio System (NAS). (s
ii  libc6                    2.3.2.ds1-20    GNU C Library: Shared libraries an
ii  libfontconfig1           2.3.1-2         generic font configuration library
ii  libfreetype6             2.1.7-2.3       FreeType 2 font engine, shared lib
ii  libgcc1                  1:3.4.3-6       GCC support library
ii  libice6                  4.3.0.dfsg.1-10 Inter-Client Exchange library
ii  libpng12-0               1.2.8rel-1      PNG library - runtime
ii  libqt3c102-mt            3:3.3.3-8       Qt GUI Library (Threaded runtime v
ii  libruby1.8               1.8.2-3         Libraries necessary to run Ruby 1.
ii  libsm6                   4.3.0.dfsg.1-10 X Window System Session Management
ii  libsmokeqt1              4:3.3.2-1       SMOKE Binding Library to Qt
ii  libstdc++5               1:3.3.5-8       The GNU Standard C++ Library v3
ii  libx11-6                 4.3.0.dfsg.1-10 X Window System protocol client li
ii  libxcursor1              1.1.3-1         X cursor management library
ii  libxext6                 4.3.0.dfsg.1-10 X Window System miscellaneous exte
ii  libxft2                  2.1.2-6         FreeType-based font drawing librar
ii  libxrandr2               4.3.0.dfsg.1-10 X Window System Resize, Rotate and
ii  libxrender1              0.8.3-7         X Rendering Extension client libra
ii  libxt6                   4.3.0.dfsg.1-10 X Toolkit Intrinsics
ii  ruby1.8                  1.8.2-3         Interpreter of object-oriented scr
ii  xlibmesa-gl [libgl1]     4.3.0.dfsg.1-10 Mesa 3D graphics library [XFree86]
ii  xlibmesa-glu [libglu1]   4.3.0.dfsg.1-10 Mesa OpenGL utility library [XFree
ii  xlibs                    4.3.0.dfsg.1-10 X Keyboard Extension (XKB) configu
ii  zlib1g                   1:1.2.2-3       compression library - runtime

-- no debconf information

---------------------------------------
Received: (at 303608-close) by bugs.debian.org; 14 Jun 2005 18:38:03 +0000
>From katie@ftp-master.debian.org Tue Jun 14 11:38:03 2005
Return-path: <katie@ftp-master.debian.org>
Received: from newraff.debian.org [208.185.25.31] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1DiGIV-00041U-00; Tue, 14 Jun 2005 11:38:03 -0700
Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian))
	id 1DiGDI-00073k-00; Tue, 14 Jun 2005 14:32:40 -0400
From: Martin Pitt <mpitt@debian.org>
To: 303608-close@bugs.debian.org
X-Katie: $Revision: 1.56 $
Subject: Bug#303608: fixed in postgresql-7.4 1:7.4.8-9
Message-Id: <E1DiGDI-00073k-00@newraff.debian.org>
Sender: Archive Administrator <katie@ftp-master.debian.org>
Date: Tue, 14 Jun 2005 14:32:40 -0400
Delivered-To: 303608-close@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level: 
X-CrossAssassin-Score: 3

Source: postgresql-7.4
Source-Version: 1:7.4.8-9

We believe that the bug you reported is fixed in the latest version of
postgresql-7.4, which is due to be installed in the Debian FTP archive:

libpq3_7.4.8-9_i386.deb
  to pool/main/p/postgresql-7.4/libpq3_7.4.8-9_i386.deb
postgresql-7.4_7.4.8-9.diff.gz
  to pool/main/p/postgresql-7.4/postgresql-7.4_7.4.8-9.diff.gz
postgresql-7.4_7.4.8-9.dsc
  to pool/main/p/postgresql-7.4/postgresql-7.4_7.4.8-9.dsc
postgresql-7.4_7.4.8-9_i386.deb
  to pool/main/p/postgresql-7.4/postgresql-7.4_7.4.8-9_i386.deb
postgresql-client-7.4_7.4.8-9_i386.deb
  to pool/main/p/postgresql-7.4/postgresql-client-7.4_7.4.8-9_i386.deb
postgresql-contrib-7.4_7.4.8-9_i386.deb
  to pool/main/p/postgresql-7.4/postgresql-contrib-7.4_7.4.8-9_i386.deb
postgresql-doc-7.4_7.4.8-9_all.deb
  to pool/main/p/postgresql-7.4/postgresql-doc-7.4_7.4.8-9_all.deb
postgresql-plperl-7.4_7.4.8-9_i386.deb
  to pool/main/p/postgresql-7.4/postgresql-plperl-7.4_7.4.8-9_i386.deb
postgresql-plpython-7.4_7.4.8-9_i386.deb
  to pool/main/p/postgresql-7.4/postgresql-plpython-7.4_7.4.8-9_i386.deb
postgresql-pltcl-7.4_7.4.8-9_i386.deb
  to pool/main/p/postgresql-7.4/postgresql-pltcl-7.4_7.4.8-9_i386.deb
postgresql-server-dev-7.4_7.4.8-9_all.deb
  to pool/main/p/postgresql-7.4/postgresql-server-dev-7.4_7.4.8-9_all.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 303608@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Martin Pitt <mpitt@debian.org> (supplier of updated postgresql-7.4 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Tue, 14 Jun 2005 19:48:33 +0200
Source: postgresql-7.4
Binary: postgresql-plpython-7.4 postgresql-client-7.4 postgresql-7.4 postgresql-contrib-7.4 libpq3 postgresql-doc-7.4 postgresql-plperl-7.4 postgresql-server-dev-7.4 postgresql-pltcl-7.4
Architecture: source i386 all
Version: 1:7.4.8-9
Distribution: unstable
Urgency: low
Maintainer: Martin Pitt <mpitt@debian.org>
Changed-By: Martin Pitt <mpitt@debian.org>
Description: 
 libpq3     - PostgreSQL C client library
 postgresql-7.4 - object-relational SQL database, version 7.4 server
 postgresql-client-7.4 - front-end programs for PostgreSQL 7.4
 postgresql-contrib-7.4 - additional facilities for PostgreSQL
 postgresql-doc-7.4 - documentation for the PostgreSQL database management system
 postgresql-plperl-7.4 - PL/Perl procedural language for PostgreSQL 7.4
 postgresql-plpython-7.4 - PL/Python procedural language for PostgreSQL 7.4
 postgresql-pltcl-7.4 - PL/TCL procedural language for PostgreSQL 7.4
 postgresql-server-dev-7.4 - development files for PostgreSQL 7.4 server-side programming
Closes: 264603 277757 303608
Changes: 
 postgresql-7.4 (1:7.4.8-9) unstable; urgency=low
 .
   * debian/rules: Fix POT file generation.
   * Added debian/patches/16_libpq_defaultsocketdir.patch:
     - Set default socket directory for libpq to /var/run/postgresql.
       Closes: #303608
   * Added debian/patches/17_garbage_error_messages.patch:
     - src/port/thread.c: Return NULL instead of uninitialized buffer if
       strerror_r() fails.
     - This fixes garbage error messages on failed connections.
       Closes: #264603, #277757
     - Backported from 8.0 tree.
Files: 
 8adbb3e1192fcfe4fe305cc3b0ee1d20 1018 misc optional postgresql-7.4_7.4.8-9.dsc
 a53ecc67adae3b79ce1dd3437d090b31 22517 misc optional postgresql-7.4_7.4.8-9.diff.gz
 ffa14dd047cdc80355c72f5c7271e1e8 1157174 doc optional postgresql-doc-7.4_7.4.8-9_all.deb
 5ef07258cb22ccca09cf07dbcdfeaf65 44670 libdevel optional postgresql-server-dev-7.4_7.4.8-9_all.deb
 27824b6d38298ca2a0f1ff912e37082e 2637998 misc optional postgresql-7.4_7.4.8-9_i386.deb
 a728ccf07ca2d1385e41d0ce007abb8b 443586 misc optional postgresql-client-7.4_7.4.8-9_i386.deb
 13c5c8df3a29e28ec939d0ec9804b8ea 58504 libs optional libpq3_7.4.8-9_i386.deb
 2692cad0770fb8f9182dd2bce1f5872d 450708 misc optional postgresql-contrib-7.4_7.4.8-9_i386.deb
 8654b1763e2d27e0ec493bf91ebdc36c 19622 misc optional postgresql-plperl-7.4_7.4.8-9_i386.deb
 beaa8fff0faa226829416037544c0f9f 21770 misc optional postgresql-plpython-7.4_7.4.8-9_i386.deb
 9ffb2a33f3add86aa0394186fb915dec 23688 misc optional postgresql-pltcl-7.4_7.4.8-9_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFCrxzVDecnbV4Fd/IRAqLAAJ93vGO0S1s5ItAq0779i+LNrywrHACeJWaU
Iv4qrNAG/rq6Verdj5efx+4=
=Q2xQ
-----END PGP SIGNATURE-----



Reply to: