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

bad invocation of cp causes t/alien_build_plugin_build_copy.t to fail #290

Closed
doriantaylor opened this issue Nov 28, 2021 · 1 comment · Fixed by #291
Closed

bad invocation of cp causes t/alien_build_plugin_build_copy.t to fail #290

doriantaylor opened this issue Nov 28, 2021 · 1 comment · Fixed by #291
Labels
🐞Bug Something fails that should not (not a feature)

Comments

@doriantaylor
Copy link

doriantaylor commented Nov 28, 2021

This is an Intel Mac, 10.15.7 with Perl 5.34.0, trying to install Alien::Build 2.45. A few other subsequent tests fail but I assume for now they are related. At a glance it looks like it's not quoting the path. Sorry I'm in the middle of something and don't have time to do a better report; just putting this here to revisit in a few days.

t/alien_build_plugin_build_copy.t .................... 1/?     # Failed test 'builds okay'
    # at t/alien_build_plugin_build_copy.t line 33.
    # Alien::Build> single file, assuming archive
    # Alien::Build::Auto::Zvtb0::Alienfile> bin=/Users/dorian/Library/Application Support/.cpan/build/Alien-Build-2.45-2/.tmp/zvXKI00tbN/root/build_NGA1/bin/mycommand
    # Alien::Build::CommandSequence> + cp -pPR * /Users/dorian/Library/Application Support/.cpan/build/Alien-Build-2.45-2/.tmp/zvXKI00tbN/stage
    # usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file target_file
    #        cp [-R [-H | -L | -P]] [-fi | -n] [-apvXc] source_file ... target_directory
    # build threw exception: external command failed at /Users/dorian/Library/Application Support/.cpan/build/Alien-Build-2.45-2/blib/lib/Alien/Build/CommandSequence.pm line 88.
    # Failed test 'file /Users/dorian/Library/Application Support/.cpan/build/Alien-Build-2.45-2/.tmp/zvXKI00tbN/stage/bin/mycommand exists'
    # at t/alien_build_plugin_build_copy.t line 38.
    # Failed test 'file /Users/dorian/Library/Application Support/.cpan/build/Alien-Build-2.45-2/.tmp/zvXKI00tbN/stage/bin/mycommand is executable'
    # at t/alien_build_plugin_build_copy.t line 39.
    # Failed test 'file /Users/dorian/Library/Application Support/.cpan/build/Alien-Build-2.45-2/.tmp/zvXKI00tbN/stage/include/foo.h exists'
    # at t/alien_build_plugin_build_copy.t line 43.

# Failed test 'basic'
# at t/alien_build_plugin_build_copy.t line 51.
t/alien_build_plugin_build_copy.t .................... Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests 
@plicease plicease added the 🐞Bug Something fails that should not (not a feature) label Nov 29, 2021
@zmughal zmughal linked a pull request Dec 1, 2021 that will close this issue
@zmughal
Copy link
Member

zmughal commented Dec 1, 2021

Fixed by the PR linked above which is in v2.46.

@zmughal zmughal closed this as completed Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞Bug Something fails that should not (not a feature)
Development

Successfully merging a pull request may close this issue.

3 participants