Your message dated Thu, 13 Oct 2016 22:50:17 +0000
with message-id <e1buopn-0000xg...@franck.debian.org>
and subject line Bug#840666: fixed in firebird3.0 3.0.1.32609.ds4-7
has caused the Debian Bug report #840666,
regarding firebird3.0: FTBFS on powerpc, segfaults during build
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 ow...@bugs.debian.org
immediately.)


-- 
840666: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=840666
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: firebird3.0
Version: 3.0.1.32609.ds4-6
Severity: serious
Tags: upstream
Justification: fails to build from source
User: debian-powe...@lists.debian.org
Usertags: powerpc

Hello!

firebird3.0 currently fails to build from source since the gpre
command segfaults during build:

sh -x -c "lockfile -1 /«PKGBUILDDIR»/gen/Release/firebird/bin/build-db.lock && 
/«PKGBUILDDIR»/gen/Release/firebird/bin/gpre_current -m -z -n 
/«PKGBUILDDIR»/src/yvalve/blob.epp /«PKGBUILDDIR»/temp/Release/yvalve/blob.cpp; 
res=\$?; rm -f /«PKGBUILDDIR»/gen/Release/firebird/bin/build-db.lock; exit 
\$res"
+ lockfile -1 /«PKGBUILDDIR»/gen/Release/firebird/bin/build-db.lock
+ /«PKGBUILDDIR»/gen/Release/firebird/bin/gpre_current -m -z -n 
/«PKGBUILDDIR»/src/yvalve/blob.epp /«PKGBUILDDIR»/temp/Release/yvalve/blob.cpp
gpre version LI-V3.0.1.32609 Firebird 3.0
Segmentation fault
+ res=139
+ rm -f /«PKGBUILDDIR»/gen/Release/firebird/bin/build-db.lock
+ exit 139

I have done some debugging and from the backtrace it's obvious that
the crash occurs in glibc:

(sid_powerpc-dchroot)glaubitz@partch:~/firebird3.0-3.0.1.32609.ds4$ gdb 
/home/glaubitz/firebird3.0-3.0.1.32609.ds4/gen/Release/firebird/bin/gpre_boot
GNU gdb (Debian 7.11.1-2) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from 
/home/glaubitz/firebird3.0-3.0.1.32609.ds4/gen/Release/firebird/bin/gpre_boot...done.
(gdb) run
Starting program: 
/home/glaubitz/firebird3.0-3.0.1.32609.ds4/gen/Release/firebird/bin/gpre_boot
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc-linux-gnu/libthread_db.so.1".
gpre:  no source file named.

Program received signal SIGSEGV, Segmentation fault.
0x0fa79960 in _IO_wsetb () from /lib/powerpc-linux-gnu/libc.so.6
(gdb) bt
#0  0x0fa79960 in _IO_wsetb () from /lib/powerpc-linux-gnu/libc.so.6
#1  0x0fa88dac in ?? () from /lib/powerpc-linux-gnu/libc.so.6
#2  0x0fa3cd58 in ?? () from /lib/powerpc-linux-gnu/libc.so.6
#3  0x0fa3ce30 in exit () from /lib/powerpc-linux-gnu/libc.so.6
#4  0x10027f28 in CPR_exit (stat=263831632) at ./src/gpre/gpre.cpp:978
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

This looks similar to the FTBFS of lua5.3 on powerpc [1] which is
triggered by the use of a version script for the linker and, in
fact, firebird3.0 is using such scripts. Now, this actually reminded
me of another similar problem we had on sparc back then [2] which
is the missing _IO_stdin_used symbol in the version script. lua5.2
was affected by that problem as well and Aurelien Jarno fixed that
by adding that symbol to the version script [3].

I tried the fix from [3] in firebird3.0, but unfortunately it
doesn't help. Currently, I'm out of ideas but it would be great
to see this fixed as this also affects m68k for which I have
added platform support to firebird upstream [4,5].

Thanks,

Adrian

