nxp-imx / mfgtools

Freescale/NXP I.MX Chip image deploy tools.
BSD 3-Clause "New" or "Revised" License
523 stars 293 forks source link

MacOS uuu build, success/fail ? #316

Open thepian opened 2 years ago

thepian commented 2 years ago

I'm unsure if anything was built. Git status shows no changes on disk...

(miniforge3)henrikvendelbo@iMac Projects % git clone https://github.com/NXPmicro/mfgtools.git
Cloning into 'mfgtools'...
remote: Enumerating objects: 4560, done.
remote: Counting objects: 100% (387/387), done.
remote: Compressing objects: 100% (247/247), done.
remote: Total 4560 (delta 264), reused 204 (delta 139), pack-reused 4173
Receiving objects: 100% (4560/4560), 3.82 MiB | 9.87 MiB/s, done.
Resolving deltas: 100% (3250/3250), done.
(miniforge3)henrikvendelbo@iMac Projects % cd mfgtools 
(miniforge3)henrikvendelbo@iMac mfgtools % brew install cmake libusb openssl pkg-config
Updating Homebrew...
==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:0cb1cc7af109437fe0e020c9f3b7b95c3c709b140bde9f991ad2c1433496dd42
################################################################################################################## 100.0%
==> Pouring portable-ruby-2.6.8.yosemite.bottle.tar.gz
==> Auto-updated Homebrew!
Updated 2 taps (homebrew/core and homebrew/cask).
==> New Formulae
abi-compliance-checker        fbthrift                      libsoup@2                     seaweedfs
abi-dumper                    fdroidcl                      libxls                        sevenzip
all-repos                     fisher                        lighthouse                    sextractor
arkade                        fnlfmt                        lua-language-server           sigrok-cli
ascii2binary                  fnt                           luau                          smug
atmos                         fprettify                     mcfly                         sniffer
bash-language-server          fypp                          mdzk                          solargraph
biber                         ghcup                         mist                          spdx-sbom-generator
brigade-cli                   git-branchless                mold                          sqlfluff
btop                          gitlab-ci-local               mt32emu                       statix
cava                          go-critic                     nerdctl                       swiftplantuml
cgif                          goawk                         netmask                       symengine
charmcraft                    goplus                        nsh                           tailscale
chroma                        gotify                        odo-dev                       teku
clang-format@11               grafana-agent                 openliberty-jakartaee9        tfmigrate
cloudiscovery                 http-prompt                   openliberty-webprofile9       tfproviderlint
copier                        hurl                          pam-reattach                  tidy-viewer
corepack                      imap-backup                   payload-dumper-go             tilt
coursier                      iodine                        pdf2djvu                      tsduck
cpptoml                       iputils                       php@8.0                       twty
cri-tools                     isa-l                         pinot                         urlwatch
ctlptl                        ivtools                       pip-audit                     uuu
cwb3                          java-service-wrapper          pip-tools                     vermin
datafusion                    jsonschema                    pocsuite3                     vtable-dumper
djhtml                        juliaup                       regula                        weggli
dtm                           kube-score                    reshape                       west
dynomite                      kubernetes-cli@1.22           rizin                         yaml-language-server
elixir-ls                     kubeval                       roapi                         youtubeuploader
elvis                         ld-find-code-refs             rpki-client                   zbctl
erofs-utils                   libadwaita                    rune                          zk
etcd-cpp-apiv3                libgrape-lite                 rustfmt                       zsh-fast-syntax-highlighting
fastfec                       libsigrok                     salt-lint
fastp                         libsigrokdecode               scalingo
==> Updated Formulae
Updated 4955 formulae.
==> Renamed Formulae
annie -> lux                             mr2 -> zoro                              rt-audio -> rtaudio
==> Deleted Formulae
amap             dnsrend          gconf            jerasure         m2c              redsocks         whitedb
ape              drip             gcore            kakasi           magnetix         sdhash           whohas
appledoc         dshb             gf-complete      l-smash          makepp           shorten          xidel
balance          eject            git-hooks        libbind          marst            soundpipe        xtail
bbcolors         es               git-sh           liberasurecode   mboxgrep         srmio            zdelta
colorsvn         eventlog         gr-osmosdr       libmill          md               svdlibc
contacts         exomizer         hardlink-osx     libopendkim      namazu           swiftplate
csv-fix          flasm            henplus          libpuzzle        postmark         torrentcheck
dlite            fondu            httptunnel       libvbucket       rawtoaces        udns
==> New Casks
actual                  direqual                letter-opener           ppsspp                  swiftplantumlapp
appflowy                disk-diet               linearmouse             privadovpn              tablecruncher
appium-inspector        doughnut                ludwig                  projector               teamspeak-client
athens                  emmetapp                lunasea                 pure-writer             tentacle-sync-studio
avtouchbar              equinox                 macloggerdx             qth                     tev
azirevpn                fastmarks               macmorpheus             quarto                  textsniper
betterdummy             finalshell              macrorecorder           rectangle-pro           the-watcher
billings-pro            fishing-funds           mana-security           remotehamradio          threema
black-ink               fmail                   mightymike              replacicon              tidgi
blender-benchmark       folder-colorizer        monterey-cache-cleaner  restream-chat           todoist
breitbandmessung        fotokasten              moradownloader          revolver-office         toland-qlmarkdown
buckets                 foxit-pdf-editor        mural                   scatter                 topnotch
bugdom                  fs-uae-launcher         music-bar               schildichat             trackerzapper
centered                fxfactory               nanosaur                scroll                  ultracopier
citrix-workspace        gaphor                  nordlayer               shapr3d                 unipro-ugene
cleanmymac-zh           gitdock                 notch-simulator         shortery                vale-server
clips-ide               grammarly-desktop       notion-enhanced         sioyek                  valkyrie
clover                  gridtracker             only-switch             sitala                  videoduke
codeql                  handyprintpro           openbci                 smartreporter-free      vlc-setup
coffitivity-offline     inso                    openin                  sonic-lineup            volley
confluent-cli           izotope-product-portal  otto-matic              soothe2                 vpn-tracker-365
creality-slicer         jt-bridge               panwriter               soundtoys               waltr-heic-converter
cron                    jump-desktop-connect    paperpile               spaceid                 wolai
datasette               kdrive                  pd-runner               ssdreporter-free        wsjtx
dataspell               keycombiner             pichon                  steam-plus-plus         xstation5
dbgate                  kindavim                pluginval               supermjograph
defold                  kmeet                   podpisuj                surge-xt
==> Updated Casks
Updated 2031 casks.
==> Deleted Casks
aio-creator-neo                          fraise                                   octoscreen
air-connect                              freeter                                  omx-ebooks
airqmon                                  fritzing                                 outwit-hub
aja-system-test                          gameshow                                 pixelpeeper
aleo-studio                              geotagger                                platelet
anka-build-cloud-registry                getrasplex                               pullover
anzeigenchef                             gitbook                                  punto-switcher
archi                                    globalmeet                               qit
armitage                                 hackhands                                rcse
art-directors-toolkit                    handylock                                refined-github-safari
asc-timetables                           harvest                                  residualvm
aurora                                   hessenbox-da                             river-sparkle
avast-secureline-vpn                     hocus-focus                              sbarex-qlmarkdown
axe-edit-iii                             imitone                                  scrutiny
bearychat                                inboard                                  sickbeard-anime
bigsur-cache-cleaner                     informant                                silverlight
blooo                                    inxmail-professional                     skybox
breakaway                                iridient-developer                       sql-power-architect-jdbc
celldesigner                             ivideonclient                            tmnotifier
chameleon-ssd-optimizer                  jaksta-media-recorder                    tranquility
chocolat                                 jalbum                                   trayplay
collabshot                               juicebar                                 tuntap
comparemerge                             lelivrescolairefr                        unity-linux-support-for-editor
cytoscape                                linein                                   unity-lumin-support-for-editor
delayedlauncher                          littlesecrets                            videobox
dissenter-browser                        livereload                               virustotaluploader
domainbrain                              loni-pipeline                            visicut
doomrl                                   macspice                                 web-sharing
drama                                    magicprefs                               webex-nbr-player
duoshao                                  masterway-note                           webex-wrf-player
elgiganten-jotta                         mathinspector                            wwdcsrt
eudic-es                                 mediahuman-audio-converter               yy
everweb                                  meshmixer                                zipcleaner
evolve-ip-uc-one                         molsoftbrowser                           zoolz
fastonosql                               napari
flashlighttool                           nordvpn-teams

Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake
cmake 3.21.1 is already installed but outdated (so it will be upgraded).
Warning: libusb 1.0.24 is already installed and up-to-date.
To reinstall 1.0.24, run:
  brew reinstall libusb
Warning: pkg-config 0.29.2_3 is already installed and up-to-date.
To reinstall 0.29.2_3, run:
  brew reinstall pkg-config
==> Downloading https://ghcr.io/v2/homebrew/core/cmake/manifests/3.22.2
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/cmake/blobs/sha256:45b1e48b94fd1a676e925e8aa0db5de8f86b269f7a5844ea6b072
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:45b1e48b94fd1a676e925e8aa0db5de8f86b
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/manifests/2021-10-26
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/ca-certificates/blobs/sha256:1bbd45c16a0b9912174c553a6d7ae1b67b11abbeb31
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:1bbd45c16a0b9912174c553a6d7ae1b67b11
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/manifests/3.0.1
######################################################################## 100.0%
==> Downloading https://ghcr.io/v2/homebrew/core/openssl/3/blobs/sha256:331a18b7ac0b35d55adb422268c6b08190b378bdfec915a5f
==> Downloading from https://pkg-containers.githubusercontent.com/ghcr1/blobs/sha256:331a18b7ac0b35d55adb422268c6b08190b3
######################################################################## 100.0%
==> Upgrading cmake
  3.21.1 -> 3.22.2 

==> Pouring cmake--3.22.2.monterey.bottle.tar.gz
==> Caveats
To install the CMake documentation, run:
  brew install cmake-docs

Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/cmake
==> Summary
🍺  /usr/local/Cellar/cmake/3.22.2: 2,986 files, 44.3MB
==> Running `brew cleanup cmake`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).
Removing: /usr/local/Cellar/cmake/3.21.1... (6,615 files, 69MB)
==> Installing dependencies for openssl@3: ca-certificates
==> Installing openssl@3 dependency: ca-certificates
==> Pouring ca-certificates--2021-10-26.all.bottle.tar.gz
==> Regenerating CA certificate bundle from keychain, this may take a while...
🍺  /usr/local/Cellar/ca-certificates/2021-10-26: 3 files, 208.5KB
==> Installing openssl@3
==> Pouring openssl@3--3.0.1.monterey.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl@3/certs

and run
  /usr/local/opt/openssl@3/bin/c_rehash

openssl@3 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.

If you need to have openssl@3 first in your PATH, run:
  echo 'export PATH="/usr/local/opt/openssl@3/bin:$PATH"' >> ~/.zshrc

For compilers to find openssl@3 you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl@3/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl@3/include"

For pkg-config to find openssl@3 you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/openssl@3/lib/pkgconfig"

==> Summary
🍺  /usr/local/Cellar/openssl@3/3.0.1: 6,420 files, 28.1MB
==> Running `brew cleanup openssl@3`...
==> Caveats
==> cmake
To install the CMake documentation, run:
  brew install cmake-docs

Emacs Lisp files have been installed to:
  /usr/local/share/emacs/site-lisp/cmake
==> openssl@3
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
  /usr/local/etc/openssl@3/certs

and run
  /usr/local/opt/openssl@3/bin/c_rehash

openssl@3 is keg-only, which means it was not symlinked into /usr/local,
because macOS provides LibreSSL.

If you need to have openssl@3 first in your PATH, run:
  echo 'export PATH="/usr/local/opt/openssl@3/bin:$PATH"' >> ~/.zshrc

For compilers to find openssl@3 you may need to set:
  export LDFLAGS="-L/usr/local/opt/openssl@3/lib"
  export CPPFLAGS="-I/usr/local/opt/openssl@3/include"

For pkg-config to find openssl@3 you may need to set:
  export PKG_CONFIG_PATH="/usr/local/opt/openssl@3/lib/pkgconfig"

