Git Product home page Git Product logo

kstars-on-osx-craft's People

Contributors

castorf avatar rlancaste avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kstars-on-osx-craft's Issues

[email protected] bad CPU type in executable

Almost certainly an issue with my installation, but with little knowledge of craft, this seems intractable to me...

j@Mac-Studio kstars-on-osx-craft % ~/Projects/kstars-on-osx-craft/build-kstars.sh -v

ANNOUNCE = Nope
STABLE_BUILD = Nope
GENERATE_DMG = Nope
GENERATE_XCODE = Nope
FORCE_RUN = Nope
REMOVE_ALL = Nope
VERBOSE = -vvv

Script is up-to-date

DIR is [/Users/j/Projects/kstars-on-osx-craft]
ASTRO_ROOT is [/Users/j/AstroRoot]
INDI_DIR is [/Users/j/AstroRoot/indi-work]
FORKED_INDI_REPO is [[email protected]:rlancaste/indi.git]
FORKED_INDI_3RDPARTY_REPO is [[email protected]:rlancaste/indi-3rdparty.git]
CRAFT_DIR is [/Users/j/AstroRoot/craft-root]
SHORTCUTS_DIR is [/Users/j/AstroRoot/craft-shortcuts]
PATH is [/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/opt/X11/bin:/Library/Apple/usr/bin]
OSX Deployment target is [10.15]
KStars Version is [3.6.2]
INDI_WEB_MANAGER_VERSION is [1.8]

~ Checking Connections

Homebrew connection was found.
Craft connection was found.
Oxygen connection was found.
CustomMacBlueprints connection was found.

~ Starting script, building INDI and KStars with Craft
~ Installing Homebrew Dependencies.

Running brew update --auto-update...
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
hermit kubefirst metals oauth2c zf

Warning: [email protected] 3.10.8 is already installed and up-to-date.
To reinstall 3.10.8, run:
brew reinstall [email protected]
Warning: ninja 1.11.1 is already installed and up-to-date.
To reinstall 1.11.1, run:
brew reinstall ninja
Warning: gnupg 2.3.8 is already installed and up-to-date.
To reinstall 2.3.8, run:
brew reinstall gnupg
Warning: subversion 1.14.2_1 is already installed and up-to-date.
To reinstall 1.14.2_1, run:
brew reinstall subversion

~ Copying Craft Settings and Blueprint settings specific to building on macs.

Craft : /Users/j/AstroRoot/craft-root
Version : master
ABI : macos-clang-x86_64
Download directory : /Users/j/AstroRoot/craft-root/download

~ Building INDI and required dependencies

arch: posix_spawnp: /opt/homebrew/opt/[email protected]/bin/python3.10: Bad CPU type in executable

permission denied error

When running buikd_kstars.sh script, I ran across this:

~ Installing Homebrew Dependencies.

Warning: [email protected] 3.9.6 is already installed and up-to-date.
To reinstall 3.9.6, run:
brew reinstall [email protected]
Warning: ninja 1.10.2 is already installed and up-to-date.
To reinstall 1.10.2, run:
brew reinstall ninja
Warning: gpsd 3.21 is already installed and up-to-date.
To reinstall 3.21, run:
brew reinstall gpsd
Warning: gnupg 2.3.1_1 is already installed and up-to-date.
To reinstall 2.3.1_1, run:
brew reinstall gnupg
Warning: subversion 1.14.1_3 is already installed and up-to-date.
To reinstall 1.14.1_3, run:
brew reinstall subversion
ln: /usr/local/bin/gpg2: Permission denied

Current build-kstars.sh issues (Ventura?)

A few issues with the current script on a fresh install.

  • It fails on a fresh install while looking for Avidemux_2.7.6, which is not found. I had to install it to to then let the script upgrade it.
  • On macOS Ventura, the DIR variable fails to cp ./settings/CraftSettings.ini.
  • After I modified the script to use the full path, it hangs on this step:
    executing command: /usr/bin/patch --ignore-whitespace -d /Users/redacted/AstroRoot/craft-root/build/libs/xplanet/work/xplanet-1.3.1 -p 1 -i /Users/redacted/AstroRoot/craft-root/etc/blueprints/locations/craft-blueprints-kde/libs/_mac/xplanet/xplanet-1.3.1-ntimes.patch

build.ninja

Hello Rob,

I've used the following command to start the build:
~/Projects/kstars-on-osx-craft/build-kstars.sh -d

And at some point I get the following error:

-- Found ZLIB: /Users/heidenrod/AstroRoot/kstars-craft/lib/libz.dylib (found version "1.2.11")
-- Found CFITSIO 3.45: /Users/heidenrod/AstroRoot/kstars-craft/lib/libcfitsio.dylib
-- Found CFITSIO: /Users/heidenrod/AstroRoot/kstars-craft/lib/libcfitsio.dylib
-- Found NOVA: /Users/heidenrod/AstroRoot/kstars-craft/lib/libnova.dylib
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found USB1: /Users/heidenrod/AstroRoot/kstars-craft/lib/libusb-1.0.dylib
-- Performing Test USB1_HAS_LIBUSB_ERROR_NAME
-- Performing Test USB1_HAS_LIBUSB_ERROR_NAME - Success
-- Found CURL: /usr/lib/libcurl.dylib (found version "7.54.0")
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE)
-- Found GSL: /Users/heidenrod/AstroRoot/kstars-craft/include (found version "2.2.1")
-- Found JPEG: /Users/heidenrod/AstroRoot/kstars-craft/lib/libjpeg.a
CMake Error at /Users/heidenrod/AstroRoot/kstars-craft/download/git/libs/indiserver/cmake_modules/FindFFTW3.cmake:46 (message):
FFTW3 not found. Please install libfftw3-dev
Call Stack (most recent call first):
CMakeLists.txt:298 (find_package)

-- Configuring incomplete, errors occurred!
See also "/Users/heidenrod/AstroRoot/kstars-craft/build/libs/indiserver/work/RelWithDebInfo-Latest/CMakeFiles/CMakeOutput.log".
executing command: "/Users/heidenrod/AstroRoot/kstars-craft/dev-utils/bin/ninja"
ninja: error: loading 'build.ninja': No such file or directory
Action: compile for libs/indiserver:Latest FAILED
*** Craft all failed: libs/indiserver after 2 minutes 7 seconds ***
fatal error: package libs/indiserver all failed

~ Something failed

Failed to copy file ...FindLibRaw.cmake

started with a fresh install, I believe and I get this error on FindLibRaw.cmake

Any ideas?

executing command: /Users/jerryblack/AstroRoot/craft-root/dev-utils/bin/ninja -j 16 install
[0/1] Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/pkgconfig/libraw.pc
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/pkgconfig/libraw_r.pc
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_alloc.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_const.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_datastream.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_internal.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_types.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_version.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_config.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/libraw.20.0.0.dylib
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/libraw.20.dylib
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/libraw.dylib
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/libraw_r.20.0.0.dylib
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/libraw_r.20.dylib
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/libraw_r.dylib
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.23/Modules/FindLibRaw.cmake
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/share/libraw/COPYRIGHT
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/share/libraw/LICENSE.CDDL
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/share/libraw/LICENSE.LGPL
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/share/libraw/Changelog.txt
executing command: /usr/bin/dsymutil /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw.20.0.0.dylib -o /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2-dbg/lib/libraw.20.0.0.dylib.dSYM
executing command: /usr/bin/strip -x -S /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw.20.0.0.dylib
executing command: /usr/bin/codesign -f -s - /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw.20.0.0.dylib
executing command: /usr/bin/dsymutil /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw_r.20.0.0.dylib -o /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2-dbg/lib/libraw_r.20.0.0.dylib.dSYM
executing command: /usr/bin/strip -x -S /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw_r.20.0.0.dylib
executing command: /usr/bin/codesign -f -s - /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw_r.20.0.0.dylib
executing command: /usr/bin/codesign -s - -f --deep --preserve-metadata=identifier,entitlements /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw.20.0.0.dylib
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw.20.0.0.dylib: replacing existing signature
executing command: /usr/bin/codesign -s - -f --deep --preserve-metadata=identifier,entitlements /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw_r.20.0.0.dylib
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw_r.20.0.0.dylib: replacing existing signature
*** Action: post-install for libs/libraw ***
*** Action: qmerge for libs/libraw ***
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_alloc.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_alloc.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_version.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_version.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_const.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_const.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_internal.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_internal.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_datastream.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_datastream.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_config.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_config.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_types.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_types.h
Failed to create hardlink /Users/jerryblack/AstroRoot/craft-root/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.23/Modules/FindLibRaw.cmake for /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.23/Modules/FindLibRaw.cmake
Failed to copy file:
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.23/Modules/FindLibRaw.cmake to
/Users/jerryblack/AstroRoot/craft-root/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.23/Modules/FindLibRaw.cmake
Traceback (most recent call last):
File "/Users/jerryblack/AstroRoot/craft-root/craft/bin/utils.py", line 577, in copyFile
shutil.copy2(src, dest, follow_symlinks=False)
File "/usr/local/Cellar/[email protected]/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 436, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/local/Cellar/[email protected]/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 258, in copyfile
with open(dst, 'wb') as fdst:
^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted: '/Users/jerryblack/AstroRoot/craft-root/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.23/Modules/FindLibRaw.cmake'
Action: qmerge for libs/libraw:0.20.2 FAILED
*** Craft all failed: libs/libraw after 10 seconds ***
fatal error: package libs/libraw all failed
Craft stopped with out completing ['libs/libraw', 'libs/giflib', 'libs/webp', 'libs/tiff', 'libs/liblame', 'libs/libopus', 'libs/libsamplerate', 'libs/libsdl2', 'libs/libvorbis', 'libs/libvpx', 'libs/x264', 'libs/x265', 'libs/fribidi', 'libs/libass', 'perl-modules/xml-parser', 'dev-utils/intltool', 'dev-utils/yasm', 'libs/aom', 'libs/dav1d', 'libs/zimg', 'libs/ffmpeg', 'libs/librtlsdr', 'libs/protobuf', 'libs/opencv/opencv', 'libs/indiserver-3rdparty-libraries']
jerryblack@Mac-Studio kstars-on-osx-craft % >....
-- Install configuration: "RelWithDebInfo"
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/pkgconfig/libraw.pc
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/pkgconfig/libraw_r.pc
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_alloc.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_const.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_datastream.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_internal.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_types.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_version.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_config.h
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/libraw.20.0.0.dylib
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/libraw.20.dylib
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/libraw.dylib
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/libraw_r.20.0.0.dylib
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/libraw_r.20.dylib
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/lib/libraw_r.dylib
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.23/Modules/FindLibRaw.cmake
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/share/libraw/COPYRIGHT
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/share/libraw/LICENSE.CDDL
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/share/libraw/LICENSE.LGPL
-- Installing: /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/Users/jerryblack/AstroRoot/craft-root/share/libraw/Changelog.txt
executing command: /usr/bin/dsymutil /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw.20.0.0.dylib -o /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2-dbg/lib/libraw.20.0.0.dylib.dSYM
executing command: /usr/bin/strip -x -S /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw.20.0.0.dylib
executing command: /usr/bin/codesign -f -s - /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw.20.0.0.dylib
executing command: /usr/bin/dsymutil /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw_r.20.0.0.dylib -o /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2-dbg/lib/libraw_r.20.0.0.dylib.dSYM
executing command: /usr/bin/strip -x -S /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw_r.20.0.0.dylib
executing command: /usr/bin/codesign -f -s - /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw_r.20.0.0.dylib
executing command: /usr/bin/codesign -s - -f --deep --preserve-metadata=identifier,entitlements /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw.20.0.0.dylib
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw.20.0.0.dylib: replacing existing signature
executing command: /usr/bin/codesign -s - -f --deep --preserve-metadata=identifier,entitlements /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw_r.20.0.0.dylib
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/lib/libraw_r.20.0.0.dylib: replacing existing signature
*** Action: post-install for libs/libraw ***
*** Action: qmerge for libs/libraw ***
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_alloc.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_alloc.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_version.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_version.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_const.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_const.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_internal.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_internal.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_datastream.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_datastream.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_config.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_config.h
Overriding: /Users/jerryblack/AstroRoot/craft-root/include/libraw/libraw_types.h with
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/include/libraw/libraw_types.h
Failed to create hardlink /Users/jerryblack/AstroRoot/craft-root/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.23/Modules/FindLibRaw.cmake for /Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.23/Modules/FindLibRaw.cmake
Failed to copy file:
/Users/jerryblack/AstroRoot/craft-root/build/libs/libraw/image-RelWithDebInfo-0.20.2/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.23/Modules/FindLibRaw.cmake to
/Users/jerryblack/AstroRoot/craft-root/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.23/Modules/FindLibRaw.cmake
Traceback (most recent call last):
File "/Users/jerryblack/AstroRoot/craft-root/craft/bin/utils.py", line 577, in copyFile
shutil.copy2(src, dest, follow_symlinks=False)
File "/usr/local/Cellar/[email protected]/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 436, in copy2
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/usr/local/Cellar/[email protected]/3.11.2_1/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 258, in copyfile
with open(dst, 'wb') as fdst:
^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted: '/Users/jerryblack/AstroRoot/craft-root/dev-utils/cmake-base/CMake.app/Contents/share/cmake-3.23/Modules/FindLibRaw.cmake'
Action: qmerge for libs/libraw:0.20.2 FAILED
*** Craft all failed: libs/libraw after 10 seconds ***
fatal error: package libs/libraw all failed
Craft stopped with out completing ['libs/libraw', 'libs/giflib', 'libs/webp', 'libs/tiff', 'libs/liblame', 'libs/libopus', 'libs/libsamplerate', 'libs/libsdl2', 'libs/libvorbis', 'libs/libvpx', 'libs/x264', 'libs/x265', 'libs/fribidi', 'libs/libass', 'perl-modules/xml-parser', 'dev-utils/intltool', 'dev-utils/yasm', 'libs/aom', 'libs/dav1d', 'libs/zimg', 'libs/ffmpeg', 'libs/librtlsdr', 'libs/protobuf', 'libs/opencv/opencv', 'libs/indiserver-3rdparty-libraries']

