pkgsrc-Bugs archive

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

pkg/36255: x11/fast-user-switch-applet compilation errors (NetBSD 3.0)



>Number:         36255
>Category:       pkg
>Synopsis:       x11/fast-user-switch-applet compilation errors (NetBSD 3.0)
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 02 06:40:00 +0000 2007
>Originator:     Robert Elz
>Release:        NetBSD 3.99.15 (pkgsrc current within past 12 hours)
>Organization:
        Prince of Songkla University
>Environment:
        
        
System: NetBSD jade.coe.psu.ac.th 3.99.15 NetBSD 3.99.15 
(GENERIC-1.696-20060125) #8: Wed Jan 25 04:59:39 ICT 2006 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/current/kernels/JADE_ASUS i386
Architecture: i386
Machine: i386
>Description:
        I use pkg_comp with libkver and NetBSD 3.0 (release) sets and
        sources installed in the sandbox (should be a reasonably pure
        NetBSD 3.0 environment).

        Compiling x11/fast-user-switch-applet fails with undefined
        symbols relayed to signals (SIGPIPE & SIG_UGN defined!)
        It's hard to imagine how anything can fail to include the correct
        include files for those (truly ancient unix/C names)....

>How-To-Repeat:
        Attempt building x11/fast-user-switch-applet on NetBSD 3.0
        (don't know abot oher systems/versions, this is all I have
        tried).   I use pkg_comp with libkver and NetBSD 3.0 installed
        to similate a true NetBSD 3.0 environment (I want to build
        packages that work on any NetBSD 3.* system.)

        What I see is ...

gdm-queue.c: In function `gdm_send_command':
gdm-queue.c:412: warning: implicit declaration of function `signal'
gdm-queue.c:412: error: `SIGPIPE' undeclared (first use in this function)
gdm-queue.c:412: error: (Each undeclared identifier is reported only once
gdm-queue.c:412: error: for each function it appears in.)
gdm-queue.c:412: error: `SIG_IGN' undeclared (first use in this function)
gdm-queue.c:412: warning: assignment makes pointer from integer without a cast  

        Followed by the complete compile line ...

[wrapper.sh] note: The real command line, after the pkgsrc wrapper, was:
/pkg_comp/obj/pkgsrc/x11/fast-user-switch-applet/default/.gcc/bin/gcc -DHAVE_CON
FIG_H -I. -I.. -DG_LOG_DOMAIN=\"Fast-User-Switch-Applet\" -DDATADIR=\"/usr/pkg/s
hare\" -O2 -DXTHREADS -DORBIT2=1 -pthread -I/pkg_comp/obj/pkgsrc/x11/fast-user-s
witch-applet/default/.buildlink/include/gtk-2.0 -I/pkg_comp/obj/pkgsrc/x11/fast-
user-switch-applet/default/.buildlink/lib/gtk-2.0/include -I/pkg_comp/obj/pkgsrc
/x11/fast-user-switch-applet/default/.buildlink/include/atk-1.0 -I/pkg_comp/obj/
pkgsrc/x11/fast-user-switch-applet/default/.buildlink/include/cairo -I/pkg_comp/
obj/pkgsrc/x11/fast-user-switch-applet/default/.buildlink/include/pango-1.0 -I/p
kg_comp/obj/pkgsrc/x11/fast-user-switch-applet/default/.buildlink/include -I/pkg
_comp/obj/pkgsrc/x11/fast-user-switch-applet/default/.x11-buildlink/include -I/p
kg_comp/obj/pkgsrc/x11/fast-user-switch-applet/default/.buildlink/include/glib/g
lib-2.0 -I/pkg_comp/obj/pkgsrc/x11/fast-user-switch-applet/default/.buildlink/li
b/glib-2.0/include -I/pkg_comp/obj/pkgsrc/x11/fast-user-switch-applet/default/.b
uildlink/include/freetype2 -I/pkg_comp/obj/pkgsrc/x11/fast-user-switch-applet/de
fault/.buildlink/include/libpng12 -I/pkg_comp/obj/pkgsrc/x11/fast-user-switch-ap
plet/default/.buildlink/include/panel-2.0 -I/pkg_comp/obj/pkgsrc/x11/fast-user-s
witch-applet/default/.buildlink/include/libgnomeui-2.0 -I/pkg_comp/obj/pkgsrc/x1
1/fast-user-switch-applet/default/.buildlink/include/libbonoboui-2.0 -I/pkg_comp
/obj/pkgsrc/x11/fast-user-switch-applet/default/.buildlink/include/libgnome-2.0 
-I/pkg_comp/obj/pkgsrc/x11/fast-user-switch-applet/default/.buildlink/include/li
bgnomecanvas-2.0 -I/pkg_comp/obj/pkgsrc/x11/fast-user-switch-applet/default/.bui
ldlink/include/libart-2.0 -I/pkg_comp/obj/pkgsrc/x11/fast-user-switch-applet/def
ault/.buildlink/include/gconf/2 -I/pkg_comp/obj/pkgsrc/x11/fast-user-switch-appl
et/default/.buildlink/include/gnome-vfs-2.0 -I/pkg_comp/obj/pkgsrc/x11/fast-user
-switch-applet/default/.buildlink/lib/gnome-vfs-2.0/include -I/pkg_comp/obj/pkgs
rc/x11/fast-user-switch-applet/default/.buildlink/include/gnome-keyring-1 -I/pkg
_comp/obj/pkgsrc/x11/fast-user-switch-applet/default/.buildlink/include/orbit-2.
0 -I/pkg_comp/obj/pkgsrc/x11/fast-user-switch-applet/default/.buildlink/include/
libbonobo-2.0 -I/pkg_comp/obj/pkgsrc/x11/fast-user-switch-applet/default/.buildl
ink/include/bonobo-activation-2.0 -I/pkg_comp/obj/pkgsrc/x11/fast-user-switch-ap
plet/default/.buildlink/include/libxml2 -I/pkg_comp/obj/pkgsrc/x11/fast-user-swi
tch-applet/default/.buildlink/include/libglade-2.0 -Wall -Wmissing-prototypes -W
nested-externs -Wpointer-arith -Wno-sign-compare -Wcast-align -Wchar-subscripts
-Wsign-compare -Wno-strict-aliasing -O2 -MT fast_user_switch_applet-gdm-queue.o
-MD -MP -MF .deps/fast_user_switch_applet-gdm-queue.Tpo -c -o fast_user_switch_a
pplet-gdm-queue.o gdm-queue.c -L/pkg_comp/obj/pkgsrc/x11/fast-user-switch-applet
/default/.buildlink/lib
gmake[2]: *** [fast_user_switch_applet-gdm-queue.o] Error 1

>Fix:
        Somewhere, someone has manages to lose <signal.h>
        (obviously the file is not missing, or cpp would be
        complaining about not finding it, rather, the code is
        apparently not bothing to include it ...)  How ???




Home | Main Index | Thread Index | Old Index