Re: webkit-1.8.0-2: Patches for review

2012-04-19 Thread Svante Signell
On Wed, 2012-04-18 at 10:27 +0200, Svante Signell wrote:

> > Your patch would make use of /proc/curproc/file, which would seem to be 
> > part of the FreeBSD procfs[1]; our procfs is more oriented to emulate 
> > Linux's one, so IMHO we should either use the Linux code, or add an 
> > empty getCurrentExecutablePath() like this:
> > 
> > | #elif OS(HURD)
> > | CString getCurrentExecutablePath()
> > | { return CString(); }
> 
> Looks like neither /proc/curproc/file or /proc/self/exe exists for
> GNU/Hurd (any plans to add that??), so an empty function would be best.
> Agreed? If so I'll update the patch (and we don't have to care about the
> PATH_MAX stuff).

Is it OK to update the patch as Pino proposed?

FYI: webkit-1.8.0-2 built successfully with the updated path, not the
one proposed above. With the -gstabs option, the non-stripped libraries
reduce from >1.1G to <0.5G. However, the build still takes days...


-- 
To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1334832291.11190.12.ca...@hp.my.own.domain



warning: apt-get segfaults on packages from -ports!

2012-04-19 Thread Svante Signell

apt 0.9.1 segfaults, therefore no packages from -ports are found
And my computer has to be rebooted (or at least X restarted...)


-- 
To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1334870324.11190.40.ca...@hp.my.own.domain



Re: warning: apt-get segfaults on packages from -ports!

2012-04-19 Thread Svante Signell
On Thu, 2012-04-19 at 23:18 +0200, Svante Signell wrote:
> apt 0.9.1 segfaults, therefore no packages from -ports are found
> And my computer has to be rebooted (or at least X restarted...)

Looks like the problem is not the repo but the port. GNU/Linux is OK,
GNU/Hurd not, GMU/kFreeBSD??


-- 
To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1334872064.27522.8.ca...@hp.my.own.domain



Re: warning: apt-get segfaults on packages from -ports!

2012-04-19 Thread Svante Signell
On Thu, 2012-04-19 at 23:18 +0200, Svante Signell wrote:
> apt 0.9.1 segfaults, therefore no packages from -ports are found
> And my computer has to be rebooted (or at least X restarted...)

Looks like it's not the repo, but the port, GNU/Linux is OK, GNU/Hurd is
not, GNU/kFreeBSD??


-- 
To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1334871901.27522.6.ca...@hp.my.own.domain



Re: warning: apt-get segfaults on packages from -ports!

2012-04-19 Thread Samuel Thibault
Svante Signell, le Thu 19 Apr 2012 23:18:44 +0200, a écrit :
> apt 0.9.1 segfaults, therefore no packages from -ports are found
> And my computer has to be rebooted (or at least X restarted...)

I don't have that issue on my box or on the buildds.  Did you add the
archive keyring as suggested on debian-devel?

Samuel


-- 
To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120419230755.go4...@type.famille.thibault.fr



Re: webkit-1.8.0-2: Patches for review

2012-04-19 Thread Guillem Jover
On Wed, 2012-04-18 at 09:54:55 +0200, Pino Toscano wrote:
> Now that I saw webkit's code, I'm a bit dubious about the code in 
> Source/JavaScriptCore/wtf/gobject/GlibUtilities.cpp; it basically does
> something like this (simplified for convenience of email):
> 
> | #if OS(LINUX)
> | CString getCurrentExecutablePath()
> | { /* read path from /proc/self/exe */ }
> | #elif OS(UNIX)
> | CString getCurrentExecutablePath()
> | { /* read path from /proc/curproc/file */ }
> | #elif OS(WINDOWS)
> | CString getCurrentExecutablePath()
> | { /* read path using Windows API */ }
> | #endif
> 
> Your patch would make use of /proc/curproc/file, which would seem to be 
> part of the FreeBSD procfs[1]; our procfs is more oriented to emulate 
> Linux's one, so IMHO we should either use the Linux code, or add an 
> empty getCurrentExecutablePath() like this:

As Svante has pointed out later on, GNU/Hurd does not have
/proc/self/exe nor even /proc//exe support, but similar information
can be retrieved with from libps, see start-stop-daemon for
inspiration:

  


thanks,
guillem


-- 
To UNSUBSCRIBE, email to debian-hurd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120420014240.ga28...@gaara.hadrons.org