Tim,
Here is another QCString build failure. Let me know if you want a bug filed or if you just want to work it from the list. Thanks. Here is the actual error:
[ 75%] Building CXX object knetworkmanager-0.8/src/CMakeFiles/tdeinit_knetworkmanager-shared.dir/knetworkmanager-wireless_menuitem.cpp.o cd /build/src/build/knetworkmanager-0.8/src && /usr/bin/c++ -Dtdeinit_knetworkmanager_shared_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/knetworkmanager-0.8/src -I/build/src/build -I/opt/trinity/include -I/opt/tqt3/include -I/opt/trinity/include/tqt -I/opt/trinity/include/dbus-1-tqt -I/usr/include/NetworkManager -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -UQT_NO_ASCII_CAST -o CMakeFiles/tdeinit_knetworkmanager-shared.dir/knetworkmanager-wireless_menuitem.cpp.o -c /build/src/knetworkmanager8/knetworkmanager-0.8/src/knetworkmanager-wireless_menuitem.cpp /build/src/knetworkmanager8/knetworkmanager-0.8/src/knetworkmanager-wireless_menuitem.cpp: In member function 'void WirelessNetworkItem::slotActivate()': /build/src/knetworkmanager8/knetworkmanager-0.8/src/knetworkmanager-wireless_menuitem.cpp:77:160: error: 'QCString' was not declared in this scope make[2]: *** [knetworkmanager-0.8/src/CMakeFiles/tdeinit_knetworkmanager-shared.dir/knetworkmanager-wireless_menuitem.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [knetworkmanager-0.8/src/CMakeFiles/tdeinit_knetworkmanager-shared.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
Here is another QCString build failure. Let me know if you want a bug filed or if you just want to work it from the list. Thanks. Here is the actual error:
[ 75%] Building CXX object knetworkmanager-0.8/src/CMakeFiles/tdeinit_knetworkmanager-shared.dir/knetworkmanager-wireless_menuitem.cpp.o cd /build/src/build/knetworkmanager-0.8/src && /usr/bin/c++ -Dtdeinit_knetworkmanager_shared_EXPORTS -DHAVE_CONFIG_H -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -DQT_NO_ASCII_CAST -DQT_CLEAN_NAMESPACE -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -DQT_THREAD_SUPPORT -D_REENTRANT -include tqt.h -fPIC -I/build/src/build/knetworkmanager-0.8/src -I/build/src/build -I/opt/trinity/include -I/opt/tqt3/include -I/opt/trinity/include/tqt -I/opt/trinity/include/dbus-1-tqt -I/usr/include/NetworkManager -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -UQT_NO_ASCII_CAST -o CMakeFiles/tdeinit_knetworkmanager-shared.dir/knetworkmanager-wireless_menuitem.cpp.o -c /build/src/knetworkmanager8/knetworkmanager-0.8/src/knetworkmanager-wireless_menuitem.cpp /build/src/knetworkmanager8/knetworkmanager-0.8/src/knetworkmanager-wireless_menuitem.cpp: In member function 'void WirelessNetworkItem::slotActivate()': /build/src/knetworkmanager8/knetworkmanager-0.8/src/knetworkmanager-wireless_menuitem.cpp:77:160: error: 'QCString' was not declared in this scope make[2]: *** [knetworkmanager-0.8/src/CMakeFiles/tdeinit_knetworkmanager-shared.dir/knetworkmanager-wireless_menuitem.cpp.o] Error 1 make[2]: Leaving directory `/build/src/build' make[1]: *** [knetworkmanager-0.8/src/CMakeFiles/tdeinit_knetworkmanager-shared.dir/all] Error 2 make[1]: Leaving directory `/build/src/build' make: *** [all] Error 2
Here's what I do. Create a patch. In this case to fix the QString -> TQString. Then build the package with the patch. If the build succeeds then submit the patch in a bug report. If the patch fails then submit a big report explaining your effort.
: )
Darrell
On 03/13/2012 09:54 PM, Darrell Anderson wrote:
Here's what I do. Create a patch. In this case to fix the QString -> TQString. Then build the package with the patch. If the build succeeds then submit the patch in a bug report. If the patch fails then submit a big report explaining your effort.
: )
Darrell
Err OK... This is where I have a bit more learning to know what to patch where :)
Here's what I do. Create a patch. In this case to fix
the QString -> TQString. Then build the package with the patch. If the build succeeds then submit the patch in a bug report. If the patch fails then submit a big report explaining your effort.
Err OK... This is where I have a bit more learning to know what to patch where :)
Yeah, that's how I learn. I won't pretend to have mastered much, but I'm willing to get my hands dirty. :)
I read the build failure. Most of the time the failure is straightforward. Sometimes not and then I'll rerun the build without parallel building (NUMJOBS=-j1). That forces an easier to read output because the build output is sequential. Slower too. :)
Read the failure and be sure to find the problem file. Often the output says in this file, declared by that file, etc. The last file listed is the problem.
Then look at the line number, which is a number after a colon next to the name of the problematic file.
Open that file from the sources and verify the text. In your case look for QString.
For me, I prefer not to edit my local GIT repository while experimenting because I have not yet learned the many ways of the git commands. Therefore I copy that module to a working directory. Then make another copy with the .new extension. I edit the problematic file in the .new directory. In your case change QString to TQString.
Then in the parent directory of the two copied directories:
diff -urN module module.new > module-tqstring-fix.diff
Name the diff file to something that makes sense.
Then merge the patch into the build process as usual.
Darrell