Opened 11 years ago

Closed 10 years ago

#43794 closed defect (fixed)

zathura: build fails on SL (OS X 10.6) buildbot

Reported by: dbevans (David B. Evans) Owned by: harciga
Priority: Normal Milestone:
Component: ports Version:
Keywords: snowleopard Cc:
Port: zathura

Description

Builds fine on 10.7 and up. Failure as follows:

/usr/bin/gcc-4.2 -c -DGETTEXT_PACKAGE=\"libgirara-gtk3-1\" -DLOCALEDIR=\"/opt/local/share/locale\" -arch x86_64 -std=c99 -pedantic -Wall -Wextra -fPIC -D_REENTRANT -I/opt/local/include/gtk-3.0 -I/opt/local/include/at-spi2-atk/2.0 -I/opt/local/include/gtk-3.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/harfbuzz -I/opt/local/include/pango-1.0 -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include -I/opt/local/include/freetype2 -I/opt/local/include/libpng16 -I/opt/local/include -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/libpng16 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include  -o statusbar.o statusbar.c -MMD -MF .depend/statusbar.o.dep
In file included from /opt/local/include/X11/Xlib.h:47,
                 from /opt/local/include/gtk-3.0/gdk/gdkx.h:30,
                 from /opt/local/include/gtk-3.0/gtk/gtksocket.h:36,
                 from /opt/local/include/gtk-3.0/gtk/gtkx.h:23,
                 from session.h:11,
                 from completion.c:9:
/opt/local/include/X11/Xfuncproto.h:145:24: warning: ISO C does not permit named variadic macros
In file included from /opt/local/include/X11/Xlib.h:47,
                 from /opt/local/include/gtk-3.0/gdk/gdkx.h:30,
                 from /opt/local/include/gtk-3.0/gtk/gtksocket.h:36,
                 from /opt/local/include/gtk-3.0/gtk/gtkx.h:23,
                 from session.h:11,
                 from session.c:6:
/opt/local/include/X11/Xfuncproto.h:145:24: warning: ISO C does not permit named variadic macros
In file included from completion.c:12:
utils.h:112: warning: ‘alloc_size’ attribute directive ignored
In file included from session.c:14:
utils.h:112: warning: ‘alloc_size’ attribute directive ignored
In file included from /opt/local/include/X11/Xlib.h:47,
                 from /opt/local/include/gtk-3.0/gdk/gdkx.h:30,
                 from /opt/local/include/gtk-3.0/gtk/gtksocket.h:36,
                 from /opt/local/include/gtk-3.0/gtk/gtkx.h:23,
                 from session.h:11,
                 from callbacks.c:5:
/opt/local/include/X11/Xfuncproto.h:145:24: warning: ISO C does not permit named variadic macros
session.c: In function ‘girara_session_create’:
session.c:120: error: #pragma GCC diagnostic not allowed inside functions
session.c:120: error: #pragma GCC diagnostic not allowed inside functions
session.c:121: warning: ‘settings’ is deprecated (declared at session.h:80)
session.c:122: warning: ‘command_history’ is deprecated (declared at session.h:107)
session.c:123: error: #pragma GCC diagnostic not allowed inside functions
In file included from /opt/local/include/X11/Xlib.h:47,
                 from /opt/local/include/gtk-3.0/gdk/gdkx.h:30,
                 from /opt/local/include/gtk-3.0/gtk/gtksocket.h:36,
                 from /opt/local/include/gtk-3.0/gtk/gtkx.h:23,
                 from session.h:11,
                 from commands.c:9:
/opt/local/include/X11/Xfuncproto.h:145:24: warning: ISO C does not permit named variadic macros
session.c: In function ‘girara_session_destroy’:
session.c:490: error: #pragma GCC diagnostic not allowed inside functions
session.c:490: error: #pragma GCC diagnostic not allowed inside functions
session.c:491: warning: ‘settings’ is deprecated (declared at session.h:80)
session.c:492: error: #pragma GCC diagnostic not allowed inside functions
In file included from /opt/local/include/X11/Xlib.h:47,
                 from /opt/local/include/gtk-3.0/gdk/gdkx.h:30,
                 from /opt/local/include/gtk-3.0/gtk/gtksocket.h:36,
                 from /opt/local/include/gtk-3.0/gtk/gtkx.h:23,
                 from session.h:11,
                 from config.c:11:
/opt/local/include/X11/Xfuncproto.h:145:24: warning: ISO C does not permit named variadic macros
make: *** [session.o] Error 1
make: *** Waiting for unfinished jobs....

See https://build.macports.org/builders/buildports-snowleopard-x86_64/builds/26560/steps/compile/logs/stdio/text for full build log.

Change History (3)

comment:1 Changed 11 years ago by harciga

#43805 and #43804 should fix this

comment:2 Changed 10 years ago by harciga

Looks like it's zathura's dependency girara which is failing. Let's see if #43804 by itself fixes the build on SL.

Last edited 10 years ago by harciga (previous) (diff)

comment:3 Changed 10 years ago by dbevans (David B. Evans)

Resolution: fixed
Status: newclosed

After resolving #43804, zathura builds successfully on SL.

Note: See TracTickets for help on using tickets.