(miniforge3)henrikvendelbo@iMac mfgtools % cmake -DOPENSSL_ROOT_DIR=$(brew --prefix)/opt/openssl . && make
-- The C compiler identification is AppleClang 13.0.0.13000029
-- The CXX compiler identification is AppleClang 13.0.0.13000029
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) at libuuu/CMakeLists.txt:58:
  Syntax Warning in cmake code at column 159

  Argument not separated from preceding token by whitespace.
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found BZip2: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX12.1.sdk/usr/lib/libbz2.tbd (found version "1.0.8") 
-- Looking for BZ2_bzCompressInit
-- Looking for BZ2_bzCompressInit - found
-- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.29.2") 
-- Checking for module 'libusb-1.0>=1.0.16'
--   Found libusb-1.0, version 1.0.24
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE  
-- Found OpenSSL: /usr/local/opt/openssl/lib/libcrypto.dylib (found version "3.0.1")  
-- Checking for module 'zlib'
--   Found zlib, version 1.2.11
-- Configuring done
-- Generating done
-- Build files have been written to: /Volumes/Projects/mfgtools
[  3%] Generating gitversion.h
build not in appveyor
[  6%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/error.cpp.o
[  9%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/buffer.cpp.o
[ 12%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/cmd.cpp.o
/Volumes/Projects/mfgtools/libuuu/cmd.cpp:550:13: warning: expression with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
        if (typeid(*p) != typeid(CfgCmd))
                   ^
1 warning generated.
[ 15%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/config.cpp.o
[ 18%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/notify.cpp.o
[ 21%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/sdps.cpp.o
[ 24%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/trans.cpp.o
[ 27%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/usbhotplug.cpp.o
/Volumes/Projects/mfgtools/libuuu/usbhotplug.cpp:276:10: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
        if (ret = open_libusb(dev, &(ctx.m_dev)))
            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Projects/mfgtools/libuuu/usbhotplug.cpp:276:10: note: place parentheses around the assignment to silence this warning
        if (ret = open_libusb(dev, &(ctx.m_dev)))
                ^
            (                                   )
/Volumes/Projects/mfgtools/libuuu/usbhotplug.cpp:276:10: note: use '==' to turn this assignment into an equality comparison
        if (ret = open_libusb(dev, &(ctx.m_dev)))
                ^
                ==
/Volumes/Projects/mfgtools/libuuu/usbhotplug.cpp:486:14: warning: using the result of an assignment as a condition without parentheses [-Wparentheses]
                                        if (ret = open_libusb(dev, &(m_dev)))
                                            ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Projects/mfgtools/libuuu/usbhotplug.cpp:486:14: note: place parentheses around the assignment to silence this warning
                                        if (ret = open_libusb(dev, &(m_dev)))
                                                ^
                                            (                               )
/Volumes/Projects/mfgtools/libuuu/usbhotplug.cpp:486:14: note: use '==' to turn this assignment into an equality comparison
                                        if (ret = open_libusb(dev, &(m_dev)))
                                                ^
                                                ==
2 warnings generated.
[ 30%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/version.cpp.o
[ 33%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/sdp.cpp.o
[ 36%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/fastboot.cpp.o
[ 39%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/zip.cpp.o
[ 42%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/fat.cpp.o
[ 45%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/tar.cpp.o
[ 48%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/rominfo.cpp.o
[ 51%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/http.cpp.o
[ 54%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/hidreport.cpp.o
[ 57%] Building CXX object libuuu/CMakeFiles/uuc_s.dir/sparse.cpp.o
[ 60%] Linking CXX static library libuuc_s.a
[ 60%] Built target uuc_s
[ 63%] Creating preprocessed clst file /Volumes/Projects/mfgtools/uuu/gen/uuu.clst
[ 66%] Creating preprocessed clst file /Volumes/Projects/mfgtools/uuu/gen/emmc_burn_all.clst
[ 69%] Creating preprocessed clst file /Volumes/Projects/mfgtools/uuu/gen/emmc_burn_loader.clst
[ 72%] Creating preprocessed clst file /Volumes/Projects/mfgtools/uuu/gen/fat_write.clst
[ 75%] Creating preprocessed clst file /Volumes/Projects/mfgtools/uuu/gen/nand_burn_loader.clst
[ 78%] Creating preprocessed clst file /Volumes/Projects/mfgtools/uuu/gen/qspi_burn_loader.clst
[ 81%] Creating preprocessed clst file /Volumes/Projects/mfgtools/uuu/gen/sd_burn_all.clst
[ 84%] Creating preprocessed clst file /Volumes/Projects/mfgtools/uuu/gen/sd_burn_loader.clst
[ 87%] Creating preprocessed clst file /Volumes/Projects/mfgtools/uuu/gen/spl_boot.clst
[ 90%] Building CXX object uuu/CMakeFiles/uuu.dir/uuu.cpp.o
[ 93%] Building CXX object uuu/CMakeFiles/uuu.dir/buildincmd.cpp.o
[ 96%] Building CXX object uuu/CMakeFiles/uuu.dir/autocomplete.cpp.o
[100%] Linking CXX executable uuu
ld: warning: directory not found for option '-L/Volumes/Projects/mfgtools/uuu/libuuu'
[100%] Built target uuu
nxpfrankli commented 2 years ago

build success

[100%] Linking CXX executable uuu