Skip to content

Instantly share code, notes, and snippets.

View allenh1's full-sized avatar

Hunter L. Allen allenh1

  • Apex.AI
  • Media, PA
View GitHub Profile
@allenh1
allenh1 / gist:48e80007fc07efafccd9561bdaded8c9
Created February 17, 2018 00:30
ros_workspace emerge log
>>> Emerging (2 of 2) ros-ardent/ros_workspace-0.4.0::ros-overlay
* ros_workspace-ardent-release-0.4.0.tar.gz BLAKE2B SHA512 size ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking ros_workspace-ardent-release-0.4.0.tar.gz to /var/tmp/portage/ros-ardent/ros_workspace-0.4.0/work
>>> Source unpacked in /var/tmp/portage/ros-ardent/ros_workspace-0.4.0/work
>>> Preparing source in /var/tmp/portage/ros-ardent/ros_workspace-0.4.0/work/ros_workspace-0.4.0 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/ros-ardent/ros_workspace-0.4.0/work/ros_workspace-0.4.0 ...
>>> Working in BUILD_DIR: "/var/tmp/portage/ros-ardent/ros_workspace-0.4.0/work/ros_workspace-0.4.0_build"
cmake -C /var/tmp/portage/ros-ardent/ros_workspace-0.4.0/work/ros_workspace-0.4.0_build/gentoo_common_config.cmake -G Unix Makefiles -DCMAKE_INSTALL_PREFIX=/usr -DCATKIN_ENABLE_TESTING=0 -DCATKIN_BUILD_BINARY_PACKAGE=1 -DCMAKE_PREFIX_PATH=/opt/ros/ardent -DCMAKE_INSTALL_PREFIX=/opt/ros/ardent -DCMAKE_BUILD_TYPE=Gentoo -DCMAKE_USER_M
@allenh1
allenh1 / deb build
Created February 8, 2018 05:39
Building a Deb File
allenh1@hunter-Lemur:~/work/superflore$ sudo python3 ./setup.py --command-packages=stdeb.command bdist_deb
running bdist_deb
running sdist_dsc
running egg_info
writing superflore.egg-info/PKG-INFO
writing dependency_links to superflore.egg-info/dependency_links.txt
writing entry points to superflore.egg-info/entry_points.txt
writing requirements to superflore.egg-info/requires.txt
writing top-level names to superflore.egg-info/top_level.txt
reading manifest file 'superflore.egg-info/SOURCES.txt'
@allenh1
allenh1 / moveit_core build
Created January 23, 2018 02:21
Build output for moveit_core on Gentoo for ROS Lunar, version 0.9.11
a3fc8e78d481 / # emerge ros-lunar/moveit_core
* IMPORTANT: 13 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
Calculating dependencies... done!
>>> Verifying ebuild manifests
>>> Emerging (1 of 1) ros-lunar/moveit_core-0.9.11::ros-overlay
* moveit_core-lunar-release-0.9.11.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ]
@allenh1
allenh1 / failing.yml
Last active January 23, 2018 22:06
Curently Failing Gentoo Packages
indigo:
- adi_driver
- fanuc
- fanuc_driver
- trac_ik
- trac_ik_kinematics_plugin
- trac_ik_python
kinetic:
- adi_driver
- aruco_detect
@allenh1
allenh1 / gist:3e81e2a6fb28b728dc24416826e99af9
Created January 19, 2018 04:53
tf2_py with Lunar and Python 3.5
hunter-laptop ~ # PYTHON_TARGETS="python3_5" emerge ros-lunar/tf2_py
* IMPORTANT: 3 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.
Calculating dependencies... done!
!!! The following installed packages are masked:
- dev-libs/libmcs-0.7.2::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
allenh1@hunter-laptop /tmp/rpi/opt/ros/lunar/lib/python2.7/site-packages/catkin $ ls
builder.py environment_cache.py __init__.py package_version.py test_results.py workspace.py
builder.pyc environment_cache.pyc __init__.pyc package_version.pyc test_results.pyc workspace.pyc
cmake.py find_in_workspaces.py init_workspace.py terminal_color.py tidy_xml.py workspace_vcs.py
cmake.pyc find_in_workspaces.pyc init_workspace.pyc terminal_color.pyc tidy_xml.pyc workspace_vcs.pyc
allenh1@hunter-laptop ~/work/poky/rpi-build $ bitbake rpi-basic-image
WARNING: Host distribution "gentoo" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Parsing recipes: 100% |##########################################| Time: 0:01:33
Parsing of 4211 .bb files complete (0 cached, 4211 parsed). 5090 targets, 85 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/allenh1/work/poky/meta-cloud-services/meta-openstack/recipes-extended/libvirt/libvirt_1.%.bbappend
/home/allenh1/work/poky/meta-cloud-services/meta-openstack/recipes-httpd/apache2/apache2_2.4.%.bbappend
NOTE: Resolving any missing task queue dependencies
Build Configuration:
@allenh1
allenh1 / catkin_output.txt
Created January 3, 2018 22:54
native catkin, Open Embedded
root@raspberrypi2:~# mkdir -p catkin_ws/src && cd catkin_ws/src
root@raspberrypi2:~/catkin_ws/src# source /opt/ros/lunar/setup.bash
root@raspberrypi2:~/catkin_ws/src# catkin_init_workspace
Creating symlink "/home/root/catkin_ws/src/CMakeLists.txt" pointing to "/opt/ros/lunar/share/catkin/cmake/toplevel.cmake"
root@raspberrypi2:~/catkin_ws/src# cd ../
root@raspberrypi2:~/catkin_ws# ls
src
root@raspberrypi2:~/catkin_ws# catkin_make
Base path: /home/root/catkin_ws
Source space: /home/root/catkin_ws/src
@allenh1
allenh1 / CONSOLE_BRIDGE logger macro OE issue
Created December 26, 2017 20:26
This is the output from the Open Embedded compilation failing at rosbag
allenh1@hunter-laptop ~/work/poky/rpi-build $ bitbake rpi-basic-image
WARNING: Host distribution "gentoo" has not been validated with this version of the build system; you may possibly experience unexpected failures. It is recommended that you use a tested distribution.
Loading cache: 100% |#################################################################| Time: 0:00:01
Loaded 4922 entries from dependency cache.
Parsing recipes: 100% |###############################################################| Time: 0:00:28
Parsing of 4084 .bb files complete (2616 cached, 1468 parsed). 4929 targets, 85 skipped, 0 masked, 0 errors.
WARNING: No recipes available for:
/home/allenh1/work/poky/meta-cloud-services/meta-openstack/recipes-extended/libvirt/libvirt_1.%.bbappend
/home/allenh1/work/poky/meta-cloud-services/meta-openstack/recipes-httpd/apache2/apache2_2.4.%.bbappend
NOTE: Resolving any missing task queue dependencies
@allenh1
allenh1 / bblayers.conf
Last active January 31, 2018 19:50
Open Embedded Raspberry Pi
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"
BBPATH = "${TOPDIR}"
BBFILES ?= ""
BBLAYERS ?= " \
/home/${USER}/work/poky/meta \