Page MenuHomePhabricator

build and install tcl fcgi
Closed, ResolvedPublic

Description

From https://wiki.toolserver.org/view/User:Dab/Debian-Packages (see there for requester/rationale), currently missing per http://lists.wikimedia.org/pipermail/labs-l/2013-November/001822.html:

openjdk-6-jre-headless (for java)
openjdk-6-jdk (for javac)
libdbd-sqlite
libdbd-sqlite3
ipython
python-bottle
tcl-tls
tcl-trf
tdom
zlib
Fcgi
libgdal1-1.6.0
libgdal1-dev
libproj-dev
libprotobuf-dev
libsparsehash-dev
gcj
graphicsmagick
zsh

I've not included the Mono packages because IIRC those were excluded for licenses reasons? Maybe another bug for those.


Version: unspecified
Severity: major

Details

Reference
bz56995

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 2:35 AM
bzimport added a project: Toolforge.
bzimport set Reference to bz56995.

Change 95183 had a related patch set uploaded by coren:
Tool Labs: Import many dependencies from TS's Jira

https://gerrit.wikimedia.org/r/95183

With some version differences (some of the stated version here are obsolete and no longer supported). A port might be possible, but iff it is specifically requested by a tool maintainer and there is no way to adapt the tool to maintained versions.

Change 95183 merged by coren:
Tool Labs: Import many dependencies from TS's Jira

https://gerrit.wikimedia.org/r/95183

  • Bug 57006 has been marked as a duplicate of this bug. ***

Quoth the tcl fastcgi homepage:

" Some problems appear to exist with this code and recent Tcls, resulting

in core dumps on Unix.  Contact Tom Poindexter for details."

Will not install unless actively requested by a tool maintainer and a patch is provided.

(In reply to comment #7)

Quoth the tcl fastcgi homepage:

" Some problems appear to exist with this code and recent Tcls, resulting

in core dumps on Unix.  Contact Tom Poindexter for details."

Will not install unless actively requested by a tool maintainer and a patch
is
provided.

The Tcler's Wiki is not the "tcl fastcgi homepage". Also the information is 13 years old. Quite a time. I hereby request that package to be installed as a tool maintainer. See https://github.com/nagarajanchinnasamy/tclfcgi for an apparently working and maintained version of the package. To give you something to package.

Allright, can you point me at the source of your webapp so I can test my builds against it?

(In reply to comment #9)

Allright, can you point me at the source of your webapp so I can test my
builds
against it?

http://toolserver.org/~gifti/tool/weblinksuche.fcgi.tcl

I do not currently have the bandwidth to manually construct packaging.

If someone volunteers to create the source deb, I'd be happy to build and deploy it.

This needs to be done before TS shutdown. What are the steps that need to be done / tested exactly?

I built xmlgen and Fcgi locally and replaced cgi with ncgi. Two problems remain: On the web nodes libfcgi.so.0 is missing (a search suggests the package libfcgi0ldbl). I almost seem to get it working using this lighttpd configuration:

fastcgi.server += ( "weblinksuche.fcgi" => ((

"bin-path" => "/data/project/giftbot/public_html/weblinksuche.fcgi",
"socket" => "/tmp/tcl.socket.$tool-weblinksuche",
"bin-environment" => (
        "TCLLIBPATH" => "/data/project/giftbot/lib"
)

)))

I'd rather have it function like in the php example configuration, but I guess that's not possible?

Change 138992 had a related patch set uploaded by coren:
Tool Labs: add libfcgi0ldbl for tcl fcgi

https://gerrit.wikimedia.org/r/138992

Change 138992 merged by coren:
Tool Labs: add libfcgi0ldbl for tcl fcgi

https://gerrit.wikimedia.org/r/138992