[Debburn-devel] Build problems, broken working copy.
Lorenz Minder
lminder at gmx.net
Thu Oct 5 21:43:51 UTC 2006
Hi,
I sometimes get this:
wc.trunk$ gmake
cd build && cmake ..
CMake Error: Cannot find source file "/usr/home/lorinder/prog/cdrkit/wc.trunk/readcd/readcd.trunk/readcd/readcd" for target "readcd"
Tried extensions .c .C .c++ .cc .cpp .cxx .m .M .mm .h .h++ .hm .hpp .hxx .in .txx
-- Configuring done
gmake: *** [build/Makefile] Error 255
Which I usually fix with "make clean", then "cmake ." and then is all fine.
Currently, I can't even "make clean" or "cmake .", because I get the above
error. (So, right now, I'm stuck.)
At Eduard's request, here's what "svn st" says:
? align.h
? xconfig.h
? tags
? CMakeFiles
? progress.make
? CMakeOutput.log
? CMakeCache.txt
? xconfig.h.orig
? ,x
? cmake_install.cmake
? libparanoia/progress.make
? libparanoia/cmake_install.cmake
? libparanoia/libparanoia.a
? libparanoia/CMakeFiles
? libparanoia/Makefile
? libschily/libschily.a
? libschily/CMakeFiles
? libschily/Makefile
? libschily/progress.make
? libschily/,x
? libschily/cmake_install.cmake
M libschily/spawn.c
M libschily/fexec.c
M libschily/getargs.c
M libschily/strtod.c
? cdrecord/Makefile
? cdrecord/progress.make
? cdrecord/,x
? cdrecord/scsi_cdr.h
? cdrecord/CMakeFiles
? cdrecord/wodim
? cdrecord/cmake_install.cmake
? cdrecord/cdtext.dat
M cdrecord/scsi_scan.c
M cdrecord/subchan.c
M cdrecord/cdrecord.c
M cdrecord/drv_jvc.c
M cdrecord/drv_sony.c
M cdrecord/fifo.c
M cdrecord/drv_mmc.c
M cdrecord/scsi_cdr.c
M cdrecord/cdtext.c
? cdda2wav/Makefile
? cdda2wav/progress.make
? cdda2wav/,x
? cdda2wav/cdda2wav
? cdda2wav/CMakeFiles
? cdda2wav/test
? cdda2wav/cmake_install.cmake
? cdda2wav/toc.c.orig
M cdda2wav/cdda2wav.c
M cdda2wav/inf2cdtext.pl
M cdda2wav/global.h
M cdda2wav/toc.c
? libscg/CMakeFiles
? libscg/Makefile
? libscg/progress.make
? libscg/libscg.a
? libscg/cmake_install.cmake
M libscg/scsitransp.c
M libscg/scsierrs.c
? libhfs_iso/progress.make
? libhfs_iso/cmake_install.cmake
? libhfs_iso/libhfs_iso.a
? libhfs_iso/CMakeFiles
? libhfs_iso/Makefile
? libedc/progress.make
? libedc/cmake_install.cmake
? libedc/liblibedc.a
? libedc/CMakeFiles
? libedc/Makefile
? readcd/progress.make
? readcd/readcd
? readcd/cmake_install.cmake
? readcd/CMakeFiles
? readcd/Makefile
? include/CMakeFiles
? include/Makefile
? include/progress.make
? include/cmake_install.cmake
M include/schily.h
? rscsi/progress.make
? rscsi/CMakeFiles
? rscsi/rscsi
? rscsi/cmake_install.cmake
? rscsi/Makefile
? librscg/progress.make
? librscg/CMakeFiles
? librscg/cmake_install.cmake
? librscg/Makefile
? libdeflt/progress.make
? libdeflt/CMakeFiles
? libdeflt/libdeflt.a
? libdeflt/cmake_install.cmake
? libdeflt/Makefile
? 3rd-party/dirsplit/CMakeFiles
? libunls/libunls.a
? libunls/CMakeFiles
? libunls/Makefile
? libunls/progress.make
? libunls/cmake_install.cmake
M libunls/CMakeLists.txt
? mkisofs/isodump
? mkisofs/Makefile
? mkisofs/isovfy
? mkisofs/progress.make
? mkisofs/isoinfo
? mkisofs/mkisofs
? mkisofs/isodebug
? mkisofs/CMakeFiles
? mkisofs/cmake_install.cmake
? mkisofs/devdump
M mkisofs/mkisofs.h
M mkisofs/boot-mipsel.c
M mkisofs/boot-hppa.c
M mkisofs/write.c
M mkisofs/CMakeLists.txt
Here's the diffs for libunls/CMakeLists.txt and mkisofs/CMakeLists.txt:
Index: libunls/CMakeLists.txt
===================================================================
--- libunls/CMakeLists.txt (revision 366)
+++ libunls/CMakeLists.txt (working copy)
@@ -2,10 +2,10 @@
INCLUDE_DIRECTORIES(../include ../libhfs_iso ../cdrecord ${CMAKE_BINARY_DIR})
ADD_DEFINITIONS(-DHAVE_CONFIG_H)
-FIND_FILE (USE_ICONV iconv.h)
-IF(USE_ICONV)
- ADD_DEFINITIONS(-DUSE_ICONV)
-ENDIF(USE_ICONV)
+#FIND_FILE (USE_ICONV iconv.h)
+#IF(USE_ICONV)
+# ADD_DEFINITIONS(-DUSE_ICONV)
+#ENDIF(USE_ICONV)
SET(LIBunls_SRCS nls_base.c nls_config.c nls_cp10000.c nls_cp10006.c nls_cp10007.c nls_cp10029.c nls_cp10079.c nls_cp10081.c nls_cp1250.c nls_cp1251.c nls_cp437.c nls_cp737.c nls_cp775.c nls_cp850.c nls_cp852.c nls_cp855.c nls_cp857.c nls_cp860.c nls_cp861.c nls_cp862.c nls_cp863.c nls_cp864.c nls_cp865.c nls_cp866.c nls_cp869.c nls_cp874.c nls_file.c nls_iso8859-1.c nls_iso8859-14.c nls_iso8859-15.c nls_iso8859-2.c nls_iso8859-3.c nls_iso8859-4.c nls_iso8859-5.c nls_iso8859-6.c nls_iso8859-7.c nls_iso8859-8.c nls_iso8859-9.c nls_koi8-r.c nls_koi8-u.c nls_iconv.c)
#SET_SOURCE_FILES_PROPERTIES(${LIBunls_SRCS} PROPERTIES )
Index: mkisofs/CMakeLists.txt
===================================================================
--- mkisofs/CMakeLists.txt (revision 366)
+++ mkisofs/CMakeLists.txt (working copy)
@@ -4,6 +4,7 @@
INCLUDE(../include/AddSchilyBits.cmake)
INCLUDE_DIRECTORIES(../include ../libhfs_iso ../cdrecord ${CMAKE_BINARY_DIR})
+#INCLUDE_DIRECTORIES(../libhfs_iso ../cdrecord ${CMAKE_BINARY_DIR})
FIND_FILE (USE_MAGIC magic.h)
IF(USE_MAGIC)
@@ -11,24 +12,26 @@
SET(MAGICLIBS magic)
ENDIF(USE_MAGIC)
-FIND_FILE (USE_ICONV iconv.h)
-IF(USE_ICONV)
- ADD_DEFINITIONS(-DUSE_ICONV)
-ENDIF(USE_ICONV)
-# iconv may be provided by the 3rd party library
-FIND_LIBRARY (USE_LIBICONV iconv)
-IF(USE_LIBICONV)
- SET(EXTRA_LIBICONV iconv)
-endif(USE_LIBICONV)
+#FIND_FILE (USE_ICONV iconv.h)
+#IF(USE_ICONV)
+# ADD_DEFINITIONS(-DUSE_ICONV)
+#ENDIF(USE_ICONV)
+## iconv may be provided by the 3rd party library
+#FIND_LIBRARY (USE_LIBICONV iconv)
+#IF(USE_LIBICONV)
+# SET(EXTRA_LIBICONV iconv)
+#endif(USE_LIBICONV)
-ADD_DEFINITIONS(-DUSE_LARGEFILES -DABORT_DEEP_ISO_ONLY -DAPPLE_HYB -DUDF -DDVD_VIDEO -DSORTING -DHAVE_CONFIG_H -DUSE_LIBSCHILY -DUSE_SCG -DJIGDO_TEMPLATE)
+ADD_DEFINITIONS(-DUSE_LARGEFILES -DABORT_DEEP_ISO_ONLY -DAPPLE_HYB -DUDF -DDVD_VIDEO -DSORTING -DHAVE_CONFIG_H -DUSE_SCG -DJIGDO_TEMPLATE)
+ADD_DEFINITIONS(-DUSE_LIBSCHILY)
SET(MKISOFS_MOST_SRCS apple.c boot.c cd_misc.c defaults.c desktop.c dvd_file.c dvd_reader.c eltorito.c exclude.c files.c fnmatch.c getnum.c getopt.c getopt1.c hash.c ifo_read.c joliet.c mac_label.c match.c modes.c multi.c name.c rock.c scsi.c scsi_cdr.c stream.c tree.c udf.c vms.c volume.c write.c boot-alpha.c boot-hppa.c boot-mips.c md5.c jte.c rsync.c
boot-mipsel.c endian.c )
#SET_SOURCE_FILES_PROPERTIES(${MKISOFS_MOST_SRCS} PROPERTIES )
LINK_DIRECTORIES(../libhfs_iso ../libschily ../libscg ../libunls ../libdeflt)
+#LINK_DIRECTORIES(../libschily)
ADD_EXECUTABLE (mkisofs mkisofs.c ${MKISOFS_MOST_SRCS})
TARGET_LINK_LIBRARIES(mkisofs hfs_iso deflt ${MAGICLIBS} c unls z ${EXTRA_LIBICONV} ${EXTRA_LIBS})
Any Hints?
Best,
--Lorenz
More information about the Debburn-devel
mailing list