You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I have a problem with libcurl when trying to build it with conan 2.11. It worked before on conan 1.x
I have a CI-agent that has msys2 pre-installed with the compiler to run our builds.
-------- Installing package libcurl/8.11.1 (15 of 16) --------
libcurl/8.11.1: Building from source
libcurl/8.11.1: Package libcurl/8.11.1:f4dce8faf67fa2457b5dd4080902e114dab98fef
libcurl/8.11.1: Copying sources to build folder
libcurl/8.11.1: Building your package in D:\agent-vocamdev\_work\7\conan_cache\p\b\libcu6edaacfacc2e1\b
libcurl/8.11.1: Calling generate()
libcurl/8.11.1: Generators folder: D:\agent-vocamdev\_work\7\conan_cache\p\b\libcu6edaacfacc2e1\b\build-release\conan
libcurl/8.11.1: Generating aggregated env files
libcurl/8.11.1: Generated aggregated env files: ['conanbuild.sh', 'conanrun.bat']
libcurl/8.11.1: Calling build()
libcurl/8.11.1: RUN: autoreconf --force --install
autom4te: error: need GNU m4 1.4 or later: /d/agent-vocamdev/_work/7/conan_cache/p/b/m489829311a5955/p/bin/m4.exe
aclocal: error: /d/agent-vocamdev/_work/7/conan_cache/p/autocf2af015330354/p/bin/autom4te failed with exit status: 1
autoreconf: error: aclocal failed with exit status: 1
libcurl/8.11.1: ERROR:
Package 'f4dce8faf67fa2457b5dd4080902e114dab98fef' build failed
libcurl/8.11.1: WARN: Build folder D:\agent-vocamdev\_work\7\conan_cache\p\b\libcu6edaacfacc2e1\b\build-release
ERROR: libcurl/8.11.1: Error in build() method, line 245
autotools.autoreconf()
ConanException: Error 1 while executing
##[error]Cmd.exe exited with code '1'.
It resembles this issue from 2023, but that has a workaround with building m4 from source.
I tried that and it doesn't work. (and the issue is something with glibc too)
Although I'm using msys2 with a mingw32-compiler; I don't think the msys2-shell is used by conan.
The build is executed using a regular command prompt, and thus the default; MinGW Makefiles is the correct option.
What is your question?
Hi! I have a problem with libcurl when trying to build it with conan 2.11. It worked before on conan 1.x
I have a CI-agent that has msys2 pre-installed with the compiler to run our builds.
It resembles this issue from 2023, but that has a workaround with building m4 from source.
I tried that and it doesn't work. (and the issue is something with glibc too)
Here's my profiles that cross-build for Windows x86:
Build:
Host:
When I try to run m4.exe manually it shows an error-dialog.
This is probably because it finds the x86 libraries on the path first.
depends.exe shows this in red:
Pre-pending the folder to the path resolves that (and that's how it's setup in the conan-profile too)
But when I do that in a terminal, m4 freezes:
What could be the issue here?
The text was updated successfully, but these errors were encountered: