Opened 3 years ago

Closed 3 years ago

#62808 closed defect (invalid)

gd2 @2.3.2_0+x11 build failure on arm64

Reported by: luisyp Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: luisyp
Port: gd2 zlib

Description (last modified by jmroot (Joshua Root))

Hello. I have this problem installing gnuradio through macports

macbookpro@MacBook-Pro-de-Luis ~ % sudo port install gnuradio
--->  Computing dependencies for gnuradio
The following dependencies will be installed: 
 adwaita-icon-theme
 assimp
 bzip2
 clang-11
 clang_select
 cmake
 codec2
 coreutils
 cppzmq
 curl
 dbus-glib
 dbus-python37
 docbook-xml
 docbook-xml-4.1.2
 docbook-xml-4.2
 docbook-xml-4.3
 docbook-xml-4.4
 docbook-xml-4.5
 docbook-xml-5.0
 docbook-xsl-nons
 double-conversion
 fftw-3-single
 findutils
 flac
 fop
 gd2
 getopt
 gettext
 ghostscript
 glib2
 graphviz
 grep
 gsed
 gsl
 gts
 harfbuzz-icu
 jbig2dec
 jbigkit
 lcms2
 libLASi
 libarchive
 libcxx
 libevent
 libffi
 libgsm
 libiconv
 libidn
 libidn2
 libmng
 libnetpbm
 libogg
 libomp
 libpaper
 librsvg
 libsamplerate
 libsdl
 libsdl2
 libsndfile
 libsodium
 libunistring
 libuv
 libvorbis
 libxml2
 libyaml
 libzzip
 links
 llvm-11
 llvm_select
 log4cpp
 lzo2
 makeicns
 meson
 minizip
 mpir
 mypy_select
 ninja
 openjpeg
 orc
 pcre
 perl5
 pip_select
 potrace
 py37-Pillow
 py37-alabaster
 py37-babel
 py37-beaker
 py37-cairo
 py37-certifi
 py37-chardet
 py37-cheetah
 py37-click
 py37-click-plugins
 py37-cppy
 py37-cycler
 py37-cython
 py37-dateutil
 py37-docutils
 py37-gobject3
 py37-idna
 py37-imagesize
 py37-ipaddress
 py37-jinja2
 py37-kiwisolver
 py37-lxml
 py37-mako
 py37-markupsafe
 py37-matplotlib
 py37-mypy
 py37-mypy_extensions
 py37-nose
 py37-numpy
 py37-olefile
 py37-opengl
 py37-opengl-accelerate
 py37-packaging
 py37-parsing
 py37-pip
 py37-pybind11
 py37-pygments
 py37-pyqt5
 py37-pyqtgraph
 py37-requests
 py37-roman
 py37-scipy
 py37-setuptools
 py37-sip
 py37-six
 py37-snowballstemmer
 py37-sphinx
 py37-sphinxcontrib-applehelp
 py37-sphinxcontrib-devhelp
 py37-sphinxcontrib-htmlhelp
 py37-sphinxcontrib-jsmath
 py37-sphinxcontrib-qthelp
 py37-sphinxcontrib-serializinghtml
 py37-tkinter
 py37-tornado
 py37-typed-ast
 py37-typing_extensions
 py37-tz
 py37-urllib3
 py37-yaml
 py37-zmq
 pygments_select
 python37
 qhull
 qt5
 qt5-qt3d
 qt5-qtbase
 qt5-qtconnectivity
 qt5-qtdeclarative
 qt5-qtgamepad
 qt5-qtgraphicaleffects
 qt5-qtimageformats
 qt5-qtlocation
 qt5-qtmacextras
 qt5-qtmultimedia
 qt5-qtnetworkauth
 qt5-qtquickcontrols
 qt5-qtquickcontrols2
 qt5-qtremoteobjects
 qt5-qtscript
 qt5-qtscxml
 qt5-qtsensors
 qt5-qtserialbus
 qt5-qtserialport
 qt5-qtspeech
 qt5-qtsvg
 qt5-qttools
 qt5-qttranslations
 qt5-qtwebchannel
 qt5-qtwebsockets
 qt5-qtxmlpatterns
 qt5-sqlite-plugin
 qwt-qt5
 speex
 sphinx_select
 swig
 swig-python
 swig3
 swig3-python
 tcl
 texlive-basic
 texlive-bin
 texlive-common
 texlive-latex
 tk
 urw-fonts
 vala
 volk
 xar
 xmlcatmgr
 xmlto
 xorg-libXScrnSaver
 xorg-libXaw
 xorg-libXp
 xz
 zlib
 zmq
Continue? [Y/n]: y
--->  Fetching archive for gd2
--->  Attempting to fetch gd2-2.3.2_0+x11.darwin_20.arm64.tbz2 from https://packages.macports.org/gd2
--->  Attempting to fetch gd2-2.3.2_0+x11.darwin_20.arm64.tbz2 from https://ywg.ca.packages.macports.org/mirror/macports/packages/gd2
--->  Attempting to fetch gd2-2.3.2_0+x11.darwin_20.arm64.tbz2 from https://mse.uk.packages.macports.org/gd2
--->  Building gd2
Error: Failed to build gd2: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_gd2/gd2/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gnuradio failed
macbookpro@MacBook-Pro-de-Luis ~ % 

Attachments (1)

main.log (227.9 KB) - added by luisyp 3 years ago.
details of main.log - Processing of port gnuradio failed

Download all attachments as: .zip

Change History (4)

Changed 3 years ago by luisyp

Attachment: main.log added

details of main.log - Processing of port gnuradio failed

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Description: modified (diff)
Keywords: gnuradio removed
Owner: set to ryandesign
Port: gd2 zlib added; macports removed
Priority: HighNormal
Status: newassigned
Summary: macOs 11.3 m1 installation error in macbook air 13.3 inch Processing of port gnuradio failedgd2 @2.3.2_0+x11 build failure on arm64

Please don't paste the log into the ticket description, just adding it as an attachment is good.

The problem seems to be:

:info:build ld: warning: ignoring file /opt/local/lib/libz.dylib, building for macOS-arm64 but attempting to link with file built for macOS-x86_64

What does port -v installed zlib say? Did you migrate this MacPorts installation from an Intel system?

comment:2 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Has duplicate #62811 in which the reporter wrote:

-yes, when i try to install gnuradio on my old mac Intel i5

The following ports are currently installed:
  zlib @1.2.11_0 (active) platform='darwin 20' archs='x86_64' date='2020-11-17T10:28:23-0500'

Please follow the instructions in wiki:Migration.

comment:3 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: invalid
Status: assignedclosed
Note: See TracTickets for help on using tickets.