firebird2: FTBFS with gcc4

Bug #20740 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
firebird2 (Debian)
Fix Released
Unknown
firebird2 (Ubuntu)
Invalid
High
Unassigned

Bug Description

Automatically imported from Debian bug report #317314 http://bugs.debian.org/317314

Revision history for this message
In , Dato Simó (dato) wrote :

* Riku Voipio [Thu, 07 Jul 2005 19:00:13 +0300]:

> Package: firebird2
> Severity: serious
> Justification: FTBFS Policy 4.2

Hi!

> firebird no longer compiles in sid, most likely because of
> the gcc4 migration. since libfirebird2-classic is a build depency
> of qt-x11-free, this is a major gcc4 migration blocker.

  Qt will be ready to be uploaded for the C++ ABI transition soon. In
  fact, we want it in sid as soon as X.org is compiled in all arches, so
  we'll be disabling firebird2 support for this upload unless this gets
  fixed in sid before that.

  Of course, firebird2 support can be re-introduced into Qt when this
  gets fixed.

  Cheers,

--
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621

Experience is something you don't get until just after you need it.

Revision history for this message
In , Christopher Martin (christopher-martin) wrote : Any plans to fix firebird for gcc4?

Hello,

Just wondering if/when firebird will likely be rebuilt for the gcc4
transition. This is required before we reenable support in Qt.

Thanks for any info,
Christopher Martin

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #317314 http://bugs.debian.org/317314

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (5.5 KiB)

Message-Id: <email address hidden>
Date: Thu, 07 Jul 2005 19:00:13 +0300
From: Riku Voipio <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: firebird2: FTBFS with gcc4

Package: firebird2
Severity: serious
Justification: FTBFS Policy 4.2

firebird no longer compiles in sid, most likely because of
the gcc4 migration. since libfirebird2-classic is a build depency
of qt-x11-free, this is a major gcc4 migration blocker.

make[4]: Entering directory `/tmp/firebird2-1.5.1/src'
g++ -I../src/include/gen -I../src/include -ggdb -O3 -march=i586
-mcpu=i586 -fno-omit-frame-pointer -fno-builtin -DNDEBUG -DLINUX -pipe
-MMD -fPIC -DPROD_BUILD -c ../src/common/classes/alloc.cpp -o
../temp/libfbcommon/common/classes/alloc.o
`-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
../src/common/classes/../../include/../common/classes/vector.h: In
member function 'bool Firebird::SortedVector<Value, Capacity, Key,
KeyOfValue, Cmp>::find(const Key&, int&)':
../src/common/classes/../../include/../common/classes/vector.h:103:
error: 'count' was not declared in this scope
../src/common/classes/../../include/../common/classes/vector.h:106:
error: 'data' was not declared in this scope
../src/common/classes/../../include/../common/classes/vector.h:113:
error: 'data' was not declared in this scope
../src/common/classes/../../include/../common/classes/tree.h: In member
function 'int Firebird::BePlusTree<Value, Key, Allocator, KeyOfValue,
Cmp, LeafCount, NodeCount>::getCount() const':
../src/common/classes/../../include/../common/classes/tree.h:218: error:
'count' was not declared in this scope
../src/common/classes/../../include/../common/classes/tree.h: In static
member function 'static const Key& Firebird::BePlusTree<Value, Key,
Allocator, KeyOfValue, Cmp, LeafCount,
NodeCount>::NodeList::generate(void*, void*)':
../src/common/classes/../../include/../common/classes/tree.h:263: error:
expected primary-expression before ')' token
../src/common/classes/../../include/../common/classes/tree.h:263: error:
expected `)' before 'item'
../src/common/classes/../../include/../common/classes/tree.h:263: error:
expected `)' before ';' token
../src/common/classes/../../include/../common/classes/alloc.h: At global
scope:
../src/common/classes/../../include/../common/classes/alloc.h:248:
error: 'void* operator new(size_t)' may not be declared as static
../src/common/classes/../../include/../common/classes/alloc.h:261:
error: 'void* operator new [](size_t)' may not be declared as static
../src/common/classes/../../include/../common/classes/alloc.h:274:
error: 'void operator delete(void*)' may not be declared as static
../src/common/classes/../../include/../common/classes/alloc.h:278:
error: 'void operator delete [](void*)' may not be declared as static
../src/common/classes/../../include/../common/classes/alloc.h:283:
error: 'void* operator new(size_t, void*)' may not be declared as static
../src/common/classes/../../include/../common/classes/alloc.h:284:
error: 'void* operator new [](size_t, void*)' may not be declared as
static
../src/common/classes/../../include/../common/classes/alloc.h:310:
error: 'void* operator new...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Tue, 12 Jul 2005 19:28:46 +0200
From: Adeodato =?utf-8?B?U2ltw7M=?= <email address hidden>
To: <email address hidden>, <email address hidden>
Cc: Debian Firebird Group <email address hidden>,
 Daniel Urban <email address hidden>, Remco Seesink <email address hidden>
Subject: Re: firebird2: FTBFS with gcc4

* Riku Voipio [Thu, 07 Jul 2005 19:00:13 +0300]:

> Package: firebird2
> Severity: serious
> Justification: FTBFS Policy 4.2

Hi!

> firebird no longer compiles in sid, most likely because of
> the gcc4 migration. since libfirebird2-classic is a build depency
> of qt-x11-free, this is a major gcc4 migration blocker.

  Qt will be ready to be uploaded for the C++ ABI transition soon. In
  fact, we want it in sid as soon as X.org is compiled in all arches, so
  we'll be disabling firebird2 support for this upload unless this gets
  fixed in sid before that.

  Of course, firebird2 support can be re-introduced into Qt when this
  gets fixed.

  Cheers,

--
Adeodato Simó
    EM: asp16 [ykwim] alu.ua.es | PK: DA6AE621

Experience is something you don't get until just after you need it.

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 12 Aug 2005 16:25:45 -0400
From: Christopher Martin <email address hidden>
To: <email address hidden>
Subject: Any plans to fix firebird for gcc4?

Hello,

Just wondering if/when firebird will likely be rebuilt for the gcc4
transition. This is required before we reenable support in Qt.

Thanks for any info,
Christopher Martin

Revision history for this message
Matt Zimmerman (mdz) wrote :

 firebird2 | 1.5.1-4 | http://us.archive.ubuntu.com breezy/universe Sources

Revision history for this message
In , Damyan Ivanov (dmn-debian) wrote : firebird2: 1.5.2 build (gcc-3.4) ready

Package: firebird2
Followup-For: Bug #317314

Hi,

I've prepared the current stable release (1.5.2) of Firebird for upload.
It compiles with gcc-3.4, making the C++ ABI transition. Build with
gcc=4.0 is not possible at the moment, as is a gcc-3.4 build of the old
(and currently in Debian) 1.5.1.

Source and binary packages are on
ftp://www.creditreform.bg/public/pool/main/f/firebird2

N.B. Source tarball is re-compressed (bzcat | gzip) since upstream
distributes a tar.bz2, which I could not trick debuild to handle to
dpkg-source.

I'd greatly appreciate and DD looking at the packaging and eventually
sponsor an upload. The pkg-firebird group is rather inactive these
weeks.

N.B.2 Please remember to include all changelogs since last upload
(1.5.1-4).

Many thanks in advance.
dam

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12+reiser4+dam.3
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 09 Sep 2005 10:31:23 +0300
From: "Damyan Ivanov \(at work\)" <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: firebird2: 1.5.2 build (gcc-3.4) ready

Package: firebird2
Followup-For: Bug #317314

Hi,

I've prepared the current stable release (1.5.2) of Firebird for upload.
It compiles with gcc-3.4, making the C++ ABI transition. Build with
gcc=4.0 is not possible at the moment, as is a gcc-3.4 build of the old
(and currently in Debian) 1.5.1.

Source and binary packages are on
ftp://www.creditreform.bg/public/pool/main/f/firebird2

N.B. Source tarball is re-compressed (bzcat | gzip) since upstream
distributes a tar.bz2, which I could not trick debuild to handle to
dpkg-source.

I'd greatly appreciate and DD looking at the packaging and eventually
sponsor an upload. The pkg-firebird group is rather inactive these
weeks.

N.B.2 Please remember to include all changelogs since last upload
(1.5.1-4).

Many thanks in advance.
dam

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12+reiser4+dam.3
Locale: LANG=bg_BG.UTF-8, LC_CTYPE=bg_BG.UTF-8 (charmap=UTF-8)

Revision history for this message
In , Damyan Ivanov (dmn-debian) wrote : Re: Bug#317314: firebird2: 1.5.2 build (gcc-3.4) ready
Download full text (9.1 KiB)

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

[This mail got large, due to my attempts to explain the details. Sorry]

Christopher Martin wrote:
> On September 10, 2005 02:01, you wrote:
>
>>Christopher Martin wrote:
>>
>>>Thanks for working on these packages. However, I tried installing your
>>>packages, but ran into a problem, wherein firebird2-dev tried to
>>>overwrite files in libfirebird2-classic (the package in Sid). So it
>>>looks like there are some missing 'Replaces', and perhaps Conflicts, to
>>>ensure a smooth upgrade for Sid users.
>>
>>Great! Thank you very much for your time.
>>
>>I'll fix this problem shortly.
>
>
> Hello,
>
> Thanks for looking into this.
>
> It looks like many of the changes mentioned in the firebird2 1.5.2-5 and
> 1.5.2-6 changelog entries aren't in the actual packages, probably because
> you made the changes to debian/control, instead of debian/control.in.

I've had some bad ideas about early testing of -6 that you've probably
seen. Please review again 1.5.2-6, it is "officially" released.

All changes are recorded in the SVN repository I am using here (long URL):
http://openfmi.net/plugins/scmsvn/cgi-bin/viewcvs.cgi/people/dam/firebird/?root=dev

Changelog is at (long URL)
http://svn.openfmi.net/dev/people/dam/firebird/tags/1.5.2-6/debian/changelog

> Also, linda reports the following:
>
> E: firebird2-server-common; Conffile ('/var/lib/firebird2/system',
> 'security.fdb') is not stored in /etc.

This is intented. There's a lintian override about it.

security.fdb holds user accounts information (usernames and passwords).
It is in /var/lib, because it is writable by the firebird server. It is
marked as a conffile so upgrades do not wipe it out leaving the system
with only admin account enabled and all others removed.

Probably there's better way than using a conffile for this (for example
automaticly importing present accounts into new security.fdb), but
conffile is what the packages used from day 0 and I for one am satisfied
with this. 1.5.1's security.fdb and 1.5.2's are compatible too.

