[MacPorts] #32283: Failed to install glib2
#32283: Failed to install glib2 ---------------------------------+------------------------------------------ Reporter: Aegershen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ---------------------------------+------------------------------------------ This is the error i get, i can't figure out what is wrong with the port. Everything is the way it should be and I've tried uninstalling and re- installing everything but with no success. {{{ Error: Target org.macports.build returned: shell command failed (see log for details) Error: Failed to install glib2 Log for glib2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log Error: The following dependencies were not installed: gtkglarea2 gtk2 atk glib2 glib2 gtk-doc docbook-xml docbook-xml-4.1.2 xmlcatmgr docbook- xml-4.2 docbook-xml-4.3 docbook-xml-4.4 docbook-xml-4.5 docbook-xml-5.0 docbook-xsl gnome-doc-utils intltool gnome-common pkgconfig pkgconfig p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser iso-codes libxslt libxml2 libxml2 libxslt py27-libxml2 python27 db46 libedit python_select sqlite3 python27 py27-libxml2 rarian getopt gdk- pixbuf2 jasper jpeg libpng tiff hicolor-icon-theme pango Xft2 fontconfig freetype xrender xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg- kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb xorg-libpthread- stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-renderproto cairo apple-gcc42 gcc_select libpixman xorg-xcb-util shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXext xorg-libXfixes xorg-fixesproto xorg- libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto mesa makedepend xorg- dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libsm xorg-libice gtkmm atkmm glibmm libsigcxx2 cairomm pangomm gtksourceview2 ruby readline Error: Status 1 encountered during processing. }}} Any idea what went wrong? -- Ticket URL: <https://trac.macports.org/ticket/32283> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32283: Failed to install glib2 ---------------------------------+------------------------------------------ Reporter: Aegershen@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: ---------------------------------+------------------------------------------ Comment(by Aegershen@…): Here is the log file, i forgot to post it.[[br]] {{{ version:1 :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 502 :debug:main Executing org.macports.main (glib2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.archivefetch (glib2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (glib2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (glib2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (glib2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (glib2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.configure (glib2) :debug:main Privilege de-escalation not attempted as not running as root. :debug:build build phase started at Sat Nov 26 18:07:00 EST 2011 :notice:build ---> Building glib2 :debug:build Executing org.macports.build (glib2) :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2" && /usr/bin/make -j5 -w all V=1' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2" && /usr/bin/make -j5 -w all V=1 :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2' :info:build /bin/sh ./config.status --recheck :info:build running CONFIG_SHELL=/bin/sh /bin/sh ./configure --prefix=/opt/local --enable-static --disable-dtrace CC=/Developer/usr/bin/clang CFLAGS=-pipe -O2 -fstrict-aliasing -arch x86_64 LDFLAGS=-L/opt/local/lib -lresolv -bind_at_load -arch x86_64 CPPFLAGS=-I/opt/local/include CXX=/Developer/usr/bin/clang++ CXXFLAGS=-pipe -O2 -arch x86_64 PKG_CONFIG=false ZLIB_CFLAGS=-I/opt/local/include ZLIB_LIBS=-L/opt/local/lib -lz LIBFFI_CFLAGS=-I/opt/local/lib/libffi-3.0.10/include LIBFFI_LIBS=-L/opt/local/lib -lffi --no-create --no-recursion :info:build checking for a BSD-compatible install... /usr/bin/install -c :info:build checking whether build environment is sane... yes :info:build checking for a thread-safe mkdir -p... ./install-sh -c -d :info:build checking for gawk... no :info:build checking for mawk... no :info:build checking for nawk... no :info:build checking for awk... awk :info:build checking whether make sets $(MAKE)... yes :info:build checking how to create a ustar tar archive... gnutar :info:build checking whether to disable maintainer-specific portions of Makefiles... yes :info:build checking for gcc... /Developer/usr/bin/clang :info:build checking whether the C compiler works... yes :info:build checking for C compiler default output file name... a.out :info:build checking for suffix of executables... :info:build checking whether we are cross compiling... no :info:build checking for suffix of object files... o :info:build checking whether we are using the GNU C compiler... yes :info:build checking whether /Developer/usr/bin/clang accepts -g... yes :info:build checking for /Developer/usr/bin/clang option to accept ISO C89... none needed :info:build checking for style of include used by make... GNU :info:build checking dependency style of /Developer/usr/bin/clang... gcc3 :info:build checking how to run the C preprocessor... /Developer/usr/bin/clang -E :info:build checking build system type... x86_64-apple-darwin11.2.0 :info:build checking host system type... x86_64-apple-darwin11.2.0 :info:build checking for the BeOS... no :info:build checking for Win32... no :info:build checking for Mac OS X Carbon support... yes :info:build checking for grep that handles long lines and -e... /usr/bin/grep :info:build checking for egrep... /usr/bin/grep -E :info:build checking whether we are using the GNU C Library 2.1 or newer... no :info:build checking whether to enable garbage collector friendliness... no :info:build checking whether to disable memory pools... no :info:build readlink: illegal option -- f :info:build usage: readlink [-n] [file ...] :info:build checking whether we are using the GNU C++ compiler... yes :info:build checking whether /Developer/usr/bin/clang++ accepts -g... yes :info:build checking dependency style of /Developer/usr/bin/clang++... gcc3 :info:build checking for gcc... (cached) /Developer/usr/bin/clang :info:build checking whether we are using the GNU C compiler... (cached) yes :info:build checking whether /Developer/usr/bin/clang accepts -g... (cached) yes :info:build checking for /Developer/usr/bin/clang option to accept ISO C89... (cached) none needed :info:build checking dependency style of /Developer/usr/bin/clang... (cached) gcc3 :info:build checking whether /Developer/usr/bin/clang and cc understand -c and -o together... yes :info:build checking for special C compiler options needed for large files... no :info:build checking for _FILE_OFFSET_BITS value needed for large files... no :info:build ./configure: line 6969: syntax error near unexpected token `0.16' :info:build ./configure: line 6969: `PKG_PROG_PKG_CONFIG(0.16)' :info:build make: *** [config.status] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2' :info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/work/glib-2.30.2" && /usr/bin/make -j5 -w all V=1 " returned error 2 :error:build Target org.macports.build returned: shell command failed (see log for details) :debug:build Backtrace: shell command failed (see log for details) while executing "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: the following items did not execute (for glib2): org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install glib2 :debug:build couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory while executing "open [file join $dir tclIndex]" :notice:build Log for glib2 is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_glib2/glib2/main.log }}} -- Ticket URL: <https://trac.macports.org/ticket/32283#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32283: Failed to install glib2 ----------------------------------+----------------------------------------- Reporter: Aegershen@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: glib2 | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: new => closed * cc: ryandesign@… (added) * resolution: => duplicate * port: => glib2 Comment: This was fixed days ago. Clean, selfupdate, and try again. Duplicate of #32185. -- Ticket URL: <https://trac.macports.org/ticket/32283#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32283: Failed to install glib2 ----------------------------------+----------------------------------------- Reporter: Aegershen@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: glib2 | ----------------------------------+----------------------------------------- Comment(by Aegershen@…): Replying to [comment:3 ryandesign@…]:
This was fixed days ago. Clean, selfupdate, and try again. Duplicate of #32185. Still has not worked for me. same error every time.[[br]] I've tried cleaning, selfupdateing, and trying over and over again, no success.
-- Ticket URL: <https://trac.macports.org/ticket/32283#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32283: Failed to install glib2 ----------------------------------+----------------------------------------- Reporter: Aegershen@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: glib2 | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: closed => reopened * resolution: duplicate => Comment: Hmm. Then please run "sudo port -v selfupdate" and show me the output, and also "sudo port clean glib2" and "sudo port install glib2" and then attach the main.log from that. -- Ticket URL: <https://trac.macports.org/ticket/32283#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32283: Failed to install glib2 ----------------------------------+----------------------------------------- Reporter: Aegershen@… | Owner: macports-tickets@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: glib2 | ----------------------------------+----------------------------------------- Comment(by nhoj.patrick@…): Find attached my console output and main.log. I did "sudo port -v selfupdate", "sudo port clean glib2" and then "sudo port install glib2". -- Ticket URL: <https://trac.macports.org/ticket/32283#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32283: Failed to install glib2 ----------------------------------+----------------------------------------- Reporter: Aegershen@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: glib2 | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (removed) * owner: macports-tickets@… => ryandesign@… * status: reopened => new Comment: Ok, this looks like a totally different error now: {{{ File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_glib2/glib2/work/glib-2.30.2/gio/gdbus-2.0/codegen/parser.py", line 155, in handle_start_element if attrs.has_key('name') and self.doc_comment_last_symbol == attrs['name']: AttributeError: 'dict' object has no attribute 'has_key' }}} Is this #32306? What version of python is "python"? -- Ticket URL: <https://trac.macports.org/ticket/32283#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32283: Failed to install glib2 ----------------------------------+----------------------------------------- Reporter: Aegershen@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: | Keywords: Port: glib2 | ----------------------------------+----------------------------------------- Comment(by nhoj.patrick@…): I've been doing the following daily "sudo port selfupdate", "sudo port upgrade outdated", "sudo port -u uninstall" and glib2 has just successfully installed today. Appears issue can be closed but have no idea what fixed it. -- Ticket URL: <https://trac.macports.org/ticket/32283#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#32283: Failed to install glib2 ----------------------------------+----------------------------------------- Reporter: Aegershen@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: duplicate | Keywords: Port: glib2 | ----------------------------------+----------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => duplicate Comment: Then I'll assume this second problem was indeed #32306, which I fixed. -- Ticket URL: <https://trac.macports.org/ticket/32283#comment:9> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts