pkgsrc-Bugs archive

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

pkg/45524: sysutils/9base link failures (and/or possible distinfo problem)



>Number:         45524
>Category:       pkg
>Synopsis:       sysutils/9base link failures (and/or possible distinfo problem)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 26 11:10:01 +0000 2011
>Originator:     Robert Elz
>Release:        NetBSD 5.0  (pkgsrc current 2011-10-26)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 5.1 NetBSD 5.1 (JADE-1.12-20101117) #5: Wed 
Nov 17 05:30:55 ICT 2010 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/5.1/kernels/i386/JADE i386
Architecture: i386
Machine: i386
>Description:
        Attempting to link "hoc" from sysutils/9base fails with multiply
        defined symbols "finite" and "scalbn" (both found in libm.a)

        Before that, the package building ignores 2 patch files because
        they have no checksums in the distinfo file (patches/patch-b[bc])

        Possibly those patches were intended to be rmeoved, explaining why
        they're missing from the distinfo (but the cvs rm was never done
        or something) in which case that they were ignored is as it should
        be, and the misisng "cvs rm" just needs to be done sometime.

        Alternatively, missing applying those patches might be what caused
        the link errors.

>How-To-Repeat:
        Attempting "make package" (in a NetBSD 5.0 release environment,
        using pkg_comp with libkver installed) results in ...

===> Patching for 9base-20100604
=> Applying pkgsrc patches for 9base-20100604
**************************************
Ignoring patch file /usr/pkgsrc/sysutils/9base/patches/patch-bb: no checksum 
found
**************************************
**************************************
Ignoring patch file /usr/pkgsrc/sysutils/9base/patches/patch-bc: no checksum 
found
**************************************

        And then later ...

LD hoc
/usr/lib/libc.a(compat_ldexp_ieee754.o): In function `finite':
compat_ldexp_ieee754.c:(.text+0x0): multiple definition of `finite'
/usr/lib/libm.a(s_finite.o):/release/5/usr/src/lib/libm/arch/i387/s_finite.S:(.text+0x0):
 first defined here
/usr/lib/libc.a(compat_ldexp_ieee754.o): In function `scalbn':
compat_ldexp_ieee754.c:(.text+0x18): multiple definition of `scalbn'
/usr/lib/libm.a(s_scalbn.o):/release/5/usr/src/lib/libm/arch/i387/s_scalbn.S:(.text+0x0):
 first defined here
*** Error code 1

Stop.
make: stopped in /pkg_comp/obj/pkgsrc/sysutils/9base/5/9base-6/hoc
*** Error code 1

Stop.

>Fix:
        ??



Home | Main Index | Thread Index | Old Index