Git Product home page Git Product logo

Comments (6)

beldmit avatar beldmit commented on July 2, 2024

Looks like require_ok(srctop_file("test", "recipes", "tconversion.pl")); is not enough to properly add the conversion procedure to a proper namespace.

$ perl -v

This is perl 5, version 38, subversion 2 (v5.38.2) built for x86_64-linux-thread-multi
(with 15 registered patches, see perl -V for more detail)

Copyright 1987-2023, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at https://www.perl.org/, the Perl Home Page.

from openssl.

nhorman avatar nhorman commented on July 2, 2024

what versions of perl-Test-simple do you have installed? I don't see any updates to the package in the fedora release pages beyond the initial release version of perl-Test-Simple-1.302195-5, but my first thought would be that something in More.pm has changed thats causing tconversion.pl to fail somehow (though that seems unlikely)

Another thought, did tconversion.pl somehow get removed in your openssl source tree? From the above, it looks to me like the execution of require '../../test/recipes/tconverstion.pl' is what failed while calling require_ok, IIRC the two primary reasons a require directive fails are:
a) forgetting to have a 1; at the end of the file
b) the file not being where we said it was

from openssl.

beldmit avatar beldmit commented on July 2, 2024
$ yum info perl-Test-simple
Last metadata expiration check: 0:00:10 ago on Thu 06 Jun 2024 12:28:06 PM CEST.
Installed Packages
Name         : perl-Test-Simple
Epoch        : 3
Version      : 1.302195
Release      : 5.fc39
Architecture : noarch
Size         : 1.3 M
Source       : perl-Test-Simple-1.302195-5.fc39.src.rpm
Repository   : @System
From repo    : fedora
Summary      : Basic utilities for writing tests
URL          : https://metacpan.org/release/Test-Simple
License      : (GPL-1.0-or-later OR Artistic-1.0-Perl) AND CC0-1.0 AND LicenseRef-Fedora-Public-Domain
Description  : This package provides the bulk of the core testing facilities. For more
             : information, see perldoc for Test::Simple, Test::More, etc.
             : 
             : This package is the CPAN component of the dual-lifed core package Test-Simple.

from openssl.

beldmit avatar beldmit commented on July 2, 2024

Time::Piece is missing

not ok 1 - require '../../test/recipes/tconversion.pl';

#   Failed test 'require '../../test/recipes/tconversion.pl';'
#   at test/recipes/15-test_dsa.t line 22.
#     Tried to require ''../../test/recipes/tconversion.pl''.
#     Error:  Can't locate Time/Piece.pm in @INC (you may need to install the Time::Piece module) (@INC entries checked: /home/dbelyavs/upstream/openssl/Configurations . /home/dbelyavs/upstream/openssl/util/perl /home/dbelyavs/perl5/lib/perl5 /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 /home/dbelyavs/upstream/openssl/external/perl/Text-Template-1.56/lib) at ../../test/recipes/tconversion.pl line 16.
# BEGIN failed--compilation aborted at ../../test/recipes/tconversion.pl line 16.
# Compilation failed in require at (eval 31) line 2.

from openssl.

beldmit avatar beldmit commented on July 2, 2024

Looks like it's a recently added dependency and it is not mentioned anywhere

from openssl.

beldmit avatar beldmit commented on July 2, 2024

Raised a discussion #24574, closing this

from openssl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.