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

Error building noetic/ros-opencog docker image #174

Closed
Mforrest20 opened this issue Jul 15, 2022 · 11 comments
Closed

Error building noetic/ros-opencog docker image #174

Mforrest20 opened this issue Jul 15, 2022 · 11 comments

Comments

@Mforrest20
Copy link

This is in the same vain of #173. I can't seem to get ros-opencog to build and I'm not sure how to proceed to do so. I'll post the error below and hopefully redirect the effort @linas would have put towards #173 into this issue.

As before building the ros-base image produces no errors. However building ros-opencog image appears to fail at the point of compiling matrix.scm. This is with leaving the current date (2022-03-05) as is for the opencog source, but rolling it back does not change anything in this case.

Thanks again for any help that is provided with this.

[100%] Built target opencog_exec_go
[100%] Built target opencog_persist-file_go
[100%] Built target opencog_uuid_go
wrote `/opencog/atomspace/build/opencog/scm/opencog/query.go'
[100%] Built target opencog_query_go
wrote `/opencog/atomspace/build/opencog/scm/opencog/test-runner.go'
[100%] Built target opencog_test-runner_go
ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
Syntax error:
opencog/matrix/group-similarity.scm:112:16: definition in expression context, where definitions are not allowed, in form (define list-of-all-co-idx (insert-into-set-of-all-co-idx #f))
make[2]: *** [opencog/matrix/CMakeFiles/matrix_go.dir/build.make:84: opencog/scm/matrix.go] Error 1
make[1]: *** [CMakeFiles/Makefile2:3726: opencog/matrix/CMakeFiles/matrix_go.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
wrote `/opencog/atomspace/build/opencog/scm/opencog/logger.go'
[100%] Built target opencog_logger_go
wrote `/opencog/atomspace/build/opencog/scm/opencog/persist.go'
[100%] Built target opencog_persist_go
wrote `/opencog/atomspace/build/opencog/scm/sheaf.go'
[100%] Built target sheaf_go
make: *** [Makefile:152: all] Error 2
[  0%] Built target SCM_CONFIG
[  0%] Built target opencog_atom_types
[  0%] Built target COPY_TO_LOAD_PATH_IN_BUILD_DIR_FROM__opencog_atomspace_opencog_atoms_atom_types
[  0%] Built target atom_types
[  5%] Built target value
[  8%] Built target truthvalue
[ 11%] Built target atombase
[ 29%] Built target atomcore
[ 32%] Built target atomflow
[ 32%] Built target parallel
[ 38%] Built target clearbox
[ 38%] Built target execution
[ 38%] Built target foreign
[ 41%] Built target grounded
[ 41%] Built target join
[ 44%] Built target query-engine
[ 50%] Built target pattern
[ 50%] Built target atomspace
[ 52%] Built target storage_types
[ 52%] Built target COPY_TO_LOAD_PATH_IN_BUILD_DIR_FROM__opencog_atomspace_opencog_persist_storage
[ 52%] Built target storage-types
[ 58%] Built target smob
[ 61%] Built target persist
[ 64%] Built target sexpr
[ 64%] Built target load_scm
[ 64%] Built target persist-file
[ 67%] Built target json
[ 67%] Built target tlb
[ 67%] Built target exec
[ 70%] Built target guile-uuid
[ 73%] Built target type-utils
[ 73%] Built target randgen
[ 73%] Built target logger
[ 73%] Built target COPY_TO_LOAD_PATH_IN_BUILD_DIR_FROM__opencog_atomspace_opencog_scm
[ 76%] Built target opencog_go
[ 76%] Built target opencog_type-utils_go
[ 76%] Built target opencog_randgen_go
[ 76%] Built target opencog_query_go
[ 76%] Built target opencog_persist-file_go
[ 76%] Built target opencog_extension_go
[ 79%] Built target executioncontext
[ 79%] Built target py_atomspace_header
[ 79%] Built target PythonEval
[ 82%] Built target PythonSCM
[ 82%] Built target opencog_python_go
[ 85%] Built target opencog_test-runner_go
[ 85%] Built target opencog_exec_go
[ 85%] Built target opencog_uuid_go
[ 85%] Built target opencog_logger_go
[ 85%] Built target opencog_persist_go
[ 85%] Compiling matrix.scm
ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
Syntax error:
opencog/matrix/group-similarity.scm:112:16: definition in expression context, where definitions are not allowed, in form (define list-of-all-co-idx (insert-into-set-of-all-co-idx #f))
make[2]: *** [opencog/matrix/CMakeFiles/matrix_go.dir/build.make:84: opencog/scm/matrix.go] Error 1
make[1]: *** [CMakeFiles/Makefile2:3726: opencog/matrix/CMakeFiles/matrix_go.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
The command '/bin/sh -c (mkdir /opencog/atomspace/build; cd /opencog/atomspace/build; 	cmake ..; make -j12; make install)' returned a non-zero code: 2
@mwigzell
Copy link
Contributor

mwigzell commented Jul 15, 2022 via email

@Mforrest20
Copy link
Author

Mforrest20 commented Jul 19, 2022

Hi Mark, I took the time to fully read through that conversation and it looks like you guys were making significant progress, but the conversation came to a halt. At the end of the day I'm determined to get Eva running again with OpenCog to make her interactive. I want to tackle this on two fronts: 1) Eliciting help towards getting the blender files fixed and bringing Eva into this decade AND 2) Putting in effort to make the old code work. Additionally I'm going to request Linas create a channel to organize and aid these efforts.

1 ) There has been another user (textametron) posting in the Discord with regards to blender and OpenCog and I'd like to bring them into this conversation. They may have the insight we need to move forward, or they may know some people who are willing to help us get it solved.

2 ) This conversation is happening within the opencog/docker repo, but I think it would be best to start with getting Indigo Eva running bare metal, then putting in the work to containerize it. You've mentioned this is not possible but I would still like to give it a try. Questions that will need to be resolved are:

  1. My main issue with getting either of these systems running wasn't ROS, Docker, or Blender (afaik) it was building opencog. Were you able to successfully build an ros-opencog docker image of any veriety?
  2. Have you tried doing this outside the docker images?
  3. You mention the code was broken but is that for attempting to run on the new version of blender?
  4. Are the issues you mention with the X11 rendering due to networking within docker? (If so I believe it is possible to resolve those with effort)
  5. Outside sourcing the old dependencies/tool dated to that era, are there any other problems I'm glossing over?

Thank you again for your help with this.

@mwigzell
Copy link
Contributor

mwigzell commented Jul 19, 2022 via email

@Mforrest20
Copy link
Author

Mforrest20 commented Jul 21, 2022

Hey Mark, Again you have outdone yourself with this information you're providing. I'm in the process of bringing a coworker up to speed on addressing these problems and that Readme_Progress (not sure how I missed this) is fantastic for getting info across and providing more context than I would have been able on my own. I'll report back on this problem shortly.

Also thanks for clarifying that you aren't having the problem I've described in this issue's title. I'm going to double check my work retry building it. Hopefully there will be some progress to report the next time we correspond.

@mwigzell
Copy link
Contributor

mwigzell commented Jul 21, 2022 via email

@mwigzell
Copy link
Contributor

mwigzell commented Jul 21, 2022 via email

@Mforrest20
Copy link
Author

Mforrest20 commented Jul 22, 2022

Hey Mark, thanks for that update. I also failed to mention (though maybe implied) I'm abandoning the attempt to re-implement the old version. You provided a convincing argument against doing so. (Chiefly getting the perception/camera files and other non-open source/non-published packages dated to the precise time things were working). The fact that significant work is being made to get things working with the new system makes spending effort there appear to be a lost cause.

Re the error: Although it is not convenient for this to be broken for either of us, it is good to hear it there is consistency to the issue. As well as there being justification for this issue to remain open.

@mwigzell
Copy link
Contributor

mwigzell commented Jul 22, 2022 via email

@mwigzell
Copy link
Contributor

mwigzell commented Oct 11, 2022 via email

@mwigzell
Copy link
Contributor

mwigzell commented Oct 11, 2022 via email

@linas
Copy link
Member

linas commented Jan 12, 2023

Closing, I think this is all now resolved. I did a bunch of updates for #182 and it builds cleanly, now.

@linas linas closed this as completed Jan 12, 2023
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

3 participants