Skip to content
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

[bug] conf_info 'tools.microsoft.bash:subsystem' from msys2 is not used by Autotools in test_package #11975

Closed
jellespijker opened this issue Aug 28, 2022 · 9 comments · Fixed by #12095

Comments

@jellespijker
Copy link
Contributor

jellespijker commented Aug 28, 2022

Environment Details (include every applicable attribute)

  • Operating System+version: Windows 11
  • Compiler+version: MSVC 17
  • Conan version: 1.51.3
  • Python version: 3.10.4

Steps to reproduce (Include if Applicable)

Trying to modernize the autoconf recipe of the conan-center-index I get the error

ERROR: autoconf/2.71 (test package): Error in build() method, line 34
        autotools.configure()
        ConanException: The config 'tools.microsoft.bash:subsystem' is needed to run commands in a Windows subsystem

while a log output shows that the conf is set and available:

autoconf/2.71 (test package): tools.microsoft.bash:subsystem: msys2

See Ultimaker/conan-center-index@d33196a for the full change

conanfile.py

from pathlib import Path

from conan import ConanFile
from conan.tools.files import get, AutoPackager
from conan.tools.layout import basic_layout
from conan.tools.microsoft import is_msvc
from conan.tools.gnu import Autotools

required_conan_version = ">=1.50.0"


class AutoconfConan(ConanFile):
    name = "autoconf"
    url = "https://github.com/conan-io/conan-center-index"
    homepage = "https://www.gnu.org/software/autoconf/"
    description = "Autoconf is an extensible package of M4 macros that produce shell scripts to automatically configure software source code packages"
    topics = ("autoconf", "configure", "build")
    license = ("GPL-2.0-or-later", "GPL-3.0-or-later")
    settings = "os", "arch", "compiler", "build_type"
    generators = "AutotoolsDeps", "AutotoolsToolchain"
    win_bash = True

    exports_sources = "patches/*"

    def build_requirements(self):
        # TODO: check if this is is a correct way to check if msys2 is needed
        if self.settings.get_safe("os") == "Windows" and is_msvc(self) and self.win_bash:
            self.tool_requires("msys2/cci.latest")

    def requirements(self):
        self.requires("m4/1.4.19")

    def generate(self):
        self.output.info(f"tools.microsoft.bash:subsystem: {self.conf.get('tools.microsoft.bash:subsystem')}")

    def layout(self):
        basic_layout(self, src_folder="source")

    def source(self):
        get(self, **self.conan_data["sources"][self.version], strip_root=True)

    def build(self):
        autotool = Autotools(self)
        autotool.configure()
        autotool.make()

    def package(self):
        packager = AutoPackager(self)
        packager.run()

    def package_info(self):
        bin_path = Path(self.package_folder, "bin")
        self.output.info(f"Appending PATH env var with : {bin_path}")
        self.buildenv_info.append_path("PATH", str(bin_path))

        ac_macrodir = self._autoconf_datarootdir
        self.output.info(f"Setting AC_MACRODIR to {ac_macrodir}")
        self.buildenv_info.define_path("AC_MACRODIR", str(ac_macrodir))

        autoconf = Path(self.package_folder, "bin", "autoconf")
        self.output.info(f"Setting AUTOCONF to {autoconf}")
        self.buildenv_info.define_path("AUTOCONF", str(autoconf))

        autoreconf = Path(self.package_folder, "bin", "autoreconf")
        self.output.info(f"Setting AUTORECONF to {autoreconf}")
        self.buildenv_info.define_path("AUTORECONF", str(autoreconf))

        autoheader = Path(self.package_folder, "bin", "autoheader")
        self.output.info(f"Setting AUTOHEADER to {autoheader}")
        self.buildenv_info.define_path("AUTOHEADER", str(autoheader))

        autom4te = Path(self.package_folder, "bin", "autom4te")
        self.output.info(f"Setting AUTOM4TE to {autom4te}")
        self.buildenv_info.define_path("AUTOM4TE", str(autom4te))

        autom4te_perllibdir = self._autoconf_datarootdir
        self.output.info(f"Setting AUTOM4TE_PERLLIBDIR to {autom4te_perllibdir}")
        self.buildenv_info.define_path("AUTOM4TE_PERLLIBDIR", str(autom4te_perllibdir))

    @property
    def _datarootdir(self):
        return Path(self.package_folder, "bin", "share")

    @property
    def _autoconf_datarootdir(self):
        return Path(self._datarootdir, "autoconf")

test_package conanfile.py



from conan import ConanFile
from conan.tools.layout import basic_layout
from conan.tools.microsoft import is_msvc
from conan.tools.gnu import Autotools
from conan.tools.build import cross_building

required_conan_version = ">=1.45.0"


class TestPackageConan(ConanFile):
    settings = "os", "arch", "compiler", "build_type"
    generators = "AutotoolsDeps", "AutotoolsToolchain"
    test_type = "explicit"
    win_bash = True

    def build_requirements(self):
        self.tool_requires(self.tested_reference_str)
        if self.settings.get_safe("os") == "Windows" and is_msvc(self) and self.win_bash:
            self.tool_requires("msys2/cci.latest")

    def requirements(self):
        self.requires(self.tested_reference_str)

    def generate(self):
        self.output.info(f"tools.microsoft.bash:subsystem: {self.conf.get('tools.microsoft.bash:subsystem')}")

    def layout(self):
        basic_layout(self, src_folder="source")

    def build(self):
        autotools = Autotools(self)
        autotools.configure()
        autotools.make()

    def test(self):
        pass

Logs (Executed commands with output) (Include/Attach if Applicable)

Log file
> conan create . autoconf/2.71@_/_ --build=missing --update
Exporting package recipe
autoconf/2.71 exports: File 'conandata.yml' found. Exporting it...
autoconf/2.71 exports: Copied 1 '.yml' file: conandata.yml
autoconf/2.71 exports_sources: Copied 10 '.patch' files
autoconf/2.71: A new conanfile.py version was exported
autoconf/2.71: Folder: C:\Users\j.spijker\.conan\data\autoconf\2.71\_\_\export
autoconf/2.71: Using the exported files summary hash as the recipe revision: d6f0919ae5b9dfdf6d5d55695cdd778a 
autoconf/2.71: Exported revision: d6f0919ae5b9dfdf6d5d55695cdd778a
Configuration (profile_host):
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.cppstd=17
compiler.runtime=MD
compiler.version=17
os=Windows
os_build=Windows
curaengine:compiler.cppstd=20
[options]
[build_requires]
[env]
[conf]
tools.cmake.cmaketoolchain:generator=Ninja
tools.env.virtualenv:auto_use=True
tools.gnu:define_libcxx11_abi=True

Configuration (profile_build):
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=Visual Studio
compiler.cppstd=17
compiler.runtime=MD
compiler.version=17
os=Windows
os_build=Windows
[options]
[build_requires]
[env]
[conf]
tools.cmake.cmaketoolchain:generator=Ninja
tools.env.virtualenv:auto_use=True
tools.gnu:define_libcxx11_abi=True

autoconf/2.71 (test package): Installing package
Requirements
    autoconf/2.71 from local cache - No remote
    m4/1.4.19 from 'cura' - Cache
Packages
    autoconf/2.71:68c64d29067c2918a71ef22db8bbf3d9b385e87e - Build
    m4/1.4.19:0a420ff5c47119e668867cdb51baff0eca1fdb68 - Cache
Build requirements
    autoconf/2.71 from local cache - No remote
    m4/1.4.19 from 'cura' - Cache
    msys2/cci.latest from 'cura' - Cache
Build requirements packages
    autoconf/2.71:68c64d29067c2918a71ef22db8bbf3d9b385e87e - Build
    m4/1.4.19:0a420ff5c47119e668867cdb51baff0eca1fdb68 - Cache
    msys2/cci.latest:eee3fba89db6d777329de604625af8c30d46f080 - Cache

Installing (downloading, building) binaries...
m4/1.4.19: Already installed!
m4/1.4.19: Appending PATH environment variable: C:\.conan\bc0586\1\bin
m4/1.4.19: Setting M4 environment variable: C:/.conan/bc0586/1/bin/m4.exe
m4/1.4.19: Appending PATH environment variable: C:\.conan\bc0586\1\bin
m4/1.4.19: Setting M4 environment variable: C:/.conan/bc0586/1/bin/m4.exe
msys2/cci.latest: Already installed!
msys2/cci.latest: Creating MSYS_ROOT env var : C:\.conan\7c3916\1\bin\msys64
msys2/cci.latest: Creating MSYS_BIN env var : C:\.conan\7c3916\1\bin\msys64\usr\bin
msys2/cci.latest: Appending PATH env var with : C:\.conan\7c3916\1\bin\msys64\usr\bin
msys2/cci.latest: Creating MSYS_ROOT env var : C:\.conan\7c3916\1\bin\msys64
msys2/cci.latest: Creating MSYS_BIN env var : C:\.conan\7c3916\1\bin\msys64\usr\bin
msys2/cci.latest: Appending PATH env var with : C:\.conan\7c3916\1\bin\msys64\usr\bin
msys2/cci.latest: Creating MSYS_ROOT env var : C:\.conan\7c3916\1\bin\msys64
msys2/cci.latest: Creating MSYS_BIN env var : C:\.conan\7c3916\1\bin\msys64\usr\bin
msys2/cci.latest: Appending PATH env var with : C:\.conan\7c3916\1\bin\msys64\usr\bin
autoconf/2.71: Applying build-requirement: msys2/cci.latest
autoconf/2.71: Configuring sources in C:\.conan\51e45b\1\source
Downloading autoconf-2.71.tar.gz completed [1956.82k]                                    autoconf/2.71: oconf/2.71: 
autoconf/2.71:
autoconf/2.71: Copying sources to build folder
autoconf/2.71: Building your package in C:\.conan\814771\1
autoconf/2.71: Generator 'AutotoolsToolchain' calling 'generate()'
autoconf/2.71: Generator 'AutotoolsDeps' calling 'generate()'
autoconf/2.71: Calling generate()
autoconf/2.71: tools.microsoft.bash:subsystem: msys2
autoconf/2.71: Aggregating env generators
autoconf/2.71: Calling build()
autoconf/2.71: Calling:
 > "/c/.conan/814771/1/source/configure" --prefix=/ --bindir=${prefix}/bin --sbindir=${prefix}/bin --libdir=${prefix}/lib --includedir=${prefix}/include --oldincludedir=${prefix}/include

----Running------
> "C:\.conan\814771\1\build-release\conan\conanbuild.bat" && "C:\.conan\814771\1\build-release\conan\msys2_mode.bat" && C:\.conan\7c3916\1\bin\msys64\usr\bin\bash.exe -c ^". \^"C:\.conan\814771\1\build-release\conan\conanbuild.sh\^" ^&^& \^"/c/.conan/814771/1/source/configure\^" --prefix=/ --bindir=${prefix}/bin --sbindir=${prefix}/bin --libdir=${prefix}/lib --includedir=${prefix}/include --oldincludedir=${prefix}/include ^"
-----------------
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.1.6
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Capturing current environment in C:\.conan\814771\1\build-release\conan\deactivate_msys2_mode.bat
Configuring environment variables
Capturing current environment in C:\.conan\814771\1\build-release\conan\deactivate_conanautotoolstoolchain.sh
Configuring environment variables
Capturing current environment in C:\.conan\814771\1\build-release\conan\deactivate_conanautotoolsdeps.sh
Configuring environment variables
Capturing current environment in C:\.conan\814771\1\build-release\conan\deactivate_conanbuildenv-release-x86_64.sh
Configuring environment variables
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-pc-mingw64
checking host system type... x86_64-pc-mingw64
configure: autobuild project... GNU Autoconf
configure: autobuild revision... 2.71
configure: autobuild hostname... R912PK51
configure: autobuild timestamp... 20220828T131239Z
checking for a shell whose -n mode is known to work... /bin/sh
checking for characters that cannot appear in file names... \\
checking whether directories can have trailing spaces... yes
checking for expr... /usr/bin/expr
checking for GNU M4 that supports accurate traces... /usr/bin/m4
checking whether /usr/bin/m4 accepts --gnu... yes
checking how m4 supports trace files... --debugfile
checking for perl... /usr/bin/perl
checking whether /usr/bin/perl Fcntl::flock is implemented... yes
checking for emacs... no
checking for xemacs... no
checking for emacs... no
checking where .elc files should go... ${datadir}/emacs/site-lisp
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking whether make is case sensitive... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating tests/atlocal
config.status: creating Makefile
config.status: linking /c/.conan/814771/1/source/GNUmakefile to GNUmakefile
config.status: executing tests/atconfig commands

----Running------
> "C:\.conan\814771\1\build-release\conan\conanbuild.bat" && "C:\.conan\814771\1\build-release\conan\msys2_mode.bat" && C:\.conan\7c3916\1\bin\msys64\usr\bin\bash.exe -c ^". \^"C:\.conan\814771\1\build-release\conan\conanbuild.sh\^" ^&^& make -j12^"
-----------------
**********************************************************************
** Visual Studio 2022 Developer Command Prompt v17.1.6
** Copyright (c) 2022 Microsoft Corporation
**********************************************************************
[vcvarsall.bat] Environment initialized for: 'x64'
Capturing current environment in C:\.conan\814771\1\build-release\conan\deactivate_msys2_mode.bat
Configuring environment variables
Capturing current environment in C:\.conan\814771\1\build-release\conan\deactivate_conanautotoolstoolchain.sh
Configuring environment variables
Capturing current environment in C:\.conan\814771\1\build-release\conan\deactivate_conanautotoolsdeps.sh
Configuring environment variables
Capturing current environment in C:\.conan\814771\1\build-release\conan\deactivate_conanbuildenv-release-x86_64.sh
Configuring environment variables
make  all-am
make[1]: Entering directory '/c/.conan/814771/1/build-release'
rm -f bin/autom4te bin/autom4te.tmp
rm -f lib/autom4te.cfg lib/autom4te.cfg-t
/usr/bin/mkdir -p bin
/usr/bin/mkdir -p lib/m4sugar
srcdir=''; \
  test -f ./bin/autom4te.in || srcdir=/c/.conan/814771/1/source/; \
  sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/bin/perl|g' -e 's|@PERL_FLOCK[@]|yes|g' -e 's|@bindir[@]|/bin|g' -e 's|@pkgdatadir[@]|//share/autoconf|g' -e 's|@prefix[@]|/|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's,x,x,'`'|g' -e 's|@autoheader-n
ame[@]|'`echo autoheader | sed 's,x,x,'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's,x,x,'`'|g' -e 's|@M4[@]|/usr/bin/m4|g' -e 's|@M4_DEBUGFILE[@]|--debugfile|g' -e 's|@M4_GNU[@]|--gnu|g' -e 's|@AWK[@]|gawk|g' -e 's|@RELEASE_YEAR[@]|2021|g' -e 's|@VERSION[@]|2.71|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated from bin/autom4te.in; do not edit by hand.|g' ${srcdir}bin/autom4te.in >bin/autom4te.tmp
/usr/bin/mkdir -p lib
:;{ \
  echo '# This file is part of -*- Autoconf -*-.' && \
  echo '# Version of Autoconf.' && \
  echo '# Copyright (C) 1999, 2000, 2001, 2002, 2006, 2007, 2009' && \
  echo '# Free Software Foundation, Inc.' && \
  echo  &&\
  echo 'm4_define([m4_PACKAGE_NAME],      [GNU Autoconf])' && \
  echo 'm4_define([m4_PACKAGE_TARNAME],   [autoconf])' && \
  echo 'm4_define([m4_PACKAGE_VERSION],   [2.71])' && \
  echo 'm4_define([m4_PACKAGE_STRING],    [GNU Autoconf 2.71])' && \
  echo 'm4_define([m4_PACKAGE_BUGREPORT], [bug-autoconf@gnu.org])' && \
  echo 'm4_define([m4_PACKAGE_URL],       [https://www.gnu.org/software/autoconf/])' && \
  echo 'm4_define([m4_PACKAGE_YEAR],      [2021])'; \
} > lib/m4sugar/version.m4-t
rm -f bin/autoheader bin/autoheader.tmp
sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/bin/perl|g' -e 's|@PERL_FLOCK[@]|yes|g' -e 's|@bindir[@]|/bin|g' -e 's|@pkgdatadir[@]|//share/autoconf|g' -e 's|@prefix[@]|/|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's,x,x,'`'|g' -e 's|@autoheader-nam
e[@]|'`echo autoheader | sed 's,x,x,'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's,x,x,'`'|g' -e 's|@M4[@]|/usr/bin/m4|g' -e 's|@M4_DEBUGFILE[@]|--debugfile|g' -e 's|@M4_GNU[@]|--gnu|g' -e 's|@AWK[@]|gawk|g' -e 's|@RELEASE_YEAR[@]|2021|g' -e 's|@VERSION[@]|2.71|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated from lib/autom4te.cfg.in; do not edit by hand.|g' /c/.conan/814771/1/source/lib/autom4te.in >lib/autom4te.cfg-t
mv lib/m4sugar/version.m4-t lib/m4sugar/version.m4
rm -f bin/autoreconf bin/autoreconf.tmp
/usr/bin/mkdir -p bin
rm -f bin/autoscan bin/autoscan.tmp
srcdir=''; \
  test -f ./bin/autoheader.in || srcdir=/c/.conan/814771/1/source/; \
  sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/bin/perl|g' -e 's|@PERL_FLOCK[@]|yes|g' -e 's|@bindir[@]|/bin|g' -e 's|@pkgdatadir[@]|//share/autoconf|g' -e 's|@prefix[@]|/|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's,x,x,'`'|g' -e 's|@autoheader-n
ame[@]|'`echo autoheader | sed 's,x,x,'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's,x,x,'`'|g' -e 's|@M4[@]|/usr/bin/m4|g' -e 's|@M4_DEBUGFILE[@]|--debugfile|g' -e 's|@M4_GNU[@]|--gnu|g' -e 's|@AWK[@]|gawk|g' -e 's|@RELEASE_YEAR[@]|2021|g' -e 's|@VERSION[@]|2.71|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated from bin/autoheader.in; do not edit by hand.|g' ${srcdir}bin/autoheader.in >bin/autoheader.tmp
/usr/bin/mkdir -p bin
rm -f bin/autoupdate bin/autoupdate.tmp
/usr/bin/mkdir -p bin
chmod +x bin/autom4te.tmp
srcdir=''; \
  test -f ./bin/autoreconf.in || srcdir=/c/.conan/814771/1/source/; \
  sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/bin/perl|g' -e 's|@PERL_FLOCK[@]|yes|g' -e 's|@bindir[@]|/bin|g' -e 's|@pkgdatadir[@]|//share/autoconf|g' -e 's|@prefix[@]|/|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's,x,x,'`'|g' -e 's|@autoheader-n
ame[@]|'`echo autoheader | sed 's,x,x,'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's,x,x,'`'|g' -e 's|@M4[@]|/usr/bin/m4|g' -e 's|@M4_DEBUGFILE[@]|--debugfile|g' -e 's|@M4_GNU[@]|--gnu|g' -e 's|@AWK[@]|gawk|g' -e 's|@RELEASE_YEAR[@]|2021|g' -e 's|@VERSION[@]|2.71|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated from bin/autoreconf.in; do not edit by hand.|g' ${srcdir}bin/autoreconf.in >bin/autoreconf.tmp
srcdir=''; \
  test -f ./bin/autoscan.in || srcdir=/c/.conan/814771/1/source/; \
  sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/bin/perl|g' -e 's|@PERL_FLOCK[@]|yes|g' -e 's|@bindir[@]|/bin|g' -e 's|@pkgdatadir[@]|//share/autoconf|g' -e 's|@prefix[@]|/|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's,x,x,'`'|g' -e 's|@autoheader-n
ame[@]|'`echo autoheader | sed 's,x,x,'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's,x,x,'`'|g' -e 's|@M4[@]|/usr/bin/m4|g' -e 's|@M4_DEBUGFILE[@]|--debugfile|g' -e 's|@M4_GNU[@]|--gnu|g' -e 's|@AWK[@]|gawk|g' -e 's|@RELEASE_YEAR[@]|2021|g' -e 's|@VERSION[@]|2.71|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated from bin/autoscan.in; do not edit by hand.|g' ${srcdir}bin/autoscan.in >bin/autoscan.tmp
/usr/bin/mkdir -p bin
chmod a-w bin/autom4te.tmp
rm -f bin/ifnames bin/ifnames.tmp
srcdir=''; \
  test -f ./bin/autoupdate.in || srcdir=/c/.conan/814771/1/source/; \
  sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/bin/perl|g' -e 's|@PERL_FLOCK[@]|yes|g' -e 's|@bindir[@]|/bin|g' -e 's|@pkgdatadir[@]|//share/autoconf|g' -e 's|@prefix[@]|/|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's,x,x,'`'|g' -e 's|@autoheader-n
ame[@]|'`echo autoheader | sed 's,x,x,'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's,x,x,'`'|g' -e 's|@M4[@]|/usr/bin/m4|g' -e 's|@M4_DEBUGFILE[@]|--debugfile|g' -e 's|@M4_GNU[@]|--gnu|g' -e 's|@AWK[@]|gawk|g' -e 's|@RELEASE_YEAR[@]|2021|g' -e 's|@VERSION[@]|2.71|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated from bin/autoupdate.in; do not edit by hand.|g' ${srcdir}bin/autoupdate.in >bin/autoupdate.tmp
mv bin/autom4te.tmp bin/autom4te
if test 'no' != no; then \
  am__dir=. am__subdir_includes=''; \
  case lib/emacs/autoconf-mode.elc in */*) \
    am__dir=`echo 'lib/emacs/autoconf-mode.elc' | sed 's,/[^/]*$,,'`; \
    am__subdir_includes="-L $am__dir -L /c/.conan/814771/1/source/$am__dir"; \
  esac; \
  test -d "$am__dir" || /usr/bin/mkdir -p "$am__dir" || exit 1; \
  no --batch \
      \
    $am__subdir_includes -L . -L /c/.conan/814771/1/source \
    --eval '(if (boundp (quote byte-compile-dest-file-function)) (setq byte-compile-dest-file-function (lambda (_) "lib/emacs/autoconf-mode.elc")) (defun byte-compile-dest-file (_) "lib/emacs/autoconf-mode.elc") )' \
    -f batch-byte-compile '/c/.conan/814771/1/source/lib/emacs/autoconf-mode.el'; \
else :; fi
chmod a-w lib/autom4te.cfg-t
/usr/bin/mkdir -p bin
if test 'no' != no; then \
  am__dir=. am__subdir_includes=''; \
  case lib/emacs/autotest-mode.elc in */*) \
    am__dir=`echo 'lib/emacs/autotest-mode.elc' | sed 's,/[^/]*$,,'`; \
    am__subdir_includes="-L $am__dir -L /c/.conan/814771/1/source/$am__dir"; \
  esac; \
  test -d "$am__dir" || /usr/bin/mkdir -p "$am__dir" || exit 1; \
  no --batch \
      \
    $am__subdir_includes -L . -L /c/.conan/814771/1/source \
    --eval '(if (boundp (quote byte-compile-dest-file-function)) (setq byte-compile-dest-file-function (lambda (_) "lib/emacs/autotest-mode.elc")) (defun byte-compile-dest-file (_) "lib/emacs/autotest-mode.elc") )' \
    -f batch-byte-compile '/c/.conan/814771/1/source/lib/emacs/autotest-mode.el'; \
else :; fi
mv -f lib/autom4te.cfg-t lib/autom4te.cfg
chmod +x bin/autoscan.tmp
srcdir=''; \
  test -f ./bin/ifnames.in || srcdir=/c/.conan/814771/1/source/; \
  sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/bin/perl|g' -e 's|@PERL_FLOCK[@]|yes|g' -e 's|@bindir[@]|/bin|g' -e 's|@pkgdatadir[@]|//share/autoconf|g' -e 's|@prefix[@]|/|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's,x,x,'`'|g' -e 's|@autoheader-n
ame[@]|'`echo autoheader | sed 's,x,x,'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's,x,x,'`'|g' -e 's|@M4[@]|/usr/bin/m4|g' -e 's|@M4_DEBUGFILE[@]|--debugfile|g' -e 's|@M4_GNU[@]|--gnu|g' -e 's|@AWK[@]|gawk|g' -e 's|@RELEASE_YEAR[@]|2021|g' -e 's|@VERSION[@]|2.71|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated from bin/ifnames.in; do not edit by hand.|g' ${srcdir}bin/ifnames.in >bin/ifnames.tmp
chmod +x bin/autoheader.tmp
chmod +x bin/autoreconf.tmp
chmod a-w bin/autoscan.tmp
autom4te_perllibdir='/c/.conan/814771/1/source'/lib AUTOM4TE_CFG='lib/autom4te.cfg'         bin/autom4te -B ''lib -B '/c/.conan/814771/1/source'/lib         --language M4sh --cache '' \
  --melt /c/.conan/814771/1/source/bin/autoconf.as -o bin/autoconf.in
chmod a-w bin/autoreconf.tmp
chmod a-w bin/autoheader.tmp
chmod +x bin/autoupdate.tmp
mv bin/autoreconf.tmp bin/autoreconf
mv bin/autoscan.tmp bin/autoscan
mv bin/autoheader.tmp bin/autoheader
chmod a-w bin/autoupdate.tmp
autom4te_perllibdir='/c/.conan/814771/1/source'/lib AUTOM4TE_CFG='lib/autom4te.cfg'         bin/autom4te -B ''lib -B '/c/.conan/814771/1/source'/lib         --language=M4sh /c/.conan/814771/1/source/tests/wrapper.as -o tests/wrapper.in
mv bin/autoupdate.tmp bin/autoupdate
/usr/bin/mkdir -p lib/autoconf
/usr/bin/mkdir -p lib/autoscan
lang=`echo 'lib/autoconf/autoconf' | sed 's,.*/,,'` \
  && if test $lang = autoconf; then \
       lang=autoconf-without-aclocal-m4; \
     else :; fi \
  && autom4te_perllibdir='/c/.conan/814771/1/source'/lib AUTOM4TE_CFG='lib/autom4te.cfg'         bin/autom4te -B ''lib -B '/c/.conan/814771/1/source'/lib         \
        --language=$lang \
        --freeze \
        --output=lib/autoconf/autoconf.m4f
/usr/bin/mkdir -p lib/autotest
chmod +x bin/ifnames.tmp
echo '# Automatically Generated: do not edit this file' >lib/autoscan/autoscan.list
/usr/bin/mkdir -p lib/m4sugar
chmod a-w bin/ifnames.tmp
lang=`echo 'lib/autotest/autotest' | sed 's,.*/,,'` \
  && if test $lang = autoconf; then \
       lang=autoconf-without-aclocal-m4; \
     else :; fi \
  && autom4te_perllibdir='/c/.conan/814771/1/source'/lib AUTOM4TE_CFG='lib/autom4te.cfg'         bin/autom4te -B ''lib -B '/c/.conan/814771/1/source'/lib         \
        --language=$lang \
        --freeze \
        --output=lib/autotest/autotest.m4f
sed '/^[#]/!q' /c/.conan/814771/1/source/lib/autoscan/autoscan.pre >>lib/autoscan/autoscan.list
mv bin/ifnames.tmp bin/ifnames
lang=`echo 'lib/m4sugar/m4sugar' | sed 's,.*/,,'` \
  && if test $lang = autoconf; then \
       lang=autoconf-without-aclocal-m4; \
     else :; fi \
  && autom4te_perllibdir='/c/.conan/814771/1/source'/lib AUTOM4TE_CFG='lib/autom4te.cfg'         bin/autom4te -B ''lib -B '/c/.conan/814771/1/source'/lib         \
        --language=$lang \
        --freeze \
        --output=lib/m4sugar/m4sugar.m4f
/usr/bin/mkdir -p lib/m4sugar
lang=`echo 'lib/m4sugar/m4sh' | sed 's,.*/,,'` \
  && if test $lang = autoconf; then \
       lang=autoconf-without-aclocal-m4; \
     else :; fi \
  && autom4te_perllibdir='/c/.conan/814771/1/source'/lib AUTOM4TE_CFG='lib/autom4te.cfg'         bin/autom4te -B ''lib -B '/c/.conan/814771/1/source'/lib         \
        --language=$lang \
        --freeze \
        --output=lib/m4sugar/m4sh.m4f
( \
  sed -n '/^[^#]/p' /c/.conan/814771/1/source/lib/autoscan/autoscan.pre; \
  autom4te_perllibdir='/c/.conan/814771/1/source'/lib AUTOM4TE_CFG='lib/autom4te.cfg'         bin/autom4te -B ''lib -B '/c/.conan/814771/1/source'/lib         --cache '' -M -l autoconf-without-aclocal-m4 \
    -t'AN_OUTPUT:$1: $2         $3' \
) | LC_ALL=C sort >>lib/autoscan/autoscan.list
rm -f bin/autoconf bin/autoconf.tmp
rm -f tests/autoconf tests/autoconf.tmp
/usr/bin/mkdir -p bin
rm -f tests/autoheader tests/autoheader.tmp
srcdir=''; \
  test -f ./bin/autoconf.in || srcdir=/c/.conan/814771/1/source/; \
  sed -e 's|@SHELL[@]|/bin/sh|g' -e 's|@PERL[@]|/usr/bin/perl|g' -e 's|@PERL_FLOCK[@]|yes|g' -e 's|@bindir[@]|/bin|g' -e 's|@pkgdatadir[@]|//share/autoconf|g' -e 's|@prefix[@]|/|g' -e 's|@autoconf-name[@]|'`echo autoconf | sed 's,x,x,'`'|g' -e 's|@autoheader-n
