pkgsrc-Bugs archive

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

pkg/44049: buildlink support for netbsd-5 with native X11 broke for some packages with x11-links 0.60



>Number:         44049
>Category:       pkg
>Synopsis:       buildlink support for netbsd-5 with native X11 broke for some 
>packages with x11-links 0.60
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Nov 05 19:10:00 +0000 2010
>Originator:     Bernd Ernesti
>Release:        NetBSD 5.1_RC4 & pkgsrc-2010Q3
>Organization:
        
>Environment:
System: NetBSD 5.1_RC4
Architecture: i386
Machine: i386
>Description:
        x11-links with version 0.60 has this commit message:
         - Fix a fundamental problem which meant that the package included links
           for builtin components that "pkgsrc" will not use because they are 
too old.

        Ok, but now x11-links does not include some files anymore because the 
buildlink
        files for these package requires a BUILDLINK_API_DEPENDS version which 
is not
        available on the netbsd-5 branch:
         * x11/libdrm/buildlink3.mk
            requires: libdrm>=2.4.20
            netbsd-5: Version: 2.4.11
            missing files: pkgsrc/pkgtools/x11-links/files/xorg.libdrm
         * x11/xf86dgaproto/buildlink3.mk
            requires: xf86dgaproto>=2.1
            netbsd-5: Version: 2.0.3
            missing files: pkgsrc/pkgtools/x11-links/files/xorg.xf86dgaproto
         * x11/xf86vidmodeproto/buildlink3.mk
            requires: xf86vidmodeproto>=2.3
            netbsd-5: Version: 2.2.2
            missing files: pkgsrc/pkgtools/x11-links/files/xorg.xf86vidmodeproto

        The real reason for the build failures is that
          x11/libXxf86dga/buildlink3.mk
          x11/libXxf86vm/buildlink3.mk
        have checks for '${X11_TYPE} != "modular"' which prevents the includes
        of x11/xf86dgaproto/buildlink3.mk and x11/xf86vidmodeproto/buildlink3.mk
        in the libXxf86dga and libXxf86vm buildlink3.mk files.

>How-To-Repeat:
        cd pkgsrc/multimedia/fxtv && make
[..]
        tvscreen.c:43:38: error: X11/extensions/xf86dga.h: No such file or 
directory
        tvscreen.c:45:41: error: X11/extensions/xf86dgastr.h: No such file or 
directory
        tvscreen.c:46:40: error: X11/extensions/xf86vmstr.h: No such file or 
directory

        cd pkgsrc/multimedia/xine-ui && make
[..]
        videowin.o: In function `video_window_adapt_size':
        videowin.c:(.text+0xfa2): undefined reference to 
`XF86VidModeSwitchToMode'
        videowin.c:(.text+0x10bd): undefined reference to 
`XF86VidModeSetViewPort'
        videowin.c:(.text+0x18f3): undefined reference to 
`XF86VidModeSwitchToMode'
        videowin.c:(.text+0x1919): undefined reference to 
`XF86VidModeSetViewPort'

        But there are more packages which fail to build.

>Fix:
        



Home | Main Index | Thread Index | Old Index