Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

reissuing qmake does not have expected effect #1669

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments
Closed

reissuing qmake does not have expected effect #1669

openstreetmap-trac opened this issue Jul 23, 2021 · 3 comments

Comments

@openstreetmap-trac
Copy link

Reporter: RobertJ
[Submitted to the original trac issue database at 8.05pm, Tuesday, 24th March 2009]

the current binary compiled from svn crashes at startup:

% gdb binaries/bin/merkaartor
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu"...
(gdb) run
Starting program: /home/rj/sw/merkaartor-SVN/binaries/bin/merkaartor
[Thread debugging using libthread_db enabled]
[New Thread 0xb6223700 (LWP 23989)]
Unable to set projection : "
ASSERT: "false" in file Map/Projection.cpp, line 49

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb6223700 (LWP 23989)]
0xffffe424 in __kernel_vsyscall ()
(gdb) bt
#0 0xffffe424 in __kernel_vsyscall ()
#1 0xb66e0640 in raise () from /lib/i686/cmov/libc.so.6
#2 0xb66e2008 in abort () from /lib/i686/cmov/libc.so.6
#3 0xb699f6cd in qt_message_output () from /usr/lib/libQtCore.so.4
#4 0xb699f796 in qFatal () from /usr/lib/libQtCore.so.4
#5 0xb699f825 in qt_assert () from /usr/lib/libQtCore.so.4
#6 0x080d9246 in Projection (this=0x8baba4c) at Map/Projection.cpp:49
#7 0x08172cb9 in MapView (this=0x8baba30, aMain=0xbf976c7c) at MapView.cpp:37
#8 0x081db248 in MainWindow (this=0xbf976c7c) at MainWindow.cpp:150
#9 0x081c591e in main (argc=Cannot access memory at address 0x5db5
) at Main.cpp:59
(gdb)

with debian sid, qmake options used are GPSD=1 OSMARENDER=1 NODEBUG=0.
the 0.13rc5 binaries/debug/bin/merkaartor i kept from about 12 days ago still works.

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 9.24am, Wednesday, 25th March 2009]

Did you do a "make install"? (required till next major commit)

@openstreetmap-trac
Copy link
Author

Author: RobertJ
[Added to the original trac issue at 12.01pm, Wednesday, 25th March 2009]

no, i didn't.[[BR]]
actually, i never ever did before.[[BR]]
(i'm used to using perl, where programs use the !FindBin module to become independent of hard-wired paths. :-)[[BR]][[BR]]
but i found a problem with this: i reissued the qmake command with additional PREFIX and TRANSDIR_MERKAARTOR options.[[BR]]
but this does not propagate into all Makefiles, not even after a make distclean.[[BR]]
...i retried with a fresh svn checkout, this helped.[[BR]]
is this normal?

@openstreetmap-trac
Copy link
Author

Author: koying
[Added to the original trac issue at 12.15pm, Wednesday, 25th March 2009]

  1. The problem was not BIN but data's. But as I said it won't be necessary anymore, soon.

  2. you have to do a "qmake '-r' PREFIX=..." to propagate

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant