pkgsrc-Bugs archive

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

pkg/46242: mpc fails to build on Linux from pkgsrc-2011Q4



>Number:         46242
>Category:       pkg
>Synopsis:       mpc fails to build on Linux from pkgsrc-2011Q4
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Mar 22 09:40:00 +0000 2012
>Originator:     Dave Vollenweider
>Release:        None (Linux 2.6.37.6)
>Organization:
>Environment:
Linux shinji 2.6.37.6 #2 Sun Apr 10 01:09:12 CDT 2011 i686 Intel(R) Atom(TM) 
CPU N450   @ 1.66GHz GenuineIntel GNU/Linux
>Description:
audio/mpc fails to build.  The issue seems to involve iconv.  Here's the output 
of the error and the command the preceded it:

gcc -std=gnu99 -Wall -Wextra -Wno-deprecated-declarations -Wmissing-prototypes 
-Wshadow -Wpointer-arith -Wstrict-prototypes -Wcast-qual -Wwrite-strings -O2 
-Wno-error -I/usr/pkg/include  -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -o src/mpc 
src_mpc-main.o src_mpc-list.o  src_mpc-password.o src_mpc-status.o  
src_mpc-util.o src_mpc-command.o  src_mpc-sticker.o src_mpc-idle.o  
src_mpc-search.o src_mpc-options.o   src_mpc-charset.o -lnsl  
-Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lmpdclient 
src_mpc-charset.o: In function `charset_close':
charset.c:(.text+0x1b): undefined reference to `libiconv_close'
src_mpc-charset.o: In function `charset_conv_strdup':
charset.c:(.text+0x11a): undefined reference to `libiconv'
src_mpc-charset.o: In function `charset_set':
charset.c:(.text+0x40e): undefined reference to `libiconv_open'
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/audio/mpc/work.shinji/mpc-0.20
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/audio/mpc/work.shinji/mpc-0.20
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/audio/mpc
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/audio/mpc

>How-To-Repeat:
Run bmake clean on the directory and try again
>Fix:



Home | Main Index | Thread Index | Old Index