> From this, I noticed that firebird uses /usr/lib/firebird2 as well
> as /var/lib/firebird2 to store files that probably should not be there,
> according to the FHS. Since no one has reported this as a bug, and fixing
> this would probably be a large hassle, I won't insist that this be changed
> before uploading. But maybe you should add it a TODO list (or let me know
> if I'm missing something).

/usr/lib vs /var/lib is decided on a case-by-case basis. If you tell me
what looks troublesome to you, I'll try to explain/fix it.

Generally, /var/lib is used for things that need to be writable, and
/usr/lib for libraries. There are several symlinks in
/usr/lib/firebird/{lib,bin} pointing to /usr/{lib,bin} for compatibility
with upstream packaging, which assumes that firebird is installed in
e.g. /opt/firebird and every firebird file can be found in this
"installation root". In debian such root is to be /usr/lib/firebird2.

> Furthermore, firebird2-dev contains symlinks to files in both libfbclient1
> and libfbembed1. This means that firebird2-dev must depend on both library
> packages, or there will be dang...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (9.4 KiB)

Message-ID: <email address hidden>
Date: Tue, 13 Sep 2005 15:08:00 +0300
From: Damyan Ivanov <email address hidden>
To: Christopher Martin <email address hidden>
CC: <email address hidden>
Subject: Re: Bug#317314: firebird2: 1.5.2 build (gcc-3.4) ready

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

[This mail got large, due to my attempts to explain the details. Sorry]

Christopher Martin wrote:
> On September 10, 2005 02:01, you wrote:
>
>>Christopher Martin wrote:
>>
>>>Thanks for working on these packages. However, I tried installing your
>>>packages, but ran into a problem, wherein firebird2-dev tried to
>>>overwrite files in libfirebird2-classic (the package in Sid). So it
>>>looks like there are some missing 'Replaces', and perhaps Conflicts, to
>>>ensure a smooth upgrade for Sid users.
>>
>>Great! Thank you very much for your time.
>>
>>I'll fix this problem shortly.
>
>
> Hello,
>
> Thanks for looking into this.
>
> It looks like many of the changes mentioned in the firebird2 1.5.2-5 and
> 1.5.2-6 changelog entries aren't in the actual packages, probably because
> you made the changes to debian/control, instead of debian/control.in.

I've had some bad ideas about early testing of -6 that you've probably
seen. Please review again 1.5.2-6, it is "officially" released.

All changes are recorded in the SVN repository I am using here (long URL):
http://openfmi.net/plugins/scmsvn/cgi-bin/viewcvs.cgi/people/dam/firebird/?root=dev

Changelog is at (long URL)
http://svn.openfmi.net/dev/people/dam/firebird/tags/1.5.2-6/debian/changelog

> Also, linda reports the following:
>
> E: firebird2-server-common; Conffile ('/var/lib/firebird2/system',
> 'security.fdb') is not stored in /etc.

This is intented. There's a lintian override about it.

security.fdb holds user accounts information (usernames and passwords).
It is in /var/lib, because it is writable by the firebird server. It is
marked as a conffile so upgrades do not wipe it out leaving the system
with only admin account enabled and all others removed.

Probably there's better way than using a conffile for this (for example
automaticly importing present accounts into new security.fdb), but
conffile is what the packages used from day 0 and I for one am satisfied
with this. 1.5.1's security.fdb and 1.5.2's are compatible too.

