Opened 12 years ago
Last modified 12 years ago
#36324 new defect
gtk2 @2.24.12 build failure: ld crash: pointer being freed was not allocated
Reported by: | puzo@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | gtk2 |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
hi. Osx 10.8 macports - last. Updatetd
sh-3.2# port selfupdate -d ---> Updating MacPorts base sources using rsync MacPorts base version 2.1.2 installed, MacPorts base version 2.1.2 downloaded. --> Updating the ports tree ---> MacPorts base is already the latest version The ports tree has been updated. To upgrade your installed ports, you should run port upgrade outdated sh-3.2# port upgrade outdated Error: No ports matched the given expression
try to install uzbl browser and have a error
---> Attempting to fetch xorg-libXrandr-1.3.2_0.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/xorg-libXrandr ---> Fetching distfiles for xorg-libXrandr ---> Attempting to fetch libXrandr-1.3.2.tar.bz2 from http://mirror.csclub.uwaterloo.ca/x.org/individual/lib/ ---> Verifying checksum(s) for xorg-libXrandr ---> Extracting xorg-libXrandr ---> Configuring xorg-libXrandr ---> Building xorg-libXrandr ---> Staging xorg-libXrandr into destroot ---> Installing xorg-libXrandr @1.3.2_0 ---> Activating xorg-libXrandr @1.3.2_0 ---> Cleaning xorg-libXrandr ---> Fetching archive for gtk2 ---> Attempting to fetch gtk2-2.24.12_0+x11.darwin_12.x86_64.tbz2 from http://packages.macports.org/gtk2 ---> Attempting to fetch gtk2-2.24.12_0+x11.darwin_12.x86_64.tbz2 from http://lil.fr.packages.macports.org/gtk2 ---> Attempting to fetch gtk2-2.24.12_0+x11.darwin_12.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gtk2 ---> Fetching distfiles for gtk2 ---> Attempting to fetch gtk+-2.24.12.tar.xz from ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/gtk+/2.24/ ---> Verifying checksum(s) for gtk2 ---> Extracting gtk2 ---> Applying patches to gtk2 ---> Configuring gtk2 ---> Building gtk2 Error: org.macports.build for port gtk2 returned: command execution failed Error: Failed to install gtk2 Please see the log file for port gtk2 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/main.log Error: The following dependencies were not installed: gtk2 libsoup gconf dbus-glib dbus 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 gnome-doc-utils iso-codes libxslt py27-libxml2 rarian getopt orbit2 libidl policykit eggdbus glib-networking libproxy cmake libgnome-keyring gnome-keyring webkit-gtk enchant aspell hunspell geoclue gst-plugins-base gnome-vfs desktop-file-utils popt gnome-mime-data gstreamer bison gzip libtheora libvorbis libogg orc xorg-libice xorg-libsm mesa makedepend xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port uzbl failed
and cat error file
ict-aliasing -arch x86_64 -Wall -avoid-version -module -L/opt/local/lib -arch x86_64 -o libprintbackend-cups.la -rpath /opt/local/lib/gtk-2.0/2.10.0/printbackends gtkprintbackendcups.lo gtkprintercups.lo gtkcupsutils.lo ../../../gtk/libgtk-x11-2.0.la ../../../gdk/libgdk-x11-2.0.la -L/opt/local/lib -lpangocairo-1.0 -lX11 -lXcomposite -lXdamage -lXfixes -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0 -lintl -lm -lcups -weak_framework Kerberos -weak_framework GSS -lz -lpthread -lresolv -framework SystemConfiguration -framework CoreFoundation -framework Security -liconv -lz :info:build libtool: link: /usr/bin/clang -Wl,-undefined -Wl,dynamic_lookup -o .libs/libprintbackend-cups.so -bundle .libs/gtkprintbackendcups.o .libs/gtkprintercups.o .libs/gtkcupsutils.o -L/opt/local/lib ../../../gtk/.libs/libgtk-x11-2.0.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.12/gdk/.libs/libgdk-x11-2.0.dylib ../../../gdk/.libs/libgdk-x11-2.0.dylib /opt/local/lib/libXinerama.dylib /opt/local/lib/libXi.dylib /opt/local/lib/libXrandr.dylib /opt/local/lib/libXext.dylib /opt/local/lib/libXcursor.dylib /opt/local/lib/libpangocairo-1.0.dylib /opt/local/lib/libXcomposite.dylib /opt/local/lib/libXdamage.dylib /opt/local/lib/libXfixes.dylib /opt/local/lib/libatk-1.0.dylib /opt/local/lib/libcairo.dylib /opt/local/lib/libpixman-1.dylib /opt/local/lib/libxcb-shm.dylib /opt/local/lib/libX11-xcb.dylib /opt/local/lib/libxcb-render.dylib /opt/local/lib/libXrender.dylib /opt/local/lib/libX11.dylib /opt/local/lib/libxcb.dylib /opt/local/lib/libXau.dylib /opt/local/lib/libXdmcp.dylib /opt/local/lib/libgdk_pixbuf-2.0.dylib /opt/local/lib/libpng15.dylib /opt/local/lib/libgio-2.0.dylib /opt/local/lib/libpangoft2-1.0.dylib /opt/local/lib/libpango-1.0.dylib /opt/local/lib/libgmodule-2.0.dylib /opt/local/lib/libfontconfig.dylib /opt/local/lib/libfreetype.dylib -lbz2 /opt/local/lib/libexpat.dylib /opt/local/lib/libgobject-2.0.dylib /opt/local/lib/libgthread-2.0.dylib /opt/local/lib/libffi.dylib /opt/local/lib/libglib-2.0.dylib /opt/local/lib/libintl.dylib -lc -lm -lcups -lpthread -lresolv -framework SystemConfiguration -framework CoreFoundation -framework Security /opt/local/lib/libiconv.dylib -lz -O2 -arch x86_64 -arch x86_64 -Wl,-dylib_file -Wl,/opt/local/lib/libgdk-x11-2.0.0.dylib:/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.12/gdk/.libs/libgdk-x11-2.0.dylib -framework Carbon -framework Foundation -framework SystemConfiguration -framework CoreFoundation -framework Security :info:build ld(23281,0x7fff7ec2e190) malloc: *** error for object 0x7feaba5ca980: pointer being freed was not allocated :info:build *** set a breakpoint in malloc_error_break to debug :info:build clang: error: unable to execute command: Abort trap: 6 :info:build clang: error: linker command failed due to signal (use -v to see invocation) :info:build clang: note: diagnostic msg: Please submit a bug report to http://developer.apple.com/bugreporter/ and include command line arguments and all diagnostic information. :info:build clang: note: diagnostic msg: Error generating preprocessed source(s) - cannot generate preprocessed source with multiple -arch options. :info:build make[4]: *** [libprintbackend-cups.la] Error 254 :info:build make[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.12/modules/printbackends/cups' :info:build make[3]: *** [all-recursive] Error 1 :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.12/modules/printbackends' :info:build make[2]: *** [all-recursive] Error 1 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.12/modules' :info:build make[1]: *** [all-recursive] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.12' :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_gnome_gtk2/gtk2/work/gtk+-2.24.12' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/work/gtk+-2.24.12" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port gtk2 returned: command execution failed :debug:build Error code: CHILDSTATUS 54477 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 "$procedure $targetname" :info:build Warning: targets not executed for gtk2: org.macports.activate org.macports.build org.macports.destroot org.macports.install :error:build Failed to install gtk2 :debug:build could not read "/opt/local/share/man/man3/Xrandr.3.gz": no such file or directory while executing "::file type $file" :notice:build Please see the log file for port gtk2 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/main.log
someone can help me?
Attachments (2)
Change History (10)
comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Keywords: | port install removed |
Milestone: | MacPorts Future |
Owner: | changed from macports-tickets@… to ryandesign@… |
Port: | gtk2 added; uzbl removed |
Summary: | error install uzbl → gtk2: malloc: *** error for object 0x7feaba5ca980: pointer being freed was not allocated |
comment:2 follow-up: 3 Changed 12 years ago by puzo@…
sh-3.2# xcodebuild -version Xcode 4.5 Build version 4G182
Whats file are you need?
comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Replying to puzo@…:
Whats file are you need?
For completeness, we'd like you to attach the entire main.log file:
Replying to puzo@…:
:notice:build Please see the log file for port gtk2 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/main.log
However, the portion you pasted already showed you that this is apparently a crash in the compiler, and that Apple would like to receive a bug report about it, so you should file one in their issue tracker:
:info:build clang: note: diagnostic msg: Please submit a bug report to http://developer.apple.com/bugreporter/ and include command line arguments and all diagnostic information.
Changed 12 years ago by puzo@…
comment:5 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from ryandesign@… to macports-tickets@… |
---|
That log is incomplete. It contains lines that say "Skipping completed" meaning it was resumed from an earlier attempt. Please "sudo port clean gtk2", then try again, then attach the new main.log.
Changed 12 years ago by puzo@…
Attachment: | main.2.log added |
---|
comment:7 Changed 12 years ago by jmroot (Joshua Root)
Summary: | gtk2: malloc: *** error for object 0x7feaba5ca980: pointer being freed was not allocated → gtk2 @2.24.12 build failure: ld crash: pointer being freed was not allocated |
---|
comment:8 Changed 12 years ago by jmroot (Joshua Root)
Any change with Xcode 4.5.1 (make sure your command line tools are upgraded too), or gtk2 2.24.13?
gtk2 builds fine for me on OS X Mountain Lion. What version of Xcode do you have? Could you attach the entire main.log file please?