pkgsrc-Bugs archive

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

pkg/43630: audio/libmusepack fails to build on DragonFly x86_64

>Number:         43630
>Category:       pkg
>Synopsis:       audio/libmusepack fails to build on DragonFly x86_64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Jul 17 21:35:00 +0000 2010
>Originator:     Tero Jääskö
DragonFly korento.muumilaakso 2.7-DEVELOPMENT DragonFly 
v2.7.3.321.g19327-DEVELOPMENT #28: Sat Jul 17 23:32:24 EEST 2010 
tero%korento.muumilaakso@localhost:/usr/obj/usr/src/sys/64_smp x86_64

The current audio/libmusepack fails to build on a DragonFly x86_64 system. The 
few last lines of "bmake" command are attached below. It seems that there is a 
unnecessary and bogus typedef which can be removed. After applying the attached 
patch, the package at least builds and installs on my machine.


libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../include -O3 
-fomit-frame-pointer -DMPC_LITTLE_ENDIAN -MT idtag.lo -MD -MP -MF 
.deps/idtag.Tpo -c idtag.cpp -o idtag.o >/dev/null 2>&1
--- requant.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../include -O3 
-fomit-frame-pointer -DMPC_LITTLE_ENDIAN -MT requant.lo -MD -MP -MF 
.deps/requant.Tpo -c requant.cpp -o requant.o >/dev/null 2>&1
--- synth_filter.lo ---
synth_filter.cpp:3: error: conflicting declaration 'typedef mpc_int32_t 
/usr/include/stdint.h:52: error: 'ptrdiff_t' has a previous declaration as 
'typedef __ptrdiff_t ptrdiff_t'
*** [synth_filter.lo] Error code 1
--- bitstream.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../include -O3 
-fomit-frame-pointer -DMPC_LITTLE_ENDIAN -MT bitstream.lo -MD -MP -MF 
.deps/bitstream.Tpo -c bitstream.cpp -o bitstream.o >/dev/null 2>&1
--- huffsv46.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../include -O3 
-fomit-frame-pointer -DMPC_LITTLE_ENDIAN -MT huffsv46.lo -MD -MP -MF 
.deps/huffsv46.Tpo -c huffsv46.cpp -o huffsv46.o >/dev/null 2>&1
--- huffsv7.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../include -O3 
-fomit-frame-pointer -DMPC_LITTLE_ENDIAN -MT huffsv7.lo -MD -MP -MF 
.deps/huffsv7.Tpo -c huffsv7.cpp -o huffsv7.o >/dev/null 2>&1
--- mpc_dec.lo ---
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../include -O3 
-fomit-frame-pointer -DMPC_LITTLE_ENDIAN -MT mpc_dec.lo -MD -MP -MF 
.deps/mpc_dec.Tpo -c mpc_dec.cpp -o mpc_dec.o >/dev/null 2>&1
1 error

bmake: stopped in /usr/pkgsrc/audio/libmusepack/work/libmusepack-1.0.3/src
*** [all-recursive] Error code 1
1 error

bmake: stopped in /usr/pkgsrc/audio/libmusepack/work/libmusepack-1.0.3
*** Error code 2

bmake: stopped in /usr/pkgsrc/audio/libmusepack
*** Error code 1

bmake: stopped in /usr/pkgsrc/audio/libmusepack
cd audio/libmusepack
--- work/libmusepack-1.0.3/src/synth_filter.cpp.original        2010-07-17 
23:54:55 +0300
+++ work/libmusepack-1.0.3/src/synth_filter.cpp 2010-07-17 23:55:04 +0300
@@ -1,6 +1,5 @@
 #include "stdafx.h"
-typedef mpc_int32_t ptrdiff_t;
 /* C O N S T A N T S */

Home | Main Index | Thread Index | Old Index