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

jakt daily install fails: #1362

Open
mattgodbolt opened this issue Jul 10, 2024 · 5 comments
Open

jakt daily install fails: #1362

mattgodbolt opened this issue Jul 10, 2024 · 5 comments

Comments

@mattgodbolt
Copy link
Member

mattgodbolt commented Jul 10, 2024

2024-07-10 12:05:27,764 lib.installation_context INFO     Symlinking jakt-trunk-20240710 to /opt/compiler-explorer/jakt-trunk
2024-07-10 12:05:27,791 lib.ce_install  ERROR    compilers/jakt trunk installed OK, but doesn't appear as installed after
0 packages installed OK, 0 skipped, and 1 failed installation
Failed:
  compilers/jakt trunk

from:

$ sudo ce_install --enable nightly install jakt --force

without force it thinks it's already installed (unless jakt has been updated)

@partouf
Copy link
Member

partouf commented Jul 18, 2024

$ ls -l /opt/compiler-explorer/jakt-trunk-20240718/bin
total 37608
lrwxrwxrwx 1 root root       47 Jul 18 00:08 jakt -> /root/jakt-trunk-20240718/build/bin/jakt_stage1
-rwxr-xr-x 1 root root 18941880 Jul 18 00:07 jakt_stage0
-rwxr-xr-x 1 root root 18239976 Jul 18 00:08 jakt_stage1
-rwxr-xr-x 1 root root  1318376 Jul 18 00:08 jakttest

The symlink that is automatically created by the buildprocess points to /root/ which is the build-installation directory during the buildprocess, but is obviously not the same as the actual installation directory.

@partouf
Copy link
Member

partouf commented Jul 18, 2024

Attempting to fix with compiler-explorer/misc-builder@1508cfc

@partouf
Copy link
Member

partouf commented Jul 18, 2024

Checked their CMakeLists.txt and noticed that a runtime dir link would also be wrong, and it is:

$ ls -l /opt/compiler-explorer/jakt-trunk-20240718/include
total 4
lrwxrwxrwx 1 root root 33 Jul 18 00:07 runtime -> /root/jakt-trunk-20240718/runtime

@partouf
Copy link
Member

partouf commented Jul 18, 2024

they're using the cmake command -E create_symlink, https://cmake.org/cmake/help/latest/manual/cmake.1.html#cmdoption-cmake-E-arg-create_symlink
it doesn't appear to have support for making relative links
so my hack on the buildscript will have to do

@partouf
Copy link
Member

partouf commented Jul 23, 2024

This was fixed for a little bit, but its broken again, not sure why

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