Skip to content

pod terminal output #127

@drzo

Description

@drzo

HISTFILE=/workspace/.gitpod/cmd-0 history -r; {
echo "🧠 Starting OpenCog GitPod Automated Deployment..."
echo "=================================================="

Make scripts executable

chmod +x .gitpod/*.sh
chmod +x ./setup-opencog-gitpod.sh

Run environment setup

echo "🔧 Setting up environment..."
source .gitpod/setup.sh

Run main deployment

echo "🚀 Running automated deployment..."
.gitpod/deploy.sh

echo "✅ OpenCog environment ready!"

} && {

Source the updated environment

source ~/.bashrc

echo ""
echo "🧠 OpenCog GitPod Environment Ready!"
echo "===================================="
echo ""
echo "🎯 Quick Start:"
echo " opencog_status - Check environment status"
echo " build-opencog - Build complete OpenCog ecosystem"
echo " start-cogserver - Launch CogServer (port 17001)"
echo " start-atomspace-repl - Launch AtomSpace Guile REPL"
echo " demos - Show available demos"
echo " og - Navigate to workspace"
echo ""
echo "📖 Documentation:"
echo " - Quick Guide: cat .gitpod/README.md"
echo " - Troubleshooting: cat .gitpod/TROUBLESHOOTING.md"
echo " - OpenCog Wiki: https://wiki.opencog.org/"
echo ""
echo "🌐 Service Ports (auto-forwarded by Gitpod):"
echo " - CogServer: 17001 (telnet), 18001 (web)"
echo " - REST API: 5000"
echo " - Web Demos: 8080"
echo ""
echo "Happy coding with OpenCog! 🧠✨"

}
🧠 OpenCog GitPod Environment Loaded!
Use: opencog_status to check environment or demos to see examples
gitpod /workspace/opencog-org (main) $ HISTFILE=/workspace/.gitpod/cmd-0 history -r; {

echo "🧠 Starting OpenCog GitPod Automated Deployment..."
echo "=================================================="

Make scripts executable

chmod +x .gitpod/*.sh
chmod +x ./setup-opencog-gitpod.sh

Run environment setup

echo "🔧 Setting up environment..."
source .gitpod/setup.sh

Run main deployment

echo "🚀 Running automated deployment..."
.gitpod/deploy.sh

echo "✅ OpenCog environment ready!"

} && {

Source the updated environment

source ~/.bashrc

echo ""
echo "🧠 OpenCog GitPod Environment Ready!"
echo "===================================="
echo ""
echo "🎯 Quick Start:"
echo " opencog_status - Check environment status"
echo " build-opencog - Build complete OpenCog ecosystem"
echo " start-cogserver - Launch CogServer (port 17001)"
echo " start-atomspace-repl - Launch AtomSpace Guile REPL"
echo " demos - Show available demos"
echo " og - Navigate to workspace"
echo ""
echo "📖 Documentation:"
echo " - Quick Guide: cat .gitpod/README.md"
echo " - Troubleshooting: cat .gitpod/TROUBLESHOOTING.md"
echo " - OpenCog Wiki: https://wiki.opencog.org/"
echo ""
echo "🌐 Service Ports (auto-forwarded by Gitpod):"
echo " - CogServer: 17001 (telnet), 18001 (web)"
echo " - REST API: 5000"
echo " - Web Demos: 8080"
echo ""
echo "Happy coding with OpenCog! 🧠✨"

}
🧠 Starting OpenCog GitPod Automated Deployment...
==================================================
🔧 Setting up environment...
🚀 Running automated deployment...
🧠 OpenCog Gitpod Deployment Starting
============================================================
ℹ️ Deployment started at Sun Jul 27 11:42:32 AM UTC 2025
ℹ️ Running in Gitpod environment: opencoq-opencogorg-pdwao5w8hq5
ℹ️ Log file: /tmp/opencog-deploy.log
🧠 Environment Setup
============================================================
🧠 Guix Package Installation
============================================================
ℹ️ Installing Guix packages using optimized manifest...
⚠️ Guix manifest installation failed or timed out, using fallback method
ℹ️ Installing essential packages via system package manager...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
build-essential is already the newest version (12.9ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
✅ Installed build-essential
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
cmake is already the newest version (3.22.1-1ubuntu1.22.04.2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
✅ Installed cmake
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
git is already the newest version (1:2.50.1-0ppa1ubuntu22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
✅ Installed git
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libboost-all-dev is already the newest version (1.74.0.3ubuntu7).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
✅ Installed libboost-all-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libcppunit-dev is already the newest version (1.15.1-4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
✅ Installed libcppunit-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
⚠️ Failed to install libguile-3.0-dev, continuing...
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-dev is already the newest version (3.10.6-1
22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
✅ Installed python3-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-pip is already the newest version (22.0.2+dfsg-1ubuntu0.6).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
✅ Installed python3-pip
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-numpy is already the newest version (1:1.21.5-1ubuntu22.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
✅ Installed python3-numpy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-scipy is already the newest version (1.8.0-1exp2ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
✅ Installed python3-scipy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libgsl-dev is already the newest version (2.7.1+dfsg-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
✅ Installed libgsl-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
pkg-config is already the newest version (0.29.2-1ubuntu3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
✅ Installed pkg-config
🧠 OpenCog Build Process
============================================================
ℹ️ Building cogutil...
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type: Release
-- Found Boost: /usr/lib/x86_64-linux-gnu/cmake/Boost-1.74.0/BoostConfig.cmake (found suitable version "1.74.0", minimum required is "1.60") found components: filesystem program_options system thread
-- Found Python3: /home/gitpod/.pyenv/shims/python3.10 (found version "3.10.18") found components: Interpreter
-- Cxxtest was not found. Make sure CXXTEST_BIN_DIR is set.
-- CxxTest missing: needed for unit tests.
-- Looking for C++ include cxxabi.h
-- Looking for C++ include cxxabi.h - found
-- Looking for execinfo.h
-- Looking for execinfo.h - found
-- Found GNU execinfo.h C++ backtrace functionality
-- Looking for include file bfd.h
-- Looking for include file bfd.h - not found
-- BFD not found
-- Binutils-dev missing: No pretty stack-trace printing.
-- Looking for include file libiberty.h
-- Looking for include file libiberty.h - not found
-- IBERTY not found
-- Libiberty-dev missing: No pretty stack-trace printing.
-- Looking for C++ include parallel/algorithm
-- Looking for C++ include parallel/algorithm - found
-- C++ library standardizes parallelism
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Doxygen not found, you won't be able to generate API documentation.
-- Configuring done
-- Generating done
-- Build files have been written to: /workspace/opencog-org/cogutil/build
[ 10%] Building C object opencog/util/CMakeFiles/cogutil.dir/backtrace-symbols.c.o
[ 10%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/ansi.cc.o
[ 15%] Building C object opencog/util/CMakeFiles/cogutil.dir/cluster.c.o
[ 20%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/exceptions.cc.o
[ 25%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/Logger.cc.o
[ 30%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/misc.cc.o
[ 35%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/mt19937ar.cc.o
[ 40%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/oc_assert.cc.o
[ 45%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/oc_omp.cc.o
[ 50%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/octime.cc.o
[ 55%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/platform.cc.o
[ 60%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/StringTokenizer.cc.o
[ 65%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/Config.cc.o
[ 70%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/files.cc.o
[ 75%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/lazy_selector.cc.o
[ 80%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/lazy_normal_selector.cc.o
[ 85%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/lazy_random_selector.cc.o
[ 90%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/log_prog_name.cc.o
[ 95%] Building CXX object opencog/util/CMakeFiles/cogutil.dir/tree.cc.o
[100%] Linking CXX shared library libcogutil.so
[100%] Built target cogutil
Consolidate compiler generated dependencies of target cogutil
[100%] Built target cogutil
Install the project...
-- Install configuration: "Release"
-- Installing: /home/gitpod/.local/share/opencog/cmake/AddCxxtest.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindBFD.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/Findcpprest.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindCxxtest.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindCython.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindFolly.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindGHC.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindGTK3.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindGuile.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindHyperTable.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindIberty.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindLibGearman.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindLinkGrammar.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindMOSES.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindMsgPack.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindOCaml.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindOctomap.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindPGSQL.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindPthreads.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindRocksDB.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindSIGAR.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindStack.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindSTLPort.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindTBB.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindUUID.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindVALGRIND.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/FindZMQ.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/OCamlDep.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/OpenCogFindPython.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/OpenCogFindGuile.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/OpenCogGccOptions.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/OpenCogInstallOptions.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/OpenCogLibOptions.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/Summary.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/UseOCaml.cmake
-- Installing: /home/gitpod/.local/share/opencog/cmake/COPYING-CMAKE-SCRIPTS
-- Installing: /home/gitpod/.local/lib/cmake/CogUtil/CogUtilConfigVersion.cmake
-- Installing: /home/gitpod/.local/lib/cmake/CogUtil/CogUtilConfig.cmake
-- Installing: /etc/ld.so.conf.d/opencog.conf
⚠️ Install failed for cogutil
✅ cogutil built successfully
ℹ️ Building atomspace...
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type: Release
-- CogUtil version 2.0.3 found.
-- Found Python3: /home/gitpod/.pyenv/shims/python3.10 (found version "3.10.18") found components: Interpreter
-- Cxxtest was not found. Make sure CXXTEST_BIN_DIR is set.
-- CxxTest missing: needed for unit tests.
-- Could NOT find Folly (missing: FOLLY_LIBRARIES FOLLY_INCLUDE_DIR)
-- Folly missing: provides more efficient std::set replacement.
-- Guile (3.0.7 >= 2.2.2) was found.
-- Looking for secure_getenv
-- Looking for secure_getenv - not found
-- Found Python3: /home/gitpod/.pyenv/shims/python3.10 (found version "3.10.18") found components: Interpreter Development Development.Module Development.Embed
-- Python 3.10.18 interpreter found.
-- Found Python3: /home/gitpod/.pyenv/shims/python3.10 (found version "3.10.18") found components: Interpreter
-- Found Cython: /home/gitpod/.pyenv/shims/cython (Required is at least version "0.24.0")
Cython version 3.1.2
-- Cython (3.1.2 >= 0.24.0) found.
-- Python install dir: /home/gitpod/.pyenv/versions/3.10.18/lib/python3.10/site-packages/opencog
-- Using nosetests executable /usr/bin/nosetests3
-- Could NOT find OCaml. Please specify CMAKE_OCaml_EXECUTABLE. (missing: CMAKE_OCaml_VERSION CMAKE_OCaml_EXECUTABLE CMAKE_OCaml_FIND CMAKE_OCaml_LEX CMAKE_OCaml_YACC)
-- Stack was not found. Haskell bindings will not be built.
-- Valgrind Prefix:
-- Could NOT find VALGRIND (missing: VALGRIND_INCLUDE_DIR VALGRIND_PROGRAM)
-- VALGRIND missing: needed for thread debugging.
-- Setting python RPATH to /home/gitpod/.pyenv/versions/3.10.18/lib/python3.10/site-packages/opencog
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Doxygen not found, you won't be able to generate API documentation.
-- Configuring done
-- Generating done
-- Build files have been written to: /workspace/opencog-org/atomspace/build
[ 0%] Built target SCM_CONFIG
[ 0%] Generating C++ Atom Type bindings from atom_types.script
[ 0%] Cythonizing logger.pyx
[ 0%] Generating Scheme Atom Type bindings from atom_types.script
[ 1%] Generating Python Atom Type bindings from atom_types.script
[ 1%] Built target opencog_atom_types
[ 2%] Building CXX object opencog/atoms/atom_types/CMakeFiles/atom_types.dir/atom_types_init.cc.o
[ 3%] Building CXX object opencog/cython/opencog/CMakeFiles/logger_cython.dir/logger.cpp.o
⚠️ atomspace build failed, continuing with other components...
ℹ️ Building cogserver...
-- The C compiler identification is GNU 11.4.0
-- The CXX compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type: Release
-- CogUtil found.
-- Configuring incomplete, errors occurred!
See also "/workspace/opencog-org/cogserver/build/CMakeFiles/CMakeOutput.log".
⚠️ cogserver build failed, continuing with other components...
🧠 Service Initialization
============================================================
ℹ️ Configuring OpenCog services for Gitpod...
✅ Service startup scripts created in /home/gitpod/.local/bin
ℹ️ OpenCog services will be available on these ports:
ℹ️ - CogServer Telnet: 17001
ℹ️ - CogServer Web Interface: 18001
ℹ️ - REST API Server: 5000
ℹ️ - Web Demos: 8080
ℹ️ Gitpod will automatically handle port forwarding for these services.
✅ Services configured - use the created scripts to start them
🧠 Deployment Verification
============================================================
ℹ️ Verifying OpenCog deployment...
✅ cogutil: Build directory exists and contains files
✅ atomspace: Build directory exists and contains files
✅ cogserver: Build directory exists and contains files
✅ Python bindings: Available
✅ Guile: Available
✅ Deployment verification passed
✅ OpenCog Gitpod deployment completed successfully!
🧠 Next Steps
============================================================

🎉 OpenCog Gitpod Environment Ready!

📚 Quick Commands:
start-cogserver - Launch CogServer on port 17001
start-atomspace-repl - Launch AtomSpace Guile REPL
build-opencog - Rebuild complete OpenCog ecosystem

🔧 Build Individual Components:
build-cogutil - Build CogUtil library
build-atomspace - Build AtomSpace
build-cogserver - Build CogServer

🌐 Access Points:

  • CogServer will be available on port 17001 (telnet)
  • Web interfaces on port 18001 (when available)
  • REST API on port 5000 (when configured)

📖 Documentation:

🐛 Troubleshooting:

  • Check logs: cat /tmp/opencog-deploy.log
  • Troubleshooting guide: /workspace/opencog-org/.gitpod/TROUBLESHOOTING.md

Happy coding with OpenCog! 🧠✨

✅ OpenCog environment ready!
🧠 OpenCog GitPod Environment Loaded!
Use: opencog_status to check environment or demos to see examples

🧠 OpenCog GitPod Environment Ready!

🎯 Quick Start:
opencog_status - Check environment status
build-opencog - Build complete OpenCog ecosystem
start-cogserver - Launch CogServer (port 17001)
start-atomspace-repl - Launch AtomSpace Guile REPL
demos - Show available demos
og - Navigate to workspace

📖 Documentation:

🌐 Service Ports (auto-forwarded by Gitpod):

  • CogServer: 17001 (telnet), 18001 (web)
  • REST API: 5000
  • Web Demos: 8080

Happy coding with OpenCog! 🧠✨
gitpod /workspace/opencog-org (main) $

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions