pkgsrc-Bugs archive

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

pkg/43976: audio/sox link fails on i386-5.99.39

>Number:         43976
>Category:       pkg
>Synopsis:       audio/sox link fails on i386-5.99.39
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 15 22:20:01 +0000 2010
>Originator:     John D. Baker
>Release:        5.99.39/i386 ; pkgsrc-current
NetBSD shadow.bozonet.ntc 5.99.39 NetBSD 5.99.39 (SHADOW) #34: Wed Oct  6 
15:47:32 CDT 2010  

NetBSD fred.technoskunk.fur 5.99.39 NetBSD 5.99.39 (FRED) #50: Thu Oct  7 
21:49:51 CDT 2010  

Building audio/sox on i386-5.99.39 fails to link with:

/bin/sh ../libtool --silent --tag=CC  --silent  --mode=link cc -Wconversion -O2 
-I/usr/pkg/include -D_FORTIFY_SOURCE=2 -Wall -W -Wmissing-prototypes 
-Wstrict-prototypes -pedantic   -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o sox sox.o                         -lm
./.libs/ undefined reference to `open_memstream'
*** Error code 1

make: stopped in /d0/build/pkgsrc/audio/sox/work/sox-14.3.1/src

Attempt to build audio/sox on i386-5.99.39.

For reference, it builds fine on i386-5.1_RC4.

The culprit seems to be a typographical error in

      ft->fp =
        buffer? fmemopen(buffer, buffer_size, "w+b") :
        buffer_ptr? open_memstream(buffer_ptr, buffer_size_ptr) :
        fopen(path, "w+b");

Since "fmemopen(3)" is in -current but not in netbsd-5, it builds on
the netbsd-5 branch, but trips up on this in -current.

The only function prototypes/definitions with "open_memstream" in
the name is "open_memstream_write()", so I'd assume this is what was

This is really an upstream problem, however.

Home | Main Index | Thread Index | Old Index