Last modified: 2014-06-11 23:40:39 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T58995, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 56995 - build and install tcl fcgi
build and install tcl fcgi
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
tools (Other open bugs)
unspecified
All All
: High major
: ---
Assigned To: Marc A. Pelletier
:
: 57006 (view as bug list)
Depends on:
Blocks: 53704 tool-missing-ts-feat
  Show dependency treegraph
 
Reported: 2013-11-13 10:24 UTC by Nemo
Modified: 2014-06-11 23:40 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Nemo 2013-11-13 10:24:15 UTC
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.
Comment 1 Gerrit Notification Bot 2013-11-13 17:07:30 UTC
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
Comment 2 Marc A. Pelletier 2013-11-13 17:11:21 UTC
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.
Comment 3 Gerrit Notification Bot 2013-11-13 17:11:34 UTC
Change 95183 merged by coren:
Tool Labs: Import many dependencies from TS's Jira

https://gerrit.wikimedia.org/r/95183
Comment 4 Marc A. Pelletier 2013-11-17 17:45:29 UTC
Missing tcl fcgi
Comment 5 Marc A. Pelletier 2013-11-20 15:30:33 UTC
*** Bug 57006 has been marked as a duplicate of this bug. ***
Comment 6 Marc A. Pelletier 2013-11-20 15:32:46 UTC
Or not.
Comment 7 Marc A. Pelletier 2013-11-20 15:36:39 UTC
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.
Comment 8 Giftpflanze 2013-11-21 07:54:49 UTC
(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.
Comment 9 Marc A. Pelletier 2013-11-21 14:06:17 UTC
Allright, can you point me at the source of your webapp so I can test my builds against it?
Comment 10 Giftpflanze 2013-11-21 19:22:17 UTC
(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
Comment 11 Marc A. Pelletier 2013-11-21 19:50:14 UTC
Excellent, thank you.
Comment 12 Giftpflanze 2013-11-25 21:32:03 UTC
The example would also need the packages xmlgen (http://sourceforge.net/projects/tclxml/files/xmlgen/) and cgi (http://expect.sourceforge.net/cgi.tcl/).
Comment 13 Giftpflanze 2013-12-23 18:40:50 UTC
Also see http://wikitech.wikimedia.org/wiki/User:Gifti/Tcl#FastCGI for minimal examples.
Comment 14 Marc A. Pelletier 2014-04-29 20:12:16 UTC
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.
Comment 15 Silke Meyer (WMDE) 2014-06-03 11:28:23 UTC
This needs to be done before TS shutdown. What are the steps that need to be done / tested exactly?
Comment 16 Giftpflanze 2014-06-11 20:13:35 UTC
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?
Comment 17 Gerrit Notification Bot 2014-06-11 20:59:13 UTC
Change 138992 had a related patch set uploaded by coren:
Tool Labs: add libfcgi0ldbl for tcl fcgi

https://gerrit.wikimedia.org/r/138992
Comment 18 Gerrit Notification Bot 2014-06-11 21:17:19 UTC
Change 138992 merged by coren:
Tool Labs: add libfcgi0ldbl for tcl fcgi

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

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links