I'm not quite sure how the Cmake system detects the system triple here but I assume that the log referenced is useless and I need the actual work dir.
Is there a machine somewhere in the cluster one could access to debug this?
No. I'm doing this under qemu emulation. I'm doing a test run locally outside of poudriere at the moment inside a mips chroot. I'll tar something up in a minute.
I've uploaded the contents of a failed mips build (via emulation in a chroot) here: http://people.freebsd.org/~sbruno/cmake_mips.tar.gz Platform/UnknownOS to use this system, please send your config file to cmake@www.cmake.org so it can be added to cmake -- Looking for getch in ws2_32;dl - not found -- Looking for getch in winmm;dl System is unknown to cmake, create: Platform/UnknownOS to use this system, please send your config file to cmake@www.cmake.org so it can be added to cmake -- Looking for getch in winmm;dl - not found CMake Error at Modules/FindPackageHandleStandardArgs.cmake:108 (message): Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the system variable OPENSSL_ROOT_DIR (missing: OPENSSL_LIBRARIES OPENSSL_INCLUDE_DIR) Call Stack (most recent call first): Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) Modules/FindOpenSSL.cmake:313 (find_package_handle_standard_args) Utilities/cmcurl/CMakeLists.txt:182 (FIND_PACKAGE) -- Configuring incomplete, errors occurred! See also "/usr/ports/devel/cmake/work/cmake-2.8.12.1/CMakeFiles/CMakeOutput.log". See also "/usr/ports/devel/cmake/work/cmake-2.8.12.1/CMakeFiles/CMakeError.log". --------------------------------------------- Error when bootstrapping CMake: Problem while running initial CMake --------------------------------------------- ===> Script "configure" failed unexpectedly. Please report the problem to kde@FreeBSD.org [maintainer] and attach the "/usr/ports/devel/cmake/work/cmake-2.8.12.1/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea). *** Error code 1 Stop. make[1]: stopped in /usr/ports/devel/cmake *** Error code 1 Stop. make: stopped in /usr/ports/devel/cmake
In order to reproduce this failure: build mips chroot: make TARGET=mips TARGET_ARCH=mips buildworld make TARGET=mips TARGET_ARCH=mips installworld DESTDIR=/sometempdir make TARGET=mips TARGET_ARCH=mips distribution DESTDIR=/sometempdir mount -t devfs devfs /sometempdir/dev mount -t nullfs /usr/ports /sometempdir/usr/port Install qemu-user-static on the host machine Setup binmiscctl to redirect mips execution to /usr/local/bin/qemu-user-mips Copy qemu-user-mips into the jail, cp /usr/local/bin/qemu-user-mips /sometempdir/usr/local/bin/qemu-user-mips chroot /sometempdir cd /usr/ports/devel/cmake make I've tried to document this in a blog post if it makes more sense: http://blog.ignoranthack.me/?p=218
devel/cmake now builds for mips/mips64 in an emulated environment without issue. http://tasty.ysv.freebsd.org/build.html?mastername=11mips32-default&build=2015-02-09_15h43m01s