You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "AlenkaF (via GitHub)" <gi...@apache.org> on 2025/06/02 11:30:24 UTC
[I] [CI][Docs] Docs preview jobs failing due to package not found [arrow]
AlenkaF opened a new issue, #46673:
URL: https://github.com/apache/arrow/issues/46673
### Describe the bug, including details regarding any error messages, version, and platform.
The crossbow docs preview jobs have started failing with message:
```
+ source_dir=/arrow/r
+ build_dir=/build
+ : ON
+ rm -rf /build/r
+ cp -aL /arrow/r /build/r
+ pushd /build/r
+ R CMD build .
/build/r /
* checking for file './DESCRIPTION' ... OK
* preparing 'arrow':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* running 'cleanup'
* checking for LF line-endings in source and make files and shell scripts
* checking for empty or unneeded directories
* building 'arrow_20.0.0.9000.tar.gz'
++ command -v sudo
+ '[' -x /usr/bin/sudo ']'
+ SUDO=sudo
+ sudo env PKG_CONFIG_PATH=/tmp/local/lib/pkgconfig: R CMD INSTALL '' arrow_20.0.0.9000.tar.gz
Error: ERROR: no packages specified
Error: `docker compose --file=/home/runner/work/crossbow/crossbow/arrow/docker-compose.yml run --rm -e SETUPTOOLS_SCM_PRETEND_VERSION=21.0.0.dev149 --volume /home/runner/work/crossbow/crossbow/build/:/build/ debian-docs` exited with a non-zero exit code 1, see the process log above.
```
Example: https://github.com/ursacomputing/crossbow/actions/runs/15385793337/job/43284065936
### Component(s)
Continuous Integration, Documentation
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [CI][Docs] Docs preview jobs failing due to package not found [arrow]
Posted by "thisisnic (via GitHub)" <gi...@apache.org>.
thisisnic commented on issue #46673:
URL: https://github.com/apache/arrow/issues/46673#issuecomment-2930701878
I think that is fine.
Best thing to do would be to submit a PR with that change incorporated and then test to see if build is successful on the jobs which use the `r_build.sh` script, which appears to be the `debian-docs` jobs so you can run `@github-actions crossbow submit debian-docs` on the PR to run it. Or even just the docs build command. If the pkgdown site successfully builds in the preview then we're good.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [CI][Docs] Docs preview jobs failing due to package not found [arrow]
Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato commented on issue #46673:
URL: https://github.com/apache/arrow/issues/46673#issuecomment-2930510661
Hello, @AlenkaF
It seems that this failure relates to my commit in #46527.
I quoted `${INSTALL_ARGS}` like `"${INSTALL_ARGS}"`.
https://github.com/apache/arrow/blob/main/ci/scripts/r_build.sh#L45
As the result,
Before: `R CMD INSTALL arrow_20.0.0.9000.tar.gz`
After: `R CMD INSTALL '' arrow_20.0.0.9000.tar.gz`
```diff
- PKG_CONFIG_PATH=${ARROW_HOME}/lib/pkgconfig:${PKG_CONFIG_PATH} \
- ${R_BIN} CMD INSTALL ${INSTALL_ARGS} arrow*.tar.gz
+ PKG_CONFIG_PATH="${ARROW_HOME}/lib/pkgconfig:${PKG_CONFIG_PATH}" \
+ "${R_BIN}" CMD INSTALL "${INSTALL_ARGS}" arrow*.tar.gz
```
What do you think to set default option like
```
INSTALL_ARGS="${INSTALL_ARGS:---with-keep.source --no-multiarch}"
```
If this option set,
This command will be
* without `INSTALL_ARGS`: `R CMD INSTALL ---with-keep.source --no-multiarch arrow_20.0.0.9000.tar.gz`
* with `INSTALL_ARGS`: `R CMD INSTALL %REPLACE_NEW_INSTALL_ARGS% arrow_20.0.0.9000.tar.gz`
I don't familiar R. It asked ChatGPT `---with-keep.source --no-multiarch` is safe.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [CI][Docs] Docs preview jobs failing due to package not found [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou commented on issue #46673:
URL: https://github.com/apache/arrow/issues/46673#issuecomment-2937217544
Issue resolved by pull request 46682
https://github.com/apache/arrow/pull/46682
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [CI][Docs] Docs preview jobs failing due to package not found [arrow]
Posted by "AlenkaF (via GitHub)" <gi...@apache.org>.
AlenkaF commented on issue #46673:
URL: https://github.com/apache/arrow/issues/46673#issuecomment-2931572491
Thanks for the insight @hiroyuki-sato!
I agree with what has been written in the previous comment by @thisisnic.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [CI][Docs] Docs preview jobs failing due to package not found [arrow]
Posted by "kou (via GitHub)" <gi...@apache.org>.
kou closed issue #46673: [CI][Docs] Docs preview jobs failing due to package not found
URL: https://github.com/apache/arrow/issues/46673
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [CI][Docs] Docs preview jobs failing due to package not found [arrow]
Posted by "hiroyuki-sato (via GitHub)" <gi...@apache.org>.
hiroyuki-sato commented on issue #46673:
URL: https://github.com/apache/arrow/issues/46673#issuecomment-2933063802
@thisisnic @AlenkaF Thank you for your comment.
I created the PR #46682.
I finally set default parameter empty, not `---with-keep.source --no-multiarch`.
It keeps the current behavior.
If we weren't using `INSTALL_ARGS` in the first place, we could just remove the parameter.
(It seems that this parameter doesn't use now.)
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: github-unsubscribe@arrow.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org