Hi Martin, The new version of cmake 2.8.2-1 you uploaded a while ago, doesn't build here. 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.
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 <[email protected]>
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.
Anyone else having this problem? Want me to try any other .info or .patch file?
Thanks,
Sjors
smime.p7s
Description: S/MIME cryptographic 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 [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
