Bug 109213 - building multimedia/libxine fails
Summary: building multimedia/libxine fails
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: MANTANI Nobutaka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-16 01:30 UTC by TsurutaniNaoki
Modified: 2007-02-18 15:30 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description TsurutaniNaoki 2007-02-16 01:30:04 UTC
	building multimedia/libxine fails.

Fix: 

I do not know.
	This did not happen on i386 6-STABLE, with almost same config.
How-To-Repeat: 	% portupgrade libxine
	...
	 cc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../.. -I../../../include -I../../../
	include -I../../../src -I../../../src/xine-engine -I../../../src/xine-engine -I.
	./../../src/xine-utils -I../../../src/input -I../../../src/input -I../../../lib
	-I../../../lib -DHAVE_AV_CONFIG_H -DRUNTIME_CPUDETECT -DXINE_MPEG_ENCODER -D_ISO
	C9X_SOURCE -DCONFIG_DECODERS -I../../../src/libffmpeg/libavutil -I../../../src/l
	ibffmpeg -I../../../src/libffmpeg -I/usr/local/include -I/usr/X11R6/include -I/u
	sr/local/include -D_THREAD_SAFE -fno-strict-aliasing -DNDEBUG -D_REENTRANT -D_FI
	LE_OFFSET_BITS=64 -DXINE_COMPILE -Wall -Wpointer-arith -Wnested-externs -Wcast-a
	lign -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -O -pipe -fno
	-force-addr -I/usr/local/include -I/usr/local/include/dvdread -I/usr/X11R6/inclu
	de -Wformat=2 -Wno-format-zero-length -Wmissing-format-attribute -Wstrict-aliasi
	ng=2 -MT dsputil.lo -MD -MP -MF .deps/dsputil.Tpo -c dsputil.c  -fPIC -DPIC -o .
	libs/dsputil.o
	In file included from dsputil.c:35:
	snow.h: In function `w53_32_c':
	snow.h:134: warning: control reaches end of non-void function
	snow.h: In function `w97_32_c':
	snow.h:135: warning: control reaches end of non-void function
	dsputil.c: At top level:
	dsputil.c:2547: warning: no previous prototype for 'ff_put_vc1_mspel_mc00_c'
	dsputil.c: In function `ff_check_alignment':
	dsputil.c:3813: warning: cast from pointer to integer of different size
	dsputil.c:3826: error: unrecognizable insn:
	(insn 61 10 12 0 (set (reg:SI 0 ax [61])
	        (subreg:SI (plus:DI (subreg:DI (reg:SI 7 sp) 0)
	                (const_int -4 [0xfffffffffffffffc])) 0)) -1 (nil)
	    (nil))
	dsputil.c:3826: internal compiler error: in extract_insn, at recog.c:2083
	Please submit a full bug report,
	with preprocessed source if appropriate.
	See <URL:http://gcc.gnu.org/bugs.html> for instructions.
	gmake[5]: *** [dsputil.lo] ¥¨¥é¡¼ 1
	gmake[5]: ¥Ç¥£¥ì¥¯¥È¥ê `/usr/local/work/usr/ports/multimedia/libxine/work/xine-lib-1.1.4/src/libffmpeg/libavcodec' ¤«¤é½Ð¤Þ¤¹
	gmake[4]: *** [all-recursive] ¥¨¥é¡¼ 1
	gmake[4]: ¥Ç¥£¥ì¥¯¥È¥ê `/usr/local/work/usr/ports/multimedia/libxine/work/xine-lib-1.1.4/src/libffmpeg/libavcodec' ¤«¤é½Ð¤Þ¤¹
	gmake[3]: *** [all-recursive] ¥¨¥é¡¼ 1
	gmake[3]: ¥Ç¥£¥ì¥¯¥È¥ê `/usr/local/work/usr/ports/multimedia/libxine/work/xine-lib-1.1.4/src/libffmpeg' ¤«¤é½Ð¤Þ¤¹
	gmake[2]: *** [all-recursive] ¥¨¥é¡¼ 1
	gmake[2]: ¥Ç¥£¥ì¥¯¥È¥ê `/usr/local/work/usr/ports/multimedia/libxine/work/xine-lib-1.1.4/src' ¤«¤é½Ð¤Þ¤¹
	gmake[1]: *** [all-recursive] ¥¨¥é¡¼ 1
	gmake[1]: ¥Ç¥£¥ì¥¯¥È¥ê `/usr/local/work/usr/ports/multimedia/libxine/work/xine-lib-1.1.4' ¤«¤é½Ð¤Þ¤¹
	gmake: *** [all] ¥¨¥é¡¼ 2
	*** Error code 2
	
	Stop in /usr/ports/multimedia/libxine.
	** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.84267.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=libxine-1.1.3 UPGRADE_PORT_VER=1.1.3 make
	** Fix the problem and try again.
	** Listing the failed packages (*:skipped / !:failed)
	        ! multimedia/libxine (libxine-1.1.3)    (unknown build error)
	--->  Packages processed: 0 done, 0 ignored, 0 skipped and 1 failed
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2007-02-16 01:30:20 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nobutaka

Over to maintainer
Comment 2 Andy Fawcett 2007-02-16 14:29:48 UTC
I can confirm the same on my 6.2/amd64 system, so it's not just happening for 
you.

Unfortunately I haven't found a workaround either.

Andy
Comment 3 TsurutaniNaoki 2007-02-18 05:28:10 UTC
gcc42 can compile this, as I confirmed.
But I can not check all the further release, therefore I do not know
whether we should change Makefile.

---
Tsurutani Naoki
turutani@scphys.kyoto-u.ac.jp
Comment 4 Andy Fawcett 2007-02-18 06:51:17 UTC
On Sunday 18 February 2007 07:28, Tsurutani Naoki wrote:
> gcc42 can compile this, as I confirmed.
> But I can not check all the further release, therefore I do not know
> whether we should change Makefile.

gcc41 confirmed too.

I think that the Makefile should reflect this. Since it works with 3.4+ on 
i386, it might be needed as a conditional on the platform.

Andy
Comment 5 dfilter service freebsd_committer freebsd_triage 2007-02-18 15:25:51 UTC
nobutaka    2007-02-18 15:25:46 UTC

  FreeBSD ports repository

  Modified files:
    multimedia/libxine   Makefile pkg-plist 
  Log:
  - Don't install .a files.
  - Add USE_GCC=4.1+ for amd64 to avoid internal compiler error. [*]
  
  PR:             ports/109213 [*]
  Submitted by:   Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> [*]
  
  Revision  Changes    Path
  1.105     +14 -11    ports/multimedia/libxine/Makefile
  1.44      +0 -105    ports/multimedia/libxine/pkg-plist
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 6 MANTANI Nobutaka freebsd_committer freebsd_triage 2007-02-18 15:27:11 UTC
State Changed
From-To: open->closed

Added USE_GCC=4.1+ for a workaround, thanks!