[jifty-devel] Re: ubuntu debian packaging

Agostini yves agostini at univ-metz.fr
Mon Dec 18 10:51:23 EST 2006


Le lundi 18 décembre 2006 à 12:50 +1000, Robert Barta a écrit :
> Mon Dec 4 02:43:16 EST 2006
> >  deb http://debian.jifty.org sarge jifty        (same server)
> 
> > is attended to follow only cpan, and not cpan for developer.
> > If you add "jiftysvn" you will have a svn snapshot (now actual cpan for
> > developer). I hope make a snapshot each week ( or two :) ).
> 
> Yves,
> 
> Thanks for that.
> 
> For the record, it is
> 
>    deb http://debian.jifty.org/debian sarge jifty


and if you want to use svn
 deb http://debian.jifty.org/debian sarge jifty jiftysvn
where do you see other server ? I try to change it everywhere (I will
commit change on svn in few minutes) 


> 
> On a pristine, virtual Debian I had to install the following, maybe
> some tweaking with the dependencies is necessary:
> 
>    apt-get install jifty libjifty-perl libjifty-dbi-perl libdbix-dbschema-perl/testing libhttp-server-simple-perl/testing libmodule-pluggable-perl/testing
>    apt-get install sqlite3
>    apt-get install libhtml-mason-perl/testing
>    apt-get install libcgi-fast-perl
>    apt-get install libpod-simple-perl

Thanks a lot, it's very helpfull. 
I will work with this.
I don't want to provide dependencies with testing, so you could find
backports on debian.jifty.org


> 
> When I worked through the tutorial, using the non-region-ed version of index.html
> worked ok, but with the fragment stuff the Jifty server segfaulted:
> 
>    rho at debian:~/MyWeblog$ more share/web/templates/index.html
>    <&|/_elements/wrapper, title => Jifty->config->framework('ApplicationName') &>
> 
>      <% Jifty->web->region(name => "myweblog-posts",
>                            path => "/fragments/page_of_posts") %>
>    </&>
> 
>    rho at debian:~/MyWeblog$ bin/jifty server
>    INFO - You can connect to your server at http://131.244.8.223:8888/
>    DEBUG - Received request for /
>    DEBUG - Dispatching request to /
>    DEBUG - Showing path /
>    DEBUG - Handling template //index.html
>    DEBUG - Dispatching request to /fragments/page_of_posts
>    DEBUG - Showing path /fragments/page_of_posts
>    DEBUG - Handling template /fragments/page_of_posts
>    Segmentation fault
> 
> The client is sending its GET / request, what I find strange is that
> the server is just sending a TCP ACK and then immediately a TCP [ FIN,
> ACK ].
> 
> strace-ing the process gives me:
> 
>    ....
> 
>    write(2, "INFO - You can connect to your s"..., 68INFO - You can connect to your server at http://131.244.8.223:8888/
>    ) = 68
>    rt_sigaction(SIGPIPE, NULL, {SIG_DFL}, 8) = 0
>    rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0
>    rt_sigaction(SIGPIPE, {SIG_DFL}, {SIG_DFL}, 8) = 0
>    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
>    rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0
>    rt_sigaction(SIGPIPE, {SIG_IGN}, {SIG_DFL}, 8) = 0
>    rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
>    accept(6,                                            
> 
>    ....
> 
>    stat64("/home/rho/MyWeblog/share/web/templates/_elements/keybindings", 0x814c0c8) = -1 ENOENT (No such file or directory)
>    stat64("/usr/share/perl5/auto/Jifty/web/templates/_elements/keybindings", {st_mode=S_IFREG|0644, st_size=29, ...}) = 0
>    stat64("/usr/share/perl5/auto/Jifty/web/templates/_elements/keybindings", {st_mode=S_IFREG|0644, st_size=29, ...}) = 0
>    open("/usr/share/perl5/auto/Jifty/web/templates/_elements/keybindings", O_RDONLY|O_LARGEFILE) = 11
>    ioctl(11, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbffff5d8) = -1 ENOTTY (Inappropriate ioctl for device)
>    _llseek(11, 0, [0], SEEK_CUR)           = 0
>    fstat64(11, {st_mode=S_IFREG|0644, st_size=29, ...}) = 0
>    fcntl64(11, F_SETFD, FD_CLOEXEC)        = 0
>    read(11, "<div id=\"keybindings\"></div>\n", 4096) = 29
>    read(11, "", 4096)                      = 0
>    close(11)                               = 0
>    time(NULL)                              = 1166409693
>    gettimeofday({1166409693, 683340}, NULL) = 0
>    gettimeofday({1166409693, 683819}, NULL) = 0
>    --- SIGSEGV (Segmentation fault) @ 0 (0) ---
>    +++ killed by SIGSEGV +++
> 
> I am suspecting a version problem in one of the dependencies. Any ideas?
> 
> \rho


I'm very busy now, but usually the biggest trouble is with datetime
try 
  apt-get install libdatetime-perl=0.28-1
to use my backport, and say me if it solves your crash.
I will have more time in two days ...

-- 
---------------------------------------------------------------
AGOSTINI Yves             CRI - Université Paul Verlaine - Metz
agostini at univ-metz.fr     http://www.crium.univ-metz.fr
tel: 03 87 31 52 63       fax: 03 87 31 53 33



More information about the jifty-devel mailing list