Bug#147500: [pkg-firebird-general] Bug#147500: firebird2 on sparc
Daniel Smolik
marvin at mydatex.cz
Mon Mar 5 10:10:35 CET 2007
Daniel Smolik napsal(a):
> Damyan Ivanov napsal(a):
>
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> - -=| Daniel Smolik, 4.03.2007 21:44 |=-
>>
>>> Emanuele Rocca napsal(a):
>>>
>>>> Now firebird builds correctly on sparc:
>>>> http://people.debian.org/~ema/firebird2_1.5.3.4870-12_sparc.build
>>>>
>>>> What I did was just dropping the -march=ultrasparc patch and adding
>>>> sparc to the list of supported architectures (see attached patch).
>>
>>
>>
>>> Hello,
>>> I am interseted to build firebird on Sparc too. But with attached patch
>>> I haven't success. I mean that gcc options -march=ultrasparc etc. mus
>>> be completly disabled to property build on SPARC. But this patch don't
>>> do this for me. I do:
>>>
>>> dpkg-source -x firebird2_1.5.3.4870-12.dsc
>>> dpkg-source: warning: extracting unsigned source package
>>> (./firebird2_1.5.3.4870-12.dsc)
>>> dpkg-source: extracting firebird2 in firebird2-1.5.3.4870
>>> dpkg-source: unpacking firebird2_1.5.3.4870.orig.tar.gz
>>> dpkg-source: applying ./firebird2_1.5.3.4870-12.diff.gz
>>> patch -p1 < /home/marvin/firebird.patch
>>> But this says something abou reversly patch applied etc.
>>> If I by hand edit
>>> builds/posix/prefix.linux_sparc32
>>
>>
>>
>> My suggestion is that instead of hand-editing
>> builds/posix/prefix-linux_sparc32, you need to *drop* the part of
>> debian/patches/fix-mcpu-to-mtune.dpatch that changes
>> builds/posix/prefix-linux_sparc32 (as ema did).
>>
>> Other difference may be somewhere else - CPU, debian distribution
>> (sid/etch/sarge).
>>
>> I have no experience with sparc (and no access to such hardware) so I
>> need your help to properly add sparc support.
>>
>>
>> Thanks,
>> dam
>> - --
>> Damyan Ivanov Modular Software Systems
>> phone +359(2)928-2611, 929-3993 fax +359(2)920-0994
>> mobile +359(88)856-6067 JID dam at jabber.minus273.org
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.6 (GNU/Linux)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>>
>> iD8DBQFF6zjZHqjlqpcl9jsRAs4QAKC7MLa/tqEA6WfqQhKBl4IiNzN/YACbBDrj
>> Fhmy0lVjaDqAmq9ysPWFsLM=
>> =fbm9
>> -----END PGP SIGNATURE-----
>>
>>
> npacking replacement firebird2-super-server ...
> Preparing to replace firebird2-examples 1.5.3.4870-12 (using
> firebird2-examples_1.5.3.4870-12_sparc.deb) ...
> Unpacking replacement firebird2-examples ...
> Preparing to replace firebird2-server-common 1.5.3.4870-12 (using
> firebird2-server-common_1.5.3.4870-12_sparc.deb) ...
> Unpacking replacement firebird2-server-common ...
> Preparing to replace firebird2-utils-super 1.5.3.4870-12 (using
> firebird2-utils-super_1.5.3.4870-12_sparc.deb) ...
> Unpacking replacement firebird2-utils-super ...
> Selecting previously deselected package libfbclient1.
> Unpacking libfbclient1 (from libfbclient1_1.5.3.4870-12_sparc.deb) ...
> Selecting previously deselected package libfbembed1.
> Unpacking libfbembed1 (from libfbembed1_1.5.3.4870-12_sparc.deb) ...
> Setting up firebird2-examples (1.5.3.4870-12) ...
>
> Setting up firebird2-server-common (1.5.3.4870-12) ...
> Setting up libfbclient1 (1.5.3.4870-12) ...
>
> Setting up libfbembed1 (1.5.3.4870-12) ...
>
> Setting up firebird2-super-server (1.5.3.4870-12) ...
> Created default security.fdb
> Starting Firebird server: server has been successfully started
>
> Plase enter new password for SYSDBA user:
> can't format message 18:1 -- message system code -8 can't format message
> 18:1 -- message system code -8
> Setting up firebird2-utils-super (1.5.3.4870-12) ...
>
> With builds/posix/prefix.linux_sparc32
>
> PROD_FLAGS=-m32 -mcpu=ultrasparc -mtune=ultrasparc -O3 -DNDEBUG -DLINUX
> -pipe -MMD -fPIC -Dsparc
> DEV_FLAGS=-ggdb -m32 -DLINUX -DDEBUG_GDS_ALLOC -pipe -MMD -p -fPIC -Wall
> -Wno-switch -Dsparc
>
> All compile cleanly.
>
> Thanks
> Dan
Only last small bug. After instalation packages I cannot get error
messages in text format.
marvin at e450:~$ isql-fb
can't format message 17:3 -- message text not found
SQL>
But firebird.msg (size 132796) is installed correctly.
Thanks
Dan
More information about the pkg-firebird-general
mailing list