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

cartridge pack rpm does not work properly for almalinux 8 #732

Open
maxim-komar opened this issue Sep 9, 2022 · 0 comments
Open

cartridge pack rpm does not work properly for almalinux 8 #732

maxim-komar opened this issue Sep 9, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@maxim-komar
Copy link

maxim-komar commented Sep 9, 2022

Command cartridge pack rpm does not work properly If cartridge project directory contains symbolic links. I used tarantool-enterprise-bundle-2.10.2, so in my reproduce script you must change corresponding lines:

#!/bin/bash
NAME=min-app2

dnf upgrade

## >> CHANGE THIS LINES
curl -O https://t.bk.ru/Hp40HK0uD7aoUuF/tarantool-enterprise-bundle-2.10.2-0-gf4228cb7d-r503-linux-x86_64.tar.gz
tar zxfp tarantool-enterprise-bundle-2.10.2-0-gf4228cb7d-r503-linux-x86_64.tar.gz -C /opt/
## << CHANGE THIS LINES

export PATH=/opt/tarantool-enterprise/:$PATH
cartridge create --name $NAME
cd $NAME

mkdir config
touch config/somefile
cd test/
ln -s ../config/somefile .
cd ..

dnf -y install git
git init
git add .
git commit -m 'initial commit'
git tag -a 0.0.1 -m 'initial'
cartridge pack rpm

And then I tried to install this package:

# rpm -U /root/min-app2/min-app2-0.0.1.0-1.x86_64.rpm
error: unpacking of archive failed: cpio: Bad magic
error: min-app2-0.0.1.0-1.x86_64: install failed

OS version:

# cat /etc/centos-release
AlmaLinux release 8.6 (Sky Tiger)

cartridge cli version:

# PATH=/opt/tarantool-enterprise cartridge version
Tarantool Cartridge CLI
 Version: 2.12.1
 OS/Arch:  linux/amd64
 Git commit: af99c20
@kyukhin kyukhin added bug Something isn't working teamE labels Sep 16, 2022
@TarantoolBot TarantoolBot removed the teamE label Jun 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants