Skip to content
Snippets Groups Projects
Closed Add perl as explicit dependency
  • View options
  • Add perl as explicit dependency

  • View options
  • Closed Issue created by Joscha Schmiedt

    Summary

    Without perl installed, make conan fails during OpenSSL compilation with Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC entries checked: /usr/local/lib64/perl5/5.38

    DoD

    • noch mal auf frischen Fedora getestet (VM?)
    • Falls noch aktuell, Notiz in Troubleshooting
    libbacktrace/cci.20210118 package(): Packaged 1 file: LICENSE
    libbacktrace/cci.20210118 package(): Packaged 2 '.h' files: backtrace.h, backtrace-supported.h
    libbacktrace/cci.20210118 package(): Packaged 1 '.a' file: libbacktrace.a
    libbacktrace/cci.20210118: Package 'c11224e931af7eb47df7c689b7ad7afc6b151bd9' created
    libbacktrace/cci.20210118: Created package revision 9bb87650ec49847360da500481b3c262
    Downloading conan_sources.tgz completed [0.49k]
    Decompressing conan_sources.tgz completed [0.00k]
    openssl/1.1.1s: Configuring sources in /home/joscha/.conan/data/openssl/1.1.1s/_/_/source/src
    Downloading openssl-1.1.1s.tar.gz completed [9637.68k]                                   openssl/1.1.1s: enssl/1.1.1s:
    openssl/1.1.1s:
    openssl/1.1.1s: Copying sources to build folder
    openssl/1.1.1s: Building your package in /home/joscha/.conan/data/openssl/1.1.1s/_/_/build/c11224e931af7eb47df7c689b7ad7afc6b151bd9
    openssl/1.1.1s: Generator txt created conanbuildinfo.txt
    openssl/1.1.1s: Calling generate()
    openssl/1.1.1s: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    openssl/1.1.1s: WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior
    openssl/1.1.1s: Aggregating env generators
    openssl/1.1.1s: Calling build()
    openssl/1.1.1s: Apply patch (portability): TVOS and WatchOS don't like fork()
    openssl/1.1.1s: gen_info = {'CFLAGS': ['-m64', '-fPIC', '-O3'], 'CXXFLAGS': ['-m64', '-fPIC', '-O3'], 'DEFINES': ['NDEBUG'], 'LDFLAGS': ['-m64']}
    openssl/1.1.1s: using target: conan-Release-Linux-x86_64-gcc-13 -> linux-x86_64
    openssl/1.1.1s: my %targets = (
        "conan-Release-Linux-x86_64-gcc-13" => {
            inherit_from => [ "linux-x86_64" ],
            cflags => add("-m64 -fPIC -O3"),
            cxxflags => add("-m64 -fPIC -O3"),
            defines => add(["NDEBUG"]),
            includes => add(),
            lflags => add("-m64"),
        },
    );
    
    openssl/1.1.1s: ['"conan-Release-Linux-x86_64-gcc-13"', 'no-shared', '--prefix=/', '--openssldir="/etc/ssl"', 'no-unit-test', 'threads', 'PERL=perl', 'no-tests', '--release', '--libdir=lib', '-fPIC', 'no-md2']
    Can't locate FindBin.pm in @INC (you may need to install the FindBin module) (@INC entries checked: /usr/local/lib64/perl5/5.38 /usr/local/share/perl5/5.38 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5) at ./Configure line 15.
    BEGIN failed--compilation aborted at ./Configure line 15.
    openssl/1.1.1s:
    openssl/1.1.1s: ERROR: Package 'c11224e931af7eb47df7c689b7ad7afc6b151bd9' build failed
    openssl/1.1.1s: WARN: Build folder /home/joscha/.conan/data/openssl/1.1.1s/_/_/build/c11224e931af7eb47df7c689b7ad7afc6b151bd9/build-release
    ERROR: openssl/1.1.1s: Error in build() method, line 723
            self.run(f'{self._perl} ./Configure {args}')
            ConanException: Error 2 while executing perl ./Configure "conan-Release-Linux-x86_64-gcc-13" no-shared --prefix=/ --openssldir="/etc/ssl" no-unit-test threads PERL=perl no-tests --release --libdir=lib -fPIC no-md2
    
    </details>
    
    ## Expected Behavior
    
    perl should therefore be listed as an explicit dependency.
    
    
    ## Actual Behavior
    
    perl is not an explicit dependency.
    
    ## Steps to Reproduce the Problem
    
    1. `make conan` without perl installed
    2.
    3.
    
    ## Specifications
    
    - Version: 0.2.2
    - Platform: Fedora 39
    
    ## Possible fixes
    ✓ 2 of 2 checklist items completed · Edited by Joscha Schmiedt

    Linked items 0

  • Link items together to show that they're related or that one is blocking others.

    Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading