From ychsiao@opteron.stu.edu.tw  Wed May  7 04:47:43 2008
Return-Path: <ychsiao@opteron.stu.edu.tw>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id C6CBF1065670
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  7 May 2008 04:47:43 +0000 (UTC)
	(envelope-from ychsiao@opteron.stu.edu.tw)
Received: from opteron.stu.edu.tw (Opteron.stu.edu.tw [210.71.23.117])
	by mx1.freebsd.org (Postfix) with ESMTP id 3E1E58FC0C
	for <FreeBSD-gnats-submit@freebsd.org>; Wed,  7 May 2008 04:47:43 +0000 (UTC)
	(envelope-from ychsiao@opteron.stu.edu.tw)
Received: by opteron.stu.edu.tw (Postfix, from userid 1000)
	id 105CE2841A; Wed,  7 May 2008 12:37:05 +0800 (CST)
Message-Id: <20080507043706.105CE2841A@opteron.stu.edu.tw>
Date: Wed,  7 May 2008 12:37:05 +0800 (CST)
From: Yuan-Chung Hsiao <ychsiao@ychsiao.org>
Reply-To: Yuan-Chung Hsiao <ychsiao@ychsiao.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: Building ghostscript-gpl fails with amd64
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         123483
>Category:       ports
>Synopsis:       Building print/ghostscript-gpl fails with amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed May 07 04:50:03 UTC 2008
>Closed-Date:    Fri May 09 09:52:29 UTC 2008
>Last-Modified:  Fri May 09 09:52:29 UTC 2008
>Originator:     Shu-Te University
>Release:        FreeBSD 7.0-RELEASE amd64
>Organization:
>Environment:
System: FreeBSD Opteron.stu.edu.tw 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sat Mar 29 15:41:15 CST 2008 root@Opteron.stu.edu.tw:/usr/obj/usr/src/sys/FreeBSD amd64

>Description:
Building ghostscript-gpl-nox11(8.62) fails with amd64

cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe   -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript-gpl-nox11/work/ghostscript-8.62/jasper/src/libjasper/include -I/usr/local/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -fno-strict-aliasing -pipe   -I./src -I./obj/../soobj -I./obj/../soobj -I./src  -o ./obj/../soobj/gs.o -c ./src/gs.c
rm -f ./obj/../soobj/gconfig.c
rm -f ./obj/../soobj/gconfig.h
cp ./obj/../soobj/gconfxx.h ./obj/../soobj/gconfig.h
cp ./src/gconf.c ./obj/../soobj/gconfig.c
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe   -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript-gpl-nox11/work/ghostscript-8.62/jasper/src/libjasper/include -I/usr/local/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -fno-strict-aliasing -pipe   -I./obj/../soobj -I./src  -o ./obj/../soobj/gconfig.o -c ./obj/../soobj/gconfig.c
rm -f ./obj/../soobj/gscdefs.c
cp ./src/gscdef.c ./obj/../soobj/gscdefs.c
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe   -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript-gpl-nox11/work/ghostscript-8.62/jasper/src/libjasper/include -I/usr/local/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -fno-strict-aliasing -pipe   -I./obj/../soobj -I./src  -o ./obj/../soobj/gscdefs.o -c ./obj/../soobj/gscdefs.c
rm -f ./obj/../soobj/iconfig.c
cp ./obj/../soobj/gconfxx.h ./obj/../soobj/gconfig.h
cp ./src/iconf.c ./obj/../soobj/iconfig.c
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe   -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript-gpl-nox11/work/ghostscript-8.62/jasper/src/libjasper/include -I/usr/local/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -fno-strict-aliasing -pipe   -I./src -I./obj/../soobj -I./obj/../soobj -I./src  -o ./obj/../soobj/iconfig.o -c ./obj/../soobj/iconfig.c
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe   -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript-gpl-nox11/work/ghostscript-8.62/jasper/src/libjasper/include -I/usr/local/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -fno-strict-aliasing -pipe   -I./src -I./obj/../soobj -I./obj/../soobj -I./src  -o ./obj/../soobj/iccinit0.o -c ./src/iccinit0.c
cc  -DHAVE_MKSTEMP -DHAVE_HYPOT   -DHAVE_FONTCONFIG -O2 -fno-strict-aliasing -pipe   -DUPD_SIGNAL=0 -I. -I/usr/ports/print/ghostscript-gpl-nox11/work/ghostscript-8.62/jasper/src/libjasper/include -I/usr/local/include/libpng -I/usr/local/include  -Wall -Wstrict-prototypes -Wundef -Wmissing-declarations -Wmissing-prototypes -Wwrite-strings -Wno-strict-aliasing -fno-builtin -fno-common -DHAVE_STDINT_H -DGX_COLOR_INDEX_TYPE="unsigned long int" -O2 -fno-strict-aliasing -pipe   -I./obj/../soobj -I./src  -o ./obj/../soobj/gsromfs0.o -c ./src/gsromfs0.c
./obj/../soobj/echogs -w ./obj/../soobj/ldt.tr -n - cc -L/usr/local/lib  -shared -Wl,-soname=libgs.so.8 -o ./bin/../sobin/libgs.so.8.62
./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -n -s ./obj/../soobj/gsromfs0.o ./obj/../soobj/gs.o -s
cat ./obj/../soobj/ld.tr >>./obj/../soobj/ldt.tr
./obj/../soobj/echogs -a ./obj/../soobj/ldt.tr -s - -lm  -liconv -lstdc++  -L/usr/local/lib -lfontconfig   -Wl,-export-dynamic -lm
if [ x != x ]; then LD_RUN_PATH=; export LD_RUN_PATH; fi; \
        XCFLAGS= XINCLUDE= XLDFLAGS= XLIBDIRS= XLIBS= \
        FEATURE_DEVS= DEVICE_DEVS= DEVICE_DEVS1= DEVICE_DEVS2= DEVICE_DEVS3= \
        DEVICE_DEVS4= DEVICE_DEVS5= DEVICE_DEVS6= DEVICE_DEVS7= DEVICE_DEVS8= \
        DEVICE_DEVS9= DEVICE_DEVS10= DEVICE_DEVS11= DEVICE_DEVS12= \
        DEVICE_DEVS13= DEVICE_DEVS14= DEVICE_DEVS15= DEVICE_DEVS16= \
        DEVICE_DEVS17= DEVICE_DEVS18= DEVICE_DEVS19= DEVICE_DEVS20= \
        DEVICE_DEVS_EXTRA= \
        /bin/sh <./obj/../soobj/ldt.tr
/usr/bin/ld: ./obj/../soobj/gs.o: relocation R_X86_64_32 can not be used when making a shared object; recompile with -fPIC
./obj/../soobj/gs.o: could not read symbols: Bad value
gmake[1]: *** [bin/../sobin/libgs.so.8.62] Error 1
gmake[1]: Leaving directory `/usr/ports/print/ghostscript-gpl-nox11/work/ghostscript-8.62'
gmake: *** [so] Error 2
*** Error code 2

Stop in /usr/ports/print/ghostscript-gpl-nox11.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick.
*** Error code 1

Stop in /usr/ports/graphics/ImageMagick.
>How-To-Repeat:
>Fix:


>Release-Note:
>Audit-Trail:

From: "Jan Catrysse" <J.Catrysse@proximedia.be>
To: <bug-followup@FreeBSD.org>,
	<ychsiao@ychsiao.org>
Cc:  
Subject: Re: ports/123483: Building print/ghostscript-gpl fails with amd64
Date: Wed, 7 May 2008 12:17:23 +0200

 This is a multi-part message in MIME format.
 
 ------_=_NextPart_001_01C8B02C.3C3DA382
 Content-Type: text/plain;
 	charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 
 Same problem on FreeBSD 6.2-RELEASE AMD-64.
 
 Compiling with -fPIC bypasses the error but provokes Core Dumps on PHP,
 and probably others, when ImageMagick is loaded.
 
 
 ------_=_NextPart_001_01C8B02C.3C3DA382
 Content-Type: text/html;
 	charset="us-ascii"
 Content-Transfer-Encoding: quoted-printable
 
 <html xmlns:v=3D"urn:schemas-microsoft-com:vml" =
 xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
 xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
 xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" =
 xmlns=3D"http://www.w3.org/TR/REC-html40">
 
 <head>
 <meta http-equiv=3DContent-Type content=3D"text/html; =
 charset=3Dus-ascii">
 <meta name=3DGenerator content=3D"Microsoft Word 12 (filtered medium)">
 <style>
 <!--
  /* Font Definitions */
  @font-face
 	{font-family:"Cambria Math";
 	panose-1:2 4 5 3 5 4 6 3 2 4;}
 @font-face
 	{font-family:Calibri;
 	panose-1:2 15 5 2 2 2 4 3 2 4;}
  /* Style Definitions */
  p.MsoNormal, li.MsoNormal, div.MsoNormal
 	{margin:0cm;
 	margin-bottom:.0001pt;
 	font-size:11.0pt;
 	font-family:"Calibri","sans-serif";}
 a:link, span.MsoHyperlink
 	{mso-style-priority:99;
 	color:blue;
 	text-decoration:underline;}
 a:visited, span.MsoHyperlinkFollowed
 	{mso-style-priority:99;
 	color:purple;
 	text-decoration:underline;}
 span.E-mailStijl17
 	{mso-style-type:personal-compose;
 	font-family:"Calibri","sans-serif";
 	color:windowtext;}
 .MsoChpDefault
 	{mso-style-type:export-only;}
 @page Section1
 	{size:612.0pt 792.0pt;
 	margin:70.85pt 70.85pt 70.85pt 70.85pt;}
 div.Section1
 	{page:Section1;}
 -->
 </style>
 <!--[if gte mso 9]><xml>
  <o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
 </xml><![endif]--><!--[if gte mso 9]><xml>
  <o:shapelayout v:ext=3D"edit">
   <o:idmap v:ext=3D"edit" data=3D"1" />
  </o:shapelayout></xml><![endif]-->
 </head>
 
 <body lang=3DNL-BE link=3Dblue vlink=3Dpurple>
 
 <div class=3DSection1>
 
 <p class=3DMsoNormal><span lang=3DEN-US>Same problem on FreeBSD =
 6.2-RELEASE AMD-64.<o:p></o:p></span></p>
 
 <p class=3DMsoNormal><span lang=3DEN-US>Compiling with -fPIC bypasses =
 the error but
 provokes Core Dumps on PHP, and probably others, when ImageMagick is =
 loaded.<o:p></o:p></span></p>
 
 </div>
 
 </body>
 
 </html>
 
 ------_=_NextPart_001_01C8B02C.3C3DA382--

From: Felippe de Meirelles Motta <lippe@FreeBSD.org>
To: bug-followup@FreeBSD.org, Yuan-Chung Hsiao <ychsiao@ychsiao.org>
Cc:  
Subject: Re: ports/123483: Building print/ghostscript-gpl fails with amd64
Date: Thu, 8 May 2008 22:48:43 -0300

 --Sig_/HFk93RMc+YkMP_scGRo2Udc
 Content-Type: text/plain; charset=US-ASCII
 Content-Transfer-Encoding: quoted-printable
 
 Hi submitter,
 
 This port has been changed in the last days, fixing building problems
 on !i386 plataforms. Can you please, test it again and feedback us
 about any problems ? If no problems was found, permit us close this,
 thanks.
 
 --=20
 lippe@FreeBSD.org
 Felippe de Meirelles Motta
 
 --Sig_/HFk93RMc+YkMP_scGRo2Udc
 Content-Type: application/pgp-signature; name=signature.asc
 Content-Disposition: attachment; filename=signature.asc
 
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v2.0.8 (FreeBSD)
 
 iEYEARECAAYFAkgjrXsACgkQEv+IlQvbYkpkTACfaEbVXWAolhIhknThDZzhnaLp
 c0oAoPwNYOIY/Jso5h7Ycp3kJzHlHRbf
 =PbCN
 -----END PGP SIGNATURE-----
 
 --Sig_/HFk93RMc+YkMP_scGRo2Udc--

From: Yuan-Chung Hsiao <ychsiao@ychsiao.org>
To: lippe@FreeBSD.org
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/123483: Building print/ghostscript-gpl fails with amd64
Date: Fri, 09 May 2008 14:33:54 +0800

 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Felippe de Meirelles Motta wrote:
 | Hi submitter,
 |
 | This port has been changed in the last days, fixing building problems
 | on !i386 plataforms. Can you please, test it again and feedback us
 | about any problems ? If no problems was found, permit us close this,
 | thanks.
 |
 Hi, I try to build on amd64, and building success.
 Thanks your help:)
 
 
 
 
 - --
 Best regards,
 ychsiao
 
 Yuan-Chung Hsiao(ychsiao)
 Computer Center, Shu-Te University
 Yen Chau, Kaohsiung County, Taiwan 824
 TEL:+886-7-6158000 Ext. 2438
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.8 (MingW32)
 Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
 
 iEYEARECAAYFAkgj8FEACgkQO9CXSTRz4WyW6ACgy0V2hIBugMKCvkkOT2QVkRht
 XWAAoOUB95knGSn48UkhCq0cZOTo7Q4P
 =x89T
 -----END PGP SIGNATURE-----
State-Changed-From-To: open->closed 
State-Changed-By: lippe 
State-Changed-When: Fri May 9 09:52:28 UTC 2008 
State-Changed-Why:  
Already fixed by previous commits. 

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