Issue Building INDI 3rd Party Libraries and required dependencies - libs/pcreTest

Hopefully it's not just me and something has changed, but I'm getting a missing libs/pcreTest during the craft execution

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~ Building INDI 3rd Party Libraries and required dependencies
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Craft               : /Volumes/Data_Raid/AstroRoot/craft-root
Version             : master
ABI                 : macos-64-clang
Download directory  : /Volumes/Data_Raid/AstroRoot/craft-root/download
================================================================================
*** Handling package: libs/pcreTest, action: all ***
*** Action: fetch-binary for libs/pcreTest ***
Could not find libs/pcreTest=8.45 in https://files.kde.org/craft/master/Qt_5.15.2-4/macos/64/clang/RelWithDebInfo
Could not find libs/pcreTest=8.45 in https://files.kde.org/craft/master/Qt_5.15.2-4/macos/64/clang/Release
*** libs/pcreTest not found in cache ***
*** Action: fetch for libs/pcreTest ***
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0   276    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404

executing command: /usr/bin/curl -C - --retry 10 -L --ftp-ssl --fail --cacert /Volumes/Data_Raid/AstroRoot/craft-root/etc/cacert.pem --max-redirs 50 -o /Volumes/Data_Raid/AstroRoot/craft-root/download/archives/libs/pcreTest/pcreTest-8.45.tar.gz https://ftp.pcre.org/pub/pcre/pcre-8.45.tar.bz2 -v
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0*   Trying 131.111.8.88:443...
* Connected to ftp.pcre.org (131.111.8.88) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*  CAfile: /Volumes/Data_Raid/AstroRoot/craft-root/etc/cacert.pem
*  CApath: none
* TLSv1.2 (OUT), TLS handshake, Client hello (1):
} [226 bytes data]
  0     0    0     0    0     0      0      0 --:--:--  0:00:11 --:--:--     0* LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to ftp.pcre.org:443 
  0     0    0     0    0     0      0      0 --:--:--  0:00:12 --:--:--     0
* Closing connection 0
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to ftp.pcre.org:443 
Action: fetch for libs/pcreTest:8.45 FAILED
*** Craft all failed: libs/pcreTest after 12 seconds ***
fatal error: package libs/pcreTest all failed
Craft stopped with out completing ['libs/pcreTest', 'libs/swig', 'libs/libftdi', 'libs/libdc1394', 'libs/jasper', 'libs/lcms2', 'libs/libraw', 'libs/tiff', 'libs/liblame', 'libs/libopus', 'libs/libsamplerate', 'libs/libsdl2', 'libs/libogg', 'libs/libvorbis', 'libs/pthreads', 'libs/libvpx', 'libs/x264', 'libs/x265', 'libs/ffmpeg', 'libs/librtlsdr', 'libs/indiserver3rdPartyLibraries']

Thanks

Rebuild fail under Catalina

Just tried to rebuild KStars for MacOS under Catalina. My goal was really to just create new libraries for Altair Cameras in order to try to see if the latest SDK in the 3rd party area on GiutHUB enabled my camera, but suggestions elsewhere on how to do this were based on Linux scripts requiring root access to system files. While I gave myself root access the system area protection in Catalina defeated me. Jasem pointed me to your great MacOS script for the rebuild. I have installed Xcode, CLT, brew, Craft, Python. The master build script fell over at the point below.

[5/90] Building C object CMakeFiles/cfitsio.dir/drvrnet.c.o
FAILED: CMakeFiles/cfitsio.dir/drvrnet.c.o
/Library/Developer/CommandLineTools/usr/bin/clang -DCFITSIO_HAVE_CURL -DHAVE_NET_SERVICES -Dcfitsio_EXPORTS -fdiagnostics-color=always -O2 -g -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -mmacosx-version-min=10.13 -fPIC -MD -MT CMakeFiles/cfitsio.dir/drvrnet.c.o -MF CMakeFiles/cfitsio.dir/drvrnet.c.o.d -o CMakeFiles/cfitsio.dir/drvrnet.c.o -c /Users/williamshaw/AstroRoot/craft-root/build/libs/cfitsio/work/cfitsio/drvrnet.c
/Users/williamshaw/AstroRoot/craft-root/build/libs/cfitsio/work/cfitsio/drvrnet.c:313:7: error: implicit declaration of function 'alarm' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
alarm(0);
^
/Users/williamshaw/AstroRoot/craft-root/build/libs/cfitsio/work/cfitsio/drvrnet.c:346:5: error: implicit declaration of function 'alarm' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
alarm(NETTIMEOUT*10);
^
/Users/williamshaw/AstroRoot/craft-root/build/libs/cfitsio/work/cfitsio/drvrnet.c:364:5: error: implicit declaration of function 'alarm' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
alarm(NETTIMEOUT);
^
/Users/williamshaw/AstroRoot/craft-root/build/libs/cfitsio/work/cfitsio/drvrnet.c:380:3: error: implicit declaration of function 'alarm' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
alarm(0);
^

and several further errors followed. I'm uncomfortable flagging this as an issue with your code as it might be my incompetence in setting up, but could not see how to contact you otherwise. Jasem suggested there might be a new KStars build forthcoming to incoportate new SDKs from 3rd parties. As I am on a Mac I was keen to see if I could enable my Hypercam right away. Failing that the creation of a new MacOS build would be great. Thanks

Build failed on High Sierra

Hello Rob,

I'm getting the following issue:

In file included from /Users/heidenrod/AstroRoot/craft-root/download/git/libs/indiserver/libs/stream/recorder/recordermanager.cpp:29:
/Users/heidenrod/AstroRoot/craft-root/download/git/libs/indiserver/libs/stream/recorder/theorarecorder.h:26:10: fatal error: 'ogg/ogg.h' file not found
#include <ogg/ogg.h>
^~~~~~~~~~~
1 error generated.
[23/454] Building C object CMakeFiles/indidriverstatic.dir/libs/stream/ccvt_misc.c.o
[24/454] Building C object CMakeFiles/indidriverstatic.dir/libs/stream/jpegutils.c.o
[25/454] Building CXX object CMakeFiles/indidriverstatic.dir/libs/stream/recorder/serrecorder.cpp.o
[26/454] Building CXX object CMakeFiles/indidriverstatic.dir/libs/stream/streammanager.cpp.o
[27/454] Building CXX object CMakeFiles/indi_planewave_deltat.dir/drivers/auxiliary/planewave_delta.cpp.o
ninja: build stopped: subcommand failed.
Action: compile for libs/indiserver:Latest FAILED
*** Craft all failed: libs/indiserver after 1 minute 32 seconds ***
fatal error: package libs/indiserver all failed
Craft stopped with out completing ['libs/indiserver']

~ Something failed

Stephane

xplanet

In file included from /Users/heidenrod/AstroRoot/kstars-craft/build/libs/xplanet/work/xplanet-1.3.1/src/libannotate/addArcs.cpp:17:
In file included from /Users/heidenrod/AstroRoot/kstars-craft/build/libs/xplanet/work/xplanet-1.3.1/src/xpUtil.h:4:
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:323:9: error: no member named 'islessgreater' in the global namespace
using ::islessgreater;
~~^
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:324:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
/Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:325:9: error: no member named 'isunordered' in the global namespace
using ::isunordered;
~~^
13 errors generated.
13 errors generated.
make[3]: *** [addMarkers.o] Error 1
make[3]: *** [addArcs.o] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Action: compile for libs/xplanet:1.3.1 FAILED
*** Craft all failed: libs/xplanet after 25 seconds ***
fatal error: package libs/xplanet all failed

~ Something failed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.