ame[@]|'`echo autoheader | sed 's,x,x,'`'|g' -e 's|@autom4te-name[@]|'`echo autom4te | sed 's,x,x,'`'|g' -e 's|@M4[@]|/usr/bin/m4|g' -e 's|@M4_DEBUGFILE[@]|--debugfile|g' -e 's|@M4_GNU[@]|--gnu|g' -e 's|@AWK[@]|gawk|g' -e 's|@RELEASE_YEAR[@]|2021|g' -e 's|@VERSION[@]|2.71|g' -e 's|@PACKAGE_NAME[@]|GNU Autoconf|g' -e 's|@configure_input[@]|Generated from bin/autoconf.in; do not edit by hand.|g' ${srcdir}bin/autoconf.in >bin/autoconf.tmp
input=tests/wrapper.in \
  && sed -e 's|@wrap_program[@]|autoconf|g' -e 's|@abs_top_srcdir[@]|/c/.conan/814771/1/source|g' -e 's|@abs_top_builddir[@]|/c/.conan/814771/1/build-release|g' -e "s|@configure_input[@]|Generated from $input.|g" tests/wrapper.in >tests/autoconf.tmp
rm -f tests/autom4te tests/autom4te.tmp
input=tests/wrapper.in \
  && sed -e 's|@wrap_program[@]|autoheader|g' -e 's|@abs_top_srcdir[@]|/c/.conan/814771/1/source|g' -e 's|@abs_top_builddir[@]|/c/.conan/814771/1/build-release|g' -e "s|@configure_input[@]|Generated from $input.|g" tests/wrapper.in >tests/autoheader.tmp
rm -f tests/autoreconf tests/autoreconf.tmp
chmod +x tests/autoconf.tmp
input=tests/wrapper.in \
  && sed -e 's|@wrap_program[@]|autom4te|g' -e 's|@abs_top_srcdir[@]|/c/.conan/814771/1/source|g' -e 's|@abs_top_builddir[@]|/c/.conan/814771/1/build-release|g' -e "s|@configure_input[@]|Generated from $input.|g" tests/wrapper.in >tests/autom4te.tmp
rm -f tests/autoscan tests/autoscan.tmp
chmod a-w tests/autoconf.tmp
chmod +x tests/autoheader.tmp
input=tests/wrapper.in \
  && sed -e 's|@wrap_program[@]|autoreconf|g' -e 's|@abs_top_srcdir[@]|/c/.conan/814771/1/source|g' -e 's|@abs_top_builddir[@]|/c/.conan/814771/1/build-release|g' -e "s|@configure_input[@]|Generated from $input.|g" tests/wrapper.in >tests/autoreconf.tmp       
mv -f tests/autoconf.tmp tests/autoconf
input=tests/wrapper.in \
  && sed -e 's|@wrap_program[@]|autoscan|g' -e 's|@abs_top_srcdir[@]|/c/.conan/814771/1/source|g' -e 's|@abs_top_builddir[@]|/c/.conan/814771/1/build-release|g' -e "s|@configure_input[@]|Generated from $input.|g" tests/wrapper.in >tests/autoscan.tmp
chmod a-w tests/autoheader.tmp
chmod +x tests/autom4te.tmp
rm -f tests/autoupdate tests/autoupdate.tmp
chmod a-w tests/autom4te.tmp
mv -f tests/autoheader.tmp tests/autoheader
chmod +x tests/autoreconf.tmp
mv -f tests/autom4te.tmp tests/autom4te
input=tests/wrapper.in \
  && sed -e 's|@wrap_program[@]|autoupdate|g' -e 's|@abs_top_srcdir[@]|/c/.conan/814771/1/source|g' -e 's|@abs_top_builddir[@]|/c/.conan/814771/1/build-release|g' -e "s|@configure_input[@]|Generated from $input.|g" tests/wrapper.in >tests/autoupdate.tmp       
chmod +x tests/autoscan.tmp
chmod a-w tests/autoreconf.tmp
rm -f tests/ifnames tests/ifnames.tmp
chmod a-w tests/autoscan.tmp
mv -f tests/autoreconf.tmp tests/autoreconf
chmod +x bin/autoconf.tmp
mv -f tests/autoscan.tmp tests/autoscan
input=tests/wrapper.in \
  && sed -e 's|@wrap_program[@]|ifnames|g' -e 's|@abs_top_srcdir[@]|/c/.conan/814771/1/source|g' -e 's|@abs_top_builddir[@]|/c/.conan/814771/1/build-release|g' -e "s|@configure_input[@]|Generated from $input.|g" tests/wrapper.in >tests/ifnames.tmp
