-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 7/14/10 8:19 AM, Sjors Gielen wrote: > Hi Martin, > > The new version of cmake 2.8.2-1 you uploaded a while ago, doesn't build > here.
"here" being what platform? What Xcode version? I decided to wait until bugreporting it because it looked like a problem everybody would have so it would be fixed right away, but it hasn't yet. > It worked here. (10.5.8/i386, Xcode 3.1.4). Possibly on my 10.6 setups, too, but I don't have that disk here to check. > This is the error I get: > > [ 30%] Building C object > Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_entry.c.o > /sw/src/fink.build/cmake-2.8.2-1/cmake-2.8.2/Utilities/cmlibarchive/libarchive/archive_entry.c:130: > error: static declaration of 'wcscpy' follows non-static declaration > /usr/include/wchar.h:149: error: previous declaration of 'wcscpy' was here > /sw/src/fink.build/cmake-2.8.2-1/cmake-2.8.2/Utilities/cmlibarchive/libarchive/archive_entry.c:139: > error: static declaration of 'wcslen' follows non-static declaration > /usr/include/wchar.h:153: error: previous declaration of 'wcslen' was here > make[2]: *** > [Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/archive_entry.c.o] > Error 1 > make[1]: *** > [Utilities/cmlibarchive/libarchive/CMakeFiles/cmlibarchive.dir/all] Error 2 > make: *** [all] Error 2 > ### execution of /var/tmp/tmp.1.4jmrcy failed, exit code 2 > Removing runtime build-lock... > Removing build-lock package... > /sw/bin/dpkg-lockwait -r fink-buildlock-cmake-2.8.2-1 > (Database inlezen ... 199238 bestanden en mappen geïnstalleerd.) > fink-buildlock-cmake-2.8.2-1 wordt verwijderd ... > Failed: phase compiling: cmake-2.8.2-1 failed > > Before reporting any errors, please run "fink selfupdate" and > try again. If you continue to have issues, please check to see if the > FAQ on fink's website solves the problem. If not, ask on the fink-users > or fink-beginners mailing lists, with a carbon copy to the maintainer: > > Martin Costabel <costa...@wanadoo.fr> > > Note that this is preferable to emailing the maintainer directly, since > most fink package maintainers do not have access to all possible > hardware and software configurations. > > > Looking at archive_entry.c line 130 and 139, HAVE_WCSCPY and HAVE_WCSLEN must > be unset and (line 66) HAVE_WCHAR_H must be set; this apparantly makes stuff > fail since wchar.h contains both functions anyway. > > This is also reflected in Utilities/cmlibarchive/config.h: > > /* Define to 1 if you have the `wcscpy' function. */ > /* #undef HAVE_WCSCPY */ > /* Define to 1 if you have the `wcslen' function. */ > /* #undef HAVE_WCSLEN */ > /* Define to 1 if you have the <wchar.h> header file. */ > #define HAVE_WCHAR_H 1 > > Completely removing the /sw/src/fink.build/cmake* directory and rebuilding > did, as expected, not help. Right, because when you initiate another build fink does that anyway. > > Anyone else having this problem? Want me to try any other .info or .patch > file? > > Thanks, > Sjors > > > The only cmake bug report we had recently apparently was due to somebody having a bad Xcode install, and the error was completely different. - -- Alexander Hansen Fink User Liaison -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkw9u2UACgkQB8UpO3rKjQ85ywCdFifT5OFQyVpL796EepqmrpFf YI4An3scOZ2aoPMrE44IwYve5e9iBp+V =AA5e -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Fink-users mailing list Fink-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-users