Summary: | On Solaris 2.6 the new trash mechanism does not work | ||
---|---|---|---|
Product: | [Unmaintained] kio | Reporter: | Steve Evans <stevee> |
Component: | trash | Assignee: | David Faure <faure> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Solaris | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | trash.diff |
Description
Steve Evans
2005-03-08 18:46:40 UTC
On Tuesday 08 March 2005 18:46, stevee@zuken.co.uk wrote: > Also if I select Go/Wastebin in Konqueror's menu the resulting window has a continually spinning wheel icon and the stop button stays on red. Ouch. Can you check for messages from kio_trash in your log files? On linux it's ~/.xsession-errors, it mostly depends on how you start the X server. Alternatively, type kdeinit in a terminal and try again, to get kio_trash's output in that terminal. Also, can you use the regression-testing program to find out at which point it breaks? cd kdebase/kioslave/trash ; make check add ">log 2>&1" without the quotes, to get a log file out of it. Thanks. There are no messages from kio_trash in my log file. Here is the output from the test program: Making check in . gmake[1]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' gmake testtrash gmake[2]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I/gorbag/exta/cad/externals/SOLARIS/include -DQT_THREAD_SUPPORT -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -O2 -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -MT testtrash.o -MD -MP -MF ".deps/testtrash.Tpo" -c -o testtrash.o testtrash.cpp; \ then mv -f ".deps/testtrash.Tpo" ".deps/testtrash.Po"; else rm -f ".deps/testtrash.Tpo"; exit 1; fi testtrash.cpp: In member function `void TestTrash::urlTestFile()': testtrash.cpp:286: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::urlTestDirectory()': testtrash.cpp:301: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::urlTestSubDirectory()': testtrash.cpp:316: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::trashFile(const QString&, const QString&)': testtrash.cpp:363: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::trashFileIntoOtherPartition()': testtrash.cpp:460: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::trashFileOwnedByRoot()': testtrash.cpp:500: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::delRootFile()': testtrash.cpp:612: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::delFileInDirectory()': testtrash.cpp:626: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::delDirectory()': testtrash.cpp:643: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::statRoot()': testtrash.cpp:659: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::statFileInRoot()': testtrash.cpp:676: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::statDirectoryInRoot()': testtrash.cpp:694: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::statSymlinkInRoot()': testtrash.cpp:711: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::statFileInDirectory()': testtrash.cpp:728: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::copyFromTrash(const QString&, const QString&, const QString&)': testtrash.cpp:751: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::moveFromTrash(const QString&, const QString&, const QString&)': testtrash.cpp:806: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::trashDirectoryOwnedByRoot()': testtrash.cpp:858: warning: unused variable 'ok' testtrash.cpp:860: warning: unused variable 'err' testtrash.cpp: In member function `void TestTrash::restoreFile()': testtrash.cpp:915: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::restoreFileFromSubDir()': testtrash.cpp:942: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::restoreFileToDeletedDirectory()': testtrash.cpp:961: warning: unused variable 'delOK' testtrash.cpp:976: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::listRootDir()': testtrash.cpp:997: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::listRecursiveRootDir()': testtrash.cpp:1014: warning: unused variable 'ok' testtrash.cpp: In member function `void TestTrash::listSubDir()': testtrash.cpp:1031: warning: unused variable 'ok' testtrash.cpp: At global scope: testtrash.cpp:324: warning: unused parameter 'origFilePath' /bin/ksh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -O2 -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -L/opt/kde/lib -L/gorbag/exta/cad/externals/SOLARIS/lib -L/opt/qt/lib -lnsl -lxnet -lsocket -o testtrash -L/opt/kde/lib -L/opt/qt/lib -L/gorbag/exta/cad/externals/SOLARIS/lib testtrash.o libtrashcommon.la -lkio -L/gorbag/exta/cad/externals/SOLARIS/lib -lnsl -lxnet -lsocket ld: warning: file /usr/local/gcc-3.4.3/lib/gcc/sparc-sun-solaris2.6/3.4.3/../../../libstdc++.so: linked to /usr/local/gcc-3.4.3/lib/libstdc++.so: attempted multiple inclusion of file gmake[2]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' gmake check-TESTS gmake[2]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' testtrash: WARNING: No writable partition other than $HOME found, some tests will be skipped couldn't set locale correctly mkdir: Owner of /tmp/.ICE-unix should be set to root couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly kbuildsycoca running... kio (KSycoca): WARNING: Found version 78, expecting version 79 or higher. kio (KSycoca): WARNING: Found version 78, expecting version 79 or higher. kbuildsycoca: WARNING: Property 'X-KDE-Weight' is defined multiple times (KOfficeFilter) kbuildsycoca: WARNING: 'Graphics/gimp.desktop' specifies undefined mimetype/servicetype 'image/bmp' kbuildsycoca: WARNING: 'Graphics/gimp.desktop' specifies undefined mimetype/servicetype 'image/x-xcf' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kpovmodeler.desktop' specifies undefined mimetype/servicetype 'KPovModeler/Document' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'application/x-kvoctrain' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'text/x-kvtml' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kde-gimp2.desktop' specifies undefined mimetype/servicetype 'image/bmp' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kde-gimp2.desktop' specifies undefined mimetype/servicetype 'image/x-xcf' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/gimp2.desktop' specifies undefined mimetype/servicetype 'image/bmp' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/gimp2.desktop' specifies undefined mimetype/servicetype 'image/x-xcf' kbuildsycoca: WARNING: 'kdevjavadebugger.desktop' specifies undefined mimetype/servicetype 'KDevelop/Part' kbuildsycoca: WARNING: 'Editors/gvim.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'Editors/gvim.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'Editors/gvim.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kopete.desktop' specifies undefined mimetype/servicetype 'application/x-icq' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kuickshow.desktop' specifies undefined mimetype/servicetype 'image/x-psd' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kuickshow.desktop' specifies undefined mimetype/servicetype 'image/x-eim' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/mathml' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/richtext' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/tab-separated-values' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-authors' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-comma-separated-values' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-copying' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-credits' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-csh' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-dcl' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-dsl' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-dtd' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-emacs-lisp' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-gtkrc' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-idl' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-install' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-perl' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-python' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-readme' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-scheme' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-setext' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-sh' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-sql' kbuildsycoca: WARNING: 'kivioconnectortool.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined mimetype/servicetype 'application/binary-certificate' kbuildsycoca: WARNING: 'Editors/xemacs.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'Editors/xemacs.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'Editors/xemacs.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'Editors/emacs.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'Editors/emacs.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'Editors/emacs.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kolourpaint.desktop' specifies undefined mimetype/servicetype 'image/x-psd' kbuildsycoca: WARNING: 'Editors/nedit.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'Editors/nedit.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'Editors/nedit.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'OpenOffice.org 1.1.4/web.desktop' specifies undefined mimetype/servicetype 'application/vnd.stardivision.writer.global' kbuildsycoca: WARNING: 'kspreadcalc.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'kiviotexttool.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-sql' kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined mimetype/servicetype 'KNotify' kbuildsycoca: WARNING: 'kivioselecttool.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'OpenOffice.org 1.1.4/writer.desktop' specifies undefined mimetype/servicetype 'application/x-doc' kbuildsycoca: WARNING: 'kiviozoomtool.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'gvimagepart.desktop' specifies undefined mimetype/servicetype 'image/x-krl' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.kword' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.kpresenter' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.kspread' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.karbon' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.kontour' kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = babc0 ): KAccel object already contains an action name "file_quit" kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = babc0 ): KAccel object already contains an action name "file_quit" testtrash: FATAL: no Trash Info group in /home/2/stevee/.local-testtrash/Trash/info/fileFromHome.trashinfo KCrash: Application 'testtrash' crashing... FAIL: testtrash =================== 1 of 1 tests failed =================== gmake[2]: *** [check-TESTS] Error 1 gmake[2]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' gmake[1]: *** [check-am] Error 2 gmake[1]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' gmake: *** [check-recursive] Error 1 couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly ICE default IO error handler doing an exit(), pid = 24179, errno = 0 On Wednesday 09 March 2005 12:21, stevee@zuken.co.uk wrote: > testtrash: FATAL: no Trash Info group in /home/2/stevee/.local-testtrash/Trash/info/fileFromHome.trashinfo > KCrash: Application 'testtrash' crashing... Can you send me that file? Also, I see that everything is compiled with non-debug, so the asserts in testtrash.cpp don't work (and this is also why there is not much output). Can you either 1) reconfigure kdebase without the --disable-debug or 2) remove -DNDEBUG -DNO_DEBUG from the Makefile in kioslave/trash or 3) add #undef NDEBUG at the top of testtrash.cpp? Then make clean ; make ; make install ; make check (from kioslave/trash) The file /home/2/stevee/.local-testtrash/Trash/info/fileFromHome.trashinfo does not exist. however after rebuilding as debug and rerunning make check the file appears. It now contains: [Trash Info] Path=/home/2/stevee/.kde/testtrash/fileFromHome DeletionDate=2005-03-09T13:07:19 The make check however still doesn't work. The output is Making check in . gmake[1]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' gmake testtrash gmake[2]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' /opt/qt/bin/moc ./testtrash.h -o testtrash.moc if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I/gorbag/exta/cad/externals/SOLARIS/include -DQT_THREAD_SUPPORT -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -g -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -MT testtrash.o -MD -MP -MF ".deps/testtrash.Tpo" -c -o testtrash.o testtrash.cpp; \ then mv -f ".deps/testtrash.Tpo" ".deps/testtrash.Po"; else rm -f ".deps/testtrash.Tpo"; exit 1; fi /bin/ksh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -g -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -L/opt/kde/lib -L/gorbag/exta/cad/externals/SOLARIS/lib -L/opt/qt/lib -lnsl -lxnet -lsocket -o testtrash -L/opt/kde/lib -L/opt/qt/lib -L/gorbag/exta/cad/externals/SOLARIS/lib testtrash.o libtrashcommon.la -lkio -L/gorbag/exta/cad/externals/SOLARIS/lib -lnsl -lxnet -lsocket ld: warning: file /usr/local/gcc-3.4.3/lib/gcc/sparc-sun-solaris2.6/3.4.3/../../../libstdc++.so: linked to /usr/local/gcc-3.4.3/lib/libstdc++.so: attempted multiple inclusion of file gmake[2]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' gmake check-TESTS gmake[2]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' testtrash: setup: using trash directory /home/2/stevee/.local-testtrash/Trash testtrash: WARNING: No writable partition other than $HOME found, some tests will be skipped couldn't set locale correctly mkdir: Owner of /tmp/.ICE-unix should be set to root couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly kbuildsycoca running... Reusing existing ksycoca kbuildsycoca: WARNING: Property 'X-KDE-Weight' is defined multiple times (KOfficeFilter) kbuildsycoca: WARNING: 'Graphics/gimp.desktop' specifies undefined mimetype/servicetype 'image/bmp' kbuildsycoca: WARNING: 'Graphics/gimp.desktop' specifies undefined mimetype/servicetype 'image/x-xcf' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kpovmodeler.desktop' specifies undefined mimetype/servicetype 'KPovModeler/Document' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'application/x-kvoctrain' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'text/x-kvtml' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kde-gimp2.desktop' specifies undefined mimetype/servicetype 'image/bmp' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kde-gimp2.desktop' specifies undefined mimetype/servicetype 'image/x-xcf' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/gimp2.desktop' specifies undefined mimetype/servicetype 'image/bmp' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/gimp2.desktop' specifies undefined mimetype/servicetype 'image/x-xcf' kbuildsycoca: WARNING: 'kdevjavadebugger.desktop' specifies undefined mimetype/servicetype 'KDevelop/Part' kbuildsycoca: WARNING: 'Editors/gvim.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'Editors/gvim.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'Editors/gvim.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kopete.desktop' specifies undefined mimetype/servicetype 'application/x-icq' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kuickshow.desktop' specifies undefined mimetype/servicetype 'image/x-psd' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kuickshow.desktop' specifies undefined mimetype/servicetype 'image/x-eim' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/mathml' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/richtext' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/tab-separated-values' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-authors' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-comma-separated-values' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-copying' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-credits' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-csh' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-dcl' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-dsl' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-dtd' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-emacs-lisp' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-gtkrc' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-idl' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-install' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-perl' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-python' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-readme' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-scheme' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-setext' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-sh' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-sql' kbuildsycoca: WARNING: 'kivioconnectortool.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined mimetype/servicetype 'application/binary-certificate' kbuildsycoca: WARNING: 'Editors/xemacs.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'Editors/xemacs.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'Editors/xemacs.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'Editors/emacs.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'Editors/emacs.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'Editors/emacs.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kolourpaint.desktop' specifies undefined mimetype/servicetype 'image/x-psd' kbuildsycoca: WARNING: 'Editors/nedit.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'Editors/nedit.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'Editors/nedit.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'OpenOffice.org 1.1.4/web.desktop' specifies undefined mimetype/servicetype 'application/vnd.stardivision.writer.global' kbuildsycoca: WARNING: 'kspreadcalc.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'kiviotexttool.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-sql' kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined mimetype/servicetype 'KNotify' kbuildsycoca: WARNING: 'kivioselecttool.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'OpenOffice.org 1.1.4/writer.desktop' specifies undefined mimetype/servicetype 'application/x-doc' kbuildsycoca: WARNING: 'kiviozoomtool.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'gvimagepart.desktop' specifies undefined mimetype/servicetype 'image/x-krl' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.kword' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.kpresenter' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.kspread' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.karbon' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.kontour' kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = babc0 ): KAccel object already contains an action name "file_quit" kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = babc0 ): KAccel object already contains an action name "file_quit" testtrash: makeURL for a file : checking 'trash:/1-fileId' against expected value 'trash:/1-fileId'... ok testtrash: parseURL: trashId : checking '1' against expected value '1'... ok testtrash: parseURL: fileId : checking 'fileId' against expected value 'fileId'... ok testtrash: parseURL: relativePath : checking '' against expected value ''... ok testtrash: makeURL : checking 'trash:/1-fileId/subfile' against expected value 'trash:/1-fileId/subfile'... ok testtrash: parseURL: trashId : checking '1' against expected value '1'... ok testtrash: parseURL: fileId : checking 'fileId' against expected value 'fileId'... ok testtrash: parseURL: relativePath : checking 'subfile' against expected value 'subfile'... ok testtrash: makeURL : checking 'trash:/1-fileId/subfile/foobar' against expected value 'trash:/1-fileId/subfile/foobar'... ok testtrash: parseURL: trashId : checking '1' against expected value '1'... ok testtrash: parseURL: fileId : checking 'fileId' against expected value 'fileId'... ok testtrash: parseURL: relativePath : checking 'subfile/foobar' against expected value 'subfile/foobar'... ok testtrash: [void TestTrash::trashFileFromHome()] kio_trash: TrashProtocol::rename(): old=file:///home/2/stevee/.kde/testtrash/fileFromHome new=trash:/fileFromHome overwrite=false kio_trash: [bool TrashImpl::createInfo(const QString&, int&, QString&)] trying to create /home/2/stevee/.local-testtrash/Trash/info/fileFromHome.trashinfo kio_trash: [bool TrashImpl::createInfo(const QString&, int&, QString&)] info file created in trashId=0 : fileFromHome kio_trash: calling moveToTrash(/home/2/stevee/.kde/testtrash/fileFromHome 0 fileFromHome) kio_trash: [bool TrashImpl::moveToTrash(const QString&, int, const QString&)] kio_trash: [bool TrashImpl::directRename(const QString&, const QString&)] /home/2/stevee/.kde/testtrash/fileFromHome -> /home/2/stevee/.local-testtrash/Trash/files/fileFromHome testtrash: [void checkInfoFile(const QString&, const QString&)] /home/2/stevee/.local-testtrash/Trash/info/fileFromHome.trashinfo testtrash: trash:/0-fileFromHome kio_trash: TrashProtocol::rename(): old=file:///home/2/stevee/.kde/testtrash/fileFromHome new=trash:/fileFromHome overwrite=false kio_trash: [bool TrashImpl::createInfo(const QString&, int&, QString&)] trying to create /home/2/stevee/.local-testtrash/Trash/info/fileFromHome.trashinfo kio_trash: [bool TrashImpl::createInfo(const QString&, int&, QString&)] trying to create /home/2/stevee/.local-testtrash/Trash/info/fileFromHome_1.trashinfo kio_trash: [bool TrashImpl::createInfo(const QString&, int&, QString&)] info file created in trashId=0 : fileFromHome_1 kio_trash: calling moveToTrash(/home/2/stevee/.kde/testtrash/fileFromHome 0 fileFromHome_1) kio_trash: [bool TrashImpl::moveToTrash(const QString&, int, const QString&)] kio_trash: [bool TrashImpl::directRename(const QString&, const QString&)] /home/2/stevee/.kde/testtrash/fileFromHome -> /home/2/stevee/.local-testtrash/Trash/files/fileFromHome_1 testtrash: [void checkInfoFile(const QString&, const QString&)] /home/2/stevee/.local-testtrash/Trash/info/fileFromHome_1.trashinfo testtrash: trash:/0-fileFromHome_1 testtrash: [void TestTrash::trashPercentFileFromHome()] kio_trash: TrashProtocol::rename(): old=file:///home/2/stevee/.kde/testtrash/file%252f new=trash:/file%252f overwrite=false kio_trash: [bool TrashImpl::createInfo(const QString&, int&, QString&)] trying to create /home/2/stevee/.local-testtrash/Trash/info/file%2f.trashinfo kio_trash: [bool TrashImpl::createInfo(const QString&, int&, QString&)] info file created in trashId=0 : file%2f kio_trash: calling moveToTrash(/home/2/stevee/.kde/testtrash/file%2f 0 file%2f) kio_trash: [bool TrashImpl::moveToTrash(const QString&, int, const QString&)] kio_trash: [bool TrashImpl::directRename(const QString&, const QString&)] /home/2/stevee/.kde/testtrash/file%2f -> /home/2/stevee/.local-testtrash/Trash/files/file%2f testtrash: [void checkInfoFile(const QString&, const QString&)] /home/2/stevee/.local-testtrash/Trash/info/file%2f.trashinfo testtrash: trash:/0-file%252f testtrash: [void TestTrash::trashUmlautFileFromHome()] kio_trash: TrashProtocol::rename(): old=file:///home/2/stevee/.kde/testtrash/umlautë new=trash:/umlautë overwrite=false kio_trash: [bool TrashImpl::createInfo(const QString&, int&, QString&)] trying to create /home/2/stevee/.local-testtrash/Trash/info/umlautë.trashinfo kio_trash: [bool TrashImpl::createInfo(const QString&, int&, QString&)] info file created in trashId=0 : umlautë kio_trash: calling moveToTrash(/home/2/stevee/.kde/testtrash/umlautë 0 umlautë) kio_trash: [bool TrashImpl::moveToTrash(const QString&, int, const QString&)] kio_trash: [bool TrashImpl::directRename(const QString&, const QString&)] /home/2/stevee/.kde/testtrash/umlautë -> /home/2/stevee/.local-testtrash/Trash/files/umlautë testtrash: [void checkInfoFile(const QString&, const QString&)] /home/2/stevee/.local-testtrash/Trash/info/umlautë.trashinfo testtrash: trash:/0-umlautë testtrash: [void TestTrash::trashFileFromOther()] kio_trash: TrashProtocol::rename(): old=file:///tmp/testtrash/fileFromOther new=trash:/fileFromOther overwrite=false kio_trash: mountPoint=/tmp trashDir=/tmp/.Trash-349 kio_trash: [void TrashImpl::scanTrashDirectories() const] found /tmp/.Trash-349 gave it id 1 Assertion failed: ok, file testtrash.cpp, line 364 KCrash: Application 'testtrash' crashing... FAIL: testtrash =================== 1 of 1 tests failed =================== gmake[2]: *** [check-TESTS] Error 1 gmake[2]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' gmake[1]: *** [check-am] Error 2 gmake[1]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' gmake: *** [check-recursive] Error 1 couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly ICE default IO error handler doing an exit(), pid = 3030, errno = 0 On Wednesday 09 March 2005 14:15, stevee@zuken.co.uk wrote: > Assertion failed: ok, file testtrash.cpp, line 364 Looks like the handling of the partition that holds /tmp is what makes it fail. I guess /tmp a partition of its own. Is it a ramdisk maybe? Can you please apply the attached patch and try again (make sure to do "make install" too, the testtrash program launched by "make check" uses the installed kio_trash). Thanks. Created an attachment (id=10037) trash.diff On 9 Mar 2005, faure@kde.org wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=101116 > > > > > ------- Additional Comments From faure kde org 2005-03-09 14:24 > ------- > On Wednesday 09 March 2005 14:15, stevee zuken co uk wrote: >> Assertion failed: ok, file testtrash.cpp, line 364 > > Looks like the handling of the partition that holds /tmp is what > makes it fail. I guess /tmp a partition of its own. Is it a ramdisk > maybe? > Sun mounts /tmp using tmpfs, sharing it with swap: mount| grep tmp /tmp on swap read/write on Tue Jan 4 08:05:44 2005 > Can you please apply the attached patch and try again (make sure to > do "make install" too, the testtrash program launched by "make > check" uses the installed kio_trash). > Unfortunately the patch doesn't apply to trashimpl.cpp - it looks to me as though the CVS version has changed significantly since 4.2-rc1: Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |? Trash_system_messages |? diff |? log |? test.diff |? trying_with_a_query_but_kdirlister_problems.diff |? wrongtest_fileidfororigpath |Index: testtrash.cpp |=================================================================== |RCS file: /home/kde/kdebase/kioslave/trash/testtrash.cpp,v |retrieving revision 1.37 |diff -u -p -r1.37 testtrash.cpp |--- testtrash.cpp 23 Jan 2005 22:50:58 -0000 1.37 |+++ testtrash.cpp 9 Mar 2005 13:20:30 -0000 -------------------------- Patching file testtrash.cpp using Plan A... Hunk #1 succeeded at 361. Hmm... The next patch looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: trashimpl.cpp |=================================================================== |RCS file: /home/kde/kdebase/kioslave/trash/trashimpl.cpp,v |retrieving revision 1.34.2.1 |retrieving revision 1.35 |diff -u -p -r1.34.2.1 -r1.35 |--- trashimpl.cpp 25 Feb 2005 17:53:54 -0000 1.34.2.1 |+++ trashimpl.cpp 25 Feb 2005 17:53:21 -0000 1.35 -------------------------- Patching file trashimpl.cpp using Plan A... Hunk #1 failed at 759. Hunk #2 failed at 810. Hunk #3 failed at 828. 3 out of 3 hunks failed--saving rejects to trashimpl.cpp.rej done On Wednesday 09 March 2005 14:54, stevee@zuken.co.uk wrote: > me as though the CVS version has changed significantly since 4.2-rc1: 4.2-rc1? That's not a KDE version :) I guess you mean 3.4-rc1. The diff is against KDE_3_4_0_RELEASE. Hmm I see no rc1 tag to diff against. Oh well - here's the full tarball of the most current code, including that patch. http://kdab.net/~dfaure/trash.tgz On 9 Mar 2005, faure@kde.org wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=101116 > > > > > ------- Additional Comments From faure kde org 2005-03-09 15:28 > ------- > On Wednesday 09 March 2005 14:54, stevee zuken co uk wrote: >> me as though the CVS version has changed significantly since >> 4.2-rc1: > 4.2-rc1? That's not a KDE version :) I guess you mean 3.4-rc1. > Oops, yes I did mean 3.4-rc1 - I am working on something else that is version 4.2, so that number was in my head :-) > The diff is against KDE_3_4_0_RELEASE. Hmm I see no rc1 tag to diff > against. Oh well - here's the full tarball of the most current code, > including that patch. http://kdab.net/~dfaure/trash.tgz > OK, I rebuilt and installed that. It still doesn't work :-( Here is the output: Making check in . gmake[1]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' gmake testtrash gmake[2]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' /opt/qt/bin/moc ./testtrash.h -o testtrash.moc if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include -I/gorbag/exta/cad/externals/SOLARIS/include -DQT_THREAD_SUPPORT -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -DUSE_SOLARIS -DSVR4 -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES=1 -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -g -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -MT testtrash.o -MD -MP -MF ".deps/testtrash.Tpo" -c -o testtrash.o testtrash.cpp; \ then mv -f ".deps/testtrash.Tpo" ".deps/testtrash.Po"; else rm -f ".deps/testtrash.Tpo"; exit 1; fi /bin/ksh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -g -I/opt/kde/include -I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include -fomit-frame-pointer -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe -fno-exceptions -mcpu=ultrasparc -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE -L/opt/kde/lib -L/gorbag/exta/cad/externals/SOLARIS/lib -L/opt/qt/lib -lnsl -lxnet -lsocket -o testtrash -L/opt/kde/lib -L/opt/qt/lib -L/gorbag/exta/cad/externals/SOLARIS/lib testtrash.o libtrashcommon.la -lkio -L/gorbag/exta/cad/externals/SOLARIS/lib -lnsl -lxnet -lsocket ld: warning: file /usr/local/gcc-3.4.3/lib/gcc/sparc-sun-solaris2.6/3.4.3/../../../libstdc++.so: linked to /usr/local/gcc-3.4.3/lib/libstdc++.so: attempted multiple inclusion of file gmake[2]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' gmake check-TESTS gmake[2]: Entering directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' testtrash: setup: using trash directory /home/2/stevee/.local-testtrash/Trash testtrash: [void TrashImpl::scanTrashDirectories() const] found /tmp/.Trash-349 gave it id 1 testtrash: OK, found another writable partition: topDir=/tmp/ trashDir=/tmp/.Trash-349 id=1 couldn't set locale correctly mkdir: Owner of /tmp/.ICE-unix should be set to root couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly kbuildsycoca running... Reusing existing ksycoca kbuildsycoca: WARNING: Property 'X-KDE-Weight' is defined multiple times (KOfficeFilter) kbuildsycoca: WARNING: 'Graphics/gimp.desktop' specifies undefined mimetype/servicetype 'image/bmp' kbuildsycoca: WARNING: 'Graphics/gimp.desktop' specifies undefined mimetype/servicetype 'image/x-xcf' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kpovmodeler.desktop' specifies undefined mimetype/servicetype 'KPovModeler/Document' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'klinkstatus_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'application/x-kvoctrain' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kvoctrain.desktop' specifies undefined mimetype/servicetype 'text/x-kvtml' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kde-gimp2.desktop' specifies undefined mimetype/servicetype 'image/bmp' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kde-gimp2.desktop' specifies undefined mimetype/servicetype 'image/x-xcf' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/gimp2.desktop' specifies undefined mimetype/servicetype 'image/bmp' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/gimp2.desktop' specifies undefined mimetype/servicetype 'image/x-xcf' kbuildsycoca: WARNING: 'kdevjavadebugger.desktop' specifies undefined mimetype/servicetype 'KDevelop/Part' kbuildsycoca: WARNING: 'Editors/gvim.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'Editors/gvim.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'Editors/gvim.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kopete.desktop' specifies undefined mimetype/servicetype 'application/x-icq' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kuickshow.desktop' specifies undefined mimetype/servicetype 'image/x-psd' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kuickshow.desktop' specifies undefined mimetype/servicetype 'image/x-eim' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/mathml' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/richtext' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/tab-separated-values' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-authors' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-comma-separated-values' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-copying' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-credits' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-csh' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-dcl' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-dsl' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-dtd' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-emacs-lisp' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-gtkrc' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-idl' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-install' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-perl' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-python' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-readme' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-scheme' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-setext' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-sh' kbuildsycoca: WARNING: 'vimpart.desktop' specifies undefined mimetype/servicetype 'text/x-sql' kbuildsycoca: WARNING: 'kivioconnectortool.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'kcertpart.desktop' specifies undefined mimetype/servicetype 'application/binary-certificate' kbuildsycoca: WARNING: 'Editors/xemacs.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'Editors/xemacs.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'Editors/xemacs.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'kxsldbg_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'Editors/emacs.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'Editors/emacs.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'Editors/emacs.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: '/icad/11/kde3_master/SOLARIS-3.4-rc1/share/applications/kde/kolourpaint.desktop' specifies undefined mimetype/servicetype 'image/x-psd' kbuildsycoca: WARNING: 'Editors/nedit.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'Editors/nedit.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'Editors/nedit.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'OpenOffice.org 1.1.4/web.desktop' specifies undefined mimetype/servicetype 'application/vnd.stardivision.writer.global' kbuildsycoca: WARNING: 'kspreadcalc.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'kiviotexttool.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/english' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-c' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-c++' kbuildsycoca: WARNING: 'qeditor_part.desktop' specifies undefined mimetype/servicetype 'text/x-sql' kbuildsycoca: WARNING: 'knotify.desktop' specifies undefined mimetype/servicetype 'KNotify' kbuildsycoca: WARNING: 'kivioselecttool.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'OpenOffice.org 1.1.4/writer.desktop' specifies undefined mimetype/servicetype 'application/x-doc' kbuildsycoca: WARNING: 'kiviozoomtool.desktop' specifies undefined mimetype/servicetype 'KPlugin' kbuildsycoca: WARNING: 'gvimagepart.desktop' specifies undefined mimetype/servicetype 'image/x-krl' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.kword' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.kpresenter' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.kspread' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.karbon' kbuildsycoca: WARNING: 'kfile_koffice.desktop' specifies undefined mimetype/servicetype 'application/vnd.kde.kontour' kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = bc8e8 ): KAccel object already contains an action name "file_quit" kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = bc8e8 ): KAccel object already contains an action name "file_quit" testtrash: makeURL for a file : checking 'trash:/1-fileId' against expected value 'trash:/1-fileId'... ok testtrash: parseURL: trashId : checking '1' against expected value '1'... ok testtrash: parseURL: fileId : checking 'fileId' against expected value 'fileId'... ok testtrash: parseURL: relativePath : checking '' against expected value ''... ok testtrash: makeURL : checking 'trash:/1-fileId/subfile' against expected value 'trash:/1-fileId/subfile'... ok testtrash: parseURL: trashId : checking '1' against expected value '1'... ok testtrash: parseURL: fileId : checking 'fileId' against expected value 'fileId'... ok testtrash: parseURL: relativePath : checking 'subfile' against expected value 'subfile'... ok testtrash: makeURL : checking 'trash:/1-fileId/subfile/foobar' against expected value 'trash:/1-fileId/subfile/foobar'... ok testtrash: parseURL: trashId : checking '1' against expected value '1'... ok testtrash: parseURL: fileId : checking 'fileId' against expected value 'fileId'... ok testtrash: parseURL: relativePath : checking 'subfile/foobar' against expected value 'subfile/foobar'... ok testtrash: [void TestTrash::trashFileFromHome()] kio_trash: TrashProtocol::rename(): old=file:///home/2/stevee/.kde/testtrash/fileFromHome new=trash:/fileFromHome overwrite=false kio_trash: [void TrashImpl::scanTrashDirectories() const] found /tmp/.Trash-349 gave it id 1 testtrash: ERROR: moving file:///home/2/stevee/.kde/testtrash/fileFromHome to trash failed with error 20 Assertion failed: ok, file testtrash.cpp, line 366 KCrash: Application 'testtrash' crashing... FAIL: testtrash =================== 1 of 1 tests failed =================== gmake[2]: *** [check-TESTS] Error 1 gmake[2]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' gmake[1]: *** [check-am] Error 2 gmake[1]: Leaving directory `/ds14/kde_build/kdebase-3.4.0/kioslave/trash' gmake: *** [check-recursive] Error 1 couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly couldn't set locale correctly ICE default IO error handler doing an exit(), pid = 5953, errno = 0 CVS commit by faure: Don't mount all automounted directories when starting kio_trash, it can take a VERY long time. (The result is that trashing from such directories will move the file to $HOME, which is OK I think). BUG: 101116 M +2 -1 trashimpl.cpp 1.38 --- kdebase/kioslave/trash/trashimpl.cpp #1.37:1.38 @@ -720,5 +720,6 @@ void TrashImpl::scanTrashDirectories() c // ## Maybe we should also skip readonly filesystems if ( str != "proc" && str != "devfs" && str != "usbdevfs" && - str != "sysfs" && str != "devpts" && str != "subfs" /* #96259 */ ) { + str != "sysfs" && str != "devpts" && str != "subfs" /* #96259 */ && + str != "autofs" /* #101116 */ ) { QString topdir = (*it)->mountPoint(); QString trashDir = trashForMountPoint( topdir, false ); |