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

CPack #562

Open
9 tasks
root-kidik opened this issue May 2, 2024 · 0 comments
Open
9 tasks

CPack #562

root-kidik opened this issue May 2, 2024 · 0 comments
Labels
big A big feature help wanted We would appreciate PR

Comments

@root-kidik
Copy link
Contributor

root-kidik commented May 2, 2024

Proposal

Split each part of userver in differents .deb package

  • userver-core
  • userver-postgresql
  • userver-kafka
  • userver-redis
  • userver-mongodb
  • userver-grpc
  • userver-rockdb
  • userver-rabbitmq
  • userver-mysql

Errors

Build

cmake -S./ -B./build_debug \
    -DCMAKE_BUILD_TYPE=Debug \
    -DUSERVER_INSTALL=ON \
    -DUSERVER_SANITIZE="ub addr" \
    -DUSERVER_FEATURE_POSTGRESQL=ON \
    -DUSERVER_FEATURE_GRPC=ON \
    -DCMAKE_CXX_STANDARD=17 \
    -DUSERVER_FEATURE_PATCH_LIBPQ=OFF \
    -GNinja
cmake -S./ -B./build_release \
    -DCMAKE_BUILD_TYPE=Release \
    -DUSERVER_INSTALL=ON \
    -DUSERVER_FEATURE_POSTGRESQL=ON \
    -DUSERVER_FEATURE_GRPC=ON \
    -DCMAKE_CXX_STANDARD=17 \
    -DUSERVER_FEATURE_PATCH_LIBPQ=OFF \
    -GNinja
cmake --build build_debug/
cmake --build build_release/

cd build_release && sudo cpack -G DEB -C Release && sudo dpkg -i ./userver-all_2.0-rc_arm64.deb

Error

Reading database ... 246616 files and directories currently installed.)
Preparing to unpack ./userver-all_2.0-rc_arm64.deb ...
Unpacking userver-all (2.0-rc) ...
dpkg: error processing archive ./userver-all_2.0-rc_arm64.deb (--install):
 trying to overwrite '/usr/include/boost/pfr.hpp', which is also in package libboost1.83-dev:arm64 1.83.0-2.1ubuntu3
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 ./userver-all_2.0-rc_arm64.deb
@apolukhin apolukhin added help wanted We would appreciate PR big A big feature labels May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
big A big feature help wanted We would appreciate PR
Projects
None yet
Development

No branches or pull requests

2 participants