chmod +x tests/autoupdate.tmp
chmod a-w bin/autoconf.tmp
chmod a-w tests/autoupdate.tmp
mv bin/autoconf.tmp bin/autoconf
mv -f tests/autoupdate.tmp tests/autoupdate
chmod +x tests/ifnames.tmp
chmod a-w tests/ifnames.tmp
mv -f tests/ifnames.tmp tests/ifnames
make[1]: Leaving directory '/c/.conan/814771/1/build-release'
autoconf/2.71: Package '68c64d29067c2918a71ef22db8bbf3d9b385e87e' built
autoconf/2.71: Build folder C:\.conan\814771\1\build-release
autoconf/2.71: Generated conaninfo.txt
autoconf/2.71: Generated conanbuildinfo.txt
autoconf/2.71: Generating the package
autoconf/2.71: Package folder C:\.conan\4fb779\1
autoconf/2.71: Calling package()
autoconf/2.71 package(): WARN: No files in this package!
autoconf/2.71: Package '68c64d29067c2918a71ef22db8bbf3d9b385e87e' created
autoconf/2.71: Created package revision efc4b056fa79ac3f5ffafe231f578d0a
autoconf/2.71: Appending PATH env var with : C:\.conan\4fb779\1\bin
autoconf/2.71: Setting AC_MACRODIR to C:\.conan\4fb779\1\bin\share\autoconf
autoconf/2.71: Setting AUTOCONF to C:\.conan\4fb779\1\bin\autoconf
autoconf/2.71: Setting AUTORECONF to C:\.conan\4fb779\1\bin\autoreconf
autoconf/2.71: Setting AUTOHEADER to C:\.conan\4fb779\1\bin\autoheader
autoconf/2.71: Setting AUTOM4TE to C:\.conan\4fb779\1\bin\autom4te
autoconf/2.71: Setting AUTOM4TE_PERLLIBDIR to C:\.conan\4fb779\1\bin\share\autoconf
autoconf/2.71: Applying build-requirement: msys2/cci.latest
autoconf/2.71: Appending PATH env var with : C:\.conan\4fb779\1\bin
autoconf/2.71: Setting AC_MACRODIR to C:\.conan\4fb779\1\bin\share\autoconf
autoconf/2.71: Setting AUTOCONF to C:\.conan\4fb779\1\bin\autoconf
autoconf/2.71: Setting AUTORECONF to C:\.conan\4fb779\1\bin\autoreconf
autoconf/2.71: Setting AUTOHEADER to C:\.conan\4fb779\1\bin\autoheader
autoconf/2.71: Setting AUTOM4TE to C:\.conan\4fb779\1\bin\autom4te
autoconf/2.71: Setting AUTOM4TE_PERLLIBDIR to C:\.conan\4fb779\1\bin\share\autoconf
autoconf/2.71 (test package): Applying build-requirement: autoconf/2.71
autoconf/2.71 (test package): Applying build-requirement: msys2/cci.latest
autoconf/2.71 (test package): Applying build-requirement: m4/1.4.19
autoconf/2.71 (test package): Generator 'AutotoolsToolchain' calling 'generate()'
autoconf/2.71 (test package): Generator 'AutotoolsDeps' calling 'generate()'
autoconf/2.71 (test package): Generator txt created conanbuildinfo.txt
autoconf/2.71 (test package): Calling generate()
autoconf/2.71 (test package): tools.microsoft.bash:subsystem: msys2
autoconf/2.71 (test package): Aggregating env generators
autoconf/2.71 (test package): Generated conaninfo.txt
autoconf/2.71 (test package): Generated graphinfo
Using lockfile: 'C:\cura_wp\conan-center-index\recipes\autoconf\all\test_package/conan.lock'
Using cached profile from lockfile
autoconf/2.71 (test package): Calling build()
ERROR: autoconf/2.71 (test package): Error in build() method, line 34
        autotools.configure()
        ConanException: The config 'tools.microsoft.bash:subsystem' is needed to run commands in a Windows subsystem
jellespijker added a commit to Ultimaker/conan-center-index that referenced this issue Aug 28, 2022
Fails on test_package see conan-io/conan#11975
jellespijker pushed a commit to Ultimaker/conan-center-index that referenced this issue Aug 30, 2022
test_package will currently fail due to conan-io/conan#11975
jellespijker pushed a commit to Ultimaker/conan-center-index that referenced this issue Aug 30, 2022
Needed to add a bogus generator for some reason.

test_package will currently fail due to conan-io/conan#11975
jellespijker pushed a commit to Ultimaker/conan-center-index that referenced this issue Sep 1, 2022
Note: test_package can't use the new Autools generator
due to conan-io/conan#11975
jellespijker pushed a commit to Ultimaker/conan-center-index that referenced this issue Sep 5, 2022
No need to actually compile something with this tool
we simply need to know if it runs.

The win_bash for the run needs to be set explicitly
due to the conf not working properly in the test_package
see conan-io/conan#11975
jellespijker added a commit to Ultimaker/conan-center-index that referenced this issue Sep 5, 2022
Use modern Autotools toolchain and add buildenv_info

Simplified test_package No need to actually compile
something with this tool we simply need to know if it
runs.

The win_bash for the run in the test_package needs to be
set explicitly due to the conf not working properly in
the test_package see conan-io/conan#11975
@jellespijker
Copy link
Contributor Author

jellespijker commented Sep 6, 2022

@memsharded how hard would it to fix or workaround this issue since this is currently blocking me for updating some conan recipes according to CCI standard. If you estimate that it isn't that difficult and relatively contained in the codebase, I might give a crack at this during my weekend.

Since I have reached a point in the current sprint in which I need to focus on fixing these recipes "good enough" for our Ultimaker Cura use: See conan-io/conan-center-index#12777

jellespijker added a commit to Ultimaker/conan-center-index that referenced this issue Sep 7, 2022
This allows us to use the msys2 bash without using the conf_info
in the test_package. Which is currently problematic due to:
conan-io/conan#11975

Contributes to CURA-9574
jellespijker added a commit to Ultimaker/conan-center-index that referenced this issue Sep 11, 2022
@jellespijker
Copy link
Contributor Author

jellespijker commented Sep 11, 2022

@memsharded and/or @lasote is it by design that the test_package doesn't have access to the conf from its requirements such as msys2? If so how should we treat the test_packages for recipes for tools such as:

@lasote lasote self-assigned this Sep 12, 2022
@lasote
Copy link
Contributor

lasote commented Sep 12, 2022

I'm taking a look.

@lasote lasote added this to the 1.53 milestone Sep 12, 2022
@lasote
Copy link
Contributor

lasote commented Sep 12, 2022

I detected why it happens, I think this is not on purpose but I need to discuss with the team the issue because it is not easy to fix.

@lasote
Copy link
Contributor

lasote commented Sep 12, 2022

Note for the team to discuss:

It looks like during the test_package process, first it is called deps_install and the conanfile is filled with the conf from the first level build requires.
But then, the cmd_build is called without passing the conanfile again, so the conf is lost:

    try:
        install_folder = deps_install(app=app,
                                      create_reference=reference,
                                      ref_or_path=conanfile_abs_path,
                                      install_folder=test_build_folder,
                                      base_folder=test_build_folder,
                                      remotes=remotes,
                                      graph_info=graph_info,
                                      update=update,
                                      build_modes=build_modes,
                                      manifest_folder=manifest_folder,
                                      manifest_verify=manifest_verify,
                                      manifest_interactive=manifest_interactive,
                                      keep_build=keep_build,
                                      recorder=recorder,
                                      require_overrides=require_overrides,
                                      conanfile_path=os.path.dirname(conanfile_abs_path),
                                      test=True  # To keep legacy test_package_layout
                                      )
        cmd_build(app, conanfile_abs_path, test_build_folder,
                  source_folder=base_folder, build_folder=test_build_folder,
                  package_folder=os.path.join(test_build_folder, "package"),
                  install_folder=install_folder, test=reference)

@jellespijker
Copy link
Contributor Author

jellespijker commented Sep 12, 2022

I noticed the complexity of this while stepping through the code with the debugger. I think a fix for this will need to follow the regular workflow/planning in your sprints. So it is also save to assume a fix won't be in anytime soon.

But is there a policy to be applied for the open PR's in CCI which can't be tested on Windows if they use the bash from the msys2. I confirmed locally that they work by using them in other recipes. But I explicitly do not build and test them in the new test_packages. This could hold up acceptance of these PR's in the CCI

Would the below code be acceptable until the issue is fixed?

    def build(self):
        if self._settings_build.os == "Windows" and not self.conf.get("tools.microsoft.bash:path", default=False, check_type=bool):
            return  # autoconf needs a bash if there isn't a bash no need to build

and

    def test(self):
        if self._settings_build.os == "Windows" and not self.conf.get("tools.microsoft.bash:path", default=False, check_type=bool):
            return  # autoconf needs a bash if there isn't a bash no need to build

@lasote
Copy link
Contributor

lasote commented Sep 12, 2022

Would the below code be acceptable until the issue is fixed?

That is something I cannot answer. I would say skipping the test won't be accepted by the community.

@jellespijker
Copy link
Contributor Author

jellespijker commented Sep 12, 2022

@nallath and @casperlamboo FYI, see the answer above. I think we need to host the Autotool based recipes, which we use in our dependency chain on our own Artifactory for a limited period.

@memsharded
Copy link
Member

Solved in #12095 for 1.53

conan-center-bot pushed a commit to conan-io/conan-center-index that referenced this issue Nov 8, 2022
* autoconf v2 ready

Note: test_package can't use the new Autools generator
due to conan-io/conan#11975

* Revert removal of PATH from env_info

From review comment

* use unix_path instead of private import functions

According review comment

* use unix_path instead of private import functions

According review comment

* pass self to unix_path

* applied review comments

KB-H013 states that everything needs to be installed under bin for tools.
This also means that the `PATH` for the actual bin location `bin/bin` needs
to be added to the `build_env`

* Add licenses to package

* Explicitly use an empty includedirs

Should fix KB-H071

* Fix setting unix_path for package_info

subsystem isn't known at this time

* simplified test_package

No need to actually compile something with this tool
we simply need to know if it runs.

The win_bash for the run needs to be set explicitly
due to the conf not working properly in the test_package
see conan-io/conan#11975

* Revert "simplified test_package"

This reverts commit d9ee4de.

* use modern tools in test_package

* add conan test_v1_package

* m4 is a build requirement

* Ducktype Autotools `configure` and `make`

This allows us to use the msys2 bash without using the conf_info
in the test_package. Which is currently problematic due to:
conan-io/conan#11975

Contributes to CURA-9574

* Fix paths on windows in test method

Contributes to CURA-8831

* Don't ducktype but inherit

The ducktyping seems to affect the usage
of the Autotools in the main recipe as well

Contributes to CURA-8831

* use unix_path for env_info

Contributes to CURA-8831

* remove extra lin

Contributes to CURA-8831

* don't use unix_path

The subsystem isn't known when consuming projects request the info

Contributes to CURA-8831

* fix subsystems on Windows

Using some duck typing and inheritance to work around
GH issue conan-io/conan#11980

Contributes to CURA-9595

* updated autoconf for conan v2 ready support

Contribute to CURA-8831

* autoconf bin contains shell scripts not executable

Contribute to CURA-8831

* Removed Autotools workaround from test_package

Still an issue: conan-io/conan#11975

Contribute to CURA-8831

* m4 is a run requirement not a tool_req

Contribute to CURA-8831

* use mingw32 for gnu tuple

version 2.69 doesn't known mingw64,
it should hold no difference for the
end result.

Contribute to CURA-8831

* Run the configure command in the build_folder

Contributes to CURA-8831

* Use conanbuild env as scope for testing

Contribute to CURA-8831

* Ensure that M4 binary from dependency is used

Contributes to CURA-8831

* Set win_bash in configure stage

Contributes to CURA-8831

* Move conf keys to user space

Applies code-review comments

* Use *_folder in favor of undocumented *_path

Applies code-review comments

* Reuse source files from test_package

Applies code-review comments

* Apply suggestions from code review

Co-authored-by: Jordan Williams <jordan@jwillikers.com>

* Use export_conandata_patches

Bump up the minimum conan version to 1.52

Applies code-review comments

* Removed unused conf_info values

As descibed in #13490

Applies code-review comments

* Check against empty string for conf value bash path

Apply code review comment

* Update recipes/autoconf/all/conanfile.py

Co-authored-by: Chris Mc <prince.chrismc@gmail.com>

* Apply suggestions from code review

Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>

Co-authored-by: j.spijker@ultimaker.com <jelle spijker>
Co-authored-by: Jordan Williams <jordan@jwillikers.com>
Co-authored-by: Chris Mc <prince.chrismc@gmail.com>
Co-authored-by: SpaceIm <30052553+SpaceIm@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants