8000 ipopt · Issue #1321 · ros/meta-ros · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

ipopt #1321

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

Open
vermaete opened this issue Mar 20, 2025 · 0 comments
Open

ipopt #1321

vermaete opened this issue Mar 20, 2025 · 0 comments

Comments

@vermaete
Copy link
Contributor

@robwoolley

I'm trying to build the desktop image of meta-ros.
But I have an issue with ipopt. I had to patch it as shown below.

Any idea why it was working at your side?

The build configuration:

Build Configuration:
BB_VERSION           = "2.9.1"
BUILD_SYS            = "x86_64-linux"
NATIVELSBSTRING      = "debian-12"
TARGET_SYS           = "aarch64-oe-linux"
MACHINE              = "raspberrypi5"
DISTRO               = "ros2"
DISTRO_VERSION       = "2.rolling.2025-01-17.3-0"
TUNE_FEATURES        = "aarch64 crypto cortexa76"
TARGET_FPU           = ""
DISTRO_NAME          = "Robot Operating System 2 (ROS 2) with OpenEmbedded Linux"
ROS_DISTRO           = "rolling"
ROS_VERSION          = "2"
ROS_PYTHON_VERSION   = "3"
meta-clang           = "master:d5b9fdbed63f55882d46b104ed0234a7de4d35a4"
meta-filesystems     
meta-gnome           
meta-initramfs       
meta-multimedia      
meta-networking      
meta-oe              
meta-perl            
meta-python          
meta-webserver       
meta-xfce            = "master:6d13c58e386d478b8788f440b7815cb866b9d6f0"
meta                 = "master:8e540bd287fd56e3a714f81395b59dd508a6d957"
meta-qt5             = "master:fb6e1e11195956c82632affca676f5f7f2354228"
meta-qt5-extra       = "master:5bd634f4cf53df4d1bbbf9ef4c44b0d3a54ff916"
meta-raspberrypi     = "master:cd558f77b6b1a6d0fa15cd9558df0c0262d42c91"
meta-ros-common      
meta-ros2            
meta-ros2-rolling    = "master-next:aa99b3bb7bc292f65ac048e4d4657b08e5d3a46a"

The local patch I did to make it work:

diff --git a/meta-ros-common/recipes-support/ipopt/ipopt_3.14.16.bb b/meta-ros-common/recipes-support/ipopt/ipopt_3.14.16.bb
index 19c97f32e..17a8c9693 100644
--- a/meta-ros-common/recipes-support/ipopt/ipopt_3.14.16.bb
+++ b/meta-ros-common/recipes-support/ipopt/ipopt_3.14.16.bb
@@ -13,5 +13,5 @@ DEPENDS = "coinor-buildtools-native lapack"
 
 do_configure:prepend () {
     mkdir -p ${S}/coinor-m4
-    cp ${STAGING_DIR_NATIVE}/${datadir}/coinor/* ${S}/coinor-m4
+    cp ${STAGING_DIR_NATIVE}/${datadir}/coinor/* ${STAGING_DATADIR_NATIVE}/aclocal
 }

The error I had:

| autoreconf: running: /home/jan/projects/meta-ros/build/tmp/work/cortexa76-oe-linux/ipopt/3.14.16/recipe-sysroot-native/usr/bin/autoconf --force
| /home/jan/projects/meta-ros/build/tmp/work/cortexa76-oe-linux/ipopt/3.14.16/recipe-sysroot-native/usr/share/autoconf/autoconf/trailer.m4:4: warning: AC_OUTPUT was never used
| configure.ac:24: error: possibly undefined macro: AC_COIN_INITIALIZE
|       If this token and others are legitimate, please use m4_pattern_allow.
|       See the Autoconf documentation.
| configure.ac:31: error: possibly undefined macro: AC_COIN_PROG_CC
| configure.ac:32: error: possibly undefined macro: AC_COIN_PROG_CXX
| configure.ac:33: error: possibly undefined macro: AC_COIN_PROG_F77
| configure.ac:37: error: possibly undefined macro: AC_COIN_F77_SETUP
| configure.ac:44: error: possibly undefined macro: AC_COIN_PROG_LIBTOOL
| configure.ac:48: error: possibly undefined macro: AC_COIN_RPATH_FLAGS
| configure.ac:52: error: possibly undefined macro: AC_COIN_CXXLIBS
| configure.ac:55: error: possibly undefined macro: AC_COIN_DOXYGEN
| configure.ac:58: error: possibly undefined macro: AC_COIN_DEBUGLEVEL
| configure.ac:69: error: possibly undefined macro: AC_DEFINE
| configure.ac:71: error: possibly undefined macro: AC_MSG_ERROR
| configure.ac:106: error: possibly undefined macro: AC_COIN_CHK_LIBM
| configure.ac:108: error: possibly undefined macro: AC_COIN_CHK_LAPACK
| configure.ac:116: error: possibly undefined macro: AC_COIN_CHK_PKG
| configure.ac:157: error: possibly undefined macro: AC_COIN_FINALIZE_FLAGS
| configure.ac:163: error: possibly undefined macro: AC_COIN_TRY_LINK
| configure.ac:164: error: possibly undefined macro: AC_COIN_DEFINENAMEMANGLING
| configure.ac:173: error: possibly undefined macro: AC_MSG_WARN
| configure.ac:237: error: possibly undefined macro: AC_COIN_CHK_LIBHDR
| configure.ac:300: error: possibly undefined macro: AC_COIN_CHECK_ISFINITE
| configure.ac:320: error: possibly undefined macro: AC_COIN_CHECK_NAMESPACE_DECL
| configure.ac:510: error: possibly undefined macro: AC_COIN_VPATH_LINK
| configure.ac:670: error: possibly undefined macro: AC_COIN_FINALIZE
| autoreconf: error: /home/jan/projects/meta-ros/build/tmp/work/cortexa76-oe-linux/ipopt/3.14.16/recipe-sysroot-native/usr/bin/autoconf failed with exit status: 1
| ERROR: autoreconf execution failed.
| WARNING: exit code 1 from a shell command.
ERROR: Task (/home/jan/projects/meta-ros/build/../layers/meta-ros/meta-ros-common/recipes-support/ipopt/ipopt_3.14.16.bb:do_configure) failed with exit code '1'
mark-bchoi added a commit to mark-bchoi/meta-ros that referenced this issue Mar 25, 2025
1. version upgrade
 - stable version 3.14.16 --> stable version 3.14.17.

2. Fixed issue ipopt ros#1321
 - Because ipopt have configure file already, so, you don't need to run autoreconf to generate it.

Signed-off-by: Mark Choi <afewgoodman.choi@gmail.com>
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

1 participant
0