This is a multi-part message in MIME format.
--===============0633450193==
Content-Type: multipart/alternative;
boundary="----=_NextPart_000_003F_01C859F2.9310AB40"
This is a multi-part message in MIME format.
------=_NextPart_000_003F_01C859F2.9310AB40
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I am trying to compile the KDE4 sources from branches/KDE/4.0 and I =
receive this message from sandbox:
symlink: /usr/kde/svn/share/doc/HTML/en/sonnet/common (symlink to =
/usr/kde/svn/share/doc/HTML/en/common)
This is the only item to fail during installing phase of kdelibs. The =
installer is trying to access a directory outside of the temp install =
directory setup by sandbox. The install prefix is passed to the =
configure script, and this is evident since everything else compiles and =
installs to the right directory.
The cmake command "create_symlink" might what is at fault. It is not =
respecting the install prefix variable, or it could be an error in the =
following macro:
macro (KDE4_CREATE_HANDBOOK _docbook)
get_filename_component(_input ${_docbook} ABSOLUTE)
set(_doc ${CMAKE_CURRENT_BINARY_DIR}/index.cache.bz2)
#Bootstrap
if (_kdeBootStrapping)
set(_ssheet =
${CMAKE_SOURCE_DIR}/kdoctools/customization/kde-chunk.xsl)
set(_bootstrapOption "--srcdir=3D${CMAKE_SOURCE_DIR}/kdoctools/")
else (_kdeBootStrapping)
set(_ssheet =
${KDE4_DATA_INSTALL_DIR}/ksgmltools2/customization/kde-chunk.xsl)
set(_bootstrapOption)
endif (_kdeBootStrapping)
file(GLOB _docs *.docbook)
add_custom_command(OUTPUT ${_doc}
COMMAND ${KDE4_MEINPROC_EXECUTABLE} --check ${_bootstrapOption} =
--cache ${_doc} ${_input}
DEPENDS ${_docs} ${_KDE4_MEINPROC_EXECUTABLE_DEP} ${_ssheet}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
add_custom_target(handbook ALL DEPENDS ${_doc})
if(KDE4_ENABLE_HTMLHANDBOOK)
set(_htmlDoc ${CMAKE_CURRENT_SOURCE_DIR}/index.html)
add_custom_command(OUTPUT ${_htmlDoc}
COMMAND ${KDE4_MEINPROC_EXECUTABLE} --check ${_bootstrapOption} =
-o ${_htmlDoc} ${_input}
DEPENDS ${_input} ${_KDE4_MEINPROC_EXECUTABLE_DEP} ${_ssheet}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)
add_custom_target(htmlhandbook DEPENDS ${_htmlDoc})
endif(KDE4_ENABLE_HTMLHANDBOOK)
set(_args ${ARGN})
set(_installDest)
if(_args)
list(GET _args 0 _tmp)
if("${_tmp}" STREQUAL "INSTALL_DESTINATION")
list(GET _args 1 _installDest )
list(REMOVE_AT _args 0 1)
endif("${_tmp}" STREQUAL "INSTALL_DESTINATION")
endif(_args)
get_filename_component(dirname ${CMAKE_CURRENT_SOURCE_DIR} NAME_WE)
if(_args)
list(GET _args 0 _tmp)
if("${_tmp}" STREQUAL "SUBDIR")
list(GET _args 1 dirname )
list(REMOVE_AT _args 0 1)
endif("${_tmp}" STREQUAL "SUBDIR")
endif(_args)
if(_installDest)
file(GLOB _images *.png)
install(FILES ${_doc} ${_docs} ${_images} DESTINATION =
${_installDest}/${dirname})
# TODO symlinks on non-unix platforms
if (UNIX)
# execute some cmake code on make install which creates the =
symlink
install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E =
create_symlink \"${_installDest}/common\" =
\"${_installDest}/${dirname}/common\" )" )
endif (UNIX)
endif(_installDest)
endmacro (KDE4_CREATE_HANDBOOK)
in
The sonnet doc uses the html install var so it might be something with =
this. The function with create symlink, shouldn't the _installDest var =
have have the first / dropped? So it would be usr/kde/svn..... instead =
of /usr/kde/svn... ? Or CD to the dir where the symlinking is going on =
to and drop the _installDest altogehter?
Thanks.
------=_NextPart_000_003F_01C859F2.9310AB40
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
I am trying to compile the KDE4 sources =
from=20
branches/KDE/4.0 and I receive this message from=20
sandbox:
symlink: =
/usr/kde/svn/share/doc/HTML/en/sonnet/common=20
(symlink to /usr/kde/svn/share/doc/HTML/en/common)
This is the only item to =
fail during=20
installing phase of kdelibs. The installer is trying to access a =
directory=20
outside of the temp install directory setup by sandbox. The install =
prefix is=20
passed to the configure script, and this is evident since everything =
else=20
compiles and installs to the right directory.
The cmake command "create_symlink" =
might what is at=20
fault. It is not respecting the install prefix variable, or it could be =
an error=20
in the following macro:
macro (KDE4_CREATE_HANDBOOK =
_docbook)
=20
get_filename_component(_input ${_docbook} ABSOLUTE)
=
set(_doc=20
${CMAKE_CURRENT_BINARY_DIR}/index.cache.bz2)
#Bootstrap
=
if=20
(_kdeBootStrapping)
set(_ssheet=20
${CMAKE_SOURCE_DIR}/kdoctools/customization/kde-chunk.xsl)
 =
