Bug 295048 - devel/R-cran-rlang: Update to 1.2.0
Summary: devel/R-cran-rlang: Update to 1.2.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Wen Heping
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-05-06 10:25 UTC by Einar Bjarni Halldórsson
Modified: 2026-05-08 15:11 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (wen)


Attachments
Update devel/R-cran-rlang to 1.2.0 (1.19 KB, patch)
2026-05-06 10:26 UTC, Einar Bjarni Halldórsson
einar: maintainer-approval? (wen)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Einar Bjarni Halldórsson 2026-05-06 10:25:12 UTC
Current version, 1.1.7 fails to build in poudriere with R-4.6.0:

===>  Staging for R-cran-rlang-1.1.7
===>   Generating temporary packing list
* installing *source* package 'rlang' ...
** this is package 'rlang' version '1.1.7'
file 'src/internal/xxhash/xxhash.h' has the wrong MD5 checksum
** using staged installation
** libs
using C compiler: 'FreeBSD clang version 19.1.7 (https://github.com/llvm/llvm-project.git llvmorg-19.1.7-0-gcd708029e0b2)'
cc -std=gnu23 -I"/usr/local/lib/R/include" -DNDEBUG -I./rlang/  -DLIBICONV_PLUG -I/usr/local/include -isystem /usr/local/include   -fvisibility=hidden -fpic  -O2 -pipe  -DLIBICONV_PLUG -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing   -c capture.c -o capture.o
capture.c:39:20: error: use of undeclared identifier 'PRENV'
   39 |         expr_env = PRENV(expr);
      |                    ^
capture.c:40:16: error: use of undeclared identifier 'PREXPR'
   40 |         expr = PREXPR(expr);
      |                ^
capture.c:70:16: error: use of undeclared identifier 'Rf_findVarInFrame3'
   70 |     SEXP sym = findVarInFrame3(rho, install("arg"), TRUE);
      |                ^
/usr/local/lib/R/include/Rinternals.h:920:26: note: expanded from macro 'findVarInFrame3'
  920 | #define findVarInFrame3         Rf_findVarInFrame3
      |                                 ^
capture.c:80:11: error: use of undeclared identifier 'PREXPR'
   80 |     sym = PREXPR(sym);
      |           ^
capture.c:94:8: error: use of undeclared identifier 'Rf_findVar'; did you mean 'Rf_findFun'?
   94 |         arg = findVar(sym, frame);
      |               ^~~~~~~
      |               Rf_findFun
/usr/local/lib/R/include/Rinternals.h:918:19: note: expanded from macro 'findVar'
  918 | #define findVar                 Rf_findVar
      |                                 ^
/usr/local/lib/R/include/Rinternals.h:494:6: note: 'Rf_findFun' declared here
  494 | SEXP Rf_findFun(SEXP, SEXP);
      |      ^
capture.c:113:25: error: use of undeclared identifier 'Rf_findVar'; did you mean 'Rf_findFun'?
  113 |     SEXP dots = PROTECT(findVar(R_DotsSymbol, frame));
      |                         ^~~~~~~
      |                         Rf_findFun
/usr/local/lib/R/include/Rinternals.h:918:19: note: expanded from macro 'findVar'
  918 | #define findVar                 Rf_findVar
      |                                 ^
/usr/local/lib/R/include/Rinternals.h:357:31: note: expanded from macro 'PROTECT'
  357 | #define PROTECT(s)      Rf_protect(s)
      |                                    ^
/usr/local/lib/R/include/Rinternals.h:494:6: note: 'Rf_findFun' declared here
  494 | SEXP Rf_findFun(SEXP, SEXP);
      |      ^
capture.c:177:25: error: use of undeclared identifier 'Rf_findVar'; did you mean 'Rf_findFun'?
  177 |     SEXP dots = PROTECT(findVar(R_DotsSymbol, frame));
      |                         ^~~~~~~
      |                         Rf_findFun
/usr/local/lib/R/include/Rinternals.h:918:19: note: expanded from macro 'findVar'
  918 | #define findVar                 Rf_findVar
      |                                 ^
/usr/local/lib/R/include/Rinternals.h:357:31: note: expanded from macro 'PROTECT'
  357 | #define PROTECT(s)      Rf_protect(s)
      |                                    ^
/usr/local/lib/R/include/Rinternals.h:494:6: note: 'Rf_findFun' declared here
  494 | SEXP Rf_findFun(SEXP, SEXP);
      |      ^
7 errors generated.
gmake: *** [/usr/local/lib/R/etc/Makeconf:190: capture.o] Error 1
ERROR: compilation failed for package 'rlang'
* removing '/wrkdirs/usr/ports/devel/R-cran-rlang/work/stage/usr/local/lib/R/library/rlang'
*** Error code 1

Stop.
make: stopped making "stage" in /usr/ports/devel/R-cran-rlang
Comment 1 Einar Bjarni Halldórsson 2026-05-06 10:26:53 UTC
Created attachment 270454 [details]
Update devel/R-cran-rlang to 1.2.0

Tested build in poudriere on 14.4-RELEASE amd64
Comment 2 commit-hook freebsd_committer freebsd_triage 2026-05-08 13:11:05 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=9685909a9397f90c17e1b54b95d9ab66334d670f

commit 9685909a9397f90c17e1b54b95d9ab66334d670f
Author:     Fernando Apesteguía <fernape@FreeBSD.org>
AuthorDate: 2026-05-07 08:31:21 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2026-05-08 13:08:45 +0000

    devel/R-cran-rlang: Update to 1.2.0

    Current version has been broken for some days.

    PR:             295048
    Reported by:    einar@isnic.is
    Approved by:    blanket approval

 devel/R-cran-rlang/Makefile | 2 +-
 devel/R-cran-rlang/distinfo | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 3 Fernando Apesteguía freebsd_committer freebsd_triage 2026-05-08 15:11:55 UTC
Committed,

Thanks!