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

Local Spring Build Fails to Put deb in correct location #121

Closed
ericpassmore opened this issue May 8, 2024 · 1 comment
Closed

Local Spring Build Fails to Put deb in correct location #121

ericpassmore opened this issue May 8, 2024 · 1 comment
Labels

Comments

@ericpassmore
Copy link
Contributor

This is strange, when I run the following build the deb package shows up in /local/eosnetworkfoundation/spring_build/_CPack_Packages/Linux/DEB/ it does not show up in /local/eosnetworkfoundation/spring_build/spring_1.0.0-dev-ubuntu22.04_amd64.deb as expected. Need to see if this is something my script is doing, and removing the deb package later on.

Build Command

git checkout $SPRING_GIT_COMMIT_TAG
git pull origin $SPRING_GIT_COMMIT_TAG
git submodule update --init --recursive

[ ! -d "$SPRING_BUILD_DIR"/packages ] && mkdir -p "$SPRING_BUILD_DIR"/packages
cd "${SPRING_BUILD_DIR:?}" || exit

echo "BUILDING SPRING FROM ${SPRING_GIT_COMMIT_TAG}"
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=/usr/lib/llvm-11 "$SPRING_GIT_DIR" >> "$LOG_DIR"/spring_build_log.log 2>&1
make -j ${NPROC} package >> "$LOG_DIR"/spring_build_log.log 2>&1
echo "FINISHED BUILDING SPRING"

Output from Build

Run CPack packaging tool...
CPack: Create package using TZST
CPack: Install projects
CPack: - Run preinstall target for: spring
CPack: - Install project: spring []
CPack: Create package
CPack: - package: /local/eosnetworkfoundation/spring_build/spring-1.0.0-dev-ubuntu22.04-x86_64.tar.zst generated.
CPack: Create package using DEB
CPack: Install projects
CPack: - Run preinstall target for: spring
CPack: - Install project: spring []
CPack: -   Install component: base
CPack: Create package
CPackDeb: - Generating dependency list
CPack: - package: /local/eosnetworkfoundation/spring_build/spring_1.0.0-dev-ubuntu22.04_amd64.deb generated.
@ericpassmore
Copy link
Contributor Author

Found error in my script, that moved the deb package. Closing as Won't fix, nothing to fix.

@ericpassmore ericpassmore closed this as not planned Won't fix, can't repro, duplicate, stale May 10, 2024
@github-project-automation github-project-automation bot moved this from Todo to Done in Team Backlog May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

2 participants