[Xastir] Xastir corrupts lxpanel

Jason KG4WSV kg4wsv at gmail.com
Tue Oct 31 14:14:30 PDT 2017


OK,  bad news, good news, weird news.  I did an apt-get update and
apt-get upgrade on a system that exhibited the bug.

In reverse order, bad news:

seems there is a bug in linux tools, apparently in automake. see
https://bugzilla.redhat.com/show_bug.cgi?id=1155273

after the apt-get dance and a reboot, I did a make clean; make

pi at raspberrypi:~/src/Xastir $ make
make  all-recursive
make[1]: Entering directory '/home/pi/src/Xastir'
Making all in src
make[2]: Entering directory '/home/pi/src/Xastir/src'
Making all in rtree
make[3]: Entering directory '/home/pi/src/Xastir/src/rtree'
rm -f librtree.a
ar cru librtree.a index.o rect.o node.o card.o split_l.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib librtree.a
Makefile:351: recipe for target 'librtree.a' failed
make[3]: *** [librtree.a] Segmentation fault


so, ar is blowing up.  googling found the conversation I linked above.

to work around it, I built lib tree.a myself using the hints in the
error message reported above:

pi at raspberrypi:~/src/Xastir $ cd src/rtree/
pi at raspberrypi:~/src/Xastir/src/rtree $ ar cru librtree.a index.o
rect.o node.o card.o split_l.o
ar: `u' modifier ignored since `D' is the default (see `U')
pi at raspberrypi:~/src/Xastir/src/rtree $ ar crUu librtree.a index.o
rect.o node.o card.o split_l.o
pi at raspberrypi:~/src/Xastir/src/rtree $ cd ../..
pi at raspberrypi:~/src/Xastir $ make


and the make completed successfully.


good news: lxpanel isn't crashing for me.

weird news: I actually did the apt-get upgrade twice.  the first time
I did it, i ended up with an ar binary that wouldn't run.  ar gave me
"illegal instruction", like it's a bad executable. ???  i did
update/upgrade again, got a few more packages, and ar started behaving
(or misbehaving, depending on who you blame for the above scenario).


-Jason
kg4wsv


More information about the Xastir mailing list