Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 53046

Summary: Request for update: net-p2p/sancho-0.9.4.4
Product: Gentoo Linux Reporter: José Romildo Malaquias <jrmalaq>
Component: Current packagesAssignee: Gentoo net-p2p team <net-p2p>
Status: RESOLVED FIXED    
Severity: enhancement CC: bjs100
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: sancho-bin-0.9.4.4.ebuild

Description José Romildo Malaquias 2004-06-05 04:52:37 UTC
A new version of sancho has been released and, according to comment http://bugs.gentoo.org/show_bug.cgi?id=45890#c19 in bug #45890, the oldest sources are not available anymore.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 José Romildo Malaquias 2004-06-05 04:58:07 UTC
Created attachment 32698 [details]
sancho-bin-0.9.4.4.ebuild

A better ebuild for sancho-bin. In this ebuild, minor versions in the version
number of the package (the string "sancho-bin-0.9.4.4" has to be translated to
"sancho-0.9.4-4", for instance) is treated in a general way, instead of hard
coded in the ebuild.
Comment 2 Ben Smith 2004-06-05 05:38:00 UTC
The new ebuild works fine now...

1. save the ebuild to /usr/portage/net-p2p/sancho-bin/sancho-bin-0.9.4.4.ebuild

2. $ ebuild sancho-bin-0.9.4.4.ebuild digest

3. $ ACCEPT_KEYWORDS="~x86" emerge sancho-bin

However, I have problems when running the program - it seems to occur on the final stage of the splash screen whilst loading; "creating tab: WebBrowser" and then crashes:

$ sancho
./sancho-bin: relocation error: /usr/lib/mozilla/components/libnecko.so: undefined symbol: _Z16NS_NewThreadPoolPP13nsIThreadPooljjj16PRThreadPriority13PRThreadScope

Any ideas, I have Mozilla Firefix 0.8-r3
Comment 3 José Romildo Malaquias 2004-06-05 06:05:17 UTC
It works for me.
Comment 4 Ben Smith 2004-06-05 06:11:17 UTC
Similar problem to mine: 
http://sourceforge.net/tracker/index.php?func=detail&aid=885078&group_id=98050&atid=619889

The workaround to disable to web browser "sancho -b" doesn't seem to work for me (maybe that is a Windows only command).

Edit: I can get it to work via the following...

$ cd /opt/sancho

$ ./sancho-bin -b

Which disables the web browser and it's all good. Now I need some help to modify the "sancho" shell script to add this "-b" switch.

#!/bin/sh

cd $(dirname $0)
./sancho-bin "$@"

I assume that should be ./sancho-bin -b "$@" but no joy :-(
Comment 5 Ben Smith 2004-06-05 06:41:02 UTC
Oops, adding the -b switch to the correct script, /opt/bin/sancho actually produces the desired effect!
Comment 6 Jon Hood (RETIRED) gentoo-dev 2004-06-15 18:34:35 UTC
update now in portage (0.9.4.5); thanks :)