Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Package Request] Firebird DB server #5795

Closed
vitkabele opened this issue Jun 28, 2023 · 4 comments
Closed

[Package Request] Firebird DB server #5795

vitkabele opened this issue Jun 28, 2023 · 4 comments
Labels
request request for new package

Comments

@vitkabele
Copy link
Contributor

Software Name

Firebird

Brief Description

Firebird is a relational database offering many ANSI SQL standard features that runs on Linux, Windows, MacOS and a variety of Unix platforms. Firebird offers excellent concurrency, high performance, and powerful language support for stored procedures and triggers. It has been used in production systems, under a variety of names, since 1981.

Website

https://firebirdsql.org/

Documentation

https://firebirdsql.org/en/firebird-rdbms/

Build/Installation documentation

https://www.firebirdsql.org/en/building-the-code/

Source code

https://github.com/FirebirdSQL/firebird

OpenSource License

other (please specify below)

Other License

Mozilla Public License

@vitkabele vitkabele added the request request for new package label Jun 28, 2023
vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 14, 2023
Copy aria2 spk configuration and start modifying files.
vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 14, 2023
vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 14, 2023
Because gpre tries to compile with -march=i586, which does not support
64bit instructions.
vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 19, 2023
- Copy aria2 spk configuration and start modifying files.
- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 20, 2023
- Copy aria2 spk configuration and start modifying files.
- Use configure --with-cross-build as used by firebird build itself
@hgy59
Copy link
Contributor

hgy59 commented Jul 23, 2023

@vitkabele I already tried to build firebird, but it failed to cross compile:

checking build system type... i686-pc-linux-gnu
checking for /proc/self/maps... configure: error: cannot check for file existence when cross compiling
make[2]: *** [../../mk/spksrc.configure.mk:57: configure_target] Error 1

So instead of building a package for x64 archs only, it would be better to use docker images for firebird.

@vitkabele
Copy link
Contributor Author

Oh yes, I am already past this issue. What you encountered happens when you configure target with GNU_CONFIGURE = 1, i.e. if you provide --target and --host options to ./configure.
Firebird itself has cross builds for e.g. android on aarch64, but you must use ./configure --with-cross-build=....
It already works for me, but I still have to install libtomcrypt-dev and libtommath-dev to the container. I work on porting these to native/libtomcrypt and native/libtommath. Then it shouldn't be problem to build at least for x64 and aarch64 models.
Feel free to check my progress at https://github.com/vitkabele/spksrc/tree/firebird

vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 24, 2023
- Copy aria2 spk configuration and start modifying files.
- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 24, 2023
- Copy aria2 spk configuration and start modifying files.
- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 24, 2023
- Copy aria2 spk configuration and start modifying files.
- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 24, 2023
- Copy aria2 spk configuration and start modifying files.
- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 25, 2023
Build FirebirdSQL database using native/libtommath and
native/libtomcrypt as dependencies.
Link against these native libraries during first step of cross build
process.

The build works for x64 architecture and DSM 7.1

- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 29, 2023
Build FirebirdSQL database using native/libtommath and
native/libtomcrypt as dependencies.
Link against these native libraries during first step of cross build
process.

The build works for x64 architecture and DSM 7.1

- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 29, 2023
@vitkabele
Copy link
Contributor Author

Hello,
the latest commit in my branch (b67ab17) now builds the firebird spk fox x64-7.1 architecture. I unfortunately do not posses any x64 Synology, so it would be nice if someone could test the spk before I find some.

vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 29, 2023
Build FirebirdSQL database using native/libtommath and
native/libtomcrypt as dependencies.
Link against these native libraries during first step of cross build
process.

The build works for x64 architecture and DSM 7.1

- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Jul 29, 2023
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 1, 2023
Build FirebirdSQL database using native/libtommath and
native/libtomcrypt as dependencies.
Link against these native libraries during first step of cross build
process.

The build works for x64 architecture and DSM 7.1

- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 1, 2023
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 1, 2023
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 1, 2023
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 4, 2023
Build FirebirdSQL database

The build works for x64 and aarch64 architecture and DSM 7.0 and 7.1

- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 4, 2023
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 4, 2023
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 4, 2023
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 7, 2023
Build FirebirdSQL database

The build works for x64 and aarch64 architecture and DSM 7.0 and 7.1

- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 7, 2023
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 7, 2023
Build FirebirdSQL database

The build works for x64 and aarch64 architecture and DSM 7.0 and 7.1

- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 7, 2023
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 9, 2023
Build FirebirdSQL database

The build works for x64 and aarch64 architecture and DSM 7.0 and 7.1

- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 9, 2023
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 9, 2023
Build FirebirdSQL database

The build works for x64 and aarch64 architecture and DSM 7.0 and 7.1

- Use configure --with-cross-build as used by firebird build itself
vitkabele added a commit to vitkabele/spksrc that referenced this issue Aug 9, 2023
@vitkabele vitkabele mentioned this issue Aug 9, 2023
14 tasks
@vitkabele
Copy link
Contributor Author

The progress continues in PR #5837

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
request request for new package
Projects
None yet
Development

No branches or pull requests

2 participants