Re: portupgrade print/cups-client (cups-client-1.3.10_4) fails

2009-11-30 Thread Roland Smith
On Sun, Nov 29, 2009 at 11:40:58PM -0600, Richard Kolkovich wrote:
 On Sun, Nov 29, 2009 at 08:42:30AM +0100, n dhert wrote:
  In my nightly portupgrade I got, while upgrading  print/cups-client :
  ...
  /usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used when
  making
   a shared object; recompile with -fPIC
  /usr/lib/crt1.o: could not read symbols: Bad value
  gmake[1]: *** [bannertops] Error 1
  gmake[1]: Leaving directory
  `/usr/ports/print/cups-client/work/cups-1.4.2/filter
  '
  gmake: *** [all] Error 1
  *** Error code 1
  Stop in /usr/ports/print/cups-client.
  *** Error code 1
  Stop in /usr/ports/print/cups-client.
 
 I can confirm this same build error on my (amd64) box after upgrading to 
 8.0-STABLE (RELENG_8).
 cups-image was compiled previously on 8.0-RC1.

Try this;

# cd /usr/ports/print/cups-client
# make patch
# cd  work/cups-1.4.2
Open Makedefs.in in an editor and remove @PIEFLAGS@ from line 143.
# cd ../..
# make

It should then build OK. Tested on 8.0-RELEASE amd64.

The same trick is needed for cups-image, IIRC.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpzgsFvXJoID.pgp
Description: PGP signature


Re: portupgrade print/cups-client (cups-client-1.3.10_4) fails

2009-11-30 Thread Richard Kolkovich
On Mon, Nov 30, 2009 at 07:49:54PM +0100, Roland Smith wrote:
 Try this;
 
 # cd /usr/ports/print/cups-client
 # make patch
 # cd  work/cups-1.4.2
 Open Makedefs.in in an editor and remove @PIEFLAGS@ from line 143.
 # cd ../..
 # make
 
 It should then build OK. Tested on 8.0-RELEASE amd64.
 
 The same trick is needed for cups-image, IIRC.
 
 Roland
 -- 
 R.F.Smith   http://www.xs4all.nl/~rsmith/
 [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
 pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

This works for cups-image - thanks!

It looks like the cups-base maintainer has removed those in the tree:

http://www.freshports.org/print/cups-base/

A 'portsnap fetch update' is all that is needed now.

-- 

Richard Kolkovich
sarum...@sigil.org
PGP Key: 0x9E54EF59 (http://pgp.mit.edu)


pgpBGX06ZnfQN.pgp
Description: PGP signature


Re: portupgrade print/cups-client (cups-client-1.3.10_4) fails

2009-11-29 Thread Richard Kolkovich
On Sun, Nov 29, 2009 at 08:42:30AM +0100, n dhert wrote:
 In my nightly portupgrade I got, while upgrading  print/cups-client :
 ...
 /usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used when
 making
  a shared object; recompile with -fPIC
 /usr/lib/crt1.o: could not read symbols: Bad value
 gmake[1]: *** [bannertops] Error 1
 gmake[1]: Leaving directory
 `/usr/ports/print/cups-client/work/cups-1.4.2/filter
 '
 gmake: *** [all] Error 1
 *** Error code 1
 Stop in /usr/ports/print/cups-client.
 *** Error code 1
 Stop in /usr/ports/print/cups-client.

I can confirm this same build error on my (amd64) box after upgrading to 
8.0-STABLE (RELENG_8).
cups-image was compiled previously on 8.0-RC1.

-- 

