Bug#652084: gosmore use 100% CPU and does nothing

Bart Martens bartm at debian.org
Sat Sep 15 15:51:32 UTC 2012


tags 652084 - patch
stop

The package at mentors uploaded there on 2012-09-14 15:53 does not seem to be a
solution.  I tried building this package on amd64 and the build entered a loop
using 100% cpu.  Output of "debuild -us -uc" attached.
-------------- next part --------------
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: source package gosmore
dpkg-buildpackage: source version 0.0.0.20100711-2.1
dpkg-buildpackage: source changed by Kai L?ke <kailueke at riseup.net>
 dpkg-source --before-build gosmore-0.0.0.20100711
dpkg-buildpackage: host architecture amd64
dpkg-source: info: applying curl_types.h
dpkg-source: info: applying no-strict-overflow.diff
 fakeroot debian/rules clean
test -x debian/rules
dh_testroot
rm -f debian/stamp-makefile-build debian/stamp-makefile-install
/usr/bin/make  -C .  -k distclean
make[1]: Entering directory `/home/bartm/src/sponsoring/gosmore/gosmore-0.0.0.20100711'
make[1]: *** No rule to make target `distclean'.
make[1]: Leaving directory `/home/bartm/src/sponsoring/gosmore/gosmore-0.0.0.20100711'
make: [makefile-clean] Error 2 (ignored)
rm -f debian/stamp-autotools
rmdir --ignore-fail-on-non-empty .
rmdir: failed to remove `.': Invalid argument
make: [makefile-clean] Error 1 (ignored)
rm -f debian/stamp-autotools-files
dh_clean 
 dpkg-source -b gosmore-0.0.0.20100711
dpkg-source: info: using source format `3.0 (quilt)'
dpkg-source: info: building gosmore using existing ./gosmore_0.0.0.20100711.orig.tar.gz
dpkg-source: info: building gosmore in gosmore_0.0.0.20100711-2.1.debian.tar.gz
dpkg-source: info: building gosmore in gosmore_0.0.0.20100711-2.1.dsc
 debian/rules build
test -x debian/rules
mkdir -p "."
touch debian/stamp-autotools-files
chmod a+x /home/bartm/src/sponsoring/gosmore/gosmore-0.0.0.20100711/./configure
mkdir -p .
cd . &&   CFLAGS="-DRES_DIR='\"/usr/share/gosmore/\"'" CXXFLAGS="-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall" CPPFLAGS="-D_FORTIFY_SOURCE=2" LDFLAGS="-Wl,-z,relro" /home/bartm/src/sponsoring/gosmore/gosmore-0.0.0.20100711/./configure --build=x86_64-linux-gnu  --prefix=/usr --includedir="\${prefix}/include" --mandir="\${prefix}/share/man" --infodir="\${prefix}/share/info" --sysconfdir=/etc --localstatedir=/var --libexecdir="\${prefix}/lib/gosmore" --srcdir=. --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules    
configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking, --disable-silent-rules
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
configure: creating ./config.status
config.status: creating Makefile
configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-dependency-tracking, --disable-silent-rules
touch debian/stamp-autotools
/usr/bin/make  -C .  
make[1]: Entering directory `/home/bartm/src/sponsoring/gosmore/gosmore-0.0.0.20100711'
gcc -lm density.c -o density
./density <density.txt >density.sh
g++ -DCHILDREN=16 -O2 -DRES_DIR=\"/usr/share/gosmore/\" -fno-strict-overflow -W -Wall `pkg-config --cflags libxml-2.0 || echo -I /usr/include/libxml2` `pkg-config --libs libxml-2.0 || echo -l xml2 -lm` \
                  gosmore.cpp libgosm.cpp -o gosmore `pkg-config --cflags --libs gtk+-2.0 || echo -D HEADLESS` `pkg-config --libs libcurl` `[ -e /usr/include/gps.h ] && echo -DUSE_GPSD -lgps ` `pkg-config --libs pkg-config --libs gthread-2.0`
gosmore.cpp: In function 'void* UpdateMapThread(void*)':
gosmore.cpp:1202:12: warning: variable 'res' set but not used [-Wunused-but-set-variable]
gosmore.cpp: At global scope:
gosmore.cpp:1413:5: warning: unused parameter 'event' [-Wunused-parameter]
gosmore.cpp: In function 'gint DrawExpose()':
gosmore.cpp:2585:40: warning: field precision specifier '.*' expects argument of type 'int', but argument 3 has type 'long int' [-Wformat]
gosmore.cpp: In function 'void ReadTsList()':
gosmore.cpp:2715:32: warning: format '%d' expects argument of type 'int', but argument 2 has type 'gsize {aka long unsigned int}' [-Wformat]
gosmore.cpp: In function 'void DropReceived(GtkWidget*, GdkDragContext*, gint, gint, GtkSelectionData*, guint, guint, gpointer)':
gosmore.cpp:2781:33: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'gsize {aka long unsigned int}' [-Wformat]
gosmore.cpp: In function 'int UserInterface(int, char**, const char*, const char*)':
gosmore.cpp:3135:5: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
gosmore.cpp: In function 'void DoFollowThing(gpsNewStruct*)':
gosmore.cpp:800:67: warning: 'n2Left' may be used uninitialized in this function [-Wmaybe-uninitialized]
gosmore.cpp: In function 'gint DrawExpose()':
gosmore.cpp:2526:98: warning: 'y' may be used uninitialized in this function [-Wmaybe-uninitialized]
gosmore.cpp: At global scope:
gosmore.cpp:2699:17: warning: 'gboolean DropOnDraw(GtkWidget*, GdkDragContext*, gint, gint, guint, gpointer)' defined but not used [-Wunused-function]
gosmore.cpp:2709:13: warning: 'void ReadTsList()' defined but not used [-Wunused-function]
gosmore.cpp:2732:13: warning: 'void DropReceived(GtkWidget*, GdkDragContext*, gint, gint, GtkSelectionData*, guint, guint, gpointer)' defined but not used [-Wunused-function]
make[1]: Leaving directory `/home/bartm/src/sponsoring/gosmore/gosmore-0.0.0.20100711'
touch debian/stamp-makefile-build
DEB_MAKE_CHECK_TARGET unset, not running checks
 fakeroot debian/rules binary
test -x debian/rules
dh_testroot
dh_prep 
dh_installdirs -A 
mkdir -p "."
DEB_MAKE_CHECK_TARGET unset, not running checks
/usr/bin/make  -C .  DESTDIR=/home/bartm/src/sponsoring/gosmore/gosmore-0.0.0.20100711/debian/gosmore prefix=/usr install
make[1]: Entering directory `/home/bartm/src/sponsoring/gosmore/gosmore-0.0.0.20100711'
! [ -e gosmore.pak ]
(bzgrep -v '</osm>' bounds.osm.bz2 | sed -e 's/'\''-\([0-9]*'\''\)/'\''00000000\1/' |\
	  sed -e 's/0*\([0-9]\{8\}'\''\)/21\1/'; \
	 bzcat lowres.osm.bz2; \
	 egrep -v '?xml|<osmCha' countries.osm | sed -e 's|/osmChange|/osm|') | \
	     QUERY_STRING=suppressGTK ./gosmore rebuild
Icon public.png not found
Icon public.png not found
Icon religion/synagogue.png not found
Icon religion/mosque.png not found
Icon rendering/landuse/cemetery.png not found
Icon wlan.png not found
Icon rendering/landuse/cemetery.png not found
Processing without relations table
  1 while (xmlTextReaderRead (xml) == 1)


More information about the Pkg-grass-devel mailing list