print/pdftk is broken
Maho NAKATA
maho at FreeBSD.org
Tue Jan 19 08:33:39 UTC 2010
Hi glarkin@, gerald@ (Gerald, see below)
print/pdftk is broken on FreeBSD 8.0-RELEASE-p2/amd64 like following:
....
ctorIN10TK_Session8InputPdfESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_
/var/tmp//ccC0rKVB.s:14025: Warning: ignoring changed section attributes for .text._ZNSt6vectorIN10TK_Session8InputPdfESaIS1_EE13_M_insert_auxEN9__gnu_cxx17__normal_iteratorIPS1_S3_EERKS1_
/var/tmp//ccC0rKVB.s:25718: Error: unknown pseudo-op: `.weakref'
/var/tmp//ccC0rKVB.s:25719: Error: unknown pseudo-op: `.weakref'
/var/tmp//ccC0rKVB.s:25720: Error: unknown pseudo-op: `.weakref'
/var/tmp//ccC0rKVB.s:25721: Error: unknown pseudo-op: `.weakref'
/var/tmp//ccC0rKVB.s:25722: Error: unknown pseudo-op: `.weakref'
/var/tmp//ccC0rKVB.s:25723: Error: unknown pseudo-op: `.weakref'
/var/tmp//ccC0rKVB.s:25724: Error: unknown pseudo-op: `.weakref'
/var/tmp//ccC0rKVB.s:25725: Error: unknown pseudo-op: `.weakref'
/var/tmp//ccC0rKVB.s:25726: Error: unknown pseudo-op: `.weakref'
/var/tmp//ccC0rKVB.s:25727: Error: unknown pseudo-op: `.weakref'
/var/tmp//ccC0rKVB.s:25728: Error: unknown pseudo-op: `.weakref'
/var/tmp//ccC0rKVB.s:25729: Error: unknown pseudo-op: `.weakref'
/var/tmp//ccC0rKVB.s:25730: Error: unknown pseudo-op: `.weakref'
/var/tmp//ccC0rKVB.s:25731: Error: unknown pseudo-op: `.weakref'
gmake: *** [pdftk.o] Error 1
*** Error code 1
Stop in /work/cvsup/ports/print/pdftk.
....
and here is a workaround.
% diff -u Makefile~ Makefile
--- Makefile~ 2010-01-19 17:19:14.000000000 +0900
+++ Makefile 2010-01-19 17:19:27.000000000 +0900
@@ -35,7 +35,7 @@
WRKSRC= ${WRKDIR}/${DISTNAME}/${PORTNAME}
MAKEFILE= Makefile.Generic
-MAKE_ENV= GCJ=gcj${CSUFF} GCJH=gcjh${CSUFF}
+MAKE_ENV= GCJ=gcj${CSUFF} GCJH=gcjh${CSUFF} PATH=/usr/local/x86_64-portbld-freebsd8.0/bin/:${PATH}
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/pdftk
----------------------------------------
I installed devel/binutils. I guess if gcc42 is build with devel/binutils,
this error may happen. Just a 30 sec. thought.. though.
Thanks,
-- Nakata Maho http://accc.riken.jp/maho/ , http://ja.openoffice.org/
Nakata Maho's PGP public keys: http://accc.riken.jp/maho/maho.pgp.txt
More information about the freebsd-ports
mailing list