pkgsrc-Bugs archive

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

pkg/43910: multimedia/mpeg4ip fails to build on DragonFly



>Number:         43910
>Category:       pkg
>Synopsis:       multimedia/mpeg4ip fails to build on DragonFly
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 27 04:20:00 +0000 2010
>Originator:     Ryo ONODERA
>Release:        gnats-3.113.1
>Organization:
>Environment:
System: DragonFly oxygen.elements.tetera.org 2.6-RELEASE DragonFly 
v2.6.3-RELEASE #4: Mon May 3 09:54:14 PDT 2010 
root%test28.backplane.com@localhost:/usr/obj/usr/src-misc/sys/GENERIC i386


        
>Description:
When devel/nasm is installed, multimedia/mpeg4ip fails to build.

Error message is following.

checking for pkg-config... /usr/pkg/bin/pkg-config
checking for GLIB - version >= 2.0.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
checking glib.h usability... no
checking glib.h presence... no
checking for glib.h... no
checking for nasm... true
checking nasm version...... nasm: error: unrecognised option `-r'
nasm: error: no input file specified
type `nasm -h' for help
test: =: unexpected operator
test: =: unexpected operator
test: =: unexpected operator
test: =: unexpected operator
(endless loop)

>How-To-Repeat:
cd /usr/pkgsrc/devel/nasm
bmake install
cd /usr/pkgsrc/multimedia/mpeg4ip
bmake configure
        
>Fix:
        
--- ./patches/patch-ab.orig     2006-04-13 06:39:38 +0900
+++ ./patches/patch-ab  2010-09-27 12:13:14 +0900
@@ -1,6 +1,6 @@
 $NetBSD$
 
---- configure.orig     2005-11-11 00:26:00.000000000 +0000
+--- configure.orig     2006-06-08 19:17:51 +0000
 +++ configure
 @@ -1570,7 +1570,7 @@ echo "$as_me: error: Please run bootstra
     { (exit 1); exit 1; }; }
@@ -11,3 +11,12 @@
  touch config.h
  ac_aux_dir=
  for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
+@@ -28881,7 +28881,7 @@ fi
+    if test x$USENASM = xtrue; then
+       echo "$as_me:$LINENO: checking nasm version..." >&5
+ echo $ECHO_N "checking nasm version...... $ECHO_C" >&6
+-      BILLSNASM_arg=`nasm -r | tr '.' ' '`
++      BILLSNASM_arg=`nasm -v | tr '.' ' '`
+         BILLSNASM_ret=`util/testnasm.sh $BILLSNASM_arg`
+       if test x$BILLSNASM_ret = x"yes"; then
+          USENASM=true
--- ./distinfo.orig     2010-09-27 12:19:16 +0900
+++ ./distinfo  2010-09-27 12:20:03 +0900
@@ -4,7 +4,7 @@
 RMD160 (mpeg4ip-1.5.0.1.tar.gz) = fee5c21c17a470e6de349e07d233a1eb46b2064a
 Size (mpeg4ip-1.5.0.1.tar.gz) = 4826180 bytes
 SHA1 (patch-aa) = 5f494117fae307f4adc503fd880a762d82d771ff
-SHA1 (patch-ab) = 93875dfe86b50c399113915fbac523becae3e2aa
+SHA1 (patch-ab) = ebef89a34496cc548d992e775950c1301584efb8
 SHA1 (patch-ac) = 9e4683fdbbfa3b85941243547773814ea50125a9
 SHA1 (patch-ad) = e5dd062d7f17230bf27ffde0fc2db72d8357fd56
 SHA1 (patch-ae) = 0418c4fa0fd966b3d5303d4f95a300d94fc48111




Home | Main Index | Thread Index | Old Index