gtk-gnutella-devel Digest, Vol 27, Issue 4

View: New views
1 Messages — Rating Filter:   Alert me  

gtk-gnutella-devel Digest, Vol 27, Issue 4

by gtk-gnutella-devel-request :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Send gtk-gnutella-devel mailing list submissions to
        gtk-gnutella-devel@...

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel
or, via email, send a message with subject or body 'help' to
        gtk-gnutella-devel-request@...

You can reach the person managing the list at
        gtk-gnutella-devel-owner@...

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gtk-gnutella-devel digest..."


Today's Topics:

   1.  Push proxy checks (Raphael Manfredi)
   2. Re:  Push proxy checks (Larry Nieves)
   3.  feeling bitter about symbolic links & build errata (Matthew Lye)
   4. Re:  [gtk-gnutella-users] Call for translations (Christian Biere)
   5. Re:  [gtk-gnutella-users] Call for translations (Raphael Manfredi)
   6. Re:  feeling bitter about symbolic links & build errata
      (Christian Biere)
   7. Re:  feeling bitter about symbolic links & build errata
      (Matthew Lye)


----------------------------------------------------------------------

Message: 1
Date: Mon, 16 Mar 2009 21:21:18 +0100
From: Raphael Manfredi <Raphael_Manfredi@...>
Subject: [gtk-gnutella-devel] Push proxy checks
To: gtk-gnutella-devel@...
Message-ID: <26848.1237234878@...>

I'm suspecting there is something wrong with the push-proxy handling
in GTKG because I'm not seeing any push-proxy request made locally.
I cannot seem to be able to pinpoint anything wrong however, other
than finding it strange to never get any push-proxy request when I
am the push-proxy of so many leaves.

Can anyone running lastest SVN as an ultra node run this from the
shell:

        echo stats | gtk-gnutella --shell | grep ^push_proxy

and let me know if you see non-zero values in the output?

Thanks,
Raphael



------------------------------

Message: 2
Date: Mon, 16 Mar 2009 22:47:28 +0100
From: Larry Nieves <lanieves@...>
Subject: Re: [gtk-gnutella-devel] Push proxy checks
To: gtk-gnutella-devel@...
Message-ID: <20090316214728.GB4608@...>
Content-Type: text/plain; charset="utf-8"

On Mon, Mar 16, 2009 at 09:21:18PM +0100, Raphael Manfredi wrote:

> I'm suspecting there is something wrong with the push-proxy handling
> in GTKG because I'm not seeing any push-proxy request made locally.
> I cannot seem to be able to pinpoint anything wrong however, other
> than finding it strange to never get any push-proxy request when I
> am the push-proxy of so many leaves.
>
> Can anyone running lastest SVN as an ultra node run this from the
> shell:
>
> echo stats | gtk-gnutella --shell | grep ^push_proxy
>
> and let me know if you see non-zero values in the output?
>


I have one UP running since one hour ago, with 20 Leaves connected to
it, 18 of which are push-proxied by my node. So far all zeros on the
push_proxy counts statistics. Version is r16136 (I think that's
yesterday commit, if I'm not wrong).
--
Larry Alex?nder Nieves Colmen?rez               <lanieves@...>
El Liberal Venezolano            http://liberal-venezolano.net/blog/
GPG Public Key: 0x1525843C                                      
Key Fingerprint = 76D0 2DA1 ADA8 11EF 661B  FEE2 923C 050F 1525 843C
gpg  --keyserver hkp://wwwkeys.eu.pgp.net --recv-keys 0x1525843C
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature

------------------------------

Message: 3
Date: Tue, 17 Mar 2009 22:04:44 -0400
From: Matthew Lye <mlye@...>
Subject: [gtk-gnutella-devel] feeling bitter about symbolic links &
        build errata
To: gtk-gnutella-devel@...
Message-ID: <737BDD9F-5D5C-42FE-9466-3B061E229B93@...>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

Heya,

1)  In ./contrib/bitter, 'config.h' and the contents of the 'src'  
directory are symbolic links to items in a directory that does not  
exist on my computer.

2)  -pipe is not being added to my cc flags the way it should be;  I'm  
not sure why.  This seems to coincide with a 'HOLD IT, the default...'  
verification (breezed through by build.sh) that does not appear if I  
add it myself when running build.sh.

3)  Not all instances of rm in Configure have the directory flag set.  
This is needed to remove "*.dSYM" directories created by compiling/
linking tests.

4)  The linker crashes appear to be an OS X 10.5.6 (possibly only on  
PPC) problem, as they occur even with the pre-r15925 version of  
Configure, which was last edited in September and which I believe I  
would have built GTKG using at some point.  They don't appear to  
affect anything.






------------------------------

Message: 4
Date: Wed, 18 Mar 2009 17:31:08 +0100
From: Christian Biere <christianbiere@...>
Subject: Re: [gtk-gnutella-devel] [gtk-gnutella-users] Call for
        translations
To: gtk-gnutella-devel@...
Message-ID: <20090318163107.GA9740@...>
Content-Type: text/plain; charset=utf-8

Raphael Manfredi wrote:
> Quoting Larry Nieves <lanieves@...> from ml.softs.gtk-gnutella.users:
> :Here you go. I always forget which is the correct order for diff (the
> :new file first, or the old file first), so if this patch is reversed, I
> :apologize. Anyway it's only one line that has to be modified.
>
> Thanks, committed, and all po files were updated.

Was there any point to commit this, if any translator can do exactly
this? The PO files and the POT file are inherently stale and are only
snapshots. Before starting translating or updating the translation
one should always fetch the newest sources and regenerate the POT
file.
 
> Note that source code location is in essence fuzzy: the source code
> changes regularily (this is why there was this --no-location switch
> in the first place).

The comments have been removed because they are always stale and
if I remember correctly not even updated/corrected. So after a
couple of updates you end up with billions of useless source
code references and the diffs become very bloated because these
exact location of comments changes all the time.

--
Christian



------------------------------

Message: 5
Date: Wed, 18 Mar 2009 17:28:49 +0000 (UTC)
From: Raphael_Manfredi@... (Raphael Manfredi)
Subject: Re: [gtk-gnutella-devel] [gtk-gnutella-users] Call for
        translations
To: gtk-gnutella-devel@...
Message-ID: <gprb0h$2k5$1@...>
Content-Type: text/plain; charset="iso-8859-1"

Quoting Christian Biere <christianbiere@...> from ml.softs.gtk-gnutella.devel:
:Was there any point to commit this, if any translator can do exactly
:this? The PO files and the POT file are inherently stale and are only
:snapshots. Before starting translating or updating the translation
:one should always fetch the newest sources and regenerate the POT
:file.

I want to ease the job of translaters as much as possible since the
time before the release is short.

:The comments have been removed because they are always stale and
:if I remember correctly not even updated/corrected. So after a
:couple of updates you end up with billions of useless source
:code references and the diffs become very bloated because these
:exact location of comments changes all the time.

Of course, the plan is to re-instantiate the --no-location switch before
making the release.  And naturally, I do not plan to regenerate a new POT
each time there is a source commit.  The current locations will have to do.
People with a proper build environment can always run:

        make gtk-gnutella.pot-update
        make

to regenerate the proper locations.

Raphael



------------------------------

Message: 6
Date: Wed, 18 Mar 2009 21:41:44 +0100
From: Christian Biere <christianbiere@...>
Subject: Re: [gtk-gnutella-devel] feeling bitter about symbolic links
        & build errata
To: gtk-gnutella-devel@...
Message-ID: <20090318204144.GA13668@...>
Content-Type: text/plain; charset=utf-8

Matthew Lye wrote:

> Heya,
>
> 1)  In ./contrib/bitter, 'config.h' and the contents of the 'src'  
> directory are symbolic links to items in a directory that does not  
> exist on my computer.
>
> 2)  -pipe is not being added to my cc flags the way it should be;  I'm  
> not sure why.  This seems to coincide with a 'HOLD IT, the default...'  
> verification (breezed through by build.sh) that does not appear if I  
> add it myself when running build.sh.

These two issues should be corrected now.
 
> 3)  Not all instances of rm in Configure have the directory flag set.  
> This is needed to remove "*.dSYM" directories created by compiling/
> linking tests.

This should be fixed, too. If you still notice any remaining garbage,
let me know.

> 4)  The linker crashes appear to be an OS X 10.5.6 (possibly only on  
> PPC) problem, as they occur even with the pre-r15925 version of  
> Configure, which was last edited in September and which I believe I  
> would have built GTKG using at some point.  They don't appear to  
> affect anything.

Could you pin-point at what part of Configure the crashes occur?

--
Christian



------------------------------

Message: 7
Date: Thu, 19 Mar 2009 01:04:27 -0400
From: Matthew Lye <mlye@...>
Subject: Re: [gtk-gnutella-devel] feeling bitter about symbolic links
        & build errata
To: gtk-gnutella-devel@...
Message-ID: <4A7CACD2-9020-4498-BF80-D33598C9A244@...>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
        delsp=yes


On 18-Mar-09, at 4:41 PM, Christian Biere wrote:

>
> Could you pin-point at what part of Configure the crashes occur?

Basically what's been happening is that I've been being notified in  
the GUI that crash reports have been logged (so I can send the to  
Apple if needed).  Either the logging system or more likely the  
notification system is a lot sluggy ? it doesn't use the regular  
windows manager or some such technical excuse above my comprehension  
level ? so I only get as many notices as the general system load allows.

I noticed that feeding garbage into the ld command line provokes a  
response thusly:

> ld ijfijojofi fsfkop  
> sfofopko
>                                                                                                               [23
> :57:45]
> terminate called after throwing an instance of 'char const*'
> terminate called recursively
> zsh: abort      ld ijfijojofi fsfkop sfofopko

Additionally, it will provoke an error message in the GUI, just as the  
failures in Configure did.  So, I  figure this is the sort of error  
that's causing the trouble.  Abort trap errors can be seen to occur  
several times, with $trylink edited so that it doesn't dump stderr to /
dev/null.

I need to get to bed, so here's a cut & paste of Configure running  
with cc errors intact.  The problem areas will with luck make instant  
and total sense to you.

#    #    #   #    #

~/prj/gtk-
gnutella
 >
buildgtk
                                                                                                                                                [0
:55:30]
First let's make sure your kit is complete.  Checking...
Locating common programs...
Checking compatibility between /bin/echo and builtin echo (if any)...
Symbolic links are supported.
Checking how to test for symbolic links...
You can test for symbolic links with 'test -h'.
Good, your tr supports [:lower:] and [:upper:] to convert case.
Using [:upper:] and [:lower:] to convert case.
Operating system name? [darwin]
Operating system version? [9.6.0]
Enable remote control service [n]
Run without any GUI interface [n]
Use which GTK toolkit (1 or 2) [1]
Do you expect to run these scripts and binaries on multiple machines?  
[n]
Installation prefix to use? (~name ok) [/usr/local]
AFS does not seem to be running...
Pathname where the public executables will reside? (~name ok)
[/usr/local/bin]
System manual is in /usr/local/man.
Where do the manual pages (source) go? (~name ok)
[/usr/local/share/man/man1]
Pathname where the private library files will reside? (~name ok)
[/usr/local/share/gtk-gnutella]
Use which C compiler? [cc]
Checking for GNU cc in disguise and/or its version number...
Now, how can we feed standard input to your C preprocessor...
Directories to use for library searches? [/usr/lib /usr/local/lib]
What optimizer/debugger flag should be used? [-O2 -g]
Any additional cc flags?
[-W -Wall -Wformat=2 -Wshadow -mcpu=7450 -O2 -ggdb3 -Wno-shadow -pipe]
Let me guess what the preprocessor flags are...
Any additional ld flags (NOT including libraries)? [none]
Checking your choice of C compiler and flags for coherency...
Computing filename position in cpp output for #include directives...
<libintl.h> found.
You have NLS support.
Shall I enable NLS [n]
<unistd.h> found.
<sys/file.h> defines the *_OK access constants.
<stdlib.h> found.
Checking whether your compiler can handle __attribute__ ...
try.c: In function ?main?:
try.c:14: warning: implicit declaration of function ?closefrom?
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_closefrom", referenced from:
       _main in cc3gEU9T.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
Checking to see if your C compiler knows about "const"...
Checking how we can gather information about dbus...
You've don't seem to have dbus installed?
try.c:2:21: error: stropts.h: No such file or directory
try.c:3:25: error: sys/devpoll.h: No such file or directory
try.c: In function ?main?:
try.c:7: error: storage size of ?dvp? isn?t known
try.c:16: error: ?POLLREMOVE? undeclared (first use in this function)
try.c:16: error: (Each undeclared identifier is reported only once
try.c:16: error: for each function it appears in.)
try.c:21: warning: implicit declaration of function ?ioctl?
try.c:21: error: ?DP_POLL? undeclared (first use in this function)
try.c:7: warning: unused variable ?dvp?
<dirent.h> found.
try.c:2:23: error: sys/epoll.h: No such file or directory
try.c: In function ?main?:
try.c:5: error: storage size of ?ev? isn?t known
try.c:7: warning: implicit declaration of function ?epoll_create?
try.c:8: error: ?EPOLLOUT? undeclared (first use in this function)
try.c:8: error: (Each undeclared identifier is reported only once
try.c:8: error: for each function it appears in.)
try.c:9: error: ?EPOLLPRI? undeclared (first use in this function)
try.c:10: error: ?EPOLLERR? undeclared (first use in this function)
try.c:11: error: ?EPOLLHUP? undeclared (first use in this function)
try.c:12: error: ?EPOLLET? undeclared (first use in this function)
try.c:17: warning: implicit declaration of function ?epoll_ctl?
try.c:17: error: ?EPOLL_CTL_ADD? undeclared (first use in this function)
try.c:18: error: ?EPOLL_CTL_MOD? undeclared (first use in this function)
try.c:19: error: ?EPOLL_CTL_DEL? undeclared (first use in this function)
try.c:20: warning: implicit declaration of function ?epoll_wait?
try.c:5: warning: unused variable ?ev?
Shall I enable "fast assertions" [y]
<arpa/inet.h> found.
<netdb.h> found.
Checking whether getaddrinfo() can be used ...
Checking whether geteuid() is available ...
<net/if.h> found.
Checking whether getifaddrs() is available ...
try.c:1:20: error: invent.h: No such file or directory
try.c: In function ?main?:
try.c:4: error: nested functions are disabled, use -fnested-functions  
to re-enable
try.c:4: error: syntax error before ?*? token
try.c:5: error: ?ret? undeclared (first use in this function)
try.c:5: error: (Each undeclared identifier is reported only once
try.c:5: error: for each function it appears in.)
try.c:5: warning: implicit declaration of function ?getinvent?
What is the file extension used for shared libraries? [dylib]
Checking for optional libraries...
Which libraries to use? [-lz -lresolv -liconv -lm -lintl]
Checking for GNU C Library...
Shall I use nm to extract C symbols from the libraries? [n]
getdtablesize() found.
Checking whether getuid() is available ...
Checking how we can gather information about GNU TLS...
Enable GNU TLS support [y]
<netinet/in.h> found.
<netinet/ip.h> found.
Checking for IP TOS (Type of Service) support...
Checking whether IPv6 can be used ...
Checking whether the member "udata" of "struct kevent" is an integer ...
try.c: In function ?main?:
try.c:7: error: invalid operands to binary |
Checking whether kqueue() is available ...
Checking how we can gather information about libxml2...
<libcharset.h> found.
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_locale_charset", referenced from:
       _main in ccDRJLA9.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
<sys/stat.h> found.
<sys/mman.h> found.
try.c: In function ?main?:
try.c:9: warning: implicit declaration of function ?memalign?
try.c:9: warning: assignment makes pointer from integer without a cast
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_memalign", referenced from:
       _main in ccr3S5te.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
Checking whether "struct msghdr" has a member "msg_flags"...
<sys/file.h> defines the O_* constants...
and you have the 3 argument form of open().
<poll.h> found.
<sys/poll.h> found.
Checking whether posix_fadvise() is available ...
try.c: In function ?main?:
try.c:10: error: ?POSIX_FADV_NORMAL? undeclared (first use in this  
function)
try.c:10: error: (Each undeclared identifier is reported only once
try.c:10: error: for each function it appears in.)
try.c:11: error: ?POSIX_FADV_RANDOM? undeclared (first use in this  
function)
try.c:12: error: ?POSIX_FADV_SEQUENTIAL? undeclared (first use in this  
function)
try.c:13: error: ?POSIX_FADV_WILLNEED? undeclared (first use in this  
function)
try.c:14: error: ?POSIX_FADV_DONTNEED? undeclared (first use in this  
function)
try.c:14: error: ?POSIX_FADV_NOREUSE? undeclared (first use in this  
function)
try.c:16: warning: implicit declaration of function ?posix_fadvise?
Checking whether posix_memalign() is available ...
try.c: In function ?main?:
try.c:10: warning: implicit declaration of function ?posix_memalign?
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_posix_memalign", referenced from:
       _main in ccJDACbl.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
try.c: In function ?main?:
try.c:13: warning: implicit declaration of function ?preadv?
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_preadv", referenced from:
       _main in ccEYHm76.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
try.c: In function ?main?:
try.c:13: warning: implicit declaration of function ?pwritev?
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_pwritev", referenced from:
       _main in ccoZ6KMG.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
<sys/resource.h> found.
Checking whether SA_INTERRUPT is available in <signal.h>...
try.c: In function ?main?:
try.c:5: error: ?SA_INTERRUPT? undeclared (first use in this function)
try.c:5: error: (Each undeclared identifier is reported only once
try.c:5: error: for each function it appears in.)
try.c:2:26: error: sys/sendfile.h: No such file or directory
try.c: In function ?main?:
try.c:9: warning: implicit declaration of function ?sendfile?
try.c:2:26: error: sys/sendfile.h: No such file or directory
try.c: In function ?main?:
try.c:9: warning: implicit declaration of function ?sendfile?
try.c: In function ?main?:
try.c:12: warning: implicit declaration of function ?setproctitle?
collect2: ld terminated with signal 6 [Abort trap]
Undefined symbols:
   "_setproctitle", referenced from:
       _main in ccXmJplw.o
terminate called after throwing an instance of 'char const*'
terminate called recursively
POSIX sigsetjmp found.
Checking whether getaddrinfo() can be used ...
<sys/mount.h> found.
<sys/param.h> found.
<sys/vfs.h> NOT found.
<sys/times.h> found.
times() found.
What type is returned by times() on this system? [clock_t]
Figuring out host name...
Your host name appears to be "theimac.local". Right? [y]
uname() found.
Checking to see if your C compiler knows about "volatile"...
try.c: In function ?func?:
try.c:10: warning: ?ap? is used uninitialized in this function
Checking whether we need flags for large file support...
Checking alignment constraints...
Doubles must be aligned on a how-many-byte boundary? [4]
Checking to see how your cpp does stuff like catenate tokens...
You have void (*signal())() instead of int.
Figuring out the flag used by open() for non-blocking I/O...
Let's see what value errno gets from read() on a O_NONBLOCK file...
Compiling for GTK 1: we'll use 'glade'.
Checking how we can gather information about GLib...
Checking how we can gather information about GTK+...
Figuring out my version number...
Looking for a BSD-compatible install program...
Which install program shall I use? (~name ok) [/usr/bin/install]
Ok, let's see how we can create nested directories...
Which memory models are supported? [none]
Checking if your /usr/bin/make program sets $(MAKE)...
Checking how to generate makefile dependencies on your machine...
Name of program to make makefile dependencies? (~name ok)
[/Users/mlye/prj/gtk-gnutella/mkdep]
Let's see whether your /usr/local/bin/msgmerge supports the --update  
flag...
Checking out function prototypes...
Checking how to generate random libraries on your machine...
Checking to see how well your C compiler groks the void type...
Which compiler compiler (yacc or bison -y) shall I use? [yacc]
Any additional yacc flags? [none]
<sys/file.h> found.
We'll be including <sys/file.h>.
<fcntl.h> found.
We don't need to include <fcntl.h> if we include <sys/file.h>.
<ifaddrs.h> found.
<inttypes.h> found.
<invent.h> NOT found.
<langinfo.h> found.
<math.h> found.
<pwd.h> found.
<regex.h> found.
<stdarg.h> found.
<varargs.h> found.
We'll include <stdarg.h> to get va_dcl definition.
Using <string.h> instead of <strings.h>.
<sys/sendfile.h> NOT found.
<sys/socket.h> found.
<sys/statvfs.h> found.
<sys/sysctl.h> found.
Testing to see if we should include <time.h>, <sys/time.h> or both.
We'll include <sys/time.h>.
<sys/types.h> found.
<sys/un.h> found.
<sys/utsname.h> found.
<iconv.h> found.
<zlib.h> found.
Checking whether -mieee should be used...
cc1: error: invalid option ?ieee?
Checking whether -pipe should be used...

Feature Summary (Version 0.96.6u):
-------------------------------------------------
GLib version                       : glib-1.x
GUI front-end                      : GTK1
GNU TLS support                    : yes
IPv6 support                       : yes
NLS (Native Language Support)      : no
Fast assertions                    : yes
DBus support (experimental)        : no
Remote Shell Interface (deprecated): no
-------------------------------------------------
Creating config.sh...
Doing variable substitutions on .SH files...
Extracting Makefile (with variable substitutions)
Extracting config.h (with variable substitutions)
Extracting extra_files/Makefile (with variable substitutions)
Extracting extra_files/el/Makefile (with variable substitutions)
Extracting extra_files/en/Makefile (with variable substitutions)
Extracting extra_files/ja/Makefile (with variable substitutions)
Extracting gtk-gnutella.spec (with variable substitutions)
Extracting install (with variable substitutions)
Extracting pixmaps/Makefile (with variable substitutions)
Extracting po/Makefile (with variable substitutions)
Extracting src/Makefile (with variable substitutions)
Extracting src/core/Makefile (with variable substitutions)
Extracting src/dht/Makefile (with variable substitutions)
Extracting src/if/Makefile (with variable substitutions)
Extracting src/if/bridge/Makefile (with variable substitutions)
Extracting src/lib/Makefile (with variable substitutions)
Extracting src/sdbm/Makefile (with variable substitutions)
Extracting src/shell/Makefile (with variable substitutions)
Extracting src/ui/Makefile (with variable substitutions)
Extracting src/ui/gtk/Makefile (with variable substitutions)
Extracting src/ui/gtk/gtk1/Makefile (with variable substitutions)
Extracting src/ui/gtk/gtk2/Makefile (with variable substitutions)
Run /usr/bin/make depend now? [y]





------------------------------

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com

------------------------------

_______________________________________________
gtk-gnutella-devel mailing list
gtk-gnutella-devel@...
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel


End of gtk-gnutella-devel Digest, Vol 27, Issue 4
*************************************************