Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Nov 2004 22:27:47 +0900 (JST)
From:      UMENO Takashi <umeno@rr.iij4u.or.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/73867: Can't compile multimedia/mpeg4ip by gcc3.4
Message-ID:  <200411121327.iACDRlYQ042622@belldandy.unnumbered.net>
Resent-Message-ID: <200411121330.iACDUFTm069152@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         73867
>Category:       ports
>Synopsis:       Can't compile multimedia/mpeg4ip by gcc3.4
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 12 13:30:15 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     UMENO Takashi
>Release:        FreeBSD 4.10-STABLE i386
>Organization:
individual
>Environment:
System: FreeBSD belldandy.unnumbered.net 4.10-STABLE FreeBSD 4.10-STABLE #0: Thu Oct 14 22:42:47 JST 2004 umeno@belldandy.unnumbered.net:/usr/obj/usr/src/sys/SAKUYA22 i386


	
>Description:

Can't compile multimedia/mpeg4ip by gcc3.4:
I think this problem will cause failure of gnome2.8 update by gnome_upgrade.sh.

(snip)

 g++34 -DHAVE_CONFIG_H -I. -I. -I../../../.. -I.. -I../.. -I../../../lib -I../../../lib/audio -I../../../../common/video/mpeg4 -I../../../../include -I../../../../lib -I../../../../lib/mp4v2 -I../../../../lib/sdp -I../../../../lib/utils -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Werror -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -O -pipe -march=pentiumpro -DUSE_MMX -DMPEG4IP -MT mp3if.lo -MD -MP -MF .deps/mp3if.Tpo -c mp3if.cpp  -fPIC -DPIC -o .libs/mp3if.o
if /bin/sh ../../../../libtool --mode=compile g++34 -DHAVE_CONFIG_H -I. -I. -I../../../.. -I.. -I../..  -I../../../lib -I../../../lib/audio -I../../../../common/video/mpeg4 -I../../../../include -I../../../../lib -I../../../../lib/mp4v2 -I../../../../lib/sdp -I../../../../lib/utils  -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Werror  -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -O -pipe -march=pentiumpro -DUSE_MMX -DMPEG4IP -MT mp3_file.lo -MD -MP -MF ".deps/mp3_file.Tpo" \
  -c -o mp3_file.lo `test -f 'mp3_file.cpp' || echo './'`mp3_file.cpp; \
then mv -f ".deps/mp3_file.Tpo" ".deps/mp3_file.Plo"; \
else rm -f ".deps/mp3_file.Tpo"; exit 1; \
fi
 g++34 -DHAVE_CONFIG_H -I. -I. -I../../../.. -I.. -I../.. -I../../../lib -I../../../lib/audio -I../../../../common/video/mpeg4 -I../../../../include -I../../../../lib -I../../../../lib/mp4v2 -I../../../../lib/sdp -I../../../../lib/utils -I/usr/local/include -I/usr/X11R6/include -D_THREAD_SAFE -D_REENTRANT -DNOCONTROLS -fexceptions -Wall -Werror -Wno-char-subscripts -Woverloaded-virtual -Wno-unknown-pragmas -Wno-deprecated -Wformat=2 -O -pipe -march=pentiumpro -DUSE_MMX -DMPEG4IP -MT mp3_file.lo -MD -MP -MF .deps/mp3_file.Tpo -c mp3_file.cpp  -fPIC -DPIC -o .libs/mp3_file.o
mp3_file.cpp: In function `bool read_mp3_file_for_tag(const char*, mp3_codec_t*, char**)':
mp3_file.cpp:129: warning: converting NULL to non-pointer type
gmake[5]: *** [mp3_file.lo] Error 1
gmake[5]: Leaving directory `/usr/ports/multimedia/mpeg4ip/work/mpeg4ip-1.1/player/src/codec/mp3'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/ports/multimedia/mpeg4ip/work/mpeg4ip-1.1/player/src/codec'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/multimedia/mpeg4ip/work/mpeg4ip-1.1/player/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/multimedia/mpeg4ip/work/mpeg4ip-1.1/player'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/multimedia/mpeg4ip/work/mpeg4ip-1.1'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/multimedia/mpeg4ip.
	
>How-To-Repeat:
N/A
>Fix:

diff -urN mpeg4ip.orig/files/patch-player::src::codec::mp3::mp3_file.cpp mpeg4ip/files/patch-player::src::codec::mp3::mp3_file.cpp
--- mpeg4ip.orig/files/patch-player::src::codec::mp3::mp3_file.cpp	Wed Nov 10 10:02:45 2004
+++ mpeg4ip/files/patch-player::src::codec::mp3::mp3_file.cpp	Fri Nov 12 22:00:13 2004
@@ -1,10 +1,10 @@
---- player/src/codec/mp3/mp3_file.cpp.orig      Wed Sep 29 00:24:31 2004
-+++ player/src/codec/mp3/mp3_file.cpp   Wed Sep 29 00:28:47 2004
+--- player/src/codec/mp3/mp3_file.cpp.orig	Tue Mar  9 10:18:41 2004
++++ player/src/codec/mp3/mp3_file.cpp	Fri Nov 12 21:58:17 2004
 @@ -126,6 +126,7 @@
      descptr[1] = strdup(desc);
      CHECK_AND_FREE(ret);
    }
-+  ret = ID3_v1_genre_description[NULL];
++  ret = ID3_v1_genre_description[0];
    ret = ID3_GetAlbum(&myTag);
    if (ret) {
-
+     char *year = ID3_GetYear(&myTag);



>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411121327.iACDRlYQ042622>