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

add build dependency on libtry-tiny-perl #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nickbroon
Copy link
Contributor

@nickbroon nickbroon commented Nov 3, 2021

Trying to build the package results in a test failure:

 not ok 1 - use Vyatta::Interface;
#   Failed test 'use Vyatta::Interface;'
#   at ./interface.t line 43.
#     Tried to use 'Vyatta::Interface'.
#     Error:  Can't locate Try/Tiny.pm in @INC (you may need to install the Try::Tiny module) (@INC contains: /usr/src/packages/BUILD/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/src/packages/BUILD/lib/Vyatta/Interface.pm line 28.
# BEGIN failed--compilation aborted at /usr/src/packages/BUILD/lib/Vyatta/Interface.pm line 28.
# Compilation failed in require at ./interface.t line 43.
# BEGIN failed--compilation aborted at ./interface.t line 43.
 ok 2 - use Vyatta::Address;
 not ok 3 - use Vyatta::DistributedDataplane;
#   Failed test 'use Vyatta::DistributedDataplane;'
#   at ./interface.t line 45.
#     Tried to use 'Vyatta::DistributedDataplane'.
#     Error:  Attempt to reload Vyatta/Interface.pm aborted.
# Compilation failed in require at /usr/src/packages/BUILD/lib/Vyatta/DistributedDataplane.pm line 16.
# BEGIN failed--compilation aborted at /usr/src/packages/BUILD/lib/Vyatta/DistributedDataplane.pm line 16.
# Compilation failed in require at ./interface.t line 45.
# BEGIN failed--compilation aborted at ./interface.t line 45.
 Undefined subroutine &Vyatta::Interface::parse_netdev_file called at ./interface.t line 47.
 1..3
 # Looks like your test exited with 255 just after 3.
 FAIL interface.t (exit status: 255)

Trying to build the package results in a test failure:

 not ok 1 - use Vyatta::Interface;
#   Failed test 'use Vyatta::Interface;'
#   at ./interface.t line 43.
#     Tried to use 'Vyatta::Interface'.
#     Error:  Can't locate Try/Tiny.pm in @inc (you may need to install the Try::Tiny module) (@inc contains: /usr/src/packages/BUILD/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/x86_64-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at /usr/src/packages/BUILD/lib/Vyatta/Interface.pm line 28.
# BEGIN failed--compilation aborted at /usr/src/packages/BUILD/lib/Vyatta/Interface.pm line 28.
# Compilation failed in require at ./interface.t line 43.
# BEGIN failed--compilation aborted at ./interface.t line 43.
 ok 2 - use Vyatta::Address;
 not ok 3 - use Vyatta::DistributedDataplane;
#   Failed test 'use Vyatta::DistributedDataplane;'
#   at ./interface.t line 45.
#     Tried to use 'Vyatta::DistributedDataplane'.
#     Error:  Attempt to reload Vyatta/Interface.pm aborted.
# Compilation failed in require at /usr/src/packages/BUILD/lib/Vyatta/DistributedDataplane.pm line 16.
# BEGIN failed--compilation aborted at /usr/src/packages/BUILD/lib/Vyatta/DistributedDataplane.pm line 16.
# Compilation failed in require at ./interface.t line 45.
# BEGIN failed--compilation aborted at ./interface.t line 45.
 Undefined subroutine &Vyatta::Interface::parse_netdev_file called at ./interface.t line 47.
 1..3
 # Looks like your test exited with 255 just after 3.
 FAIL interface.t (exit status: 255)

Signed-off-by: Nick Brown <[email protected]>
@nickbroon nickbroon force-pushed the libtry-tiny-perl-build-dependency branch from c0856ed to 6d82b51 Compare November 3, 2021 21:56
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

Successfully merging this pull request may close these issues.

1 participant