[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-buildsystem
Subject: Sandbox issues with branches/KDE/4.0
From: <SchaduwBlink () hotmail ! com>
Date: 2008-01-18 22:52:56
Message-ID: BAY139-DS3E9E687413CC8C4A31CE8D2420 () phx ! gbl
[Download RAW message or body]
[Attachment #2 (multipart/alternative)]
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=${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.
[Attachment #5 (text/html)]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content=text/html;charset=iso-8859-1>
<META content="MSHTML 6.00.6000.20710" name=GENERATOR></HEAD>
<BODY id=MailContainerBody
style="PADDING-RIGHT: 10px; PADDING-LEFT: 10px; PADDING-TOP: 15px"
bgColor=#ffffff leftMargin=0 topMargin=0 CanvasTabStop="true"
name="Compose message area">
<DIV><FONT face=Arial size=2>I am trying to compile the KDE4 sources from
branches/KDE/4.0 and I receive this message from
sandbox:<BR>symlink: /usr/kde/svn/share/doc/HTML/en/sonnet/common
(symlink to /usr/kde/svn/share/doc/HTML/en/common)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>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:<BR>macro (KDE4_CREATE_HANDBOOK _docbook)<BR>
get_filename_component(_input ${_docbook} ABSOLUTE)<BR> set(_doc
${CMAKE_CURRENT_BINARY_DIR}/index.cache.bz2)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> #Bootstrap<BR> if
(_kdeBootStrapping)<BR> set(_ssheet
${CMAKE_SOURCE_DIR}/kdoctools/customization/kde-chunk.xsl)<BR>
set(_bootstrapOption "--srcdir=${CMAKE_SOURCE_DIR}/kdoctools/")<BR>
else (_kdeBootStrapping)<BR> set(_ssheet
${KDE4_DATA_INSTALL_DIR}/ksgmltools2/customization/kde-chunk.xsl)<BR>
set(_bootstrapOption)<BR> endif (_kdeBootStrapping)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> file(GLOB _docs
*.docbook)<BR> add_custom_command(OUTPUT
${_doc}<BR> COMMAND ${KDE4_MEINPROC_EXECUTABLE}
--check ${_bootstrapOption} --cache ${_doc}
${_input}<BR> DEPENDS ${_docs}
${_KDE4_MEINPROC_EXECUTABLE_DEP} ${_ssheet}<BR>
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}<BR> )<BR>
add_custom_target(handbook ALL DEPENDS ${_doc})</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>
if(KDE4_ENABLE_HTMLHANDBOOK)<BR> set(_htmlDoc
${CMAKE_CURRENT_SOURCE_DIR}/index.html)<BR>
add_custom_command(OUTPUT
${_htmlDoc}<BR> COMMAND
${KDE4_MEINPROC_EXECUTABLE} --check ${_bootstrapOption} -o ${_htmlDoc}
${_input}<BR> DEPENDS ${_input}
${_KDE4_MEINPROC_EXECUTABLE_DEP}
${_ssheet}<BR> WORKING_DIRECTORY
${CMAKE_CURRENT_SOURCE_DIR}<BR>
)<BR> add_custom_target(htmlhandbook DEPENDS
${_htmlDoc})<BR> endif(KDE4_ENABLE_HTMLHANDBOOK)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> set(_args ${ARGN})</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> set(_installDest)<BR>
if(_args)<BR> list(GET _args 0
_tmp)<BR> if("${_tmp}" STREQUAL
"INSTALL_DESTINATION")<BR>
list(GET _args 1 _installDest
)<BR> list(REMOVE_AT _args 0
1)<BR> endif("${_tmp}" STREQUAL
"INSTALL_DESTINATION")<BR> endif(_args)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> get_filename_component(dirname
${CMAKE_CURRENT_SOURCE_DIR} NAME_WE)<BR>
if(_args)<BR> list(GET _args 0
_tmp)<BR> if("${_tmp}" STREQUAL
"SUBDIR")<BR> list(GET _args 1
dirname )<BR> list(REMOVE_AT
_args 0 1)<BR> endif("${_tmp}" STREQUAL
"SUBDIR")<BR> endif(_args)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>
if(_installDest)<BR> file(GLOB _images
*.png)<BR> install(FILES ${_doc} ${_docs}
${_images} DESTINATION
${_installDest}/${dirname})<BR> # TODO symlinks on
non-unix platforms<BR> if
(UNIX)<BR> # execute some cmake
code on make install which creates the
symlink<BR> install(CODE
"execute_process(COMMAND ${CMAKE_COMMAND} -E create_symlink
\"${_installDest}/common\" \"${_installDest}/${dirname}/common\" )"
)<BR> endif (UNIX)<BR>
endif(_installDest)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>endmacro (KDE4_CREATE_HANDBOOK)</FONT></DIV>
<DIV><FONT face=Arial size=2>in</FONT></DIV>
<DIV><FONT face=Arial size=2>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?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks.</FONT></DIV></BODY></HTML>
_______________________________________________
Kde-buildsystem mailing list
Kde-buildsystem@kde.org
https://mail.kde.org/mailman/listinfo/kde-buildsystem
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic