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

Keeps telling me "target not found" despite having done ccm a #70

Closed
xuanruiqi opened this issue Apr 8, 2021 · 5 comments
Closed

Keeps telling me "target not found" despite having done ccm a #70

xuanruiqi opened this issue Apr 8, 2021 · 5 comments

Comments

@xuanruiqi
Copy link

It seems that the chroot_local repo isn't correctly added:

$ sudo ccm64 s
----> Attempting to build package...
==> Synchronizing chroot copy [/var/tmp/chroot/root] -> [xuanrui]...done
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
 there is nothing to do
==> Making package: smlsharp 4.0.0-1 (2021年04月09日 04時29分19秒)
==> Retrieving sources...
  -> Found smlsharp-4.0.0.tar.gz
  -> Found remove-tz-test.patch
==> Validating source files with sha256sums...
    smlsharp-4.0.0.tar.gz ... Passed
    remove-tz-test.patch ... Passed
==> Making package: smlsharp 4.0.0-1 (Fri 09 Apr 2021 04:29:21 AM JST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
error: target not found: massivethreads
==> ERROR: 'pacman' failed to install missing dependencies.

I do have the package added via sudo ccm64 a:

$ sudo ccm64 l
==> Listing out packages in buildroot repo...
total 216K
-rw-r--r-- 1 root root 216K  4月  9 04:29 massivethreads-1.00-1-x86_64.pkg.tar.zst
graysky2 added a commit that referenced this issue Apr 8, 2021
@graysky2
Copy link
Owner

graysky2 commented Apr 8, 2021

Thanks for reporting. I think I see the problem. Please try the latest git and let me know if it fixes your issue.

graysky2 added a commit that referenced this issue Apr 8, 2021
@xuanruiqi
Copy link
Author

Mostly, but not exactly. My package builds, but a new bug was introduced: before I add anything to the local repo, the local repo doesn't exist so nothing can be built:

$ sudo ccm64 s
----> Attempting to build package...
==> Synchronizing chroot copy [/var/tmp/chroot/root] -> [xuanrui]...done
Failed to stat /var/tmp/chroot/root/repo: No such file or directory
==> Making package: smlsharp 4.0.0-1 (2021年04月09日 06時53分53秒)
==> Retrieving sources...
  -> Found smlsharp-4.0.0.tar.gz
  -> Found remove-tz-test.patch
==> Validating source files with sha256sums...
    smlsharp-4.0.0.tar.gz ... Passed
    remove-tz-test.patch ... Passed
Failed to stat /var/tmp/chroot/root/repo: No such file or directory
==> ERROR: Build failed, check /var/tmp/chroot/xuanrui/build

Only after the first invocation of ccm64 a is this local repo created.

@graysky2
Copy link
Owner

graysky2 commented Apr 8, 2021

Can you nuke the root first and try again?

graysky2 added a commit that referenced this issue Apr 10, 2021
graysky2 added a commit that referenced this issue Apr 10, 2021
graysky2 added a commit that referenced this issue Apr 10, 2021
@graysky2
Copy link
Owner

@xuanruiqi - I force pushed a few changes; please ccm n and try again.

@xuanruiqi
Copy link
Author

It's fixed. Thanks!

graysky2 added a commit that referenced this issue Apr 11, 2021
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

2 participants