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

[R] Rosetta detector has output when running on x86 #38049

Closed
jonkeane opened this issue Oct 5, 2023 · 0 comments · Fixed by #38052
Closed

[R] Rosetta detector has output when running on x86 #38049

jonkeane opened this issue Oct 5, 2023 · 0 comments · Fixed by #38052
Assignees
Milestone

Comments

@jonkeane
Copy link
Member

jonkeane commented Oct 5, 2023

Describe the bug, including details regarding any error messages, version, and platform.

In #37777 we added a detector that checks if Rosetta translation is being used. It turns out this will produce warnings on x86 systems. We should fix that.

sysctl: unknown oid 'sysctl.proc_translated'
...
Warning message:
In system("sysctl -n sysctl.proc_translated", intern = TRUE) :
  running command 'sysctl -n sysctl.proc_translated' had status 1

Component(s)

R

@jonkeane jonkeane self-assigned this Oct 5, 2023
paleolimbot pushed a commit that referenced this issue Oct 6, 2023
### Rationale for this change

Stop extraneous warnings.

### What changes are included in this PR?

Prevent warning when detecting translation, but on x86

### Are these changes tested?

Yes

### Are there any user-facing changes?

Yes, there will be fewer extraneous warnings.
* Closes: #38049

Authored-by: Jonathan Keane <jkeane@gmail.com>
Signed-off-by: Dewey Dunnington <dewey@voltrondata.com>
@paleolimbot paleolimbot added this to the 14.0.0 milestone Oct 6, 2023
JerAguilon pushed a commit to JerAguilon/arrow that referenced this issue Oct 23, 2023
### Rationale for this change

Stop extraneous warnings.

### What changes are included in this PR?

Prevent warning when detecting translation, but on x86

### Are these changes tested?

Yes

### Are there any user-facing changes?

Yes, there will be fewer extraneous warnings.
* Closes: apache#38049

Authored-by: Jonathan Keane <jkeane@gmail.com>
Signed-off-by: Dewey Dunnington <dewey@voltrondata.com>
loicalleyne pushed a commit to loicalleyne/arrow that referenced this issue Nov 13, 2023
### Rationale for this change

Stop extraneous warnings.

### What changes are included in this PR?

Prevent warning when detecting translation, but on x86

### Are these changes tested?

Yes

### Are there any user-facing changes?

Yes, there will be fewer extraneous warnings.
* Closes: apache#38049

Authored-by: Jonathan Keane <jkeane@gmail.com>
Signed-off-by: Dewey Dunnington <dewey@voltrondata.com>
dgreiss pushed a commit to dgreiss/arrow that referenced this issue Feb 19, 2024
### Rationale for this change

Stop extraneous warnings.

### What changes are included in this PR?

Prevent warning when detecting translation, but on x86

### Are these changes tested?

Yes

### Are there any user-facing changes?

Yes, there will be fewer extraneous warnings.
* Closes: apache#38049

Authored-by: Jonathan Keane <jkeane@gmail.com>
Signed-off-by: Dewey Dunnington <dewey@voltrondata.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants