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

gmake install step fails under Windows for 2016.10 with the Strawberry Perl buildchain #5782

Closed
p6rt opened this issue Nov 6, 2016 · 6 comments

Comments

@p6rt
Copy link

p6rt commented Nov 6, 2016

Migrated from rt.perl.org#130031 (status was 'resolved')

Searchable as RT130031$

@p6rt
Copy link
Author

p6rt commented Nov 6, 2016

From @stmuk

Although discovered while trying to create Rakudo Star 2016.10 binaries for
Windows I also see the same error with the plain Rakudo 2016.10 release. I
had no problems doing the same with 2016.07.

Using the gcc and gmake supplied with Strawberry Perl the final "gmake
install" step fails with

C​:\Strawberry\perl\bin\perl.exe -MExtUtils​::Command -e cp perl6.moarvm
perl6-debug.moarvm C​:\rakudo/share/perl6/runtime
C​:\Strawberry\perl\bin\perl.exe -MExtUtils​::Command -e mkpath
C​:\rakudo/share/perl6/runtime/dynext
C​:\Strawberry\perl\bin\perl.exe -MExtUtils​::Command -e cp
dynext/perl6_ops_moar.dll C​:\rakudo/share/perl6/runtime/dynext
.\perl6-m.bat tools/build/upgrade-repository.pl C​:\rakudo/share/perl6
Failed to create directory 'C​:\rakudo\share\perl6\resources' with mode
'0o777'​: Failed to mkdir​: 2
in any at ././CORE.setting.moarvm line 1
in block <unit> at tools/build/upgrade-repository.pl line 1

Actually thrown at​:
in block <unit> at tools/build/upgrade-repository.pl line 1

makefile​:553​: recipe for target 'm-install' failed
gmake[1]​: *** [m-install] Error 1
gmake[1]​: Leaving directory
'C​:/Users/steve/Downloads/rakudo-star-2016.10/rakudo'
makefile​:53​: recipe for target 'rakudo-install' failed
gmake​: *** [rakudo-install] Error 2

--
4096R/EA75174B Steve Mynott <steve.mynott@​gmail.com>

@p6rt
Copy link
Author

p6rt commented Nov 7, 2016

From 1parrota@gmail.com

I've also encountered a problem with "make" blowing up, on a Raspberry
Pi, which I haven't yet investigated in enough detail to report
formally. I first attributed it to some peculiarity of the
environment, but this sounds an awful lot like the same problem.

On 11/6/16, Steve Mynott <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by Steve Mynott
# Please include the string​: [perl #​130031]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=130031 >

Although discovered while trying to create Rakudo Star 2016.10 binaries for
Windows I also see the same error with the plain Rakudo 2016.10 release. I
had no problems doing the same with 2016.07.

Using the gcc and gmake supplied with Strawberry Perl the final "gmake
install" step fails with

C​:\Strawberry\perl\bin\perl.exe -MExtUtils​::Command -e cp perl6.moarvm
perl6-debug.moarvm C​:\rakudo/share/perl6/runtime
C​:\Strawberry\perl\bin\perl.exe -MExtUtils​::Command -e mkpath
C​:\rakudo/share/perl6/runtime/dynext
C​:\Strawberry\perl\bin\perl.exe -MExtUtils​::Command -e cp
dynext/perl6_ops_moar.dll C​:\rakudo/share/perl6/runtime/dynext
.\perl6-m.bat tools/build/upgrade-repository.pl C​:\rakudo/share/perl6
Failed to create directory 'C​:\rakudo\share\perl6\resources' with mode
'0o777'​: Failed to mkdir​: 2
in any at ././CORE.setting.moarvm line 1
in block <unit> at tools/build/upgrade-repository.pl line 1

Actually thrown at​:
in block <unit> at tools/build/upgrade-repository.pl line 1

makefile​:553​: recipe for target 'm-install' failed
gmake[1]​: *** [m-install] Error 1
gmake[1]​: Leaving directory
'C​:/Users/steve/Downloads/rakudo-star-2016.10/rakudo'
makefile​:53​: recipe for target 'rakudo-install' failed
gmake​: *** [rakudo-install] Error 2

--
4096R/EA75174B Steve Mynott <steve.mynott@​gmail.com>

@p6rt
Copy link
Author

p6rt commented Nov 7, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Nov 14, 2016

From @stmuk

Works now with current version of MoarVM

On Sun, 06 Nov 2016 06​:21​:56 -0800, steve.mynott@​gmail.com wrote​:

Although discovered while trying to create Rakudo Star 2016.10 binaries for
Windows I also see the same error with the plain Rakudo 2016.10 release. I
had no problems doing the same 2016.07.

Using the gcc and gmake supplied with Strawberry Perl the final "gmake
install" step fails with

C​:\Strawberry\perl\bin\perl.exe -MExtUtils​::Command -e cp perl6.moarvm
perl6-debug.moarvm C​:\rakudo/share/perl6/runtime
C​:\Strawberry\perl\bin\perl.exe -MExtUtils​::Command -e mkpath
C​:\rakudo/share/perl6/runtime/dynext
C​:\Strawberry\perl\bin\perl.exe -MExtUtils​::Command -e cp
dynext/perl6_ops_moar.dll C​:\rakudo/share/perl6/runtime/dynext
.\perl6-m.bat tools/build/upgrade-repository.pl C​:\rakudo/share/perl6
Failed to create directory 'C​:\rakudo\share\perl6\resources' with mode
'0o777'​: Failed to mkdir​: 2
in any at ././CORE.setting.moarvm line 1
in block <unit> at tools/build/upgrade-repository.pl line 1

Actually thrown at​:
in block <unit> at tools/build/upgrade-repository.pl line 1

makefile​:553​: recipe for target 'm-install' failed
gmake[1]​: *** [m-install] Error 1
gmake[1]​: Leaving directory
'C​:/Users/steve/Downloads/rakudo-star-2016.10/rakudo'
makefile​:53​: recipe for target 'rakudo-install' failed
gmake​: *** [rakudo-install] Error 2

@p6rt
Copy link
Author

p6rt commented Nov 14, 2016

From @zoffixznet

This has been fixed by MoarVM/MoarVM@404ed261be00e2
I see an already-existing test for mkdir in S32-io/mkdir_rmdir.t, so I think this one just slipped through due to being Windows-specific.

On Mon, 07 Nov 2016 05​:18​:43 -0800, 1parrota@​gmail.com wrote​:

I've also encountered a problem with "make" blowing up, on a Raspberry
Pi, which I haven't yet investigated in enough detail to report
formally. I first attributed it to some peculiarity of the
environment, but this sounds an awful lot like the same problem.

On 11/6/16, Steve Mynott <perl6-bugs-followup@​perl.org> wrote​:

# New Ticket Created by Steve Mynott
# Please include the string​: [perl #​130031]
# in the subject line of all future correspondence about this issue.
# <URL​: https://rt-archive.perl.org/perl6/Ticket/Display.html?id=130031 >

Although discovered while trying to create Rakudo Star 2016.10
binaries for
Windows I also see the same error with the plain Rakudo 2016.10
release. I
had no problems doing the same with 2016.07.

Using the gcc and gmake supplied with Strawberry Perl the final
"gmake
install" step fails with

C​:\Strawberry\perl\bin\perl.exe -MExtUtils​::Command -e cp
perl6.moarvm
perl6-debug.moarvm C​:\rakudo/share/perl6/runtime
C​:\Strawberry\perl\bin\perl.exe -MExtUtils​::Command -e mkpath
C​:\rakudo/share/perl6/runtime/dynext
C​:\Strawberry\perl\bin\perl.exe -MExtUtils​::Command -e cp
dynext/perl6_ops_moar.dll C​:\rakudo/share/perl6/runtime/dynext
.\perl6-m.bat tools/build/upgrade-repository.pl C​:\rakudo/share/perl6
Failed to create directory 'C​:\rakudo\share\perl6\resources' with
mode
'0o777'​: Failed to mkdir​: 2
in any at ././CORE.setting.moarvm line 1
in block <unit> at tools/build/upgrade-repository.pl line 1

Actually thrown at​:
in block <unit> at tools/build/upgrade-repository.pl line 1

makefile​:553​: recipe for target 'm-install' failed
gmake[1]​: *** [m-install] Error 1
gmake[1]​: Leaving directory
'C​:/Users/steve/Downloads/rakudo-star-2016.10/rakudo'
makefile​:53​: recipe for target 'rakudo-install' failed
gmake​: *** [rakudo-install] Error 2

--
4096R/EA75174B Steve Mynott <steve.mynott@​gmail.com>

@p6rt
Copy link
Author

p6rt commented Nov 14, 2016

@zoffixznet - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant