[Xastir] xastir gentoo ebuild without OSM?

Piotr Gluszenia Slawinski curious at bwv190.internetdsl.tpnet.pl
Sun Apr 1 21:45:24 EDT 2012


On Mon, 2 Apr 2012, Piotr Gluszenia Slawinski wrote:

> On Mon, 2 Apr 2012, Piotr Gluszenia Slawinski wrote:
>
>>  hello. i've noticed xastir gentoo ebuild lacks OSM support.
>>
>>  it's media-radio/xastir-2.0.0-r2
>
> sorry. it works fine, needed just 'reindex all maps'
>

and bad news is it still has some problems.
it downloads map just fine (purged map cache dir and then checked - map 
tile appears there) but it hangs forever at "Loading..." message and
requires to be kill by sig -9.

here is strace:

getpid()                                = 5615
stat64("/home/curious/.xastir/map_cache/map_cache.db", 
{st_mode=S_IFREG|0644, st_size=8192, ...}) = 0
open("/home/curious/.xastir/map_cache/map_cache.db", O_RDWR|O_LARGEFILE) = 
10
fcntl64(10, F_GETFD)                    = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
read(10, 
"\0\0\0\0\1\0\0\0\0\0\0\0b1\5\0\t\0\0\0\0\20\0\0\0\t\0\0\0\0\0\0"..., 512) 
= 512
close(10)                               = 0
open("DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or 
directory)
stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
time([1333331515])                      = 1333331515
clock_gettime(CLOCK_REALTIME, {1333331515, 584923635}) = 0
clock_gettime(CLOCK_REALTIME, {1333331515, 585147377}) = 0
open("/home/curious/.xastir/map_cache/map_cache.db", 
O_RDWR|O_CREAT|O_LARGEFILE, 0) = 10
fcntl64(10, F_GETFD)                    = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
fstat64(10, {st_mode=S_IFREG|0644, st_size=8192, ...}) = 0
_llseek(10, 0, [0], SEEK_CUR)           = 0
_llseek(10, 0, [0], SEEK_SET)           = 0
read(10, 
"\0\0\0\0\1\0\0\0\0\0\0\0b1\5\0\t\0\0\0\0\20\0\0\0\t\0\0\0\0\0\0"..., 
4096) = 4096
_llseek(10, 0, [0], SEEK_SET)           = 0
_llseek(10, 0, [0], SEEK_CUR)           = 0
_llseek(10, 4096, [4096], SEEK_SET)     = 0
read(10, 
"\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\6\0\360\r\1\5\354\17h\17(\16"..., 
4096) = 4096
_llseek(10, 0, [0], SEEK_SET)           = 0
stat("/home/curious/.xastir/map_cache/map_1333331510.png", 
{st_mode=S_IFREG|0666, st_size=776724, ...}) = 0
unlink("/home/curious/.xastir/map_cache/map_1333331510.png") = 0
_llseek(10, 0, [0], SEEK_CUR)           = 0
_llseek(10, 4096, [4096], SEEK_SET)     = 0
write(10, 
"\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\4\0\254\16\1\5\354\17h\17\344\16"..., 
4096) = 4096
_llseek(10, 0, [0], SEEK_SET)           = 0
fdatasync(10)                           = 0
close(10)                               = 0
open("/home/curious/.xastir/map_cache/map_cache.db", O_RDWR|O_LARGEFILE) = 
10
fcntl64(10, F_GETFD)                    = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
fdatasync(10)                           = 0
close(10)                               = 0
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, 
revents=POLLIN|POLLOUT}])
read(3, 
"\6\0{\270\325\357\312}\203\0\0\0\203\0\240\2\0\0\0\0h\0003\0h\0\22\0\0\0\1\0"..., 
4096) = 128
writev(3, 
[{";\0\5\0Y\0\240\2\0\0\0\0\10\0\10\0\367\0\r\0F\0\5\0~\0\240\2Y\0\240\2"..., 
536}, {NULL, 0}, {"", 0}], 3) = 536
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
read(3, 
"\6\0{\270\f\360\312}\203\0\0\0\203\0\240\2\0\0\0\0\207\0&\0\207\0\5\0\0\0\1\0"..., 
4096) = 64
read(3, 0x830a61c, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x830a61c, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x830a61c, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x830a61c, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=3, events=POLLIN}], 1, 0)     = 0 (Timeout)
read(3, 0x830a61c, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x830a61c, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x830a61c, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=3, events=POLLIN}], 1, 0)     = 0 (Timeout)
open("/usr/share/xastir/maps/Online/OSM_cloudmade_2.geo", O_RDONLY) = 10
ioctl(10, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfaf2690) = -1 ENOTTY 
(Inappropriate ioctl for device)
read(10, "#\n# $Id: OSM_template,v 1.3 2010"..., 4096) = 1546
read(10, "", 4096)                      = 0
close(10)                               = 0
time([1333331515])                      = 1333331515
poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, 
revents=POLLOUT}])
writev(3, 
[{";\0\5\0Y\0\240\2\0\0\0\0\10\0\10\0\367\0\r\0F\0\5\0~\0\240\2Y\0\240\2"..., 
196}, {NULL, 0}, {"", 0}], 3) = 196
poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
read(3, 
"\1\1\235\270\0\0\0\0l\0\240\2\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0", 
4096) = 32
read(3, 0x830a61c, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x830a61c, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x830a61c, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x830a61c, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x830a61c, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
read(3, 0x830a61c, 4096)                = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=3, events=POLLIN}], 1, 0)     = 0 (Timeout)
getpid()                                = 5615
stat64("/home/curious/.xastir/map_cache/map_cache.db", 
{st_mode=S_IFREG|0644, st_size=8192, ...}) = 0
open("/home/curious/.xastir/map_cache/map_cache.db", O_RDWR|O_LARGEFILE) = 
10
fcntl64(10, F_GETFD)                    = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
read(10, 
"\0\0\0\0\1\0\0\0\0\0\0\0b1\5\0\t\0\0\0\0\20\0\0\0\t\0\0\0\0\0\0"..., 512) 
= 512
close(10)                               = 0
open("DB_CONFIG", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or 
directory)
stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
time([1333331515])                      = 1333331515
clock_gettime(CLOCK_REALTIME, {1333331515, 611865208}) = 0
clock_gettime(CLOCK_REALTIME, {1333331515, 612089918}) = 0
open("/home/curious/.xastir/map_cache/map_cache.db", 
O_RDWR|O_CREAT|O_LARGEFILE, 0) = 10
fcntl64(10, F_GETFD)                    = 0
fcntl64(10, F_SETFD, FD_CLOEXEC)        = 0
fstat64(10, {st_mode=S_IFREG|0644, st_size=8192, ...}) = 0
_llseek(10, 0, [0], SEEK_CUR)           = 0
_llseek(10, 0, [0], SEEK_SET)           = 0
read(10, 
"\0\0\0\0\1\0\0\0\0\0\0\0b1\5\0\t\0\0\0\0\20\0\0\0\t\0\0\0\0\0\0"..., 
4096) = 4096
_llseek(10, 0, [0], SEEK_SET)           = 0
time([1333331515])                      = 1333331515
_llseek(10, 0, [0], SEEK_CUR)           = 0
_llseek(10, 4096, [4096], SEEK_SET)     = 0
read(10, 
"\0\0\0\0\1\0\0\0\1\0\0\0\0\0\0\0\0\0\0\0\4\0\254\16\1\5\354\17h\17\344\16"..., 
4096) = 4096
_llseek(10, 0, [0], SEEK_SET)           = 0
time([1333331515])                      = 1333331515
stat("/home/curious/.xastir/map_cache/map_1333331353.png", 
{st_mode=S_IFREG|0666, st_size=789179, ...}) = 0
close(10)                               = 0
time([1333331515])                      = 1333331515
chmod("/home/curious/.xastir/map_cache/map_1333331353.png", 0666) = 0
open("/home/curious/.xastir/map_cache/map_1333331353.png", O_RDONLY) = 10
ioctl(10, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfaeeb10) = -1 ENOTTY 
(Inappropriate ioctl for device)
close(10)                               = 0
times({tms_utime=100, tms_stime=71, tms_cutime=0, tms_cstime=0}) = 
-1077964073
times({tms_utime=100, tms_stime=71, tms_cutime=0, tms_cstime=0}) = 
-1077964073
time(NULL)                              = 1333331515
time(NULL)                              = 1333331515
stat64("/home/curious/.xastir/map_cache/map_1333331353.png", 
{st_mode=S_IFREG|0666, st_size=789179, ...}) = 0
open("/home/curious/.xastir/map_cache/map_1333331353.png", 
O_RDONLY|O_LARGEFILE) = 10
ioctl(10, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfadf950) = -1 ENOTTY 
(Inappropriate ioctl for device)
read(10, "\211PN", 3)                   = 3
_llseek(10, 0, [0], SEEK_SET)           = 0
fstat64(10, {st_mode=S_IFREG|0666, st_size=789179, ...}) = 0
read(10, 
"\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\3\373\0\0\2\206\10\2\0\0\0\232\321\34"..., 
8192) = 8192
fstat64(10, {st_mode=S_IFREG|0666, st_size=789179, ...}) = 0
close(10)                               = 0
times({tms_utime=100, tms_stime=71, tms_cutime=0, tms_cstime=0}) = 
-1077964073
times({tms_utime=100, tms_stime=71, tms_cutime=0, tms_cstime=0}) = 
-1077964073
time(NULL)                              = 1333331515
time(NULL)                              = 1333331515
stat64("/home/curious/.xastir/map_cache/map_1333331353.png", 
{st_mode=S_IFREG|0666, st_size=789179, ...}) = 0
open("/home/curious/.xastir/map_cache/map_1333331353.png", 
O_RDONLY|O_LARGEFILE) = 10
ioctl(10, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfae5950) = -1 ENOTTY 
(Inappropriate ioctl for device)
read(10, "\211PN", 3)                   = 3
_llseek(10, 0, [0], SEEK_SET)           = 0
fstat64(10, {st_mode=S_IFREG|0666, st_size=789179, ...}) = 0
read(10, "\211PNG\r\n\32\n", 8)         = 8
rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0
rt_sigsuspend([]


(and sits here forever)

greetings

-- 



More information about the Xastir mailing list