Download the master.zip from https://github.com/facebook/hhvm
(careful, it's like 30MB).

unzip it. observe lots of really weird output flying by.

stop extraction and look closer:

~/hhvm-master/hphp/third_party/ti> ls -l
total 8
lrwxr-xr-x  1 tedu  tedu  633 Jan  8 11:26 CMakeLists.txt@ ->
set(CXX_SOURCES)?auto_sources(files "*.cpp" "RECURSE"
"${CMAKE_CURRENT_SOURCE_DIR}")?list(APPEND CXX_SOURCES
${files})??find_package(Boost 1.48.0 COMPONENTS thread system
REQUIRED)?include_directories(${Boost_INCLUDE_DIRS})?
link_directories(${Boost_LIBRARY_DIRS})??include_directories
("${HPHP_HOME}/hphp/third_party")?add_library(hphp_proxygen
STATIC ${CXX_SOURCES})??add_dependencies(hphp_proxygen
hphp_thrift)?target_link_libraries(hphp_proxygen hphp_thrift ?
${Boost_LIBRARIES}?
${LIBGLOG_LIBRARY}?
${LIBPTHREAD_LIBRARIES})??

I didn't even know zip files supported symlinks, apparently they do.
But why is it creating symlinks to the file contents? Is the zip file
broken (github to blame) or is unzip broken? I don't know enough to
peer into the file.

Apologies for being only tangentially openbsd related.

Reply via email to