Closed KSaiAkshit closed 3 years ago
I heard people got trouble from arch4edu. Are you really need arch4edu?
I heard people got trouble from arch4edu. Are you really need arch4edu?
I don't really know, the official Ros-wiki page does mention it and i did add the repo.
Ok, first. I want you to remove your arch4edu from your arch. I never add third party repo such as arch4edu so you must find how to do it yourself. Google it!
Ok, first. I want you to remove your arch4edu from your arch. I never add third party repo such as arch4edu so you must find how to do it yourself. Google it!
I removed it from my pacman.conf
Now try install ros-noetic-desktop-full again using paru. Tell me the output.
Now try install ros-noetic-desktop-full again using paru. Tell me the output.
/opt/ros/noetic/share/genmsg/cmake/pkg-genmsg.cmake.em:56: error: <class 'ModuleNotFoundError'>: No module named 'genmsg'
Traceback (most recent call last):
File "/usr/lib/python3.9/site-packages/em.py", line 3303, in <module>
if __name__ == '__main__': main()
File "/usr/lib/python3.9/site-packages/em.py", line 3301, in main
invoke(sys.argv[1:])
File "/usr/lib/python3.9/site-packages/em.py", line 3284, in invoke
interpreter.wrap(interpreter.file, (file, name))
File "/usr/lib/python3.9/site-packages/em.py", line 2295, in wrap
self.fail(e)
File "/usr/lib/python3.9/site-packages/em.py", line 2284, in wrap
callable(*args)
File "/usr/lib/python3.9/site-packages/em.py", line 2359, in file
self.safe(scanner, done, locals)
File "/usr/lib/python3.9/site-packages/em.py", line 2401, in safe
self.parse(scanner, locals)
File "/usr/lib/python3.9/site-packages/em.py", line 2421, in parse
token.run(self, locals)
File "/usr/lib/python3.9/site-packages/em.py", line 1425, in run
interpreter.execute(self.code, locals)
File "/usr/lib/python3.9/site-packages/em.py", line 2596, in execute
_exec(statements, self.globals, locals)
File "<string>", line 5, in <module>
ModuleNotFoundError: No module named 'genmsg'
CMake Error at /opt/ros/noetic/share/catkin/cmake/safe_execute_process.cmake:11 (message):
execute_process(/home/akshit/.cache/yay/ros-noetic-rosgraph-msgs/src/build/catkin_generated/env_cached.sh
"/usr/bin/python" "/usr/lib/python3.9/site-packages/em.py" "--raw-errors"
"-F"
"/home/akshit/.cache/yay/ros-noetic-rosgraph-msgs/src/build/cmake/rosgraph_msgs-genmsg-context.py"
"-o"
"/home/akshit/.cache/yay/ros-noetic-rosgraph-msgs/src/build/cmake/rosgraph_msgs-genmsg.cmake"
"/opt/ros/noetic/share/genmsg/cmake/pkg-genmsg.cmake.em") returned error
code 1
Call Stack (most recent call first):
/opt/ros/noetic/share/catkin/cmake/em_expand.cmake:25 (safe_execute_process)
/opt/ros/noetic/share/genmsg/cmake/genmsg-extras.cmake:303 (em_expand)
CMakeLists.txt:12 (generate_messages)
-- Configuring incomplete, errors occurred!
See also "/home/akshit/.cache/yay/ros-noetic-rosgraph-msgs/src/build/CMakeFiles/CMakeOutput.log".
See also "/home/akshit/.cache/yay/ros-noetic-rosgraph-msgs/src/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
Aborting...
error making: ros-noetic-rosgraph-msgs
This is what i get when ran using yay without arch4edu
Yeah this is the exact error people get when installing arch4edu. Now install genmsg by yay -S ros-noetic-genmsg
Yeah this is the exact error people get when installing arch4edu. Now install genmsg by
yay -S ros-noetic-genmsg
I had already removed arch4edu from pacman.conf, but I could install genmsg
❯ yay -S ros-noetic-genmsg
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] ros-noetic-genmsg-0.5.16-2
:: Downloaded PKGBUILD (1/1): ros-noetic-genmsg
1 ros-noetic-genmsg (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/1) Parsing SRCINFO: ros-noetic-genmsg
==> Making package: ros-noetic-genmsg 0.5.16-2 (Thu 05 Aug 2021 05:29:27 PM IST)
==> Retrieving sources...
-> Downloading ros-noetic-genmsg-0.5.16.tar.gz...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 118 100 118 0 0 223 0 --:--:-- --:--:-- --:--:-- 223
100 60357 0 60357 0 0 42869 0 --:--:-- 0:00:01 --:--:-- 118k
==> Validating source files with sha256sums...
ros-noetic-genmsg-0.5.16.tar.gz ... Passed
==> Making package: ros-noetic-genmsg 0.5.16-2 (Thu 05 Aug 2021 05:29:29 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found ros-noetic-genmsg-0.5.16.tar.gz
==> Validating source files with sha256sums...
ros-noetic-genmsg-0.5.16.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting ros-noetic-genmsg-0.5.16.tar.gz with bsdtar
==> Sources are ready.
==> Making package: ros-noetic-genmsg 0.5.16-2 (Thu 05 Aug 2021 05:29:31 PM IST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
-- The C compiler identification is GNU 11.1.0
-- The CXX compiler identification is GNU 11.1.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
-- Using CATKIN_DEVEL_PREFIX: /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/devel
-- Using CMAKE_PREFIX_PATH: /opt/ros/noetic
-- This workspace overlays: /opt/ros/noetic
-- Found PythonInterp: /usr/bin/python (found suitable version "3.9.6", minimum required is "3")
-- Using PYTHON_EXECUTABLE: /usr/bin/python
-- Using default Python package layout
-- Found PY_em: /usr/lib/python3.9/site-packages/em.py
-- Using empy: /usr/lib/python3.9/site-packages/em.py
-- Using CATKIN_ENABLE_TESTING: ON
-- Skip enable_testing() when building binary package
-- Using CATKIN_TEST_RESULTS_DIR: /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/test_results
-- Forcing gtest/gmock from source, though one was otherwise available.
-- Found gtest sources under '/usr/src/gmock': gtests will be built
-- Found gmock sources under '/usr/src/gmock': gmock will be built
-- Found Python: /usr/bin/python3.9 (found version "3.9.6") found components: Interpreter
-- Found Threads: TRUE
-- Using Python nosetests: /usr/bin/nosetests-3.9
-- catkin 0.8.10
-- BUILD_SHARED_LIBS is on
-- Installing devel-space wrapper /home/akshit/.cache/yay/ros-noetic-genmsg/src/genmsg-0.5.16/scripts/genmsg_check_deps.py to /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/devel/lib/genmsg
-- Configuring done
-- Generating done
-- Build files have been written to: /home/akshit/.cache/yay/ros-noetic-genmsg/src/build
==> Entering fakeroot environment...
==> Starting package()...
Install the project...
-- Install configuration: ""
-- Installing: /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/pkgconfig/genmsg.pc
-- Installing: /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/share/genmsg/cmake/genmsg-extras.cmake
-- Installing: /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/share/genmsg/cmake/genmsgConfig.cmake
-- Installing: /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/share/genmsg/cmake/genmsgConfig-version.cmake
-- Installing: /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/share/genmsg/package.xml
-- Installing: /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/share/genmsg/cmake/pkg-genmsg.cmake.em
-- Installing: /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/share/genmsg/cmake/pkg-genmsg.context.in
-- Installing: /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/share/genmsg/cmake/pkg-msg-extras.cmake.in
-- Installing: /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/share/genmsg/cmake/pkg-msg-paths.cmake.develspace.in
-- Installing: /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/share/genmsg/cmake/pkg-msg-paths.cmake.installspace.in
+ cd /home/akshit/.cache/yay/ros-noetic-genmsg/src/genmsg-0.5.16
+ mkdir -p /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg//opt/ros/noetic/lib/python3.9/site-packages
+ /usr/bin/env PYTHONPATH=/opt/ros/noetic/lib/python3.9/site-packages:/home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/python3.9/site-packages:/opt/ros/noetic/lib/python3.9/site-packages CATKIN_BINARY_DIR=/home/akshit/.cache/yay/ros-noetic-genmsg/src/build /usr/bin/python /home/akshit/.cache/yay/ros-noetic-genmsg/src/genmsg-0.5.16/setup.py egg_info --egg-base /home/akshit/.cache/yay/ros-noetic-genmsg/src/build build --build-base /home/akshit/.cache/yay/ros-noetic-genmsg/src/build install --root=/home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/ --prefix=/opt/ros/noetic --install-scripts=/opt/ros/noetic/bin
running egg_info
creating /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/genmsg.egg-info
writing /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/genmsg.egg-info/PKG-INFO
writing dependency_links to /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/genmsg.egg-info/dependency_links.txt
writing top-level names to /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/genmsg.egg-info/top_level.txt
writing manifest file '/home/akshit/.cache/yay/ros-noetic-genmsg/src/build/genmsg.egg-info/SOURCES.txt'
reading manifest file '/home/akshit/.cache/yay/ros-noetic-genmsg/src/build/genmsg.egg-info/SOURCES.txt'
writing manifest file '/home/akshit/.cache/yay/ros-noetic-genmsg/src/build/genmsg.egg-info/SOURCES.txt'
running build
running build_py
creating /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib
creating /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg
copying src/genmsg/gentools.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg
copying src/genmsg/msg_loader.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg
copying src/genmsg/template_tools.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg
copying src/genmsg/msgs.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg
copying src/genmsg/command_line.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg
copying src/genmsg/names.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg
copying src/genmsg/srvs.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg
copying src/genmsg/base.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg
copying src/genmsg/__init__.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg
copying src/genmsg/deps.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg
running install
running install_lib
creating /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg
copying /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg/gentools.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg
copying /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg/msg_loader.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg
copying /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg/template_tools.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg
copying /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg/msgs.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg
copying /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg/command_line.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg
copying /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg/names.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg
copying /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg/srvs.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg
copying /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg/base.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg
copying /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg/__init__.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg
copying /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/lib/genmsg/deps.py -> /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg
byte-compiling /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg/gentools.py to gentools.cpython-39.pyc
byte-compiling /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg/msg_loader.py to msg_loader.cpython-39.pyc
byte-compiling /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg/template_tools.py to template_tools.cpython-39.pyc
byte-compiling /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg/msgs.py to msgs.cpython-39.pyc
byte-compiling /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg/command_line.py to command_line.cpython-39.pyc
byte-compiling /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg/names.py to names.cpython-39.pyc
byte-compiling /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg/srvs.py to srvs.cpython-39.pyc
byte-compiling /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg/base.py to base.cpython-39.pyc
byte-compiling /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg/__init__.py to __init__.cpython-39.pyc
byte-compiling /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg/deps.py to deps.cpython-39.pyc
running install_egg_info
Copying /home/akshit/.cache/yay/ros-noetic-genmsg/src/build/genmsg.egg-info to /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/python3.9/site-packages/genmsg-0.5.16-py3.9.egg-info
running install_scripts
-- Installing: /home/akshit/.cache/yay/ros-noetic-genmsg/pkg/ros-noetic-genmsg/opt/ros/noetic/lib/genmsg/genmsg_check_deps.py
==> Tidying install...
-> Removing libtool files...
-> Purging unwanted files...
-> Removing static library files...
-> Stripping unneeded symbols from binaries and libraries...
-> Compressing man and info pages...
==> Checking for packaging issues...
==> WARNING: Package contains reference to $srcdir
opt/ros/noetic/share/genmsg/cmake/genmsgConfig.cmake
==> Creating package "ros-noetic-genmsg"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: ros-noetic-genmsg 0.5.16-2 (Thu 05 Aug 2021 05:29:36 PM IST)
==> Cleaning up...
[sudo] password for akshit:
loading packages...
warning: ros-noetic-genmsg-0.5.16-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change
ros-noetic-genmsg 0.5.16-2 0.5.16-2 0.00 MiB
Total Installed Size: 0.14 MiB
Net Upgrade Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [---------------------------------------------------------------------------------------] 100%
(1/1) checking package integrity [---------------------------------------------------------------------------------------] 100%
(1/1) loading package files [---------------------------------------------------------------------------------------] 100%
(1/1) checking for file conflicts [---------------------------------------------------------------------------------------] 100%
(1/1) checking available disk space [---------------------------------------------------------------------------------------] 100%
:: Processing package changes...
(1/1) reinstalling ros-noetic-genmsg [---------------------------------------------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/1) Refreshing PackageKit...
Installed sucessfully!
Now try open python in terminal then type ìmport genmsg
Ok, to be safe I think you should clear your cache by running rm -rf ~/.cache/yay/ros-noetic-*
Now try open python in terminal then type
ìmport genmsg
>python
Python 3.9.6 (default, Jun 30 2021, 10:22:16)
[GCC 11.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import genmsg
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ModuleNotFoundError: No module named 'genmsg'
Module not found
Is /opt/ros/noetic/lib/python3.9/site-packages/genmsg/__init__.py
exist?
Is
/opt/ros/noetic/lib/python3.9/site-packages/genmsg/__init__.py
exist?
yes
what is the output of echo $PYTHONPATH
?
what is the output of
echo $PYTHONPATH
?
its Empty
Try to run source /opt/ros/noetic/setup.bash
and do import genmsg
in terminal python again.
Try to run
source /opt/ros/noetic/setup.bash
and doimport genmsg
in terminal python again.
Works, I am able to import genmsg.
You are using yay right? What is the content of '~/.cache/yay/ros-noetic-graph-msgs/PKGBUILD'?
You are using yay right? What is the content of '~/.cache/yay/ros-noetic-graph-msgs/PKGBUILD'?
You had me clear cache:-
Ok, to be safe I think you should clear your cache by running
rm -rf ~/.cache/yay/ros-noetic-*
Ok, please try to install ros-noetic-rosgraph-msgs again and if fail send the PKGBUILD here
# Script generated with import_catkin_packages.py.
# For more information: https://github.com/bchretien/arch-ros-stacks.
pkgdesc="ROS - Messages relating to the ROS Computation Graph."
url='https://wiki.ros.org/rosgraph_msgs'
pkgname='ros-noetic-rosgraph-msgs'
pkgver='1.11.3'
arch=('any')
pkgrel=1
license=('BSD')
ros_makedepends=(
ros-noetic-message-generation
ros-noetic-std-msgs
ros-noetic-catkin
)
makedepends=(
'cmake'
'ros-build-tools'
${ros_makedepends[@]}
)
ros_depends=(
ros-noetic-message-runtime
ros-noetic-std-msgs
)
depends=(
${ros_depends[@]}
)
_dir="ros_comm_msgs-${pkgver}/rosgraph_msgs"
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/ros/ros_comm_msgs/archive/${pkgver}.tar.gz")
sha256sums=('5b8b91e8671d03ea84ba32a3ea7360bc4594655e7ba3ec6677a984f393aaafbd')
build() {
# Use ROS environment variables.
source /usr/share/ros-build-tools/clear-ros-env.sh
[ -f /opt/ros/noetic/setup.bash ] && source /opt/ros/noetic/setup.bash
# Create the build directory.
[ -d ${srcdir}/build ] || mkdir ${srcdir}/build
cd ${srcdir}/build
# Build the project.
cmake ${srcdir}/${_dir} \
-DCATKIN_BUILD_BINARY_PACKAGE=ON \
-DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \
-DPYTHON_EXECUTABLE=/usr/bin/python \
-DSETUPTOOLS_DEB_LAYOUT=OFF
make
}
package() {
cd "${srcdir}/build"
make DESTDIR="${pkgdir}/" install
}
I couldnt upload the File, github apparently doesnt support PKGBUILD
# Script generated with import_catkin_packages.py. # For more information: https://github.com/bchretien/arch-ros-stacks. pkgdesc="ROS - Messages relating to the ROS Computation Graph." url='https://wiki.ros.org/rosgraph_msgs' pkgname='ros-noetic-rosgraph-msgs' pkgver='1.11.3' arch=('any') pkgrel=1 license=('BSD') ros_makedepends=( ros-noetic-message-generation ros-noetic-std-msgs ros-noetic-catkin ) makedepends=( 'cmake' 'ros-build-tools' ${ros_makedepends[@]} ) ros_depends=( ros-noetic-message-runtime ros-noetic-std-msgs ) depends=( ${ros_depends[@]} ) _dir="ros_comm_msgs-${pkgver}/rosgraph_msgs" source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/ros/ros_comm_msgs/archive/${pkgver}.tar.gz") sha256sums=('5b8b91e8671d03ea84ba32a3ea7360bc4594655e7ba3ec6677a984f393aaafbd') build() { # Use ROS environment variables. source /usr/share/ros-build-tools/clear-ros-env.sh [ -f /opt/ros/noetic/setup.bash ] && source /opt/ros/noetic/setup.bash # Create the build directory. [ -d ${srcdir}/build ] || mkdir ${srcdir}/build cd ${srcdir}/build # Build the project. cmake ${srcdir}/${_dir} \ -DCATKIN_BUILD_BINARY_PACKAGE=ON \ -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic \ -DPYTHON_EXECUTABLE=/usr/bin/python \ -DSETUPTOOLS_DEB_LAYOUT=OFF make } package() { cd "${srcdir}/build" make DESTDIR="${pkgdir}/" install }
I couldnt upload the File, github apparently doesnt support PKGBUILD
Do you have same error as before when installing this package?
If you still have same error then uninstall every ros-noetic-* packages from your arch then try to install ros-noetic-rosgraph-msgs again.
If you still have same error try to reinstall your arch linux then install yay then install ros-noetic-desktop-full again. DO NOT use arch4edu
If you still have same error then uninstall every ros-noetic-* packages from your arch then try to install ros-noetic-rosgraph-msgs again.
If you still have same error try to reinstall your arch linux then install yay then install ros-noetic-desktop-full again. DO NOT use arch4edu
How do I uninstall all of them?
pacman -R ros-noetic-*
?
If you still have same error then uninstall every ros-noetic-* packages from your arch then try to install ros-noetic-rosgraph-msgs again. If you still have same error try to reinstall your arch linux then install yay then install ros-noetic-desktop-full again. DO NOT use arch4edu
How do I uninstall all of them?
pacman -R ros-noetic-*
?
I can't use sudo pacman -Rsc ros-melodic-*
, it returns package not found.
yay -Rs $(yay -Qm | grep ros | cut -f 1 -d " ")
Then yay -Yc
yay -Rs $(yay -Qm | grep ros | cut -f 1 -d " ")
sudo pacman -Rsc $(pacman -Qs ros- | awk ' NR % 2 == 1 { print substr($1, 7) } ')
i found this on AUR page
Then
yay -Yc
This will removing a lot of stuff that have nothing to do with ROS, so i didnt proceed with this.
It removes unused dependency. Yeah you may do that, tell me when you success building ros-noetic-desktop-full
It removes unused dependency. Yeah you may do that, tell me when you success building ros-noetic-desktop-full
What do i do after removing said stuff?
yay -S ros-noetic-desktop-full
?
Yes
Does it work?
Does it work?
Nope, not happening :cry:
Yeah maybe just reinstall your arch, or use Ubuntu instead
Yeah maybe just reinstall your arch, or use Ubuntu instead
I have switched over from Ubuntu actually 😅 Guess Ubuntu it is✌️ Thanks for the help I am closing this issue
Well, I've tried to install ros via arch4edu. I got the same error as above. The fix is actually simple:
~/.cache/yay/
yay -Rs $(yay -Q |grep ros- | cut -d " " -f1 && yay -Yc
yay -Syyu
yay -S ros-noetic-desktop-full --noconfirm --sudoloop
@KSaiAkshit seem you miss the step 4
I have recently switched over from Ubuntu 20.04 to Arch (ArcoLinux) and i am trying to get ROS working on Arch but to no avail. I followed the instructions on this page, but keep running into errors. I've tried building it via Paru but i get the same error of unmet dependencies. I have added arch4edu to my /etc/pacman.conf and updated it. None of the other "ros bundles" work either.
I'd greatly appreciate if someone could help me