Skip to content
New issue

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

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

Already on GitHub? # to your account

Debian package build #447

Merged
merged 2 commits into from
Aug 15, 2024
Merged

Debian package build #447

merged 2 commits into from
Aug 15, 2024

Conversation

mmd-osm
Copy link
Collaborator

@mmd-osm mmd-osm commented Aug 15, 2024

This PR is based on work by @Woazboat in d499553, with some minor tweaks to upload the generated Debian build artifacts later on. Also, Debian 12 Dockerfile has additional compile flags similar to Ubuntu launchpad config.

mmd-osm and others added 2 commits August 15, 2024 20:16
Based on commit: d499553
#

Co-authored-by: Florian Kargl <f.kargl@posteo.de>
@mmd-osm mmd-osm merged commit 07a55ea into zerebubuth:master Aug 15, 2024
6 checks passed
@Firefishy
Copy link
Contributor

I am working on another route for building debian packages over here: https://github.com/Firefishy/openstreetmap-cgimap/tree/add-debian-build

@mmd-osm
Copy link
Collaborator Author

mmd-osm commented Aug 16, 2024

Thank you for checking some alternatives. Did you check out https://gitlab.kitware.com/debian/dh-cmake already? This might come in handy to further streamline the build, since it can leverage the cmake dependency graph. Right now, it seems you would define all dependencies manually. I read somewhere that this would be needed for "official" Debian packages only (cpack debian files are not fully compliant). For our purposes this most likely wouldn't matter anyway.

@mmd-osm
Copy link
Collaborator Author

mmd-osm commented Aug 16, 2024

So the current list of dependencies for Debian 12 should be:

Depends: libboost-program-options1.74.0 (>= 1.74.0+ds1), libbrotli1 (>= 0.6.0), libc6 (>= 2.34), libcrypto++8 (>= 8.7.0+git220824), libfcgi0ldbl (>= 2.4.2), libgcc-s1 (>= 3.3.1), libmemcached11 (>= 1.1.4), libpqxx-6.4 (>= 6.4), libstdc++6 (>= 11), libxml2 (>= 2.7.4), libyajl2 (>= 2.0.4), zlib1g (>= 1:1.1.4)

That's pretty much what cpack came up with.

@mmd-osm
Copy link
Collaborator Author

mmd-osm commented Aug 16, 2024

@Firefishy : for better visibility, you could also create a new issue and post any findings there.

@mmd-osm
Copy link
Collaborator Author

mmd-osm commented Aug 17, 2024

@tomhughes mentioned he's urgently looking for a new build. Should we wait for this new approach to be ready first? I may have some limited availability in the next few weeks...

@tomhughes
Copy link
Contributor

I mean it's not critical or anything it's just moving to Debian will get us ruby 3.1 which unblocks rails 7.2 for us.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants