pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/41980: net/dhcpcd-gtk compilation errors (NetBSD 4.0 / i386)

>Number:         41980
>Category:       pkg
>Synopsis:       net/dhcpcd-gtk compilation errors (NetBSD 4.0 / i386)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 03 11:55:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0 / i386   pkgsrc current
        Prince of Songkla University
System: NetBSD 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 i386
Architecture: i386
Machine: i386
        Attempts to compile net/dhcpcd-gtk (dhcpcd-gtk-0.4.1nb1)
        on NetBSD 4.0 fail with a compilation error, that looks likely
        to be a missing include file (or perhaps include file ordering
        problem).   (This is the exact same failure reported for
        net/dhcpcd in PR 41719, which is now fixed).

        I use pkg_comp with NetBSD 4.0 release sets installed, and libkver
        to simulate a fairly pure NetBSD 4.0 release environment.
        I use pkgsrc modular xorg instead of the x* sets.
        The "4.0" part of that might be relevant to this issue,
        I doubt if any of the rest of it matters.

        In that environment I see ...

cc -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 
-D_REENTRANT -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include 
-I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo 
-I/usr/pkg/include/pango-1.0 -I/usr/pkg/include 
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include 
-I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 
-I/usr/pkg/include/libpng12 -I/usr/pkg/include/dbus-1.0 
-I/usr/pkg/lib/dbus-1.0/include   -Wall -Wextra -Wimplicit -Wshadow -Wformat=2 
-Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn 
-Wmissing-format-attribute -Wredundant-decls -Wnested-externs -Winline 
-Wwrite-strings -Wcast-align -Wcast-qual -Wpointer-arith 
-Wdeclaration-after-statement -Wsequence-point  -I/usr/pkg/include 
-I/usr/include -I/usr/pkg/include/freetype2 -I../libdhcpcd 
-DICONDIR=\"/usr/pkg/share/dhcpcd/icons\" -DNOTIFY -c prefs.c -o prefs.o
In file included from /usr/include/net/if.h:86,
                 from prefs.c:27:
/usr/include/net/pfil.h:79: error: expected specifier-qualifier-list before 
*** Error code 1

make: stopped in 
*** Error code 1


        Line 79 of /usr/include/net/pfil.h (in NetBSD 4.0 release sources)
        is ...

                u_long          phu_val;

(etc) - ie: all exactly the same stuff as was reported for net/dhcpcd
for PR 41719 (which is now fixed there - see that PR, or ask,if you
need more contxt...).

        Exactly the same as how net/dhccd was fixed, I assume ...

Home | Main Index | Thread Index | Old Index