> From this, I noticed that firebird uses /usr/lib/firebird2 as well
> as /var/lib/firebird2 to store files that probably should not be there,
> according to the FHS. Since no one has reported this as a bug, and fixing
> this would probably be a large hassle, I won't insist that this be changed
> before uploading. But maybe you should add it a TODO list (or let me know
> if I'm missing something).

/usr/lib vs /var/lib is decided on a case-by-case basis. If you tell me
what looks troublesome to you, I'll try to explain/fix it.

Generally, /var/lib is used for things that need to be writable, and
/usr/lib for libraries. There are several symlinks in
/usr/lib/firebird/{lib,bin} pointing to /usr/{lib,bin} for compatibility
with upstream packaging, which assumes that firebird is installed in
e.g. /opt/firebird and every firebird file ca...

Read more...

Revision history for this message
In , Damyan Ivanov (dmn-debian) wrote : Bug#317314: fixed in firebird2 1.5.2-7
Download full text (12.5 KiB)

Source: firebird2
Source-Version: 1.5.2-7

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

firebird2-classic-server_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-classic-server_1.5.2-7_i386.deb
firebird2-dev_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-dev_1.5.2-7_i386.deb
firebird2-examples_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-examples_1.5.2-7_i386.deb
firebird2-server-common_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-server-common_1.5.2-7_i386.deb
firebird2-super-server_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-super-server_1.5.2-7_i386.deb
firebird2-utils-classic_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-utils-classic_1.5.2-7_i386.deb
firebird2-utils-super_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-utils-super_1.5.2-7_i386.deb
firebird2_1.5.2-7.diff.gz
  to pool/main/f/firebird2/firebird2_1.5.2-7.diff.gz
firebird2_1.5.2-7.dsc
  to pool/main/f/firebird2/firebird2_1.5.2-7.dsc
firebird2_1.5.2.orig.tar.gz
  to pool/main/f/firebird2/firebird2_1.5.2.orig.tar.gz
libfbclient1_1.5.2-7_i386.deb
  to pool/main/f/firebird2/libfbclient1_1.5.2-7_i386.deb
libfbembed1_1.5.2-7_i386.deb
  to pool/main/f/firebird2/libfbembed1_1.5.2-7_i386.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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Damyan Ivanov <email address hidden> (supplier of updated firebird2 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 <email address hidden>)

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

Format: 1.7
Date: Wed, 14 Sep 2005 17:30:24 +0300
Source: firebird2
Binary: firebird2-utils-classic libfbclient1 firebird2-super-server libfbembed1 firebird2-dev firebird2-server-common firebird2-utils-super firebird2-examples firebird2-classic-server
Architecture: source i386
Version: 1.5.2-7
Distribution: unstable
Urgency: high
Maintainer: Debian Firebird Group <email address hidden>
Changed-By: Damyan Ivanov <email address hidden>
Description:
 firebird2-classic-server - Firebird Classic Server - an RDBMS based on InterBase 6.0 code
 firebird2-dev - Development files for Firebird - an RDBMS based on InterBase 6.0
 firebird2-examples - Examples for Firebird - an RDBMS based on InterBase 6.0 code
 firebird2-server-common - Common files for Firebird - an RDBMS based on InterBase 6.0 code
 firebird2-super-server - Firebird Super Server - a RDBMS based on InterBase 6.0 code
 firebird2-utils-classic - Utilities for Firebird - an RDBMS based on InterBase 6.0 code
 firebird2-utils-super - Utilities for Firebird - an RDBMS based on InterBase 6.0 code
 libfbclient1 - Firebird client library files
 libfbembed1 - Firebird embedded client/server library files
Closes: 193154 243989 276532 278924 294199 2999...

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (12.7 KiB)

Message-Id: <email address hidden>
Date: Thu, 15 Sep 2005 15:38:47 -0700
From: Damyan Ivanov <email address hidden>
To: <email address hidden>
Subject: Bug#317314: fixed in firebird2 1.5.2-7

Source: firebird2
Source-Version: 1.5.2-7

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

firebird2-classic-server_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-classic-server_1.5.2-7_i386.deb
firebird2-dev_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-dev_1.5.2-7_i386.deb
firebird2-examples_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-examples_1.5.2-7_i386.deb
firebird2-server-common_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-server-common_1.5.2-7_i386.deb
firebird2-super-server_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-super-server_1.5.2-7_i386.deb
firebird2-utils-classic_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-utils-classic_1.5.2-7_i386.deb
firebird2-utils-super_1.5.2-7_i386.deb
  to pool/main/f/firebird2/firebird2-utils-super_1.5.2-7_i386.deb
firebird2_1.5.2-7.diff.gz
  to pool/main/f/firebird2/firebird2_1.5.2-7.diff.gz
firebird2_1.5.2-7.dsc
  to pool/main/f/firebird2/firebird2_1.5.2-7.dsc
firebird2_1.5.2.orig.tar.gz
  to pool/main/f/firebird2/firebird2_1.5.2.orig.tar.gz
libfbclient1_1.5.2-7_i386.deb
  to pool/main/f/firebird2/libfbclient1_1.5.2-7_i386.deb
libfbembed1_1.5.2-7_i386.deb
  to pool/main/f/firebird2/libfbembed1_1.5.2-7_i386.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 <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Damyan Ivanov <email address hidden> (supplier of updated firebird2 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 <email address hidden>)

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

Format: 1.7
Date: Wed, 14 Sep 2005 17:30:24 +0300
Source: firebird2
Binary: firebird2-utils-classic libfbclient1 firebird2-super-server libfbembed1 firebird2-dev firebird2-server-common firebird2-utils-super firebird2-examples firebird2-classic-server
Architecture: source i386
Version: 1.5.2-7
Distribution: unstable
Urgency: high
Maintainer: Debian Firebird Group <email address hidden>
Changed-By: Damyan Ivanov <email address hidden>
Description:
 firebird2-classic-server - Firebird Classic Server - an RDBMS based on InterBase 6.0 code
 firebird2-dev - Development files for Firebird - an RDBMS based on InterBase 6.0
 firebird2-examples - Examples for Firebird - an RDBMS based on InterBase 6.0 code
 firebird2-server-common - Common files for Firebird - an RDBMS based on InterBase 6.0 code
 firebird2-super-server - Firebird Super Server - a RDBMS based on InterBase 6.0 code
 firebird2-utils-classic - Utilities for Firebird - an RDBMS based on InterBase 6.0 code
 firebird2-utils-super - U...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.