Subject: Error installing mp3splt on OS X
To: None <pkgsrc-users@NetBSD.org>
From: Philipp Riegger <philipp@riegger.name>
List: pkgsrc-users
Date: 03/06/2006 14:06:34
I tried to install mp3splt on OS X and i got the following error:

<quote>
===> *** No /usr/pkgsrc/distfiles/pkg-vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum SHA1 OK for mp3splt-2.1c-src.tar.gz.
=> Checksum RMD160 OK for mp3splt-2.1c-src.tar.gz.
===> Extracting for mp3splt-2.1c
===> Required installed package libmad>=0.15.1bnb1: libmad-0.15.1bnb1  
found
===> Required installed package libvorbis>=1.1.0nb1: libvorbis-1.1.2  
found
===> Required installed package libogg>=1.1.2nb1: libogg-1.1.3 found
===> Patching for mp3splt-2.1c
===> Applying pkgsrc patches for mp3splt-2.1c
===> Overriding tools for mp3splt-2.1c
===> Creating toolchain wrappers for mp3splt-2.1c
===> Configuring for mp3splt-2.1c
=> Fixing locale directory references.
configure: WARNING: If you wanted to set the --build type, don't use  
--host.
     If a cross compiler is detected then cross compile mode will be  
used.
checking for a BSD-compatible install... /usr/bin/install -c -o root - 
g wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for powerpc-apple-darwin-strip... no
checking for strip... strip
checking for powerpc-apple-darwin-gcc... gcc -pipe
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -pipe accepts -g... yes
checking for gcc -pipe option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc -pipe... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root - 
g wheel
checking whether ln -s works... yes
checking whether byte ordering is bigendian... yes
checking for an ANSI C-conforming const... yes
checking how to run the C preprocessor... gcc -pipe -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for mad_frame_decode in -lmad... yes
checking for fseeko... yes
checking for Ogg... yes
checking for Vorbis... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
===> Building for mp3splt-2.1c
/usr/pkg/bin/bmake  all-recursive
Making all in doc
if gcc -pipe -DHAVE_CONFIG_H     -no-cpp-precomp -I/usr/pkg/include  - 
mcpu=7450 -O2 -pipe -maltivec -mabi=altivec -mpowerpc-gfxopt -I/usr/ 
pkg/include -I/usr/X11R6/include -D_LARGEFILE_SOURCE - 
D_FILE_OFFSET_BITS=64 -MT mp3splt.o -MD -MP -MF ".deps/mp3splt.Tpo"  - 
c -o mp3splt.o `test -f 'mp3splt.c' || echo './'`mp3splt.c;  then mv - 
f ".deps/mp3splt.Tpo" ".deps/mp3splt.Po";  else rm -f ".deps/ 
mp3splt.Tpo"; exit 1;  fi
In file included from mp3splt.c:44:
splt.h:96: error: array type has incomplete element type
mp3splt.c: In function 'get_out_filename':
mp3splt.c:215: warning: pointer targets in passing argument 1 of  
'strncat' differ in signedness
mp3splt.c: In function 'main':
mp3splt.c:336: warning: pointer targets in passing argument 1 of  
'strncpy' differ in signedness
mp3splt.c:348: warning: pointer targets in passing argument 1 of  
'strncpy' differ in signedness
mp3splt.c:375: warning: pointer targets in passing argument 1 of  
'strncpy' differ in signedness
mp3splt.c:382: warning: pointer targets in passing argument 1 of  
'strncpy' differ in signedness
mp3splt.c:430: error: type of formal parameter 2 is incomplete
mp3splt.c:613: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
mp3splt.c:614: warning: pointer targets in passing argument 1 of  
'check_ext' differ in signedness
mp3splt.c:618: warning: pointer targets in passing argument 2 of  
'strncpy' differ in signedness
mp3splt.c:619: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
mp3splt.c:621: warning: pointer targets in passing argument 2 of  
'strcmp' differ in signedness
mp3splt.c:648: warning: pointer targets in passing argument 1 of  
'fgets' differ in signedness
mp3splt.c:649: warning: pointer targets in passing argument 1 of  
'strlen' differ in signedness
mp3splt.c:650: warning: pointer targets in passing argument 1 of  
'strcmp' differ in signedness
mp3splt.c:654: warning: pointer targets in passing argument 1 of  
'fgets' differ in signedness
mp3splt.c:656: warning: pointer targets in passing argument 1 of  
'strlen' differ in signedness
mp3splt.c:657: warning: pointer targets in passing argument 1 of  
'sscanf' differ in signedness
mp3splt.c:758: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
mp3splt.c:759: warning: pointer targets in passing argument 1 of  
'check_ext' differ in signedness
mp3splt.c:763: warning: pointer targets in passing argument 2 of  
'strncpy' differ in signedness
mp3splt.c:764: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
mp3splt.c:766: warning: pointer targets in passing argument 2 of  
'strcmp' differ in signedness
mp3splt.c:866: warning: pointer targets in passing argument 1 of  
'strncpy' differ in signedness
mp3splt.c:867: warning: pointer targets in passing argument 1 of  
'strncpy' differ in signedness
mp3splt.c:868: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
mp3splt.c:870: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
mp3splt.c:875: warning: pointer targets in passing argument 2 of  
'strncpy' differ in signedness
mp3splt.c:877: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
mp3splt.c:880: warning: pointer targets in passing argument 1 of  
'check_ext' differ in signedness
mp3splt.c:901: warning: pointer targets in passing argument 1 of  
'strncpy' differ in signedness
mp3splt.c:911: warning: pointer targets in passing argument 2 of  
'v_comment' differ in signedness
mp3splt.c:915: warning: pointer targets in passing argument 3 of  
'id3' differ in signedness
mp3splt.c:928: warning: pointer targets in passing argument 2 of  
'strncpy' differ in signedness
mp3splt.c:929: warning: pointer targets in passing argument 1 of  
'sprintf' differ in signedness
mp3splt.c:932: warning: pointer targets in passing argument 2 of  
'strcmp' differ in signedness
*** Error code 1

Stop.
bmake: stopped in /tmp/pkgsrc/audio/mp3splt/work/mp3splt-2.1c
*** Error code 1

Stop.
bmake: stopped in /tmp/pkgsrc/audio/mp3splt/work/mp3splt-2.1c
*** Error code 1

Stop.
bmake: stopped in /tmp/pkgsrc/audio/mp3splt/work/mp3splt-2.1c
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/audio/mp3splt
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /tmp/pkgsrc/audio/mp3splt/work/.work.log
===>
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/audio/mp3splt
</quote>

Any idea? What can i do?

Philipp