[pkg-firebird-general] Bug#626931: Bug#626931: Bug#626931: FTBFS on GNU/Hurd
marius adrian popa
mapopa at gmail.com
Tue May 17 14:05:30 UTC 2011
On Tue, May 17, 2011 at 7:11 AM, Damyan Ivanov <dmn at debian.org> wrote:
> [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.
We need a new define for hurd
afther we undefine LINUX that part compiles but i hit another issues
that i found it to be in haikuos too
g++ -I../src/include/gen -I../src/include -I../src/vulcan -DNAMESPACE=Vulcan -gg
db -p -Wall
-Wno-switch -DLINUX -pipe -MMD -fPIC -DFB_SEND_FLAGS=MSG_NOSIGNAL -D
DEV_BUILD
-pthread -DBOOT_BUILD -pthread -fno-rtti -c ../src/jrd/os/posix/isc_ip
c.cpp -o
../temp/boot/jrd/isc_ipc.o
../src/jrd/os/posix/isc_ipc.cpp: In function 'bool isc_signal2(int,
FPTR_VOID, v
oid*, ULONG)':
../src/jrd/os/posix/isc_ipc.cpp:187:31: error: 'SA_SIGINFO' was not
declared in
this scope
../src/jrd/os/posix/isc_ipc.cpp: In function 'void
ISC_signal_cancel(int, FPTR_V
OID_PTR,
void*)':
http://mapopa.blogspot.com/2010/06/firebird-database-porting-progress-on.html
ps here is one kvm-linux, qemu image that can be used
wget http://people.debian.org/~sthibault/hurd-i386/debian-hurd.img.tar.gz
tar -xz < debian-hurd.img.tar.gz
kvm -net nic,model=rtl8139 -net user debian-hurd-*.img
in my case i didn't had x so
kvm -curses -net nic,model=rtl8139 -net user debian-hurd-20110323.img
apt-get update && apt-get dist-upgrade
apt-buildep firebird2.5
then checkout from svn/debian or git
http://mapopa.blogspot.com/2010/09/howto-checkout-firebird-25-release.html
tip add --enable-system-icu --enable-debug
by default is detected as i686-unknown-gnu0.3
i have exeperimented with some platform defaults but i still need some
work and research to do
>
>
>
> _______________________________________________
> pkg-firebird-general mailing list
> pkg-firebird-general at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-firebird-general
More information about the pkg-firebird-general
mailing list