> [1] https://bugs.launchpad.net/ubuntu/+source/lua5.3/+bug/1570055
> [2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=634261
> [3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=816059
> [4] https://github.com/FirebirdSQL/firebird/pull/51
> [5] https://github.com/FirebirdSQL/firebird/pull/52

--
 .''`.  John Paul Adrian Glaubitz
 : :' :  Debian Developer - glaub...@debian.org
 `. `'   Freie Universitaet Berlin - glaub...@physik.fu-berlin.de
   `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913

--- End Message ---
--- Begin Message ---
Source: firebird3.0
Source-Version: 3.0.1.32609.ds4-7

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

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 840...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Damyan Ivanov <d...@debian.org> (supplier of updated firebird3.0 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Thu, 13 Oct 2016 20:31:51 +0000
Source: firebird3.0
Binary: firebird3.0-server-core firebird3.0-server firebird3.0-utils 
libfbclient2 libib-util firebird3.0-common firebird-dev firebird3.0-examples 
firebird3.0-doc firebird3.0-common-doc
Architecture: source
Version: 3.0.1.32609.ds4-7
Distribution: unstable
Urgency: medium
Maintainer: Debian Firebird Group <pkg-firebird-gene...@lists.alioth.debian.org>
Changed-By: Damyan Ivanov <d...@debian.org>
Closes: 840666 840684
Description: 
 firebird3.0-common - common files for firebird 3.0 server, client and utilities
 firebird3.0-common-doc - copyright, licensing and changelogs of firebird3.0
 firebird3.0-doc - Documentation files for firebird database version 3.0
 firebird3.0-examples - Examples for Firebird - an RDBMS based on InterBase 6.0 
code
 firebird3.0-server-core - Firebird Server - engine core
 firebird3.0-server - Firebird Server - an RDBMS based on InterBase 6.0 code
 firebird3.0-utils - Firebird user utilities
 firebird-dev - Development files for Firebird
 libfbclient2 - Firebird client library
 libib-util - Firebird UDF support library
Changes:
 firebird3.0 (3.0.1.32609.ds4-7) unstable; urgency=medium
 .
   * remove debian/fdb-r15y-prune.d on clean
   * rules: use := where possible
   * rules: rearrange targets and stamps to avoid touching build-stamp when
     satisfying the binary target
   * rules: enable raw device support only on linux
     Fixes FTBFS on kfreebsd
   * add patch by John Paul Adrian Glaubitz fixing garbage output by gpre and
     isql caused by linkage issues on mips64el, alpha and m68k
     (Closes: #840666)
   * Add patch by John Paul Adrian Glaubitz adding support for m68k
     (Closes: #840684)
Checksums-Sha1: 
 cb4da4c7874b851674f5c22cdbe917e038e4cb5c 2833 firebird3.0_3.0.1.32609.ds4-7.dsc
 470627c8c83816c32aded0b270abd84de73ac3ac 100812 
firebird3.0_3.0.1.32609.ds4-7.debian.tar.xz
Checksums-Sha256: 
 d948f0816f463a5538313b39e58f194ba2acceafeb6aa82d4fb9f592089d45d6 2833 
firebird3.0_3.0.1.32609.ds4-7.dsc
 012da3ab5f28c3e437cc3b643d0d9497fc85417cccbe9358c9d0e5648d7d9b62 100812 
firebird3.0_3.0.1.32609.ds4-7.debian.tar.xz
Files: 
 8ad3467a7d4064223dbba79363a5b2cb 2833 database optional 
firebird3.0_3.0.1.32609.ds4-7.dsc
 0b9faa74fad4091d1be62a96559be398 100812 database optional 
firebird3.0_3.0.1.32609.ds4-7.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIcBAEBCAAGBQJX/+/AAAoJENu+nU2Z0qAEzrQP/1wh/KN0qudTB2+czgOAKVJO
TscFo2v87hU4SDo0cJl+RcAHsaVLd3STbqOlrViHyR8am/1imHHh2WbSJmvRl0aL
SmwBsOuaCAoyaM3sUuAB7EgGoDHuXH9ofPxfwsz3HB2buNHK3wfM6gulWGXkr38O
zLxmHiwUb0D9tKvCYhjjwTMQfYizkaWVLg8fOwie6jFGphnB38iR7nDzA58oTiR1
HxX7v4oqscsWfu50UK+vIxrFexPdLGpBeheB20r13rUZpr/t8J+j6bbKEuI8qLBb
t5S6gaD/ocIR/IcR7jDcXSGsNCSdGRC3chOVO2zLnXC+eCsIr5ILstKjgLdJFZVD
CLoHNLur/BXfk5MT5Mjtz6mLDSQqrscgMLY743XyMlcAjywp+WTpwEevW+xFDlqt
SGRWYQkjJ+uEvCSS9Vy1rEUjrxSQeDihy/hMhqMYZasH3DXF35BmoEudB6I9y54K
8yk493i6rSGOjmRWD74Xm6FYdBGHrREqyfjPIzrNJb+IxuEdHOBbQ5HXNrXEx56n
8jCupQRFRW1ABxkUYyb4ScpLGwgwbs49HB3R9z08fjET6OoM+lSCfi8+W6wbWp/9
SEOcoCv8Pfk4Tu9LAN6XSCwQgeKZEnesreSjRMd+OE9s2H8U/k5H7+OEDXN5k9zY
SCCsHt7sOSVzblVHSM4C
=zKcT
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to