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. OX El Capitan version 10.11.1 Xcode 7.1

This is my main.log

version:1 :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 503 :debug:main Executing org.macports.main (graphite2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.archivefetch (graphite2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (graphite2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (graphite2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (graphite2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (graphite2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (graphite2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Sun Nov 1 09:32:14 BRST 2015 :notice:build ---> Building graphite2 :debug:build Executing org.macports.build (graphite2) :debug:build Environment: CC_PRINT_OPTIONS='YES' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/.CC_PRINT_OPTIONS' CPATH='/opt/local/include' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.11' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4" && /usr/bin/make -j4 -w all VERBOSE=ON' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4" && /usr/bin/make -j4 -w all VERBOSE=ON :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build /opt/local/bin/cmake -H/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 -B/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 --check-build-system CMakeFiles/Makefile.cmake 0 :info:build /opt/local/bin/cmake -E cmake_progress_start /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/CMakeFiles /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/CMakeFiles/progress.marks :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/graphite2.dir/build.make src/CMakeFiles/graphite2.dir/depend :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/graphite2-base.dir/build.make tests/CMakeFiles/graphite2-base.dir/depend :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/graphite2-segcache.dir/build.make tests/CMakeFiles/graphite2-segcache.dir/depend :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/endian/CMakeFiles/endiantest.dir/build.make tests/endian/CMakeFiles/endiantest.dir/depend :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests/endian /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests/endian /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests/endian/CMakeFiles/endiantest.dir/DependInfo.cmake --color= :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests/CMakeFiles/graphite2-base.dir/DependInfo.cmake --color= :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests/CMakeFiles/graphite2-segcache.dir/DependInfo.cmake --color= :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 && /opt/local/bin/cmake -E cmake_depends "Unix Makefiles" /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src/CMakeFiles/graphite2.dir/DependInfo.cmake --color= :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/endian/CMakeFiles/endiantest.dir/build.make tests/endian/CMakeFiles/endiantest.dir/build :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/graphite2-base.dir/build.make tests/CMakeFiles/graphite2-base.dir/build :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build [ 1%] Building CXX object tests/endian/CMakeFiles/endiantest.dir/endiantest.cpp.o :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests/endian && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -pipe -Os -arch x86_64 -stdlib=libc++ -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src -o CMakeFiles/endiantest.dir/endiantest.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests/endian/endiantest.cpp :info:build [ 2%] Building CXX object tests/CMakeFiles/graphite2-base.dir//src/FeatureMap.cpp.o :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DGRAPHITE2_STATIC -pipe -Os -arch x86_64 -stdlib=libc++ -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src -Wall -Wextra -fno-rtti -fno-exceptions -fno-stack-protector -o CMakeFiles/graphite2-base.dir//src/FeatureMap.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src/FeatureMap.cpp :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f tests/CMakeFiles/graphite2-segcache.dir/build.make tests/CMakeFiles/graphite2-segcache.dir/build :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests/endian/endiantest.cpp:34: :info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:85: :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/config:23:10: fatal error: 'unistd.h' file not found :info:build #include <unistd.h> :info:build :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src/FeatureMap.cpp:27: :info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstring:60: :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/config:23:10: fatal error: 'unistd.h' file not found :info:build #include <unistd.h> :info:build :info:build [ 3%] Building CXX object tests/CMakeFiles/graphite2-segcache.dir//src/Bidi.cpp.o :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DGRAPHITE2_NTRACING -DGRAPHITE2_STATIC -pipe -Os -arch x86_64 -stdlib=libc++ -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src -Wall -Wextra -fno-rtti -fno-exceptions -fno-stack-protector -o CMakeFiles/graphite2-segcache.dir//src/Bidi.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src/Bidi.cpp :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build /Applications/Xcode.app/Contents/Developer/usr/bin/make -f src/CMakeFiles/graphite2.dir/build.make src/CMakeFiles/graphite2.dir/build :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src/Bidi.cpp:27: :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src/inc/Main.h:29: :info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cstdlib:85: :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/config:23:10: fatal error: 'unistd.h' file not found :info:build #include <unistd.h> :info:build :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build [ 4%] Building CXX object src/CMakeFiles/graphite2.dir/direct_machine.cpp.o :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -Dgraphite2_EXPORTS -pipe -Os -arch x86_64 -stdlib=libc++ -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11 -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector -o CMakeFiles/graphite2.dir/direct_machine.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src/direct_machine.cpp :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src/direct_machine.cpp:40: :info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cassert:20: :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/config:23:10: fatal error: 'unistd.h' file not found :info:build #include <unistd.h> :info:build :info:build 1 error generated. :info:build make[2]: * [tests/CMakeFiles/graphite2-base.dir//src/FeatureMap.cpp.o] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build make[1]: * [tests/CMakeFiles/graphite2-base.dir/all] Error 2 :info:build make[1]: * Waiting for unfinished jobs.... :info:build [ 5%] Building CXX object tests/CMakeFiles/graphite2-segcache.dir//src/call_machine.cpp.o :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/tests && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -DGRAPHITE2_NTRACING -DGRAPHITE2_STATIC -pipe -Os -arch x86_64 -stdlib=libc++ -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src -Wall -Wextra -fno-rtti -fno-exceptions -fno-stack-protector -o CMakeFiles/graphite2-segcache.dir//src/call_machine.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src/call_machine.cpp :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src/call_machine.cpp:35: :info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cassert:20: :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/config:23:10: fatal error: 'unistd.h' file not found :info:build #include <unistd.h> :info:build :info:build 1 error generated. :info:build make[2]: * [tests/CMakeFiles/graphite2-segcache.dir//src/Bidi.cpp.o] Error 1 :info:build make[2]: * Waiting for unfinished jobs.... :info:build [ 6%] Building CXX object src/CMakeFiles/graphite2.dir/gr_char_info.cpp.o :info:build cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src && /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -Dgraphite2_EXPORTS -pipe -Os -arch x86_64 -stdlib=libc++ -DNDEBUG -arch x86_64 -mmacosx-version-min=10.11 -fPIC -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src -Wall -Wextra -Wno-unknown-pragmas -Wendif-labels -Wshadow -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -fno-rtti -fno-exceptions -fvisibility=hidden -fvisibility-inlines-hidden -fno-stack-protector -o CMakeFiles/graphite2.dir/gr_char_info.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src/gr_char_info.cpp :info:build 1 error generated. :info:build make[2]: * [src/CMakeFiles/graphite2.dir/direct_machine.cpp.o] Error 1 :info:build make[2]: * Waiting for unfinished jobs.... :info:build In file included from /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4/src/gr_char_info.cpp:27: :info:build In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/cassert:20: :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/config:23:10: fatal error: 'unistd.h' file not found :info:build #include <unistd.h> :info:build :info:build 1 error generated. :info:build make[2]: * [src/CMakeFiles/graphite2.dir/gr_char_info.cpp.o] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build make[1]: * [src/CMakeFiles/graphite2.dir/all] Error 2 :info:build 1 error generated. :info:build make[2]: * [tests/CMakeFiles/graphite2-segcache.dir//src/call_machine.cpp.o] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build make[1]: * [tests/CMakeFiles/graphite2-segcache.dir/all] Error 2 :info:build 1 error generated. :info:build make[2]: * [tests/endian/CMakeFiles/endiantest.dir/endiantest.cpp.o] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build make[1]: * [tests/endian/CMakeFiles/endiantest.dir/all] Error 2 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build make: * [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_graphite2/graphite2/work/graphite2-1.2.4" && /usr/bin/make -j4 -w all VERBOSE=ON :info:build Exit code: 2 :error:build org.macports.build for port graphite2 returned: command execution failed :debug:build Error code: CHILDSTATUS 2700 2 :debug:build Backtrace: command execution failed

while executing

"system -nice 0 $fullcmdstring"

("eval" body line 1) invoked from within

"eval system $notty $nice \$fullcmdstring"

invoked from within

"command_exec build"

(procedure "portbuild::build_main" line 8) invoked from within

"portbuild::build_main org.macports.build"

("eval" body line 1) invoked from within

"eval $procedure $targetname" :info:build Warning: targets not executed for graphite2: org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install graphite2 :debug:build Registry error: rtl-sdr not registered as installed & active.

invoked from within

"registry_active $subport"

invoked from within

"$workername eval registry_active \$subport" :notice:build 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

Thanks, Fernando

Version 0, edited 9 years ago by greenspacy@… (next)

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.