[pkg-firebird-general] Bug#626931: Bug#626931: FTBFS on GNU/Hurd

Damyan Ivanov dmn at debian.org
Tue May 17 04:11:28 UTC 2011


[Full CC for debiandevel]

-=| Damyan Ivanov, Mon, May 16, 2011 at 09:12:27PM +0300 |=-
> -=| Ondřej Surý, Mon, May 16, 2011 at 05:27:53PM +0200 |=-
> > Hi Marius,
> > 
> > On Mon, May 16, 2011 at 16:39, marius adrian popa <mapopa at gmail.com> wrote:
> > > 2011/5/16 Ondřej Surý <ondrej at debian.org>:
> > >> Package: firebird2.5
> > >> Version: 2.5.0.26074-0.ds4
> > >> Severity: normal
> > >> Tags: patch
> > >>
> > >> Firebird FTBFS on GNU/Hurd because MAXPATHLEN is not defined on that
> > >> platform.
> > >>
> > >> Attached is a patch which fixes that.  Please apply, it is a simple
> > >> fix and it blocks php5 build on GNU/Hurd.
> > >
> > > I have commited to svn 2.5 release branch
> > > please test if is ok
> 
> That was quick! :)
> 
> > Unfortunatelly I am not able to test it as I don't use hurd myself.
> 
> I asked the admin of strauss.debian.net (hurd porterbox) to install 
> the needed build dependencies for firebird2.5 and will try building it 
> there.
> 
> > But generally speaking (from my experience of fixing 
> > cyrus-imapd-2.x)
> > it should work. I am Ccing debian-hurd list, maybe somebody there
> > could help us with testing. If not I would suggest you go ahead and
> > upload if you have other stuff to release...
> 
> I seem to remember a Hurd porter said that there would be problems 
> with semaphores or something like that, but I can't find it. Anyway, 
> we'll see how the build goes on the porterbox. In the worst case php 
> would have to omit the firebird dependency/support for Hurd.

The build fails with the following error:

g++ -ggdb -O3 -DNDEBUG -DLINUX -pipe -MMD -fPIC -DFB_SEND_FLAGS=MSG_NOSIGNAL -I.
./src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -pthread -
g -O2   -DBOOT_BUILD  -fno-rtti -c ../src/jrd/gds.cpp -o ../temp/boot/jrd/gds.o
In file included from ../src/jrd/../jrd/../jrd/ThreadData.h:35,
                 from ../src/jrd/../jrd/jrd.h:74,
                 from ../src/jrd/gds.cpp:148:
../src/jrd/../jrd/../jrd/../common/classes/rwlock.h: In member function 'void Fi
rebird::RWLock::init()':
../src/jrd/../jrd/../jrd/../common/classes/rwlock.h:199: error: 'PTHREAD_RWLOCK_
PREFER_WRITER_NONRECURSIVE_NP' was not declared in this scope
../src/jrd/../jrd/../jrd/../common/classes/rwlock.h:199: error: 'pthread_rwlocka
ttr_setkind_np' was not declared in this scope
make[5]: *** [../temp/boot/jrd/gds.o] Error 1

Sending a copy to firebird-devel for oppinion.





More information about the pkg-firebird-general mailing list