Opened 9 years ago

Closed 8 years ago

#49457 closed defect (duplicate)

graphite2: build fails when command line developer tools are not installed

Reported by: dgsreal@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: veit.grosse@…, greenspacy@…
Port: graphite2

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Error: org.macports.build for port graphite2 returned: command execution failed
Error: Failed to install graphite2
Please see the log file for port graphite2 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/main.log
Error: The following dependencies were not installed: gnuradio graphviz libLASi pango harfbuzz graphite2 urw-fonts webp xorg-libXaw groff ghostscript jbig2dec libidn libpaper netpbm jasper jbigkit psutils texinfo help2man p5.22-locale-gettext perl5.22 xorg-libXmu gsl jack libsamplerate libsndfile flac libogg libvorbis libxslt readline libsdl xorg-libXrandr xorg-randrproto log4cpp portaudio py27-cheetah py27-lxml py27-numpy gcc5 cctools libunwind-headers llvm-3.7 libcxx llvm_select gcc_select gmp isl ld64 ld64-latest dyld-headers libmacho-headers libgcc libmpc mpfr py27-cython cython_select py27-nose nosetests_select py27-opengl py27-Pillow lcms2 openjpeg py27-tkinter tk tcl xorg-libXScrnSaver xorg-scrnsaverproto py27-opengl-accelerate py27-pygtk atk gtk2 gdk-pixbuf2 shared-mime-info intltool gnome-common autoconf-archive p5.22-getopt-long p5.22-pathtools p5.22-scalar-list-utils p5.22-xml-parser p5.22-libwww-perl p5.22-encode-locale p5.22-file-listing p5.22-http-date p5.22-html-form p5.22-html-parser p5.22-html-tagset p5.22-http-message p5.22-io-html p5.22-lwp-mediatypes p5.22-uri p5.22-mime-base64 p5.22-http-cookies p5.22-http-daemon p5.22-http-negotiate p5.22-lwp-protocol-https p5.22-io-socket-ssl p5.22-io-socket-inet6 p5.22-io p5.22-socket6 p5.22-io-socket-ip p5.22-net-libidn p5.22-net-ssleay p5.22-test-exception p5.22-sub-uplevel p5.22-test-simple p5.22-test-nowarnings p5.22-test-warn p5.22-mozilla-ca p5.22-net-http p5.22-www-robotrules gtk-doc docbook-xml docbook-xml-4.1.2 docbook-xml-4.2 xmlcatmgr docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl fop itstool gawk py27-libxml2 openjade opensp source-highlight ctags hicolor-icon-theme xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto libglade2 py27-cairo py27-gobject py27-pyqt4 dbus-python27 dbus dbus-glib py27-sip qt4-mac libmng lcms py27-pyqwt qwt52 py27-scipy swig-python gsed swig py27-sphinx py27-alabaster py27-babel py27-tz py27-docutils py27-roman py27-jinja2 py27-pygments py27-six py27-snowballstemmer py27-sphinx_rtd_theme sphinx_select py27-wxpython-3.0 wxPython-3.0 wxWidgets_select qwtplot3d uhd gzip libusb py27-requests volk orc coreutils xmlto findutils getopt gr-osmosdr airspy bladeRF tecla gr-fcdproplus hackrf rtl-sdr
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gqrx failed

Attachments (1)

main.log (58.7 KB) - added by veit.grosse@… 9 years ago.

Download all attachments as: .zip

Change History (7)

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

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: graphite2 added
Summary: bug in installing gqrx dependenciesgraphite2: build fails

Please attach the file /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/main.log. Without it we cannot know why this failed.

comment:2 Changed 9 years ago by greenspacy@…

Hi, Same problem trying install gqrx, Sorry but I'm new. Ops El Capitan version 10.11.1 Xcode 7.1

Thanks, Fernando

Last edited 9 years ago by greenspacy@… (previous) (diff)

Changed 9 years ago by veit.grosse@…

Attachment: main.log added

comment:3 Changed 9 years ago by veit.grosse@…

Same issue here. I attached the log file.

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

Cc: veit.grosse@… greenspacy@… added
Summary: graphite2: build failsgraphite2: build fails when command line developer tools are not installed

veit.grosse, your log says:

fatal error: 'unistd.h' file not found

greenspacy, the log you provided in comment:2 and then edited out of the comment says the same thing.

This sounds like you have not installed the command line developer tools, which MacPorts requires. Please install them by running:

xcode-select --install

If it says they're already installed, verify that you have a /usr/include directory. If not, download the command line tools installer from the Apple developer downloads web page and run it.

dgsreal, I won't know if you're experiencing the same issue until you show me your main.log file.

comment:5 in reply to:  4 Changed 9 years ago by greenspacy@…

Hello,

You are absolutely right. I hadn’t installed the command line developer tools. Now its works fine!

Thank you Fernando

Replying to ryandesign@…:

veit.grosse, your log says:

fatal error: 'unistd.h' file not found

greenspacy, the log you provided in comment:2 and then edited out of the comment says the same thing.

This sounds like you have not installed the command line developer tools, which MacPorts requires. Please install them by running:

xcode-select --install

If it says they're already installed, verify that you have a /usr/include directory. If not, download the command line tools installer from the Apple developer downloads web page and run it.

dgsreal, I won't know if you're experiencing the same issue until you show me your main.log file.

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

Resolution: duplicate
Status: newclosed

Duplicate of #49325.

Note: See TracTickets for help on using tickets.