Opened 12 years ago

Closed 12 years ago

#32283 closed defect (duplicate)

Failed to install glib2

Reported by: Aegershen@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: nhojpatrick (John Patrick)
Port: glib2

Description

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?

Attachments (2)

nhojpatrick-console.log (1.9 KB) - added by nhojpatrick (John Patrick) 12 years ago.
nhojpatrick-main.log (673.3 KB) - added by nhojpatrick (John Patrick) 12 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 in reply to:  description Changed 12 years ago by Aegershen@…

Here is the log file, i forgot to post it.

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
 

comment:2 Changed 12 years ago by nhojpatrick (John Patrick)

Cc: nhoj.patrick@… added

Cc Me!

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

Cc: ryandesign@… added
Port: glib2 added
Resolution: duplicate
Status: newclosed

This was fixed days ago. Clean, selfupdate, and try again. Duplicate of #32185.

comment:4 in reply to:  3 Changed 12 years ago by Aegershen@…

Replying to ryandesign@…:

This was fixed days ago. Clean, selfupdate, and try again. Duplicate of #32185.

Still has not worked for me. same error every time.
I've tried cleaning, selfupdateing, and trying over and over again, no success.

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

Resolution: duplicate
Status: closedreopened

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.

Changed 12 years ago by nhojpatrick (John Patrick)

Attachment: nhojpatrick-console.log added

Changed 12 years ago by nhojpatrick (John Patrick)

Attachment: nhojpatrick-main.log added

comment:6 Changed 12 years ago by nhojpatrick (John 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".

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

Cc: ryandesign@… removed
Owner: changed from macports-tickets@… to ryandesign@…
Status: reopenednew

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"?

comment:8 Changed 12 years ago by nhojpatrick (John 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.

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

Resolution: duplicate
Status: newclosed

Then I'll assume this second problem was indeed #32306, which I fixed.

Note: See TracTickets for help on using tickets.