From turutani@scphys.kyoto-u.ac.jp  Sat Feb 20 12:56:34 2010
Return-Path: <turutani@scphys.kyoto-u.ac.jp>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BB734106568B
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 20 Feb 2010 12:56:34 +0000 (UTC)
	(envelope-from turutani@scphys.kyoto-u.ac.jp)
Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [133.3.248.237])
	by mx1.freebsd.org (Postfix) with ESMTP id 5831B8FC08
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 20 Feb 2010 12:56:33 +0000 (UTC)
Received: from smtp-auth.kuins.kyoto-u.ac.jp (smtp-auth.kuins.kyoto-u.ac.jp [127.0.0.1])
	by postfix.imss70 (Postfix) with ESMTP id 868AA100FF;
	Sat, 20 Feb 2010 21:56:32 +0900 (JST)
Received: from h120.65.226.10.32118.vlan.kuins.net (wd187.BFL38.vectant.ne.jp [210.131.171.187])
	by smtp-auth.kuins.kyoto-u.ac.jp (Postfix) with ESMTP id 4D7FC100FA;
	Sat, 20 Feb 2010 21:56:32 +0900 (JST)
Received: from h120.65.226.10.32118.vlan.kuins.net (localhost [127.0.0.1])
	by h120.65.226.10.32118.vlan.kuins.net (8.14.4/8.14.4/20071004-1) with ESMTP id o1KCuRmJ032960;
	Sat, 20 Feb 2010 21:56:27 +0900 (JST)
	(envelope-from turutani@h120.65.226.10.32118.vlan.kuins.net)
Received: (from turutani@localhost)
	by h120.65.226.10.32118.vlan.kuins.net (8.14.4/8.14.4/Submit) id o1KCuRAT032959;
	Sat, 20 Feb 2010 21:56:27 +0900 (JST)
	(envelope-from turutani)
Message-Id: <201002201256.o1KCuRAT032959@h120.65.226.10.32118.vlan.kuins.net>
Date: Sat, 20 Feb 2010 21:56:27 +0900 (JST)
From: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
Reply-To: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To: FreeBSD-gnats-submit@freebsd.org
Cc: turutani@scphys.kyoto-u.ac.jp
Subject: failure in building print/pdftk
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         144133
>Category:       ports
>Synopsis:       failure in building print/pdftk
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    glarkin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Feb 20 13:00:12 UTC 2010
>Closed-Date:    Tue Apr 20 09:55:14 EDT 2010
>Last-Modified:  Tue Apr 20 09:55:14 EDT 2010
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 8.0-STABLE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 8.0-STABLE FreeBSD 8.0-STABLE #22: Sat Feb 13 14:53:25 JST 2010 turutani@h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	building print/pdftk fails with gcc42.
	
>How-To-Repeat:
	% cd /usr/ports/print/pdftk
	% make
	...
	/usr/local/bin/gcj42 -L/usr/local/lib -O2 -w --encoding=UTF-8 --classpath="/usr/local/work/usr/ports/print/pdftk/work/pdftk-1.41/java_libs" -C Token.java
	/usr/local/bin/gcjh42 --classpath="." Token;
	rm Token.class
	/usr/local/bin/gcj42 -L/usr/local/lib -O2 -w --encoding=UTF-8 --classpath="/usr/local/work/usr/ports/print/pdftk/work/pdftk-1.41/java_libs" -C TokenMgrError.java
	/usr/local/bin/gcjh42 --classpath="." TokenMgrError;
	rm TokenMgrError.class
	gmake[2]: Leaving Directory `/usr/local/work/usr/ports/print/pdftk/work/pdftk-1.41/java_libs/com/lowagie/text/pdf/codec/postscript'
	gmake[1]: Leaving Directory `/usr/local/work/usr/ports/print/pdftk/work/pdftk-1.41/java_libs'
	/usr/local/bin/g++42 pdftk.cc -I../java_libs -O2 -DPATH_DELIM=0x2f -DASK_ABOUT_WARNINGS=false -fdollars-in-identifiers -DPDFTK_VER=\"1.41\" -c
	/tmp/cc92eCL4.s: Assembler messages:
	/tmp/cc92eCL4.s:538: Warning: setting incorrect section attributes for .text._ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE4findERKi
	/tmp/cc92eCL4.s:716: Warning: setting incorrect section attributes for .text._ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE8_M_eraseEPSt13_Rb_tree_nodeIiE
	/tmp/cc92eCL4.s:762: Warning: setting incorrect section attributes for .text._ZSt9__reverseIN9__gnu_cxx17__normal_iteratorIPN10TK_Session7PageRefESt6vectorIS3_SaIS3_EEEEEvT_S9_St26random_access_iterator_tag
	/tmp/cc92eCL4.s:828: Warning: setting incorrect section attributes for .text._ZNSt6vectorIN10TK_Session7PageRefESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_
	/tmp/cc92eCL4.s:1848: Warning: setting incorrect section attributes for .text._ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE7_M_copyEPKSt13_Rb_tree_nodeIiEPS7_
	/tmp/cc92eCL4.s:2010: Warning: ignoring changed section attributes for .text._ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE7_M_copyEPKSt13_Rb_tree_nodeIiEPS7_
	/tmp/cc92eCL4.s:2011: Warning: setting incorrect section attributes for .text._ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEEaSERKS5_
	/tmp/cc92eCL4.s:2082: Warning: setting incorrect section attributes for .text._ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE9_M_insertEPSt18_Rb_tree_node_baseS7_RKi
	/tmp/cc92eCL4.s:2149: Warning: setting incorrect section attributes for .text._ZNSt8_Rb_treeIiiSt9_IdentityIiESt4lessIiESaIiEE16_M_insert_uniqueERKi
	/tmp/cc92eCL4.s:2239: Warning: setting incorrect section attributes for .text._ZNSt6vectorIN10TK_Session7PageRefESaIS1_EE15_M_range_insertIN9__gnu_cxx17__normal_iteratorIPS1_S3_EEEEvS8_T_S9_St20forward_iterator_tag
	/tmp/cc92eCL4.s:2578: Warning: setting incorrect section attributes for .text._ZNSt6vectorISt4pairISt3setIiSt4lessIiESaIiEEPN3com7lowagie4text3pdf9PdfReaderEESaISC_EEaSERKSE_
	/tmp/cc92eCL4.s:3183: Warning: ignoring changed section attributes for .text._ZNSt6vectorISt4pairISt3setIiSt4lessIiESaIiEEPN3com7lowagie4text3pdf9PdfReaderEESaISC_EEaSERKSE_
	/tmp/cc92eCL4.s:3184: Warning: setting incorrect section attributes for .text._ZNSt8_Rb_treeISsSt4pairIKSsjESt10_Select1stIS2_ESt4lessISsESaIS2_EE11lower_boundERS1_
	/tmp/cc92eCL4.s:3922: Warning: setting incorrect section attributes for .text._ZNSt8_Rb_treeISsSt4pairIKSsjESt10_Select1stIS2_ESt4lessISsESaIS2_EE4findERS1_
	/tmp/cc92eCL4.s:4048: Warning: setting incorrect section attributes for .text._ZNSt8_Rb_treeISsSt4pairIKSsjESt10_Select1stIS2_ESt4lessISsESaIS2_EE9_M_insertEPSt18_Rb_tree_node_baseSA_RKS2_
	/tmp/cc92eCL4.s:4222: Warning: ignoring changed section attributes for .text._ZNSt8_Rb_treeISsSt4pairIKSsjESt10_Select1stIS2_ESt4lessISsESaIS2_EE9_M_insertEPSt18_Rb_tree_node_baseSA_RKS2_
	/tmp/cc92eCL4.s:4223: Warning: setting incorrect section attributes for .text._ZNSt8_Rb_treeISsSt4pairIKSsjESt10_Select1stIS2_ESt4lessISsESaIS2_EE16_M_insert_uniqueERKS2_
	/tmp/cc92eCL4.s:4394: Warning: setting incorrect section attributes for .text._ZNSt8_Rb_treeISsSt4pairIKSsjESt10_Select1stIS2_ESt4lessISsESaIS2_EE16_M_insert_uniqueESt17_Rb_tree_iteratorIS2_ERKS2_
	/tmp/cc92eCL4.s:4880: Warning: setting incorrect section attributes for .text._ZNSt6vectorISt4pairISt3setIiSt4lessIiESaIiEEPN3com7lowagie4text3pdf9PdfReaderEESaISC_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSC_SE_EERKSC_
	/tmp/cc92eCL4.s:5638: Warning: ignoring changed section attributes for .text._ZNSt6vectorISt4pairISt3setIiSt4lessIiESaIiEEPN3com7lowagie4text3pdf9PdfReaderEESaISC_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSC_SE_EERKSC_
	/tmp/cc92eCL4.s:5789: Warning: setting incorrect section attributes for .text._ZNSt8_Rb_treeISsSt4pairIKSsjESt10_Select1stIS2_ESt4lessISsESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E
	/tmp/cc92eCL4.s:5930: Warning: ignoring changed section attributes for .text._ZNSt8_Rb_treeISsSt4pairIKSsjESt10_Select1stIS2_ESt4lessISsESaIS2_EE8_M_eraseEPSt13_Rb_tree_nodeIS2_E
	/tmp/cc92eCL4.s:5931: Warning: setting incorrect section attributes for .text._ZN10TK_Session8InputPdfD1Ev
	/tmp/cc92eCL4.s:6320: Warning: ignoring changed section attributes for .text._ZN10TK_Session8InputPdfD1Ev
	/tmp/cc92eCL4.s:6321: Warning: setting incorrect section attributes for .text._ZNSt6vectorIN10TK_Session8InputPdfESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPS1_S3_EES7_
	/tmp/cc92eCL4.s:6462: Warning: ignoring changed section attributes for .text._ZNSt6vectorIN10TK_Session8InputPdfESaIS1_EE5eraseEN9__gnu_cxx17__normal_iteratorIPS1_S3_EES7_
	/tmp/cc92eCL4.s:6965: Warning: setting incorrect section attributes for .text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs
	/tmp/cc92eCL4.s:7603: Warning: ignoring changed section attributes for .text._ZNSt6vectorISsSaISsEE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPSsS1_EERKSs
	/tmp/cc92eCL4.s:7604: Warning: setting incorrect section attributes for .text._ZN10TK_Session8InputPdfC1ERKS0_
	/tmp/cc92eCL4.s:8043: Warning: ignoring changed section attributes for .text._ZN10TK_Session8InputPdfC1ERKS0_
	/tmp/cc92eCL4.s:8044: Warning: setting incorrect section attributes for .text._ZNSt6vectorIN10TK_Session8InputPdfESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_
	/tmp/cc92eCL4.s:9480: Warning: ignoring changed section attributes for .text._ZNSt6vectorIN10TK_Session8InputPdfESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_
	/tmp/cc92eCL4.s:9481: Warning: setting incorrect section attributes for .text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_
	/tmp/cc92eCL4.s:9641: Warning: ignoring changed section attributes for .text._ZStplIcSt11char_traitsIcESaIcEESbIT_T0_T1_EPKS3_RKS6_
	/tmp/cc92eCL4.s:29740: Error: unknown pseudo-op: `.weakref'
	/tmp/cc92eCL4.s:29741: Error: unknown pseudo-op: `.weakref'
	/tmp/cc92eCL4.s:29742: Error: unknown pseudo-op: `.weakref'
	/tmp/cc92eCL4.s:29743: Error: unknown pseudo-op: `.weakref'
	/tmp/cc92eCL4.s:29744: Error: unknown pseudo-op: `.weakref'
	/tmp/cc92eCL4.s:29745: Error: unknown pseudo-op: `.weakref'
	/tmp/cc92eCL4.s:29746: Error: unknown pseudo-op: `.weakref'
	/tmp/cc92eCL4.s:29747: Error: unknown pseudo-op: `.weakref'
	/tmp/cc92eCL4.s:29748: Error: unknown pseudo-op: `.weakref'
	/tmp/cc92eCL4.s:29749: Error: unknown pseudo-op: `.weakref'
	/tmp/cc92eCL4.s:29750: Error: unknown pseudo-op: `.weakref'
	/tmp/cc92eCL4.s:29751: Error: unknown pseudo-op: `.weakref'
	/tmp/cc92eCL4.s:29752: Error: unknown pseudo-op: `.weakref'
	/tmp/cc92eCL4.s:29753: Error: unknown pseudo-op: `.weakref'
	gmake: *** [pdftk.o] Error 1
	*** Error code 1

	Stop in /usr/ports/print/pdftk.

	
>Fix:
	I have no idea.
	gcc44 cannot build this, with the lack of ecj1.
	i build gcc44 with ecj.jar, but it fails to build pdftk with segfault.
	


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->glarkin 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Feb 20 13:00:26 UTC 2010 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144133 
State-Changed-From-To: open->analyzed 
State-Changed-By: glarkin 
State-Changed-When: Fri Apr 9 09:16:10 EDT 2010 
State-Changed-Why:  
This PR can be closed once the pending patches for  
lang/gcc45 and print/pdftk are committed.  gcc42 will no 
longer be required for compiling pdftk.  See this message 
sent to freebsd-ports@: 

http://lists.freebsd.org/pipermail/freebsd-ports/2010-April/060475.html 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144133 
State-Changed-From-To: analyzed->closed 
State-Changed-By: glarkin 
State-Changed-When: Tue Apr 20 09:49:31 EDT 2010 
State-Changed-Why:  
This issue has been resolved with the following commit: 

http://www.freshports.org/commit.php?category=lang&port=gcc42&files=yes&message_id=201004161609.o3GG9FfZ047391@repoman.freebsd.org 

Also, pdftk will be changed in the near future to compile with gcj45 
instead of gcj42. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144133 
>Unformatted:
