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

Cannot build on Alpine Linux #5002

Closed
p6rt opened this issue Jan 5, 2016 · 5 comments
Closed

Cannot build on Alpine Linux #5002

p6rt opened this issue Jan 5, 2016 · 5 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Jan 5, 2016

Migrated from rt.perl.org#127173 (status was 'open')

Searchable as RT127173$

@p6rt
Copy link
Author

p6rt commented Jan 5, 2016

From frioux@gmail.com

I don't know enough to dig much more into this, but I tried to build
both Rakudo Star 2015.11 and Rakudo 2015.12 (Christmas) on Alpine
Linux and I got this error for both​:

  3rdparty/libuv/src/unix/fs.c​: In function 'uv__fs_read'​:
  3rdparty/libuv/src/unix/fs.c​:248​:5​: error​: ISO C90 forbids mixed declarations and code [-Werror=declaration-after
  -statement]
  static int no_preadv;
  ^
  3rdparty/libuv/src/unix/fs.c​: In function 'uv__fs_write'​:
  3rdparty/libuv/src/unix/fs.c​:606​:5​: error​: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
  static int no_pwritev;
  ^
  cc1​: some warnings being treated as errors

If you want to try at home, you should be able to use `docker build -t rakudo .`
after cloning https://github.com/frioux/rakudo.dkr

Feel free to respond here or reach out to me on IRC if you need
clarification.
--
fREW Schmidt
https://blog.afoolishmanifesto.com

@p6rt
Copy link
Author

p6rt commented Jan 5, 2016

From @FROGGS

libuv does not like to build here, which is a dependency of MoarVM.
Though, that does not mean that we cannot do something about that.

@p6rt
Copy link
Author

p6rt commented Jan 5, 2016

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

@p6rt
Copy link
Author

p6rt commented Feb 10, 2016

From @stmuk

I've just built perl6 successfully using rakudobrew on Alpine Linux
3.3.1 although I had to install build and header packages.

I saw some PAX alerts in the /var/log/message (probably moar uses an
executable stack) and had to disable this security checking with
paxctl (which I also had to install) before the build would finish.
Compiler used was gcc 5.3.

S

On 5 January 2016 at 23​:20, Tobias Leich via RT
<perl6-bugs-followup@​perl.org> wrote​:

libuv does not like to build here, which is a dependency of MoarVM.
Though, that does not mean that we cannot do something about that.

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

@p6rt p6rt added the Bug label Jan 5, 2020
@usev6
Copy link

usev6 commented Feb 19, 2023

Even though I didn't try to build on Alpine Linux, I'm pretty sure that it works fine nowadays. (There is, for instance, https://github.com/JJ/alpine-raku which is based on Alpine Linux.)

In any case I don't think that looking further into this old issue will bring any benifit. Therefore I'm closing it (as resolved).

@usev6 usev6 closed this as completed Feb 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants