Report forwarded to debian-bugs-dist@lists.debian.org, Adrian Bridgett <bridgett@debian.org>:
Bug#98325; Package html2text.
debian-bugs-dist@lists.debian.orgAdrian Bridgett
Subject: Bug#98325: html2text won't build with g++ 3.0 (hppa)
Reply-To: Matt Taggart , 98325@bugs.debian.org
Resent-From: Matt Taggart
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Adrian Bridgett
Resent-Date: Tue, 22 May 2001 00:18:12 GMT
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 98325
X-Debian-PR-Package: html2text
X-Debian-PR-Keywords:
X-Loop: owner@bugs.debian.org
Received: via spool by submit@bugs.debian.org id=B.99049064820656
(code B ref -1); Tue, 22 May 2001 00:18:12 GMT
X-Mailer: exmh version 2.3.1 01/18/2001 (debian 2.3.1-1) with nmh-1.0.4+dev
To: submit@bugs.debian.org
Cc: taggart@carmen.fc.hp.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 21 May 2001 18:16:59 -0600
From: Matt Taggart
Message-Id: <20010522001659.D483E37CB8@carmen.fc.hp.com>
Delivered-To: submit@bugs.debian.org
Package: html2text
Version: 1.2.3-2
Severity: Important
html2text won't build with g++ 3.0, which means it won't build on hppa or any
other arch dependent on gcc-3.0.
There are several problems,
1.) configure has test code snippets that don't work with g++ 3.0. The
"$LIBSTDCXX_INCLUDES, $LIBSTDCXX_LIBS" and "$AUTO_PTR_BROKEN" code sections
need "using namespace std;". This is explained in the
"Libstdc++-porting-howto" at,
http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/porting-howto.html
Here's a patch,
-----------------------------------------------------------------------------
--- configure~ Mon May 21 15:12:20 2001
+++ configure Mon May 21 15:21:59 2001
@@ -187,6 +187,7 @@
#include
#include
#include
+using namespace std;
void func() { map x; }
EOF
if $CXX -c $tmp_file.C 2>/dev/null; then
@@ -209,6 +210,7 @@
#include
#include
#include
+using namespace std;
int main(int, char**) {
auto_ptr x(new string("hello"));
*x = "world";
-----------------------------------------------------------------------------
2.) The "$AUTO_PTR_BROKEN" section test doesn't compile causing it to assume,
'not defined or not working, use "./libstd/include/auto_ptr.h"'
When I try to compile this test by hand I get,
-----------------------------------------------------------------------------
$ g++ -c autoptr.C
/usr/include/g++-v3/bits/stl_construct.h: In function `void
std::_Construct(_T1*, const _T2&) [with _T1 = std::auto_ptr, _T2 =
std::auto_ptr]':
/usr/include/g++-v3/bits/stl_list.h:313: instantiated from
`std::_List_node<_Tp>* std::list<_Tp, _Alloc>::_M_create_node(const _Tp&)
[with _Tp = std::auto_ptr, _Alloc = std::allocator >]'
/usr/include/g++-v3/bits/stl_list.h:364: instantiated from
`std::_List_iterator<_Tp, _Tp&, _Tp*> std::list<_Tp, _Alloc>
::insert(std::_List_iterator<_Tp, _Tp&, _Tp*>, const _Tp&) [with _Tp =
std::auto_ptr, _Alloc = std::allocator >]'
/usr/include/g++-v3/bits/stl_list.h:403: instantiated from `void
std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::auto_ptr,
_Alloc = std::allocator >]'
autoptr.C:15: instantiated from here
/usr/include/g++-v3/bits/stl_construct.h:48: passing `const std::auto_ptr
' as `this' argument of `std::auto_ptr<_Tp>::operator
std::auto_ptr_ref<_Tp1>() [with _Tp1 = int, _Tp = int]' discards qualifiers
-----------------------------------------------------------------------------
When I try to build on a gcc-2.95.4 box I get,
-----------------------------------------------------------------------------
$ g++ -c autoptr.C
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_construct.h:
In function `void construct, auto_ptr >(auto_ptr *,
const auto_ptr &)':
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_list.h:293:
instantiated from `list,allocator > >
::_M_create_node(const auto_ptr &)'
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_list.h:344:
instantiated from `list,allocator > >
::insert(_List_iterator,auto_ptr &,auto_ptr *>, const
auto_ptr &)'
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_list.h:381:
instantiated from `list,allocator > >
::push_back(const auto_ptr &)'
autoptr.C:15: instantiated from here
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_construct.h:48
: conversion from `const auto_ptr' to `auto_ptr &' discards
qualifiers
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/memory:37: in
passing argument 1 of `auto_ptr::auto_ptr(auto_ptr &)'
-----------------------------------------------------------------------------
I don't know if it's doing the right thing or not.
3.) makedepend complains a lot about 'cannot find include file
"bits/c++config.h"'. According to the INSTALL doc this is normal?
4.) The package won't build due to other standard namespace issues. I started
looking at them but I think someone with more knowledge about the package need
to look at it.
Since debconf and several other important package use html2text it would be
really nice if we could get this fixed soon.
Thanks,
--
Matt Taggart Linux Development Lab
taggart@fc.hp.com HP Linux Systems Operation
Acknowledgement sent to Matt Taggart <taggart@carmen.fc.hp.com>:
New Bug report received and forwarded. Copy sent to Adrian Bridgett <bridgett@debian.org>.
-t
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Matt Taggart
Subject: Bug#98325: Acknowledgement (html2text won't build with g++ 3.0 (hppa))
Message-ID:
In-Reply-To: <20010522001659.D483E37CB8@carmen.fc.hp.com>
References: <20010522001659.D483E37CB8@carmen.fc.hp.com>
X-Debian-PR-Message: ack 98325
Thank you for the problem report you have sent regarding Debian.
This is an automatically generated reply, to let you know your message has
been received. It is being forwarded to the developers mailing list for
their attention; they will reply in due course.
Your message has been sent to the package maintainer(s):
Adrian Bridgett
If you wish to submit further information on your problem, please send
it to 98325@bugs.debian.org (and *not* to
submit@bugs.debian.org).
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.
Darren Benham
(administrator, Debian Bugs database)
Received: (at submit) by bugs.debian.org; 22 May 2001 00:17:28 +0000
From taggart@carmen.fc.hp.com Mon May 21 19:17:27 2001
Return-path:
Received: from atlrel1.hp.com [156.153.255.210]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 151zrb-0005Lz-00; Mon, 21 May 2001 19:17:27 -0500
Received: from carmen.fc.hp.com (carmen.fc.hp.com [15.1.51.72])
by atlrel1.hp.com (Postfix) with ESMTP id C118A1118
for ; Mon, 21 May 2001 20:14:14 -0400 (EDT)
Received: from carmen.fc.hp.com (localhost [127.0.0.1])
by carmen.fc.hp.com (Postfix) with ESMTP
id D483E37CB8; Mon, 21 May 2001 18:16:59 -0600 (MDT)
X-Mailer: exmh version 2.3.1 01/18/2001 (debian 2.3.1-1) with nmh-1.0.4+dev
To: submit@bugs.debian.org
Cc: taggart@carmen.fc.hp.com
Subject: html2text won't build with g++ 3.0 (hppa)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 21 May 2001 18:16:59 -0600
From: Matt Taggart
Message-Id: <20010522001659.D483E37CB8@carmen.fc.hp.com>
Delivered-To: submit@bugs.debian.org
Package: html2text
Version: 1.2.3-2
Severity: Important
html2text won't build with g++ 3.0, which means it won't build on hppa or any
other arch dependent on gcc-3.0.
There are several problems,
1.) configure has test code snippets that don't work with g++ 3.0. The
"$LIBSTDCXX_INCLUDES, $LIBSTDCXX_LIBS" and "$AUTO_PTR_BROKEN" code sections
need "using namespace std;". This is explained in the
"Libstdc++-porting-howto" at,
http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/porting-howto.html
Here's a patch,
-----------------------------------------------------------------------------
--- configure~ Mon May 21 15:12:20 2001
+++ configure Mon May 21 15:21:59 2001
@@ -187,6 +187,7 @@
#include
#include
#include
+using namespace std;
void func() { map x; }
EOF
if $CXX -c $tmp_file.C 2>/dev/null; then
@@ -209,6 +210,7 @@
#include
#include
#include
+using namespace std;
int main(int, char**) {
auto_ptr x(new string("hello"));
*x = "world";
-----------------------------------------------------------------------------
2.) The "$AUTO_PTR_BROKEN" section test doesn't compile causing it to assume,
'not defined or not working, use "./libstd/include/auto_ptr.h"'
When I try to compile this test by hand I get,
-----------------------------------------------------------------------------
$ g++ -c autoptr.C
/usr/include/g++-v3/bits/stl_construct.h: In function `void
std::_Construct(_T1*, const _T2&) [with _T1 = std::auto_ptr, _T2 =
std::auto_ptr]':
/usr/include/g++-v3/bits/stl_list.h:313: instantiated from
`std::_List_node<_Tp>* std::list<_Tp, _Alloc>::_M_create_node(const _Tp&)
[with _Tp = std::auto_ptr, _Alloc = std::allocator >]'
/usr/include/g++-v3/bits/stl_list.h:364: instantiated from
`std::_List_iterator<_Tp, _Tp&, _Tp*> std::list<_Tp, _Alloc>
::insert(std::_List_iterator<_Tp, _Tp&, _Tp*>, const _Tp&) [with _Tp =
std::auto_ptr, _Alloc = std::allocator >]'
/usr/include/g++-v3/bits/stl_list.h:403: instantiated from `void
std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::auto_ptr,
_Alloc = std::allocator >]'
autoptr.C:15: instantiated from here
/usr/include/g++-v3/bits/stl_construct.h:48: passing `const std::auto_ptr
' as `this' argument of `std::auto_ptr<_Tp>::operator
std::auto_ptr_ref<_Tp1>() [with _Tp1 = int, _Tp = int]' discards qualifiers
-----------------------------------------------------------------------------
When I try to build on a gcc-2.95.4 box I get,
-----------------------------------------------------------------------------
$ g++ -c autoptr.C
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_construct.h:
In function `void construct, auto_ptr >(auto_ptr *,
const auto_ptr &)':
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_list.h:293:
instantiated from `list,allocator > >
::_M_create_node(const auto_ptr &)'
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_list.h:344:
instantiated from `list,allocator > >
::insert(_List_iterator,auto_ptr &,auto_ptr *>, const
auto_ptr &)'
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_list.h:381:
instantiated from `list,allocator > >
::push_back(const auto_ptr &)'
autoptr.C:15: instantiated from here
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_construct.h:48
: conversion from `const auto_ptr' to `auto_ptr &' discards
qualifiers
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/memory:37: in
passing argument 1 of `auto_ptr::auto_ptr(auto_ptr &)'
-----------------------------------------------------------------------------
I don't know if it's doing the right thing or not.
3.) makedepend complains a lot about 'cannot find include file
"bits/c++config.h"'. According to the INSTALL doc this is normal?
4.) The package won't build due to other standard namespace issues. I started
looking at them but I think someone with more knowledge about the package need
to look at it.
Since debconf and several other important package use html2text it would be
really nice if we could get this fixed soon.
Thanks,
--
Matt Taggart Linux Development Lab
taggart@fc.hp.com HP Linux Systems Operation
Severity set to `critical'.
Request was from Matthew Wilcox <matthew@wil.cx>
to control@bugs.debian.org.
Received: (at control) by bugs.debian.org; 16 Jun 2001 17:51:17 +0000
From willy@www.linux.org.uk Sat Jun 16 12:51:17 2001
Return-path:
Received: from parcelfarce.linux.theplanet.co.uk (www.linux.org.uk) [::ffff:195.92.249.252]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 15BKE9-0004ps-00; Sat, 16 Jun 2001 12:51:17 -0500
Received: from willy by www.linux.org.uk with local (Exim 3.13 #1)
id 15BKE1-0006ll-00
for control@bugs.debian.org; Sat, 16 Jun 2001 18:51:09 +0100
Date: Sat, 16 Jun 2001 18:51:09 +0100
From: Matthew Wilcox
To: control@bugs.debian.org
Subject: Raising severity
Message-ID: <20010616185109.F15533@parcelfarce.linux.theplanet.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
Sender:
Delivered-To: control@bugs.debian.org
severity 98325 critical
justification: unless html2text gets fixed, debhelper 3.0.30 cannot
be built. Without debhelper 3.0.30, current versions of e2fsprogs
cannot be built. e2fsprogs is priority essential. This is therefore
release-critical for hppa.
--
Revolutions do not require corporate support.
Information forwarded to debian-bugs-dist@lists.debian.org, Adrian Bridgett <bridgett@debian.org>:
Bug#98325; Package html2text.
debian-bugs-dist@lists.debian.orgAdrian Bridgett
Subject: Bug#98325: more info on the g++ 3.0 bug
Reply-To: Matt Taggart , 98325@bugs.debian.org
Resent-From: Matt Taggart
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Adrian Bridgett
Resent-Date: Mon, 18 Jun 2001 22:07:05 GMT
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 98325
X-Debian-PR-Package: html2text
X-Debian-PR-Keywords:
X-Loop: owner@bugs.debian.org
Received: via spool by 98325-submit@bugs.debian.org id=B98325.992898267887
(code B ref 98325); Mon, 18 Jun 2001 22:07:05 GMT
X-Mailer: exmh version 2.3.1 01/18/2001 (debian 2.3.1-1) with nmh-1.0.4+dev
To: 98325@bugs.debian.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 18 Jun 2001 15:07:05 -0600
From: Matt Taggart
Message-Id: <20010618210705.5EE9637DCE@carmen.fc.hp.com>
Delivered-To: 98325@bugs.debian.org
Here's some more info that may be useful.
--
Matt Taggart Linux Development Lab
taggart@fc.hp.com HP Linux Systems Operation
------- Forwarded Messages
Subject: close but still no cigar... html2text status
To: bdale@gag.com (Bdale Garbee), taggart@carmen.fc.hp.com
Date: Thu, 31 May 2001 1:24:47 MDT
Cc: stephen@cos.agilent.com (Stephen M Moraco)
From: stephen@cos.agilent.com (Stephen M Moraco)
Bdale, Matt,
I'm down to two problems. If fixed, html2text would build clean.
Repairs were simple include file-names/namespace use issues.
Three files are still failing:
HTMLParser.C - due to Problem 1
table.C - due to Problem 1
urlistream.C - due to Problem 2
The problems as I see them are:
**** (Problem 1) auto_ptr problem:
hypotheses: (h1) auto_ptr imlementation not correct, (h2) compiler handling
implementation badly, or (h3) I'm not understanding how to make offending
line
pass parm as non-const reference. I havn't had enough time over problem
to
know which h* is likely, yet.
Here's tiny sample code which fails:
- --- File tst.C ------------------------------------------
#include
#include
using namespace std;
int main(int, char**) {
// G++ 2.95.1 on AIX 4.2 cannot compile this:
auto_ptr api;
list > lapi;
lapi.push_back(api); // <<<-- offending line
return 0;
}
- ---------------------------------------------------------
Compile with: 'g++-3.0 -o tst tst.C' to see errors
- ---- End ------------------------------------------------
**** (Problem 2) stream::attach(int fd) NOT in standard (Item 3 in known
porting
issues) too bad they don't show working solution :-(
I need to find the workable solution to this. This should be simple.
object needing attach() actually might have it avail. in our implementation
if I can "remember" correct accessing syntax... probably simple after
some zzzz's ;-)
So, I'm close...
Regards,
Stephen
IRC: atc
------- Message 2
Date: Thu, 31 May 2001 11:44:41 -0600
From: Stephen M Moraco
To: Bdale@gag.com, taggart@carmen.fc.hp.com
Subject: html2text and auto_ptr's
Bdale, Matt,
It looks like we have a template class/compiler issue
with g++-3.0 auto_ptr implementation.
The code below compiles clean under Microsoft's
C++ compiler, it dies at runtime with an "empty list" msg.
I think the auto_ptr<> and internal auto_ptr_ref<> templates
are NOT working correctly under current g++-3.0. auto_ptr
has gone through three revisions to current standard. Maybe
we are one revision behind?
(Also, in the code below I should find a more likely
method than list::push_back() to use ;-)
#include
#include
using namespace std;
int main(int, char**) {
// declare an auto_ptr pointing to an int whose value is 5
auto_ptr api(new int(5));
// declare a list of auto_ptr entries
list > lapi;
// place an entry onto the list
// NOTE: this creates a new auto_ptr and invokes
// the copy contructor to transfer the pointed to
// int(5) to the new instance.
lapi.push_back(api);
return 0;
}
So... where should we go from here? I'm thinking direct
communication with one of the g++-3.0 maintainers is next.
Your thoughts?
Regards,
Stephen
- --
stephen@debian.org
IRC: atc
- --
------- End of Forwarded Messages
Acknowledgement sent to Matt Taggart <taggart@carmen.fc.hp.com>:
Extra info received and forwarded to list. Copy sent to Adrian Bridgett <bridgett@debian.org>.
-t
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Matt Taggart
Subject: Bug#98325: Info received (was more info on the g++ 3.0 bug)
Message-ID:
In-Reply-To: <20010618210705.5EE9637DCE@carmen.fc.hp.com>
References: <20010618210705.5EE9637DCE@carmen.fc.hp.com>
X-Debian-PR-Message: ack-info-maintonly 98325
Thank you for the additional information you have supplied regarding
this problem report. It has been forwarded to the developer(s) and
to the developers mailing list to accompany the original report.
Your message has been sent to the package maintainer(s):
Adrian Bridgett
If you wish to continue to submit further information on your problem,
please send it to 98325@bugs.debian.org, as before.
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.
Darren Benham
(administrator, Debian Bugs database)
Received: (at 98325) by bugs.debian.org; 18 Jun 2001 21:04:27 +0000
From taggart@carmen.fc.hp.com Mon Jun 18 16:04:27 2001
Return-path:
Received: from atlrel6.hp.com [::ffff:192.151.27.8]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 15C6CB-0000Ds-00; Mon, 18 Jun 2001 16:04:27 -0500
Received: from carmen.fc.hp.com (carmen.fc.hp.com [15.1.51.72])
by atlrel6.hp.com (Postfix) with ESMTP id 8B4D11F94A
for <98325@bugs.debian.org>; Mon, 18 Jun 2001 17:04:18 -0400 (EDT)
Received: from carmen.fc.hp.com (localhost [127.0.0.1])
by carmen.fc.hp.com (Postfix) with ESMTP id 5EE9637DCE
for <98325@bugs.debian.org>; Mon, 18 Jun 2001 15:07:05 -0600 (MDT)
X-Mailer: exmh version 2.3.1 01/18/2001 (debian 2.3.1-1) with nmh-1.0.4+dev
To: 98325@bugs.debian.org
Subject: more info on the g++ 3.0 bug
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 18 Jun 2001 15:07:05 -0600
From: Matt Taggart
Message-Id: <20010618210705.5EE9637DCE@carmen.fc.hp.com>
Delivered-To: 98325@bugs.debian.org
Here's some more info that may be useful.
--
Matt Taggart Linux Development Lab
taggart@fc.hp.com HP Linux Systems Operation
------- Forwarded Messages
Subject: close but still no cigar... html2text status
To: bdale@gag.com (Bdale Garbee), taggart@carmen.fc.hp.com
Date: Thu, 31 May 2001 1:24:47 MDT
Cc: stephen@cos.agilent.com (Stephen M Moraco)
From: stephen@cos.agilent.com (Stephen M Moraco)
Bdale, Matt,
I'm down to two problems. If fixed, html2text would build clean.
Repairs were simple include file-names/namespace use issues.
Three files are still failing:
HTMLParser.C - due to Problem 1
table.C - due to Problem 1
urlistream.C - due to Problem 2
The problems as I see them are:
**** (Problem 1) auto_ptr problem:
hypotheses: (h1) auto_ptr imlementation not correct, (h2) compiler handling
implementation badly, or (h3) I'm not understanding how to make offending
line
pass parm as non-const reference. I havn't had enough time over problem
to
know which h* is likely, yet.
Here's tiny sample code which fails:
- --- File tst.C ------------------------------------------
#include
#include
using namespace std;
int main(int, char**) {
// G++ 2.95.1 on AIX 4.2 cannot compile this:
auto_ptr api;
list > lapi;
lapi.push_back(api); // <<<-- offending line
return 0;
}
- ---------------------------------------------------------
Compile with: 'g++-3.0 -o tst tst.C' to see errors
- ---- End ------------------------------------------------
**** (Problem 2) stream::attach(int fd) NOT in standard (Item 3 in known
porting
issues) too bad they don't show working solution :-(
I need to find the workable solution to this. This should be simple.
object needing attach() actually might have it avail. in our implementation
if I can "remember" correct accessing syntax... probably simple after
some zzzz's ;-)
So, I'm close...
Regards,
Stephen
IRC: atc
------- Message 2
Date: Thu, 31 May 2001 11:44:41 -0600
From: Stephen M Moraco
To: Bdale@gag.com, taggart@carmen.fc.hp.com
Subject: html2text and auto_ptr's
Bdale, Matt,
It looks like we have a template class/compiler issue
with g++-3.0 auto_ptr implementation.
The code below compiles clean under Microsoft's
C++ compiler, it dies at runtime with an "empty list" msg.
I think the auto_ptr<> and internal auto_ptr_ref<> templates
are NOT working correctly under current g++-3.0. auto_ptr
has gone through three revisions to current standard. Maybe
we are one revision behind?
(Also, in the code below I should find a more likely
method than list::push_back() to use ;-)
#include
#include
using namespace std;
int main(int, char**) {
// declare an auto_ptr pointing to an int whose value is 5
auto_ptr api(new int(5));
// declare a list of auto_ptr entries
list > lapi;
// place an entry onto the list
// NOTE: this creates a new auto_ptr and invokes
// the copy contructor to transfer the pointed to
// int(5) to the new instance.
lapi.push_back(api);
return 0;
}
So... where should we go from here? I'm thinking direct
communication with one of the g++-3.0 maintainers is next.
Your thoughts?
Regards,
Stephen
- --
stephen@debian.org
IRC: atc
- --
------- End of Forwarded Messages
Information forwarded to debian-bugs-dist@lists.debian.org, Adrian Bridgett <bridgett@debian.org>:
Bug#98325; Package html2text.
debian-bugs-dist@lists.debian.orgAdrian Bridgett
Subject: Bug#98325: use of std::auto_ptr
Reply-To: Philip Martin , 98325@bugs.debian.org
Resent-From: Philip Martin
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Adrian Bridgett
Resent-Date: Mon, 16 Jul 2001 00:07:03 GMT
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 98325
X-Debian-PR-Package: html2text
X-Debian-PR-Keywords:
X-Loop: owner@bugs.debian.org
Received: via spool by 98325-submit@bugs.debian.org id=B98325.99524171912239
(code B ref 98325); Mon, 16 Jul 2001 00:07:03 GMT
To: 98325@bugs.debian.org
From: Philip Martin
Date: 16 Jul 2001 01:01:49 +0100
Message-ID: <877kx9lp1u.fsf@debian2.lan>
Lines: 39
User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.1 (Capitol Reef)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 98325@bugs.debian.org
Hi
The std::auto_ptr class template does not meet the requirements for
objects that can be stored in standard library containers. In
particular 23.1 [lib.container.requirements] para 3 requires objects
in containers to be CopyConstructible and Assignable, std::auto_ptr is
not.
See http://gcc.gnu.org/onlinedocs/libstdc++/20_util/howto.html#2
and http://cpptips.hyperformix.com/cpptips/autoptr_contain
Standard library algorithms and container methods are allowed to copy
container elements, and then treat the copies as identical. This won't
work it the elements are auto_ptrs. *Whether* any particular
algorithm/method makes copies in this way is a property of the library
implementation and is beyond the scope of the standard.
html2text's configure test for list> is always going to
fail with g++ 3.0. By using a local version of auto_ptr to get round
this, html2text is relying on a particular implementation of the
standard library. Looking at the auto_ptr implementation in
html2text-1.2.4/libstd/include/auto_ptr.h the dodgy bits of code are
the copy constructor and the assignment operator (no surprise there)
which both take a const reference argument and then cast away const to
modify the argument. Lying to the compiler in this way may work, but
the standard does not require it to work.
Enough bad news. If it were my job to fix this code I would consider
replacing the auto_ptr with a different smart pointer, probably the
shared_ptr in the boost collection.
See http://www.boost.org/libs/smart_ptr/shared_ptr.htm
Philip
Acknowledgement sent to Philip Martin <philip_martin@ntlworld.com>:
Extra info received and forwarded to list. Copy sent to Adrian Bridgett <bridgett@debian.org>.
-t
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Philip Martin
Subject: Bug#98325: Info received (was use of std::auto_ptr)
Message-ID:
In-Reply-To: <877kx9lp1u.fsf@debian2.lan>
References: <877kx9lp1u.fsf@debian2.lan>
X-Debian-PR-Message: ack-info-maintonly 98325
Thank you for the additional information you have supplied regarding
this problem report. It has been forwarded to the developer(s) and
to the developers mailing list to accompany the original report.
Your message has been sent to the package maintainer(s):
Adrian Bridgett
If you wish to continue to submit further information on your problem,
please send it to 98325@bugs.debian.org, as before.
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.
Darren Benham
(administrator, Debian Bugs database)
Received: (at 98325) by bugs.debian.org; 16 Jul 2001 00:01:59 +0000
From philip_martin@ntlworld.com Sun Jul 15 19:01:59 2001
Return-path:
Received: from mta05-svc.ntlworld.com [::ffff:62.253.162.45]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 15Lvpn-0003BM-00; Sun, 15 Jul 2001 19:01:59 -0500
Received: from debian2 ([213.105.188.137]) by mta05-svc.ntlworld.com
(InterMail vM.4.01.02.27 201-229-119-110) with ESMTP
id <20010716000148.SARE288.mta05-svc.ntlworld.com@debian2>
for <98325@bugs.debian.org>; Mon, 16 Jul 2001 01:01:48 +0100
Received: from pm by debian2 with local (Exim 3.12 #1 (Debian))
id 15Lvpd-0003vt-00
for <98325@bugs.debian.org>; Mon, 16 Jul 2001 01:01:49 +0100
To: 98325@bugs.debian.org
Subject: use of std::auto_ptr
From: Philip Martin
Date: 16 Jul 2001 01:01:49 +0100
Message-ID: <877kx9lp1u.fsf@debian2.lan>
Lines: 39
User-Agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.1 (Capitol Reef)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Delivered-To: 98325@bugs.debian.org
Hi
The std::auto_ptr class template does not meet the requirements for
objects that can be stored in standard library containers. In
particular 23.1 [lib.container.requirements] para 3 requires objects
in containers to be CopyConstructible and Assignable, std::auto_ptr is
not.
See http://gcc.gnu.org/onlinedocs/libstdc++/20_util/howto.html#2
and http://cpptips.hyperformix.com/cpptips/autoptr_contain
Standard library algorithms and container methods are allowed to copy
container elements, and then treat the copies as identical. This won't
work it the elements are auto_ptrs. *Whether* any particular
algorithm/method makes copies in this way is a property of the library
implementation and is beyond the scope of the standard.
html2text's configure test for list> is always going to
fail with g++ 3.0. By using a local version of auto_ptr to get round
this, html2text is relying on a particular implementation of the
standard library. Looking at the auto_ptr implementation in
html2text-1.2.4/libstd/include/auto_ptr.h the dodgy bits of code are
the copy constructor and the assignment operator (no surprise there)
which both take a const reference argument and then cast away const to
modify the argument. Lying to the compiler in this way may work, but
the standard does not require it to work.
Enough bad news. If it were my job to fix this code I would consider
replacing the auto_ptr with a different smart pointer, probably the
shared_ptr in the boost collection.
See http://www.boost.org/libs/smart_ptr/shared_ptr.htm
Philip
Information forwarded to debian-bugs-dist@lists.debian.org, Adrian Bridgett <bridgett@debian.org>:
Bug#98325; Package html2text.
debian-bugs-dist@lists.debian.orgAdrian Bridgett
Subject: Bug#98325: Close this bug?
Reply-To: Matt Taggart , 98325@bugs.debian.org
Resent-From: Matt Taggart
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Adrian Bridgett
Resent-Date: Thu, 19 Jul 2001 19:56:01 GMT
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 98325
X-Debian-PR-Package: html2text
X-Debian-PR-Keywords:
X-Loop: owner@bugs.debian.org
Received: via spool by 98325-submit@bugs.debian.org id=B98325.99557134618345
(code B ref 98325); Thu, 19 Jul 2001 19:56:01 GMT
X-Mailer: exmh version 2.3.1 01/18/2001 (debian 2.3.1-1) with nmh-1.0.4+dev
To: 98325@bugs.debian.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 19 Jul 2001 13:35:36 -0600
From: Matt Taggart
Message-Id: <20010719193536.B271937CB4@carmen.fc.hp.com>
Delivered-To: 98325@bugs.debian.org
98325 appears to be the same as 102655 which was resolved. Should it be merged
and/or closed?
Thanks,
--
Matt Taggart Linux Development Lab
taggart@fc.hp.com HP Linux Systems Operation
Acknowledgement sent to Matt Taggart <taggart@carmen.fc.hp.com>:
Extra info received and forwarded to list. Copy sent to Adrian Bridgett <bridgett@debian.org>.
-t
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Matt Taggart
Subject: Bug#98325: Info received (was Close this bug?)
Message-ID:
In-Reply-To: <20010719193536.B271937CB4@carmen.fc.hp.com>
References: <20010719193536.B271937CB4@carmen.fc.hp.com>
X-Debian-PR-Message: ack-info-maintonly 98325
Thank you for the additional information you have supplied regarding
this problem report. It has been forwarded to the developer(s) and
to the developers mailing list to accompany the original report.
Your message has been sent to the package maintainer(s):
Adrian Bridgett
If you wish to continue to submit further information on your problem,
please send it to 98325@bugs.debian.org, as before.
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.
Darren Benham
(administrator, Debian Bugs database)
Received: (at 98325) by bugs.debian.org; 19 Jul 2001 19:35:46 +0000
From taggart@carmen.fc.hp.com Thu Jul 19 14:35:46 2001
Return-path:
Received: from atlrel7.hp.com [::ffff:192.151.27.9]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 15NJaM-0004lg-00; Thu, 19 Jul 2001 14:35:46 -0500
Received: from carmen.fc.hp.com (carmen.fc.hp.com [15.1.51.72])
by atlrel7.hp.com (Postfix) with ESMTP id C472E1F545
for <98325@bugs.debian.org>; Thu, 19 Jul 2001 15:34:58 -0400 (EDT)
Received: from carmen.fc.hp.com (localhost [127.0.0.1])
by carmen.fc.hp.com (Postfix) with ESMTP id B271937CB4
for <98325@bugs.debian.org>; Thu, 19 Jul 2001 13:35:36 -0600 (MDT)
X-Mailer: exmh version 2.3.1 01/18/2001 (debian 2.3.1-1) with nmh-1.0.4+dev
To: 98325@bugs.debian.org
Subject: Close this bug?
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 19 Jul 2001 13:35:36 -0600
From: Matt Taggart
Message-Id: <20010719193536.B271937CB4@carmen.fc.hp.com>
Delivered-To: 98325@bugs.debian.org
98325 appears to be the same as 102655 which was resolved. Should it be merged
and/or closed?
Thanks,
--
Matt Taggart Linux Development Lab
taggart@fc.hp.com HP Linux Systems Operation
Information forwarded to debian-bugs-dist@lists.debian.org, Adrian Bridgett <bridgett@debian.org>:
Bug#98325; Package html2text.
debian-bugs-dist@lists.debian.orgAdrian Bridgett
Subject: Bug#98325: Close this bug?
Reply-To: adrian.bridgett@iname.com, 98325@bugs.debian.org
Resent-From: Adrian Bridgett
Orignal-Sender: Adrian Bridgett
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Adrian Bridgett
Resent-Date: Fri, 20 Jul 2001 19:37:55 GMT
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 98325
X-Debian-PR-Package: html2text
X-Debian-PR-Keywords:
X-Loop: owner@bugs.debian.org
Received: via spool by 98325-submit@bugs.debian.org id=B98325.99565749421629
(code B ref 98325); Fri, 20 Jul 2001 19:37:55 GMT
Date: Fri, 20 Jul 2001 20:27:34 +0100
To: Matt Taggart , 98325@bugs.debian.org
Message-ID: <20010720202733.B17707@wyvern>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20010719193536.B271937CB4@carmen.fc.hp.com>
User-Agent: Mutt/1.3.18i
From: Adrian Bridgett
Sender: Adrian Bridgett
Delivered-To: 98325@bugs.debian.org
On Thu, Jul 19, 2001 at 13:35:36 -0600 (+0000), Matt Taggart wrote:
> 98325 appears to be the same as 102655 which was resolved. Should it be merged
> and/or closed?
Good point. I'll downgrade it to normal since Philip Martin has
made some points about auto_ptr so it should still be left open.
Adrian
Email: adrian.bridgett@iname.com
Windows NT - Unix in beta-testing. GPG/PGP keys available on public key servers
Debian GNU/Linux -*- By professionals for professionals -*- www.debian.org
Acknowledgement sent to adrian.bridgett@iname.com:
Extra info received and forwarded to list. Copy sent to Adrian Bridgett <bridgett@debian.org>.
-t
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: adrian.bridgett@iname.com
Subject: Bug#98325: Info received (was Bug#98325: Close this bug?)
Message-ID:
In-Reply-To: <20010720202733.B17707@wyvern>
References: <20010720202733.B17707@wyvern>
X-Debian-PR-Message: ack-info-maintonly 98325
Thank you for the additional information you have supplied regarding
this problem report. It has been forwarded to the developer(s) and
to the developers mailing list to accompany the original report.
Your message has been sent to the package maintainer(s):
Adrian Bridgett
If you wish to continue to submit further information on your problem,
please send it to 98325@bugs.debian.org, as before.
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.
Darren Benham
(administrator, Debian Bugs database)
Received: (at 98325) by bugs.debian.org; 20 Jul 2001 19:31:34 +0000
From adrian.bridgett@iname.com Fri Jul 20 14:31:34 2001
Return-path:
Received: from cmailg2.svr.pol.co.uk [::ffff:195.92.195.172]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 15Nfzo-0005cX-00; Fri, 20 Jul 2001 14:31:32 -0500
Received: from modem-351.american-avocet.dialup.pol.co.uk ([62.137.177.95] helo=wyvern)
by cmailg2.svr.pol.co.uk with esmtp (Exim 3.13 #0)
id 15Nfwg-0006tO-00; Fri, 20 Jul 2001 20:28:19 +0100
Received: from adrian by wyvern with local (Exim 3.22 #1 (Debian))
id 15Nfvy-0004c0-00; Fri, 20 Jul 2001 20:27:34 +0100
Date: Fri, 20 Jul 2001 20:27:34 +0100
To: Matt Taggart , 98325@bugs.debian.org
Subject: Re: Bug#98325: Close this bug?
Message-ID: <20010720202733.B17707@wyvern>
Reply-To: adrian.bridgett@iname.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20010719193536.B271937CB4@carmen.fc.hp.com>
User-Agent: Mutt/1.3.18i
From: Adrian Bridgett
Sender: Adrian Bridgett
Delivered-To: 98325@bugs.debian.org
On Thu, Jul 19, 2001 at 13:35:36 -0600 (+0000), Matt Taggart wrote:
> 98325 appears to be the same as 102655 which was resolved. Should it be merged
> and/or closed?
Good point. I'll downgrade it to normal since Philip Martin has
made some points about auto_ptr so it should still be left open.
Adrian
Email: adrian.bridgett@iname.com
Windows NT - Unix in beta-testing. GPG/PGP keys available on public key servers
Debian GNU/Linux -*- By professionals for professionals -*- www.debian.org
Severity set to `normal'.
Request was from Adrian Bridgett <adrian.bridgett@iname.com>
to control@bugs.debian.org.
Received: (at control) by bugs.debian.org; 20 Jul 2001 19:28:34 +0000
From adrian.bridgett@iname.com Fri Jul 20 14:28:34 2001
Return-path:
Received: from cmailg2.svr.pol.co.uk [::ffff:195.92.195.172]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 15Nfws-0004yP-00; Fri, 20 Jul 2001 14:28:30 -0500
Received: from modem-351.american-avocet.dialup.pol.co.uk ([62.137.177.95] helo=wyvern)
by cmailg2.svr.pol.co.uk with esmtp (Exim 3.13 #0)
id 15Nfwh-0006tO-00
for control@bugs.debian.org; Fri, 20 Jul 2001 20:28:20 +0100
Received: from adrian by wyvern with local (Exim 3.22 #1 (Debian))
id 15Nfwc-0004cF-00; Fri, 20 Jul 2001 20:28:14 +0100
Date: Fri, 20 Jul 2001 20:28:14 +0100
To: control@bugs.debian.org
Subject: html2text now compiles
Message-ID: <20010720202814.A17742@wyvern>
Reply-To: adrian.bridgett@iname.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.18i
From: Adrian Bridgett
Sender: Adrian Bridgett
Delivered-To: control@bugs.debian.org
severity 98325 normal
thanks
Email: adrian.bridgett@iname.com
Windows NT - Unix in beta-testing. GPG/PGP keys available on public key servers
Debian GNU/Linux -*- By professionals for professionals -*- www.debian.org
Information forwarded to debian-bugs-dist@lists.debian.org, Adrian Bridgett <bridgett@debian.org>:
Bug#98325; Package html2text.
debian-bugs-dist@lists.debian.orgAdrian Bridgett
X-Loop: owner@bugs.debian.org
Subject: Bug#98325: status of #98325?
Reply-To: Matt Taggart , 98325@bugs.debian.org
Resent-From: Matt Taggart
Original-Sender: matt@lackof.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Adrian Bridgett
Resent-Date: Fri, 19 Aug 2005 05:33:46 UTC
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 98325
X-Debian-PR-Package: html2text
X-Debian-PR-Keywords:
Received: via spool by 98325-submit@bugs.debian.org id=B98325.112442869112380
(code B ref 98325); Fri, 19 Aug 2005 05:33:46 UTC
Received: (at 98325) by bugs.debian.org; 19 Aug 2005 05:18:11 +0000
Received: from colo.lackof.org [198.49.126.79]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1E5zGd-0002pz-00; Thu, 18 Aug 2005 22:18:11 -0700
Received: from localhost (localhost [127.0.0.1])
by colo.lackof.org (Postfix) with ESMTP id 0783C36006D
for <98325@bugs.debian.org>; Thu, 18 Aug 2005 23:23:12 -0600 (MDT)
Received: from colo.lackof.org ([127.0.0.1])
by localhost (colo.lackof.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 23915-08 for <98325@bugs.debian.org>;
Thu, 18 Aug 2005 23:23:10 -0600 (MDT)
Received: from cyrix.home.bogus (63-231-52-158.tukw.qwest.net [63.231.52.158])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "taggart.lackof.org", Issuer "ca.lackof.org" (verified OK))
by colo.lackof.org (Postfix) with ESMTP id 7F20036006C
for <98325@bugs.debian.org>; Thu, 18 Aug 2005 23:23:10 -0600 (MDT)
Received: by cyrix.home.bogus (Postfix, from userid 22223)
id 5C9811AA763; Thu, 18 Aug 2005 22:17:37 -0700 (PDT)
Received: from cyrix.home.bogus (localhost [127.0.0.1])
by cyrix.home.bogus (Postfix) with ESMTP id 565723059E
for <98325@bugs.debian.org>; Thu, 18 Aug 2005 22:17:37 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-6) with nmh-1.1
From: Matt Taggart
To: 98325@bugs.debian.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 18 Aug 2005 22:17:37 -0700
Sender: matt@lackof.org
Message-Id: <20050819051737.5C9811AA763@cyrix.home.bogus>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lackof.org
Delivered-To: 98325@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-Level:
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
Hi,
What's going on with this bug? The last mail you sent said you wanted to leave
it open until you had addressed the points Philip Martin made about auto_ptr,
did this get done? I though I would check since there have been a few upstream
releases and also some comments in the changelog that might indicate it's done.
Thanks,
--
Matt Taggart
taggart@debian.org
Acknowledgement sent to Matt Taggart <taggart@debian.org>:
Extra info received and forwarded to list. Copy sent to Adrian Bridgett <bridgett@debian.org>.
-t
X-Loop: owner@bugs.debian.org
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Matt Taggart
Subject: Bug#98325: Info received (was status of #98325?)
Message-ID:
In-Reply-To: <20050819051737.5C9811AA763@cyrix.home.bogus>
References: <20050819051737.5C9811AA763@cyrix.home.bogus>
Precedence: bulk
X-Debian-PR-Message: ack-info 98325
X-Debian-PR-Package: html2text
X-Debian-PR-Keywords:
Thank you for the additional information you have supplied regarding
this problem report. It has been forwarded to the package maintainer(s)
and to other interested parties to accompany the original report.
Your message has been sent to the package maintainer(s):
Adrian Bridgett
If you wish to continue to submit further information on your problem,
please send it to 98325@bugs.debian.org, as before.
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.
Debian bug tracking system administrator
(administrator, Debian Bugs database)
Received: (at 98325) by bugs.debian.org; 19 Aug 2005 05:18:11 +0000
From matt@lackof.org Thu Aug 18 22:18:11 2005
Return-path:
Received: from colo.lackof.org [198.49.126.79]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1E5zGd-0002pz-00; Thu, 18 Aug 2005 22:18:11 -0700
Received: from localhost (localhost [127.0.0.1])
by colo.lackof.org (Postfix) with ESMTP id 0783C36006D
for <98325@bugs.debian.org>; Thu, 18 Aug 2005 23:23:12 -0600 (MDT)
Received: from colo.lackof.org ([127.0.0.1])
by localhost (colo.lackof.org [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id 23915-08 for <98325@bugs.debian.org>;
Thu, 18 Aug 2005 23:23:10 -0600 (MDT)
Received: from cyrix.home.bogus (63-231-52-158.tukw.qwest.net [63.231.52.158])
(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
(Client CN "taggart.lackof.org", Issuer "ca.lackof.org" (verified OK))
by colo.lackof.org (Postfix) with ESMTP id 7F20036006C
for <98325@bugs.debian.org>; Thu, 18 Aug 2005 23:23:10 -0600 (MDT)
Received: by cyrix.home.bogus (Postfix, from userid 22223)
id 5C9811AA763; Thu, 18 Aug 2005 22:17:37 -0700 (PDT)
Received: from cyrix.home.bogus (localhost [127.0.0.1])
by cyrix.home.bogus (Postfix) with ESMTP id 565723059E
for <98325@bugs.debian.org>; Thu, 18 Aug 2005 22:17:37 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-6) with nmh-1.1
From: Matt Taggart
To: 98325@bugs.debian.org
Subject: status of #98325?
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Thu, 18 Aug 2005 22:17:37 -0700
Sender: matt@lackof.org
Message-Id: <20050819051737.5C9811AA763@cyrix.home.bogus>
X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at lackof.org
Delivered-To: 98325@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-Level:
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no
version=2.60-bugs.debian.org_2005_01_02
Hi,
What's going on with this bug? The last mail you sent said you wanted to leave
it open until you had addressed the points Philip Martin made about auto_ptr,
did this get done? I though I would check since there have been a few upstream
releases and also some comments in the changelog that might indicate it's done.
Thanks,
--
Matt Taggart
taggart@debian.org
Information forwarded to debian-bugs-dist@lists.debian.org, Adrian Bridgett <bridgett@debian.org>:
Bug#98325; Package html2text.
debian-bugs-dist@lists.debian.orgAdrian Bridgett
X-Loop: owner@bugs.debian.org
Subject: Bug#98325: status of #98325?
Reply-To: adrian , 98325@bugs.debian.org
Resent-From: adrian
Resent-To: debian-bugs-dist@lists.debian.org
Resent-CC: Adrian Bridgett
Resent-Date: Sat, 20 Aug 2005 12:48:08 UTC
Resent-Message-ID:
Resent-Sender: owner@bugs.debian.org
X-Debian-PR-Message: report 98325
X-Debian-PR-Package: html2text
X-Debian-PR-Keywords:
Received: via spool by 98325-submit@bugs.debian.org id=B98325.112454166913022
(code B ref 98325); Sat, 20 Aug 2005 12:48:08 UTC
Received: (at 98325) by bugs.debian.org; 20 Aug 2005 12:41:09 +0000
Received: from 81-5-177-201.dsl.eclipse.net.uk (hades.smop.co.uk) [81.5.177.201]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1E6Seq-0003Ns-00; Sat, 20 Aug 2005 05:41:09 -0700
Received: from adrian by hades.smop.co.uk with local (Exim 4.52)
id 1E6Sef-0005P3-TK; Sat, 20 Aug 2005 13:40:57 +0100
Date: Sat, 20 Aug 2005 13:40:57 +0100
To: Matt Taggart , 98325@bugs.debian.org
Message-ID: <20050820124057.GA20657@smop.co.uk>
References: <20050819051737.5C9811AA763@cyrix.home.bogus>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050819051737.5C9811AA763@cyrix.home.bogus>
User-Agent: Mutt/1.5.9i
From: adrian
X-smop.co.uk-MailScanner: Found to be clean
X-smop.co.uk-MailScanner-SpamCheck: not spam, SpamAssassin (score=-5.899,
required 5, autolearn=not spam, ALL_TRUSTED -3.30, BAYES_00 -2.60)
X-smop.co.uk-MailScanner-From: adrian@smop.co.uk
Delivered-To: 98325@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-Level:
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
On Thu, Aug 18, 2005 at 22:17:37 -0700 (-0700), Matt Taggart wrote:
> Hi,
>
> What's going on with this bug? The last mail you sent said you wanted to leave
> it open until you had addressed the points Philip Martin made about auto_ptr,
> did this get done? I though I would check since there have been a few upstream
> releases and also some comments in the changelog that might indicate it's done.
Not an awful lot I'm afraid - other commitments. I wasn't aware of a new
upstream - or more likely I've forgotten about it :-(
Adrian
Acknowledgement sent to adrian <adrian@smop.co.uk>:
Extra info received and forwarded to list. Copy sent to Adrian Bridgett <bridgett@debian.org>.
-t
X-Loop: owner@bugs.debian.org
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: adrian
Subject: Bug#98325: Info received (was Bug#98325: status of #98325?)
Message-ID:
In-Reply-To: <20050820124057.GA20657@smop.co.uk>
References: <20050820124057.GA20657@smop.co.uk>
Precedence: bulk
X-Debian-PR-Message: ack-info 98325
X-Debian-PR-Package: html2text
X-Debian-PR-Keywords:
Thank you for the additional information you have supplied regarding
this problem report. It has been forwarded to the package maintainer(s)
and to other interested parties to accompany the original report.
Your message has been sent to the package maintainer(s):
Adrian Bridgett
If you wish to continue to submit further information on your problem,
please send it to 98325@bugs.debian.org, as before.
Please do not reply to the address at the top of this message,
unless you wish to report a problem with the Bug-tracking system.
Debian bug tracking system administrator
(administrator, Debian Bugs database)
Received: (at 98325) by bugs.debian.org; 20 Aug 2005 12:41:09 +0000
From adrian@smop.co.uk Sat Aug 20 05:41:09 2005
Return-path:
Received: from 81-5-177-201.dsl.eclipse.net.uk (hades.smop.co.uk) [81.5.177.201]
by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
id 1E6Seq-0003Ns-00; Sat, 20 Aug 2005 05:41:09 -0700
Received: from adrian by hades.smop.co.uk with local (Exim 4.52)
id 1E6Sef-0005P3-TK; Sat, 20 Aug 2005 13:40:57 +0100
Date: Sat, 20 Aug 2005 13:40:57 +0100
To: Matt Taggart , 98325@bugs.debian.org
Subject: Re: Bug#98325: status of #98325?
Message-ID: <20050820124057.GA20657@smop.co.uk>
References: <20050819051737.5C9811AA763@cyrix.home.bogus>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20050819051737.5C9811AA763@cyrix.home.bogus>
User-Agent: Mutt/1.5.9i
From: adrian
X-smop.co.uk-MailScanner: Found to be clean
X-smop.co.uk-MailScanner-SpamCheck: not spam, SpamAssassin (score=-5.899,
required 5, autolearn=not spam, ALL_TRUSTED -3.30, BAYES_00 -2.60)
X-smop.co.uk-MailScanner-From: adrian@smop.co.uk
Delivered-To: 98325@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-Level:
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
On Thu, Aug 18, 2005 at 22:17:37 -0700 (-0700), Matt Taggart wrote:
> Hi,
>
> What's going on with this bug? The last mail you sent said you wanted to leave
> it open until you had addressed the points Philip Martin made about auto_ptr,
> did this get done? I though I would check since there have been a few upstream
> releases and also some comments in the changelog that might indicate it's done.
Not an awful lot I'm afraid - other commitments. I wasn't aware of a new
upstream - or more likely I've forgotten about it :-(
Adrian
Reply sent to "Eugene V. Lyubimkin" <jackyf.devel@gmail.com>:
You have taken responsibility.
-t
MIME-Version: 1.0
X-Mailer: MIME-tools 5.420 (Entity 5.420)
X-Loop: owner@bugs.debian.org
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: "Eugene V. Lyubimkin"
Subject: Bug#98325: marked as done (html2text won't build with g++ 3.0 (hppa))
Message-ID:
References: <48839BE0.5090600@gmail.com>
<20010522001659.D483E37CB8@carmen.fc.hp.com>
X-Debian-PR-Message: closed 98325
X-Debian-PR-Package: html2text
X-Debian-PR-Source: html2text
Content-Type: multipart/mixed; boundary="----------=_1216585265-16738-0"
This is a multi-part message in MIME format...
------------=_1216585265-16738-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8
Your message dated Sun, 20 Jul 2008 23:11:12 +0300
with message-id <48839BE0.5090600@gmail.com>
and subject line Irrelevant now.
has caused the Debian Bug report #98325,
regarding html2text won't build with g++ 3.0 (hppa)
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 this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)
--=20
98325: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D98325
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1216585265-16738-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 22 May 2001 00:17:28 +0000
Return-path:
Received: from atlrel1.hp.com [156.153.255.210]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 151zrb-0005Lz-00; Mon, 21 May 2001 19:17:27 -0500
Received: from carmen.fc.hp.com (carmen.fc.hp.com [15.1.51.72])
by atlrel1.hp.com (Postfix) with ESMTP id C118A1118
for ; Mon, 21 May 2001 20:14:14 -0400 (EDT)
Received: from carmen.fc.hp.com (localhost [127.0.0.1])
by carmen.fc.hp.com (Postfix) with ESMTP
id D483E37CB8; Mon, 21 May 2001 18:16:59 -0600 (MDT)
X-Mailer: exmh version 2.3.1 01/18/2001 (debian 2.3.1-1) with nmh-1.0.4+dev
To: submit@bugs.debian.org
Cc: taggart@carmen.fc.hp.com
Subject: html2text won't build with g++ 3.0 (hppa)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 21 May 2001 18:16:59 -0600
From: Matt Taggart
Message-Id: <20010522001659.D483E37CB8@carmen.fc.hp.com>
Delivered-To: submit@bugs.debian.org
Package: html2text
Version: 1.2.3-2
Severity: Important
html2text won't build with g++ 3.0, which means it won't build on hppa or any
other arch dependent on gcc-3.0.
There are several problems,
1.) configure has test code snippets that don't work with g++ 3.0. The
"$LIBSTDCXX_INCLUDES, $LIBSTDCXX_LIBS" and "$AUTO_PTR_BROKEN" code sections
need "using namespace std;". This is explained in the
"Libstdc++-porting-howto" at,
http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/porting-howto.html
Here's a patch,
-----------------------------------------------------------------------------
--- configure~ Mon May 21 15:12:20 2001
+++ configure Mon May 21 15:21:59 2001
@@ -187,6 +187,7 @@
#include
#include
#include
+using namespace std;
void func() { map x; }
EOF
if $CXX -c $tmp_file.C 2>/dev/null; then
@@ -209,6 +210,7 @@
#include
#include
#include
+using namespace std;
int main(int, char**) {
auto_ptr x(new string("hello"));
*x = "world";
-----------------------------------------------------------------------------
2.) The "$AUTO_PTR_BROKEN" section test doesn't compile causing it to assume,
'not defined or not working, use "./libstd/include/auto_ptr.h"'
When I try to compile this test by hand I get,
-----------------------------------------------------------------------------
$ g++ -c autoptr.C
/usr/include/g++-v3/bits/stl_construct.h: In function `void
std::_Construct(_T1*, const _T2&) [with _T1 = std::auto_ptr, _T2 =
std::auto_ptr]':
/usr/include/g++-v3/bits/stl_list.h:313: instantiated from
`std::_List_node<_Tp>* std::list<_Tp, _Alloc>::_M_create_node(const _Tp&)
[with _Tp = std::auto_ptr, _Alloc = std::allocator >]'
/usr/include/g++-v3/bits/stl_list.h:364: instantiated from
`std::_List_iterator<_Tp, _Tp&, _Tp*> std::list<_Tp, _Alloc>
::insert(std::_List_iterator<_Tp, _Tp&, _Tp*>, const _Tp&) [with _Tp =
std::auto_ptr, _Alloc = std::allocator >]'
/usr/include/g++-v3/bits/stl_list.h:403: instantiated from `void
std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = std::auto_ptr,
_Alloc = std::allocator >]'
autoptr.C:15: instantiated from here
/usr/include/g++-v3/bits/stl_construct.h:48: passing `const std::auto_ptr
' as `this' argument of `std::auto_ptr<_Tp>::operator
std::auto_ptr_ref<_Tp1>() [with _Tp1 = int, _Tp = int]' discards qualifiers
-----------------------------------------------------------------------------
When I try to build on a gcc-2.95.4 box I get,
-----------------------------------------------------------------------------
$ g++ -c autoptr.C
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_construct.h:
In function `void construct, auto_ptr >(auto_ptr *,
const auto_ptr &)':
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_list.h:293:
instantiated from `list,allocator > >
::_M_create_node(const auto_ptr &)'
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_list.h:344:
instantiated from `list,allocator > >
::insert(_List_iterator,auto_ptr &,auto_ptr *>, const
auto_ptr &)'
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_list.h:381:
instantiated from `list,allocator > >
::push_back(const auto_ptr &)'
autoptr.C:15: instantiated from here
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/stl_construct.h:48
: conversion from `const auto_ptr' to `auto_ptr &' discards
qualifiers
/usr/lib/gcc-lib/i386-linux/2.95.4/../../../../include/g++-3/memory:37: in
passing argument 1 of `auto_ptr::auto_ptr(auto_ptr &)'
-----------------------------------------------------------------------------
I don't know if it's doing the right thing or not.
3.) makedepend complains a lot about 'cannot find include file
"bits/c++config.h"'. According to the INSTALL doc this is normal?
4.) The package won't build due to other standard namespace issues. I started
looking at them but I think someone with more knowledge about the package need
to look at it.
Since debconf and several other important package use html2text it would be
really nice if we could get this fixed soon.
Thanks,
--
Matt Taggart Linux Development Lab
taggart@fc.hp.com HP Linux Systems Operation
------------=_1216585265-16738-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 98325-done) by bugs.debian.org; 20 Jul 2008 20:16:39 +0000
X-Spam-Checker-Version: SpamAssassin 3.1.4-bugs.debian.org_2005_01_02
(2006-07-26) on rietz.debian.org
X-Spam-Level:
X-Spam-Status: No, score=0.7 required=4.0 tests=BAYES_00,DNS_FROM_RFC_POST,
RCVD_IN_SBLXBL,RCVD_IN_SBLXBL_CBL autolearn=no
version=3.1.4-bugs.debian.org_2005_01_02
Return-path:
Received: from fk-out-0910.google.com ([209.85.128.187])
by rietz.debian.org with esmtp (Exim 4.63)
(envelope-from )
id 1KKfKh-0003vY-8V
for 98325-done@bugs.debian.org; Sun, 20 Jul 2008 20:16:39 +0000
Received: by fk-out-0910.google.com with SMTP id e30so888676fke.9
for <98325-done@bugs.debian.org>; Sun, 20 Jul 2008 13:16:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:date:from
:user-agent:mime-version:to:subject:x-enigmail-version:content-type;
bh=C6Fs330ark8+9Ag48mwh95/SrVh8KwfJtnXC77lEDMk=;
b=jXu3s2TcLzMGbK7rFDanQu3JLqOyqw44OlinpSvLXo9azlYVboO2gSpzDGMptlEGgB
ssu8LnT9HgQAzOJxwOuEky5kCpTH/I3ZAsjVYriyJX8iv2Z3A/hqypLLCY9AjfV6aYwJ
HaPAYSwWvKsY+gBKo2BP6P+xUmJDp2tSs6iV4=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:date:from:user-agent:mime-version:to:subject
:x-enigmail-version:content-type;
b=d9nE4cGE2ixAmCBxfCtLJ3qN5kBLEemKrapkh8mAX4Njf3AeWgm/Y9V4MCrQF/W/Fz
/nTMqtKaLB38IFqinbWRSr4UAlLANCbe2/I8zKS3B66LHhqnFyQVWwvl7oFrmJsEY59m
sNXXIVM97oIfM+TZPNuH6DrmD1bn1kviKpGjc=
Received: by 10.180.236.14 with SMTP id j14mr1596096bkh.36.1216584996135;
Sun, 20 Jul 2008 13:16:36 -0700 (PDT)
Received: from ?77.109.23.117? ( [77.109.23.117])
by mx.google.com with ESMTPS id v32sm3515442hub.61.2008.07.20.13.16.32
(version=SSLv3 cipher=RC4-MD5);
Sun, 20 Jul 2008 13:16:35 -0700 (PDT)
Message-ID: <48839BE0.5090600@gmail.com>
Date: Sun, 20 Jul 2008 23:11:12 +0300
From: "Eugene V. Lyubimkin"
User-Agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509)
MIME-Version: 1.0
To: 98325-done@bugs.debian.org
Subject: Irrelevant now.
X-Enigmail-Version: 0.95.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enig8212EF4AD10340F8323CC115"
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8212EF4AD10340F8323CC115
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Now package has successfully built on hppa architecture.
AFAIK there is no architecture with g++ 3.0 as default g++. I'm closing t=
his bug.
--=20
Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer.
--------------enig8212EF4AD10340F8323CC115
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIg5vichorMMFUmYwRAseuAJ0T9aZwHinLNvTm9RZUgYF7CwKFCwCfXDMe
tR3HTc1pHjhz6zOFfGpS7kY=
=mTbU
-----END PGP SIGNATURE-----
--------------enig8212EF4AD10340F8323CC115--
------------=_1216585265-16738-0--
Notification sent to Matt Taggart <taggart@carmen.fc.hp.com>:
Bug acknowledged by developer.
-t
MIME-Version: 1.0
X-Mailer: MIME-tools 5.420 (Entity 5.420)
X-Loop: owner@bugs.debian.org
From: owner@bugs.debian.org (Debian Bug Tracking System)
To: Matt Taggart
Subject: Bug#98325 closed by "Eugene V. Lyubimkin"
(Irrelevant now.)
Message-ID:
References: <48839BE0.5090600@gmail.com>
<20010522001659.D483E37CB8@carmen.fc.hp.com>
X-Debian-PR-Message: they-closed 98325
X-Debian-PR-Package: html2text
X-Debian-PR-Source: html2text
Reply-To: 98325@bugs.debian.org
Content-Type: multipart/mixed; boundary="----------=_1216585265-16738-1"
This is a multi-part message in MIME format...
------------=_1216585265-16738-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"
This is an automatic notification regarding your Bug report
which was filed against the html2text package:
#98325: html2text won't build with g++ 3.0 (hppa)
It has been closed by "Eugene V. Lyubimkin" .
Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact "Eugene V. Lyubimkin" =
by
replying to this email.
--=20
98325: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=3D98325
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
------------=_1216585265-16738-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at 98325-done) by bugs.debian.org; 20 Jul 2008 20:16:39 +0000
X-Spam-Checker-Version: SpamAssassin 3.1.4-bugs.debian.org_2005_01_02
(2006-07-26) on rietz.debian.org
X-Spam-Level:
X-Spam-Status: No, score=0.7 required=4.0 tests=BAYES_00,DNS_FROM_RFC_POST,
RCVD_IN_SBLXBL,RCVD_IN_SBLXBL_CBL autolearn=no
version=3.1.4-bugs.debian.org_2005_01_02
Return-path:
Received: from fk-out-0910.google.com ([209.85.128.187])
by rietz.debian.org with esmtp (Exim 4.63)
(envelope-from )
id 1KKfKh-0003vY-8V
for 98325-done@bugs.debian.org; Sun, 20 Jul 2008 20:16:39 +0000
Received: by fk-out-0910.google.com with SMTP id e30so888676fke.9
for <98325-done@bugs.debian.org>; Sun, 20 Jul 2008 13:16:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=gamma;
h=domainkey-signature:received:received:message-id:date:from
:user-agent:mime-version:to:subject:x-enigmail-version:content-type;
bh=C6Fs330ark8+9Ag48mwh95/SrVh8KwfJtnXC77lEDMk=;
b=jXu3s2TcLzMGbK7rFDanQu3JLqOyqw44OlinpSvLXo9azlYVboO2gSpzDGMptlEGgB
ssu8LnT9HgQAzOJxwOuEky5kCpTH/I3ZAsjVYriyJX8iv2Z3A/hqypLLCY9AjfV6aYwJ
HaPAYSwWvKsY+gBKo2BP6P+xUmJDp2tSs6iV4=
DomainKey-Signature: a=rsa-sha1; c=nofws;
d=gmail.com; s=gamma;
h=message-id:date:from:user-agent:mime-version:to:subject
:x-enigmail-version:content-type;
b=d9nE4cGE2ixAmCBxfCtLJ3qN5kBLEemKrapkh8mAX4Njf3AeWgm/Y9V4MCrQF/W/Fz
/nTMqtKaLB38IFqinbWRSr4UAlLANCbe2/I8zKS3B66LHhqnFyQVWwvl7oFrmJsEY59m
sNXXIVM97oIfM+TZPNuH6DrmD1bn1kviKpGjc=
Received: by 10.180.236.14 with SMTP id j14mr1596096bkh.36.1216584996135;
Sun, 20 Jul 2008 13:16:36 -0700 (PDT)
Received: from ?77.109.23.117? ( [77.109.23.117])
by mx.google.com with ESMTPS id v32sm3515442hub.61.2008.07.20.13.16.32
(version=SSLv3 cipher=RC4-MD5);
Sun, 20 Jul 2008 13:16:35 -0700 (PDT)
Message-ID: <48839BE0.5090600@gmail.com>
Date: Sun, 20 Jul 2008 23:11:12 +0300
From: "Eugene V. Lyubimkin"
User-Agent: Mozilla-Thunderbird 2.0.0.14 (X11/20080509)
MIME-Version: 1.0
To: 98325-done@bugs.debian.org
Subject: Irrelevant now.
X-Enigmail-Version: 0.95.0
Content-Type: multipart/signed; micalg=pgp-sha1;
protocol="application/pgp-signature";
boundary="------------enig8212EF4AD10340F8323CC115"
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig8212EF4AD10340F8323CC115
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Now package has successfully built on hppa architecture.
AFAIK there is no architecture with g++ 3.0 as default g++. I'm closing t=
his bug.
--=20
Eugene V. Lyubimkin aka JackYF, Ukrainian C++ developer.
--------------enig8212EF4AD10340F8323CC115
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIg5vichorMMFUmYwRAseuAJ0T9aZwHinLNvTm9RZUgYF7CwKFCwCfXDMe
tR3HTc1pHjhz6zOFfGpS7kY=
=mTbU
-----END PGP SIGNATURE-----
--------------enig8212EF4AD10340F8323CC115--
------------=_1216585265-16738-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
Received: (at submit) by bugs.debian.org; 22 May 2001 00:17:28 +0000
Return-path:
Received: from atlrel1.hp.com [156.153.255.210]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 151zrb-0005Lz-00; Mon, 21 May 2001 19:17:27 -0500
Received: from carmen.fc.hp.com (carmen.fc.hp.com [15.1.51.72])
by atlrel1.hp.com (Postfix) with ESMTP id C118A1118
for ; Mon, 21 May 2001 20:14:14 -0400 (EDT)
Received: from carmen.fc.hp.com (localhost [127.0.0.1])
by carmen.fc.hp.com (Postfix) with ESMTP
id D483E37CB8; Mon, 21 May 2001 18:16:59 -0600 (MDT)
X-Mailer: exmh version 2.3.1 01/18/2001 (debian 2.3.1-1) with nmh-1.0.4+dev
To: submit@bugs.debian.org
Cc: taggart@carmen.fc.hp.com
Subject: html2text won't build with g++ 3.0 (hppa)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Date: Mon, 21 May 2001 18:16:59 -0600
From: Matt Taggart
Message-Id: <20010522001659.D483E37CB8@carmen.fc.hp.com>
Delivered-To: submit@bugs.debian.org
Package: html2text
Version: 1.2.3-2
Severity: Important
html2text won't build with g++ 3.0, which means it won't build on hppa or any
other arch dependent on gcc-3.0.
There are several problems,
1.) configure has test code snippets that don't work with g++ 3.0. The
"$LIBSTDCXX_INCLUDES, $LIBSTDCXX_LIBS" and "$AUTO_PTR_BROKEN" code sections
need "using namespace std;". This is explained in the
"Libstdc++-porting-howto" at,
http://gcc.gnu.org/onlinedocs/libstdc++/17_intro/porting-howto.html
Here's a patch,
-----------------------------------------------------------------------------
--- configure~ Mon May 21 15:12:20 2001
+++ configure Mon May 21 15:21:59 2001
@@ -187,6 +187,7 @@
#include
#include
#include
+using namespace std;
void func() { map x; }
EOF
if $CXX -c $tmp_file.C 2>/dev/null; then
@@ -209,6 +210,7 @@
#include
#include
#include
+using namespace std;
int main(int, char**) {
auto_ptr x(new string("hello"));
*x = "world";
-----------------------------------------------------------------------------
2.) The "$AUTO_PTR_BROKEN" section test doesn't compile causing it to assume,
'not defined or not working, use "./libstd/include/auto_ptr.h"'
When I try to compile this test by hand I get,
-----------------------------------------------------------------------------
$ g++ -c autoptr.C
/usr/include/g++-v3/bits/stl_construct.h: In function `void
std::_Construct(_T1*, const _T2&) [with _T1 = std::auto_ptr, _T2 =
std::auto_ptr]':
/usr/include/g++-v3/bits/stl_list.h:313: instantiated from
`std::_List_node<_Tp>* std::list<_Tp, _Alloc>::_M_create_node(const _Tp&)
[with _Tp = std::auto_ptr, _Alloc = std::allocator