Richard Kolkovich
sarum...@sigil.org
PGP Key: 0x9E54EF59 (http://pgp.mit.edu)


pgpm9DcnvcEVR.pgp
Description: PGP signature


Re: portupgrade print/cups-client (cups-client-1.3.10_4) fails

2009-11-29 Thread wen heping
On Mon, Nov 30, 2009 at 1:40 PM, Richard Kolkovich sarum...@sigil.orgwrote:

 On Sun, Nov 29, 2009 at 08:42:30AM +0100, n dhert wrote:
  In my nightly portupgrade I got, while upgrading  print/cups-client :
  ...
  /usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used when
  making
   a shared object; recompile with -fPIC
  /usr/lib/crt1.o: could not read symbols: Bad value
  gmake[1]: *** [bannertops] Error 1
  gmake[1]: Leaving directory
  `/usr/ports/print/cups-client/work/cups-1.4.2/filter
  '
  gmake: *** [all] Error 1
  *** Error code 1
  Stop in /usr/ports/print/cups-client.
  *** Error code 1
  Stop in /usr/ports/print/cups-client.

 I can confirm this same build error on my (amd64) box after upgrading to
 8.0-STABLE (RELENG_8).


me too.


 cups-image was compiled previously on 8.0-RC1.

 --

 Richard Kolkovich
 sarum...@sigil.org
 PGP Key: 0x9E54EF59 (http://pgp.mit.edu)

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


portupgrade print/cups-client (cups-client-1.3.10_4) fails

2009-11-28 Thread n dhert
In my nightly portupgrade I got, while upgrading  print/cups-client :
...
Compiling bannertops.c...
cc  -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -I.. -D_CUPS_SOURCE
-I/
usr/local/include -O2 -fno-strict-aliasing -pipe   -D_LARGEFILE_SOURCE
-D_LARGEF
ILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT  -c bannertops.c
echo Compiling pstext.c...
Compiling pstext.c...
cc  -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -I.. -D_CUPS_SOURCE
-I/
usr/local/include -O2 -fno-strict-aliasing -pipe   -D_LARGEFILE_SOURCE
-D_LARGEF
ILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT  -c pstext.c
echo Compiling common.c...
Compiling common.c...
cc  -Wall -Wno-format-y2k -fPIC -Os -g -fstack-protector -I.. -D_CUPS_SOURCE
-I/
usr/local/include -O2 -fno-strict-aliasing -pipe   -D_LARGEFILE_SOURCE
-D_LARGEF
ILE64_SOURCE -D_THREAD_SAFE -D_REENTRANT  -c common.c
echo Linking bannertops...
Linking bannertops...
cc -L../cgi-bin -L../cups -L../filter -L../ppdc -L../scheduler
-L/usr/local/lib
-Wl,-R/usr/local/lib  -pie -fPIE -Wall -Wno-format-y2k -fPIC -Os -g
-fstack-prot
ector -o bannertops bannertops.o pstext.o common.o -lcupsimage \
 -lcups   -pthread -lm -lcrypt
/usr/bin/ld: /usr/lib/crt1.o: relocation R_X86_64_32 can not be used when
making
 a shared object; recompile with -fPIC
/usr/lib/crt1.o: could not read symbols: Bad value
gmake[1]: *** [bannertops] Error 1
gmake[1]: Leaving directory
`/usr/ports/print/cups-client/work/cups-1.4.2/filter
'
gmake: *** [all] Error 1
*** Error code 1
Stop in /usr/ports/print/cups-client.
*** Error code 1
Stop in /usr/ports/print/cups-client.
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20091129-50
184-1684ok3-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=cups-client-1.3.10_4
UPG
RADE_PORT_VER=1.3.10_4 make FETCH_BEFORE_ARGS=-q DEPENDS_TARGET=package
** Fix the problem and try again.
---  Build of print/cups-client ended at: Sun, 29 Nov 2009 08:29:01 +0100
(cons
umed 00:00:20)
---  Upgrade of print/cups-client ended at: Sun, 29 Nov 2009 08:29:01 +0100
(co
nsumed 00:00:20)
---  ** Upgrade tasks 7: 0 done, 0 ignored, 0 skipped and 1 failed
---  Skipping 'print/cups-image' (cups-image-1.3.10_4) because a requisite
pack
age 'cups-client-1.3.10_4' (print/cups-client) failed (specify -k to force)
---  ** Upgrade tasks 7: 0 done, 0 ignored, 1 skipped and 1 failed
---  Skipping 'print/cups-base' (cups-base-1.3.10_4) because a requisite
packag
e 'cups-client-1.3.10_4' (print/cups-client) failed (specify -k to force)
---  ** Upgrade tasks 7: 0 done, 0 ignored, 2 skipped and 1 failed
---  Skipping 'x11-toolkits/gtk20' (gtk-2.16.6) because a requisite package
'cu
ps-client-1.3.10_4' (print/cups-client) failed (specify -k to force)
---  ** Upgrade tasks 7: 0 done, 0 ignored, 3 skipped and 1 failed
---  Skipping 'devel/gconf2' (gconf2-2.26.2_1) because a requisite package
'gtk
-2.16.6' (x11-toolkits/gtk20) failed (specify -k to force)
---  ** Upgrade tasks 7: 0 done, 0 ignored, 4 skipped and 1 failed
---  Skipping 'graphics/poppler-qt' (poppler-qt-0.10.6_1) because a
requisite p
ackage 'cups-client-1.3.10_4' (print/cups-client) failed (specify -k to
force)
---  ** Upgrade tasks 7: 0 done, 0 ignored, 5 skipped and 1 failed
---  Skipping 'x11-themes/gtk-engines2' (gtk-engines2-2.18.2_1) because a
requi
site package 'cups-client-1.3.10_4' (print/cups-client) failed (specify -k
to fo
rce)
---  ** Upgrade tasks 7: 0 done, 0 ignored, 6 skipped and 1 failed
---  Listing the results (+:done / -:ignored / *:skipped / !:failed)
! print/cups-client (cups-client-1.3.10_4)  (unknown build
error)
* print/cups-image (cups-image-1.3.10_4)
* print/cups-base (cups-base-1.3.10_4)
* x11-toolkits/gtk20 (gtk-2.16.6)
* devel/gconf2 (gconf2-2.26.2_1)
* graphics/poppler-qt (poppler-qt-0.10.6_1)
* x11-themes/gtk-engines2 (gtk-engines2-2.18.2_1)
---  Packages processed: 0 done, 0 ignored, 6 skipped and 1 failed
how to fix this ?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org