Github messages for voidlinux
 help / color / mirror / Atom feed
From: chloris-pale-green <>
Subject: Re: New package: jruby-
Date: Thu, 25 Aug 2022 16:18:49 +0200	[thread overview]
Message-ID: <20220825141849.cyeKzOwj-dvLPL4mfCTUMYkYtMqifqKnWNHNH5oD3vU@z> (raw)
In-Reply-To: <>

[-- Attachment #1: Type: text/plain, Size: 1192 bytes --]

New comment by chloris-pale-green on void-packages repository

> have you tried a native musl build locally? see the instructions for making another masterdir in the readme

I've installed the x86_64-musl version of Void in a VM and tried building the package. I got the same error as observed here on GitHub. It seems that the file permission issues are Musl-specific.

Consequently, I've added a `find` command to the template that removes group and other write permissions from all files and directories that happen to have them, if the package is being build on a Musl machine.

I've also changed the way binaries are installed, since I've noticed that one of them did not posses the execute permission. `vbin` should take care of that (but copies the whole binary rather than a symlink - that's the purpose of the other if clause).

Strangely enough, on a Musl architecture, even with the use of `vbin`, the binary `/usr/bin/irb` seems to lack execute permission (644) after installing the package, and I get "permission denied" if I try to run it. The package is still functional, though.

  parent reply	other threads:[~2022-08-25 14:18 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-25  6:47 [PR PATCH] " chloris-pale-green
2022-08-25  7:01 ` [PR PATCH] [Updated] " chloris-pale-green
2022-08-25  7:11 ` chloris-pale-green
2022-08-25  7:48 ` chloris-pale-green
2022-08-25  8:32 ` classabbyamp
2022-08-25 14:04 ` [PR PATCH] [Updated] " chloris-pale-green
2022-08-25 14:18 ` chloris-pale-green [this message]
2022-08-25 15:01 ` classabbyamp
2022-08-25 16:10 ` chloris-pale-green
2022-08-25 16:10 ` chloris-pale-green
2022-08-31 15:29 ` chloris-pale-green
2022-08-31 16:06 ` chloris-pale-green
2022-08-31 16:25 ` classabbyamp
2022-08-31 16:57 ` [PR PATCH] [Updated] " chloris-pale-green
2022-08-31 17:02 ` chloris-pale-green
2022-09-14 10:06 ` [PR PATCH] [Updated] " chloris-pale-green
2022-09-14 10:10 ` chloris-pale-green
2022-12-15  2:02 ` New package: jruby- github-actions
2022-12-30  1:58 ` [PR PATCH] [Closed]: " github-actions

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220825141849.cyeKzOwj-dvLPL4mfCTUMYkYtMqifqKnWNHNH5oD3vU@z \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).