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

libraries are not enough after creating the package rpm #14

Open
kvakanet opened this issue Feb 21, 2020 · 0 comments
Open

libraries are not enough after creating the package rpm #14

kvakanet opened this issue Feb 21, 2020 · 0 comments

Comments

@kvakanet
Copy link

Hello!

I created application with template basic.
Edited meta.yaml with content:

name: reds
version: scm-1
deps:
  - https://raw.githubusercontent.com/moonlibs/config/master/config-scm-1.rockspec
  - https://raw.githubusercontent.com/moonlibs/package-reload/master/package.reload-scm-1.rockspec
  - inspect
tntdeps:
  - metrics
  - http
  - avro-schema
  - expirationd

In rpm/reds.spec for create rpm(first steps) changed string

tarantool dep.lua --meta-file ./meta.yaml --tree ./%{name}-%{version}-%{release}-rocks

to

tarantoolapp dep --meta-file ./meta.yaml --tree ./%{name}-%{version}-%{release}-rocks

After creating a package, several libraries(rocks) are missing
part output after run (make rpm)

[reds] Installing dep 'inspect'
[reds] luarocks --server=https://luarocks.org --server=http://rocks.tarantool.org install inspect --tree=/root/rpmbuild/BUILD/reds/reds-scm-20200221.0950-rocks...
Installing https://luarocks.org/inspect-3.1.1-0.src.rock...
Using https://luarocks.org/inspect-3.1.1-0.src.rock... switching to 'build' mode
Updating manifest for /root/rpmbuild/BUILD/reds/reds-scm-20200221.0950-rocks/lib64/luarocks/rocks
inspect 3.1.1-0 is now built and installed in /root/rpmbuild/BUILD/reds/reds-scm-20200221.0950-rocks (license: MIT <http://opensource.org/licenses/MIT>)

[reds] Installed dep 'inspect'


[reds] Installing tarantool dep 'metrics'
[reds] tarantoolctl rocks --server=https://luarocks.org --server=http://rocks.tarantool.org install metrics...
Installing http://rocks.tarantool.org/metrics-scm-1.rockspec
Cloning into 'metrics'...
remote: Enumerating objects: 51, done.
remote: Counting objects: 100% (51/51), done.
remote: Compressing objects: 100% (46/46), done.
remote: Total 51 (delta 1), reused 29 (delta 1), pack-reused 0
Receiving objects: 100% (51/51), 22.64 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1/1), done.
metrics scm-1 is now installed in /root/rpmbuild/BUILD/reds/.rocks (license: BSD)

[reds] Installed tarantool dep 'metrics'

Library installation paths are different

This problem after my edition(into spec or meta.yaml) or not ?

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

No branches or pull requests

1 participant