; =20
set(_bootstrapOption =
"--srcdir=3D${CMAKE_SOURCE_DIR}/kdoctools/")
=20
else (_kdeBootStrapping)
set(_ssheet=20
${KDE4_DATA_INSTALL_DIR}/ksgmltools2/customization/kde-chunk.xsl)
&nbs=
p; =20
set(_bootstrapOption)
endif =
(_kdeBootStrapping)
file(GLOB _docs=20
*.docbook)
add_custom_command(OUTPUT=20
${_doc}
COMMAND =
${KDE4_MEINPROC_EXECUTABLE}=20
--check ${_bootstrapOption} --cache ${_doc}=20
${_input}
DEPENDS ${_docs}=20
${_KDE4_MEINPROC_EXECUTABLE_DEP} =
${_ssheet}
=20
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
=
)
=20
add_custom_target(handbook ALL DEPENDS ${_doc})
=20
if(KDE4_ENABLE_HTMLHANDBOOK)
=
set(_htmlDoc=20
${CMAKE_CURRENT_SOURCE_DIR}/index.html)
=
=20
add_custom_command(OUTPUT=20
${_htmlDoc}
COMMAND=20
${KDE4_MEINPROC_EXECUTABLE} --check ${_bootstrapOption} -o ${_htmlDoc}=20
${_input}
DEPENDS =
${_input}=20
${_KDE4_MEINPROC_EXECUTABLE_DEP}=20
${_ssheet}
=
WORKING_DIRECTORY=20
${CMAKE_CURRENT_SOURCE_DIR}
=20
)
add_custom_target(htmlhandbook =
DEPENDS=20
${_htmlDoc})
=
endif(KDE4_ENABLE_HTMLHANDBOOK)
set(_args =
${ARGN})
=
set(_installDest)
=20
if(_args)
list(GET _args 0=20
_tmp)
if("${_tmp}" STREQUAL=20
"INSTALL_DESTINATION")
 =
;=20
list(GET _args 1 _installDest=20
)
list(REMOVE_AT =
_args 0=20
1)
endif("${_tmp}" STREQUAL=20
"INSTALL_DESTINATION")
endif(_args)
=
get_filename_component(dirname=20
${CMAKE_CURRENT_SOURCE_DIR} NAME_WE)
=20
if(_args)
list(GET _args 0=20
_tmp)
if("${_tmp}" STREQUAL=20
"SUBDIR")
list(GET =
_args 1=20
dirname )
=
list(REMOVE_AT=20
_args 0 1)
endif("${_tmp}" STREQUAL=20
"SUBDIR")
endif(_args)
=20
if(_installDest)
file(GLOB _images=20
*.png)
install(FILES ${_doc} ${_docs}=20
${_images} DESTINATION=20
${_installDest}/${dirname})
# TODO =
symlinks on=20
non-unix platforms
if=20
(UNIX)
# execute =
some cmake=20
code on make install which creates the=20
symlink
install(CODE =
"execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink=20
\"${_installDest}/common\" \"${_installDest}/${dirname}/common\" =
)"=20
)
endif (UNIX)
=20
endif(_installDest)
endmacro =
(KDE4_CREATE_HANDBOOK)
in
The sonnet doc uses the html install =
var so it=20
might be something with this. The function with create symlink, =
shouldn't the=20
_installDest var have have the first / dropped? So it would be =
usr/kde/svn.....=20
instead of /usr/kde/svn... ? Or CD to the dir where the symlinking is =
going on=20
to and drop the _installDest altogehter?
Thanks.
------=_NextPart_000_003F_01C859F2.9310AB40--
--===============0633450193==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
--===============0633450193==--