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

Memgraph builder from scripts fails v2.11.0 #75

Open
antejavor opened this issue Oct 17, 2023 · 2 comments · May be fixed by #79
Open

Memgraph builder from scripts fails v2.11.0 #75

antejavor opened this issue Oct 17, 2023 · 2 comments · May be fixed by #79
Assignees

Comments

@antejavor
Copy link

antejavor commented Oct 17, 2023

On Macbook M2 (arm), running the following script steps fail:

  1. Prep the builder image at mage/cpp/memgraph/release/package: ./run.sh build v4 debian-11-arm
  2. Set the env vars:
export MGPLAT_CNT_IMAGE=memgraph/memgraph-builder:v4_debian-11-arm 
export MGPLAT_MG_TAG=v2.11.0 
export MGPLAT_MG_BUILD_TYPE=RelWithDebInfo 
  1. Run the build process:
./pack_memgraph_via_docker.sh 

I got the following error:

 Updating files: 100% (1953/1953), done.
/platform/mage/cpp/memgraph/libs/rocksdb /platform/mage/cpp/memgraph/libs
/platform/mage/cpp/memgraph/libs
/platform/mage/cpp/memgraph/libs/rocksdb /platform/mage/cpp/memgraph/libs
/platform/mage/cpp/memgraph/libs
Cloning primary from http://mgdeps-cache:8000/git/mgclient.git secondary from https://github.com/memgraph/mgclient.git
Cloning from https://github.com/memgraph/mgclient.git
Cloning into 'mgclient'...
remote: Enumerating objects: 740, done.
remote: Counting objects: 100% (409/409), done.
remote: Compressing objects: 100% (206/206), done.
remote: Total 740 (delta 254), reused 251 (delta 183), pack-reused 331
Receiving objects: 100% (740/740), 350.28 KiB | 3.57 MiB/s, done.
Resolving deltas: 100% (408/408), done.
/platform/mage/cpp/memgraph/libs/mgclient /platform/mage/cpp/memgraph/libs
No local changes to save
Note: switching to 'v1.4.0'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at 6f59c8a Change version number to 1.4.0 in CMake (#42)
/platform/mage/cpp/memgraph/libs
sed: couldn't open temporary file mgclient/src/sedHgd1c7: Permission denied

Something strange regarding mgconsole and rights, not sure why it would fail here:

repos/memgraph-platform/mage/cpp/memgraph/libs/mgclient/src $  ls -l
-rw-r--r--  1 antejavor  staff   4253 Oct 17 16:13 CMakeLists.txt
drwxr-xr-x  4 antejavor  staff    128 Oct 17 16:13 apple
drwxr-xr-x  4 antejavor  staff    128 Oct 17 16:13 linux
-rw-r--r--  1 antejavor  staff   6235 Oct 17 16:13 mgallocator.c
-rw-r--r--  1 antejavor  staff   3766 Oct 17 16:13 mgallocator.h
-rw-r--r--  1 antejavor  staff  32965 Oct 17 16:13 mgclient.c
-rw-r--r--  1 antejavor  staff   1633 Oct 17 16:13 mgcommon.h
-rw-r--r--  1 antejavor  staff   3603 Oct 17 16:13 mgconstants.h
-rw-r--r--  1 antejavor  staff   3935 Oct 17 16:13 mgmessage.c
-rw-r--r--  1 antejavor  staff   2329 Oct 17 16:13 mgmessage.h
-rw-r--r--  1 antejavor  staff  40611 Oct 17 16:13 mgsession-decoder.c
-rw-r--r--  1 antejavor  staff  14477 Oct 17 16:13 mgsession-encoder.c
-rw-r--r--  1 antejavor  staff   8208 Oct 17 16:13 mgsession.c
-rw-r--r--  1 antejavor  staff   5702 Oct 17 16:13 mgsession.h
-rw-r--r--  1 antejavor  staff   4201 Oct 17 16:13 mgsocket.h
-rw-r--r--  1 antejavor  staff  10475 Oct 17 16:13 mgtransport.c
-rw-r--r--  1 antejavor  staff   3793 Oct 17 16:13 mgtransport.h
-rw-r--r--  1 antejavor  staff  52054 Oct 17 16:13 mgvalue.c
-rw-r--r--  1 antejavor  staff   8787 Oct 17 16:13 mgvalue.h
-rw-r--r--  1 antejavor  staff   1295 Oct 17 16:13 mgwasm.c
-rw-r--r--  1 antejavor  staff    188 Oct 17 16:13 mgwasm.h
----------  1 antejavor  staff      0 Oct 17 16:13 sedHgd1c7
drwxr-xr-x  4 antejavor  staff    128 Oct 17 16:13 windows
@antejavor antejavor self-assigned this Oct 26, 2023
@katarinasupe
Copy link
Contributor

@MarkoBarisic can this be closed now?

@MarkoBarisic MarkoBarisic linked a pull request Jan 2, 2024 that will close this issue
5 tasks
@MarkoBarisic
Copy link
Contributor

@katarinasupe Not yet, when #79 will close this issue when merged 👍

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

Successfully merging a pull request may close this issue.

3 participants