/usr/lib/cgi-bin/gsearch.cgi fails with missing /usr/bin/btreeop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
global (Debian) |
Fix Released
|
Unknown
|
|||
global (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Binary package hint: global
`/usr/bin/btreeop' has been removed from the upstream (source) package since 2002 (see changelog of global's .tar.gz archive); however the .deb package's `htconfig' script, which creates `/usr/lib/
Thus, `/usr/lib/
-------
[...date...] [error] [client 127.0.0.1] sh: /usr/bin/btreeop: not found, referer: http://
-------
To resolve the bug, the offending lines of code in the `gsearch.cgi' script and `htconfig' script (that creates the former) must be changed to use the new facilities provided from the upstream (source) package.
Ubuntu release: 9.10 (Karmic Koala)
`global' release: 5.7.1-1
tags: | added: patch |
Changed in global (Debian): | |
status: | Unknown → New |
Changed in global (Ubuntu): | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in global (Debian): | |
status: | New → Fix Released |
Changed in global (Ubuntu): | |
status: | Triaged → Fix Released |
The following modification to `gsearch.cgi' (a merge of /usr/share/ gtags/global. cgi.tmpl and /usr/lib/ cgi-bin/ gsearch. cgi plus my additions) seems to solve the issue.
Some corner cases have remained untested, but since it is a merge of previously supposed to work code, the chance of something remaining broken is low.
I attach three files: cgi-bin/ gsearch. cgi (file: gsearch.cgi) cgi-bin/ gsearch. cgi (file: diff_gsearch.cgi) gtags/global. cgi.tmpl (file: diff_global. cgi.tmpl)
1. The modified, now working, revision of /usr/lib/
2. A unified diff of 1 with initial /usr/lib/
3. A unified diff of 1 with /usr/share/