Opened 12 years ago
Closed 10 years ago
#36421 closed defect (fixed)
gq @ 1.2.1 build failure with glib 2.32
Reported by: | sergey.bobrov83@… | Owned by: | syzdek@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ryandesign (Ryan Carsten Schmidt) | |
Port: | gq |
Description (last modified by ci42)
Can't build GQ.
:debug:build build phase started at Tue Oct 2 16:37:44 EEST 2012 :notice:build ---> Building gq :debug:build Executing org.macports.build (gq) :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_net_gq/gq/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1" && /usr/bin/make -j2 -w all' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1" && /usr/bin/make -j2 -w all :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1' :info:build /usr/bin/make all-recursive :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1' :info:build Making all in data :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1/data' :info:build LC_ALL=C ../intltool-merge -x -u -c ../po/.intltool-merge-cache ../po gq-ldif.xml.in gq-ldif.xml :info:build LC_ALL=C ../intltool-merge -d -u -c ../po/.intltool-merge-cache ../po gq.desktop.in gq.desktop :info:build Found cached translation database :info:build Merging translations into gq.desktop. :info:build Generating and caching the translation database :info:build Merging translations into gq-ldif.xml. :info:build CREATED gq-ldif.xml :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1/data' :info:build Making all in icons :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1/icons' :info:build make[2]: Nothing to be done for `all'. :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1/icons' :info:build Making all in pixmaps :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1/pixmaps' :info:build make[2]: Nothing to be done for `all'. :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1/pixmaps' :info:build Making all in src :info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1/src' :info:build /usr/bin/make all-am :info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1/src' :info:build if /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith -Wfloat-equal -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng15 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libglade-2.0 -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -MT COPYING.o -MD -MP -MF ".deps/COPYING.Tpo" -c -o COPYING.o COPYING.c; \ :info:build then mv -f ".deps/COPYING.Tpo" ".deps/COPYING.Po"; else rm -f ".deps/COPYING.Tpo"; exit 1; fi :info:build if /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith -Wfloat-equal -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng15 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libglade-2.0 -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -MT browse-dnd.o -MD -MP -MF ".deps/browse-dnd.Tpo" -c -o browse-dnd.o browse-dnd.c; \ :info:build then mv -f ".deps/browse-dnd.Tpo" ".deps/browse-dnd.Po"; else rm -f ".deps/browse-dnd.Tpo"; exit 1; fi :info:build if /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith -Wfloat-equal -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng15 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libglade-2.0 -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -MT browse-export.o -MD -MP -MF ".deps/browse-export.Tpo" -c -o browse-export.o browse-export.c; \ :info:build then mv -f ".deps/browse-export.Tpo" ".deps/browse-export.Po"; else rm -f ".deps/browse-export.Tpo"; exit 1; fi :info:build if /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith -Wfloat-equal -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng15 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libglade-2.0 -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -MT configfile.o -MD -MP -MF ".deps/configfile.Tpo" -c -o configfile.o configfile.c; \ :info:build then mv -f ".deps/configfile.Tpo" ".deps/configfile.Po"; else rm -f ".deps/configfile.Tpo"; exit 1; fi :info:build browse-export.c:180:12: warning: implicit declaration of function 'ldap_search_s' is invalid in C99 [-Wimplicit-function-declaration] :info:build rc = ldap_search_s(ld, (char *) dos->dn, :info:build ^ :info:build browse-export.c:195:19: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] :info:build _("%1$d of %2$d bytes written"), :info:build ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~ :info:build %1$zd :info:build /opt/local/include/glib-2.0/glib/gi18n.h:28:29: note: expanded from macro '_' :info:build #define _(String) gettext (String) :info:build ^ :info:build browse-export.c:195:27: warning: format specifies type 'int' but the argument has type 'gsize' (aka 'unsigned long') [-Wformat] :info:build _("%1$d of %2$d bytes written"), :info:build ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ :info:build %2$ld :info:build /opt/local/include/glib-2.0/glib/gi18n.h:28:29: note: expanded from macro '_' :info:build #define _(String) gettext (String) :info:build ^ :info:build browse-export.c:243:22: warning: unused parameter 'error_context' [-Wunused-parameter] :info:build void export_many(int error_context, GtkWidget *transient_for, GList *to_export) :info:build ^ :info:build In file included from configfile.c:44: :info:build In file included from ./gq-server-list.h:29: :info:build /opt/local/include/glib-2.0/glib/gmacros.h:32:2: error: "Only <glib.h> can be included directly." :info:build #error "Only <glib.h> can be included directly." :info:build ^ :info:build configfile.c:387:28: warning: unused parameter 'list' [-Wunused-parameter] :info:build write_server(GQServerList* list, GqServer* server, gpointer user_data) { :info:build ^ :info:build 4 warnings generated. :info:build configfile.c:731:17: warning: unused parameter 'user_data' [-Wunused-parameter] :info:build gpointer user_data) :info:build ^ :info:build 2 warnings and 1 error generated. :info:build if /usr/bin/clang -DHAVE_CONFIG_H -I. -I. -I.. -Wall -W -Wno-unused -Wmissing-declarations -Wcast-align -Wpointer-arith -Wfloat-equal -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng15 -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/libglade-2.0 -I/opt/local/include/libxml2 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -pipe -O2 -arch x86_64 -MT debug.o -MD -MP -MF ".deps/debug.Tpo" -c -o debug.o debug.c; \ :info:build then mv -f ".deps/debug.Tpo" ".deps/debug.Po"; else rm -f ".deps/debug.Tpo"; exit 1; fi :info:build make[3]: *** [configfile.o] Error 1 :info:build make[3]: *** Waiting for unfinished jobs.... :info:build debug.c:58:30: warning: format specifies type 'int' but the argument has type 'size_t' (aka 'unsigned long') [-Wformat] :info:build printf("+ gq_malloc: %s (%d bytes @ 0x%x)\n", msg, size, :info:build ~^ ~~~~ :info:build %zd :info:build 1 warning generated. :info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1/src' :info:build make[2]: *** [all] Error 2 :info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1/src' :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_net_gq/gq/work/gq-1.2.1' :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_net_gq/gq/work/gq-1.2.1' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/work/gq-1.2.1" && /usr/bin/make -j2 -w all :info:build Exit code: 2 :error:build org.macports.build for port gq returned: command execution failed :debug:build Error code: CHILDSTATUS 76328 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 gq: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port gq for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_gq/gq/main.log
Change History (7)
comment:1 Changed 12 years ago by sergey.bobrov83@…
Cc: | sergey.bobrov83@… added |
---|
comment:2 Changed 12 years ago by ci42
Cc: | sergey.bobrov83@… removed |
---|---|
Description: | modified (diff) |
Owner: | changed from macports-tickets@… to syzdek@… |
Please try a clean attempt and attach the log file if it fails:
$ sudo port clean gq $ sudo port selfupdate $ sudo port install gq
In the future please remember to use WikiFormatting and to cc the maintainer. And there's no need to cc yourself if you're the ticket creator.
comment:3 Changed 12 years ago by sergey.bobrov83@…
after
$ sudo port clean gq $ sudo port selfupdate $ sudo port install gq
i got the same
comment:6 Changed 12 years ago by jmroot (Joshua Root)
Cc: | sergey.bobrov83@… removed |
---|
That still wasn't a complete log. Also, please attach logs using the "Attach file" button, don't paste them into a comment.
In any case, the error is pretty self-explanatory: current glib versions only want you to include their top-level header. The port should probably be updated to version 1.2.3 first, and then if the problem is still present it can be patched further.
comment:7 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Summary: | gq @ 1.2.1 build failure → gq @ 1.2.1 build failure with glib 2.32 |
r135201 (maintainer timeout)
Note: See
TracTickets for help on using
tickets.
Cc Me!