Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#53767 - [intellij-idea-community-edition] "which" is needed but not a dependency.

Attached to Project: Community Packages
Opened by Cooper Paul EdenDay (cedenday) - Sunday, 23 April 2017, 21:06 GMT
Last edited by Lukas Jirkovsky (6xx) - Sunday, 30 April 2017, 10:03 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Lukas Jirkovsky (6xx)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Intellij does not work without "which", and fails with

/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
/usr/bin/idea.sh: 1: /usr/bin/idea.sh: which: not found
ERROR: Cannot start IntelliJ IDEA
Required tools are missing - check beginning of "/usr/bin/idea.sh" file for details.

How to fix:
Add "which" as a required run-time dependency.

Steps to reproduce:
# pacman -Rns which
$ idea.sh
This task depends upon

Closed by  Lukas Jirkovsky (6xx)
Sunday, 30 April 2017, 10:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 2017.1.2
Comment by Doug Newgard (Scimmia) - Monday, 24 April 2017, 02:44 GMT
"which" is part of the base group. If you remove package from base, shit happens. The maintainer can list it if they want, but it's not required.
Comment by Lukas Jirkovsky (6xx) - Sunday, 30 April 2017, 09:58 GMT
Given how many things expect "which" to be installed I'm actually quite surprised you got as far as trying to run IntelliJ Idea.

Loading...