pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Build error in graphics/librsvg



I am building packages from the latest stable branch, and in
graphics/librsvg it stops with a weird error:

...
  CC     librsvg_2_la-rsvg-io.lo
rsvg-io.c: In function 'rsvg_acquire_data_data':
rsvg-io.c:110: warning: pointer targets in assignment differ in signedness
rsvg-io.c:124: warning: pointer targets in return differ in signedness
rsvg-io.c: At top level:
rsvg-io.c:129: warning: no previous prototype for 'rsvg_get_file_path'
rsvg-io.c: In function 'rsvg_acquire_file_data':
rsvg-io.c:180: warning: pointer targets in passing argument 2 of 
'g_content_type_guess' differ in signedness
rsvg-io.c:188: warning: pointer targets in return differ in signedness
rsvg-io.c: In function 'rsvg_acquire_gvfs_data':
rsvg-io.c:285: warning: pointer targets in passing argument 2 of 
'g_content_type_guess' differ in signedness
rsvg-io.c:291: warning: pointer targets in return differ in signedness
...
  CC     librsvg_2_la-rsvg-cairo-render.lo
rsvg-cairo-render.c: In function 'rsvg_cairo_transformed_image_bounding_box':
rsvg-cairo-render.c:83: warning: declaration of 'y0' shadows a global 
declaration
/usr/include/math.h:218: warning: shadowed declaration is here
rsvg-cairo-render.c:83: warning: declaration of 'y1' shadows a global 
declaration
/usr/include/math.h:219: warning: shadowed declaration is here
  CC     librsvg_2_la-rsvg-cairo-clip.lo
rsvg-cairo-clip.c: In function 'rsvg_cairo_clip':
rsvg-cairo-clip.c:144: warning: 'affinesave.y0' may be used uninitialized in 
this function
rsvg-cairo-clip.c:144: warning: 'affinesave.x0' may be used uninitialized in 
this function
rsvg-cairo-clip.c:144: warning: 'affinesave.yy' may be used uninitialized in 
this function
rsvg-cairo-clip.c:144: warning: 'affinesave.xy' may be used uninitialized in 
this function
rsvg-cairo-clip.c:144: warning: 'affinesave.yx' may be used uninitialized in 
this function
rsvg-cairo-clip.c:144: warning: 'affinesave.xx' may be used uninitialized in 
this function
  CC     librsvg_2_la-rsvg.lo
  CC     librsvg_2_la-rsvg-gobject.lo
rsvg-gobject.c: In function 'rsvg_handle_dispose':
rsvg-gobject.c:134: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
  CC     librsvg_2_la-rsvg-file-util.lo
  CC     librsvg_2_la-rsvg-size-callback.lo
  CC     librsvg_2_la-rsvg-xml.lo
  CCLD   librsvg-2.la
ld: .libs/librsvg_2_la-rsvg-defs.o: relocation R_X86_64_PC32 against 
`rsvg_get_file_path' can not be used when making a shared object; recompile 
with -fPIC
ld: final link failed: Bad value
*** Error code 1

Stop.

This is on NetBSD/amd64, in a pkg_comp chroot with a 5.0 userland installed.
The system itself is 5.1.

Any ideas how this happened and what to do about it?

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- There's no point being grown-up if you 
\X/ rhialto/at/xs4all.nl    -- can't be childish sometimes. -The 4th Doctor


Home | Main Index | Thread Index | Old Index