Bug 217026 - graphics/cairo Cannot find GL Build failed
Summary: graphics/cairo Cannot find GL Build failed
Status: Closed Not A Bug
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-12 12:59 UTC by drhowarddrfine
Modified: 2017-02-13 14:24 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description drhowarddrfine 2017-02-12 12:59:57 UTC
Happened when trying to upgrade inkscape. This causes inkscape to fail to build and, possibly, causing problems for vim which won't build either.

libtool: link: cc -shared  -fPIC -DPIC  .libs/cairo-analysis-surface.o .libs/cairo-arc.o .libs/cairo-array.o .libs/cairo-atomic.o .libs/cairo-base64-stream.o .libs/cairo-base85-stream.o .libs/cairo-bentley-ottmann.o .libs/cairo-bentley-ottmann-rectangular.o .libs/cairo-bentley-ottmann-rectilinear.o .libs/cairo-botor-scan-converter.o .libs/cairo-boxes.o .libs/cairo-boxes-intersect.o .libs/cairo.o .libs/cairo-cache.o .libs/cairo-clip.o .libs/cairo-clip-boxes.o .libs/cairo-clip-polygon.o .libs/cairo-clip-region.o .libs/cairo-clip-surface.o .libs/cairo-color.o .libs/cairo-composite-rectangles.o .libs/cairo-compositor.o .libs/cairo-contour.o .libs/cairo-damage.o .libs/cairo-debug.o .libs/cairo-default-context.o .libs/cairo-device.o .libs/cairo-error.o .libs/cairo-fallback-compositor.o .libs/cairo-fixed.o .libs/cairo-font-face.o .libs/cairo-font-face-twin.o .libs/cairo-font-face-twin-data.o .libs/cairo-font-options.o .libs/cairo-freelist.o .libs/cairo-freed-pool.o .libs/cairo-gstate.o .libs/cairo-hash.o .libs/cairo-hull.o .libs/cairo-image-compositor.o .libs/cairo-image-info.o .libs/cairo-image-source.o .libs/cairo-image-surface.o .libs/cairo-line.o .libs/cairo-lzw.o .libs/cairo-matrix.o .libs/cairo-mask-compositor.o .libs/cairo-mesh-pattern-rasterizer.o .libs/cairo-mempool.o .libs/cairo-misc.o .libs/cairo-mono-scan-converter.o .libs/cairo-mutex.o .libs/cairo-no-compositor.o .libs/cairo-observer.o .libs/cairo-output-stream.o .libs/cairo-paginated-surface.o .libs/cairo-path-bounds.o .libs/cairo-path.o .libs/cairo-path-fill.o .libs/cairo-path-fixed.o .libs/cairo-path-in-fill.o .libs/cairo-path-stroke.o .libs/cairo-path-stroke-boxes.o .libs/cairo-path-stroke-polygon.o .libs/cairo-path-stroke-traps.o .libs/cairo-path-stroke-tristrip.o .libs/cairo-pattern.o .libs/cairo-pen.o .libs/cairo-polygon.o .libs/cairo-polygon-intersect.o .libs/cairo-polygon-reduce.o .libs/cairo-raster-source-pattern.o .libs/cairo-recording-surface.o .libs/cairo-rectangle.o .libs/cairo-rectangular-scan-converter.o .libs/cairo-region.o .libs/cairo-rtree.o .libs/cairo-scaled-font.o .libs/cairo-shape-mask-compositor.o .libs/cairo-slope.o .libs/cairo-spans.o .libs/cairo-spans-compositor.o .libs/cairo-spline.o .libs/cairo-stroke-dash.o .libs/cairo-stroke-style.o .libs/cairo-surface.o .libs/cairo-surface-clipper.o .libs/cairo-surface-fallback.o .libs/cairo-surface-observer.o .libs/cairo-surface-offset.o .libs/cairo-surface-snapshot.o .libs/cairo-surface-subsurface.o .libs/cairo-surface-wrapper.o .libs/cairo-time.o .libs/cairo-tor-scan-converter.o .libs/cairo-tor22-scan-converter.o .libs/cairo-clip-tor-scan-converter.o .libs/cairo-toy-font-face.o .libs/cairo-traps.o .libs/cairo-tristrip.o .libs/cairo-traps-compositor.o .libs/cairo-unicode.o .libs/cairo-user-font.o .libs/cairo-version.o .libs/cairo-wideint.o .libs/cairo-cff-subset.o .libs/cairo-scaled-font-subsets.o .libs/cairo-truetype-subset.o .libs/cairo-type1-fallback.o .libs/cairo-type1-glyph-names.o .libs/cairo-type1-subset.o .libs/cairo-type3-glyph-surface.o .libs/cairo-pdf-operators.o .libs/cairo-pdf-shading.o .libs/cairo-deflate-stream.o .libs/cairo-xlib-display.o .libs/cairo-xlib-core-compositor.o .libs/cairo-xlib-fallback-compositor.o .libs/cairo-xlib-render-compositor.o .libs/cairo-xlib-screen.o .libs/cairo-xlib-source.o .libs/cairo-xlib-surface.o .libs/cairo-xlib-surface-shm.o .libs/cairo-xlib-visual.o .libs/cairo-xlib-xcb-surface.o .libs/cairo-xcb-connection.o .libs/cairo-xcb-connection-core.o .libs/cairo-xcb-connection-render.o .libs/cairo-xcb-connection-shm.o .libs/cairo-xcb-screen.o .libs/cairo-xcb-shm.o .libs/cairo-xcb-surface.o .libs/cairo-xcb-surface-core.o .libs/cairo-xcb-surface-render.o .libs/cairo-xcb-resources.o .libs/cairo-png.o .libs/cairo-gl-composite.o .libs/cairo-gl-device.o .libs/cairo-gl-dispatch.o .libs/cairo-gl-glyphs.o .libs/cairo-gl-gradient.o .libs/cairo-gl-info.o .libs/cairo-gl-operand.o .libs/cairo-gl-shaders.o .libs/cairo-gl-msaa-compositor.o .libs/cairo-gl-spans-compositor.o .libs/cairo-gl-traps-compositor.o .libs/cairo-gl-source.o .libs/cairo-gl-surface.o .libs/cairo-egl-context.o .libs/cairo-glx-context.o .libs/cairo-script-surface.o .libs/cairo-ft-font.o .libs/cairo-ps-surface.o .libs/cairo-pdf-surface.o .libs/cairo-svg-surface.o .libs/cairo-tee-surface.o   -L/usr/local/lib -lpixman-1 -lfontconfig -lfreetype -lEGL -lpng16 -lxcb-shm -lxcb -lxcb-render -lXrender -lX11 -lXext -lz -lGL -lm  -O2 -fstack-protector -fstack-protector   -Wl,-soname -Wl,libcairo.so.2 -o .libs/libcairo.so.2.11400.6
/usr/bin/ld: cannot find -lGL
cc: error: linker command failed with exit code 1 (use -v to see invocation)
*** [libcairo.la] Error code 1

make[5]: stopped in /usr/ports/graphics/cairo/work/cairo-1.14.6/src
1 error

make[5]: stopped in /usr/ports/graphics/cairo/work/cairo-1.14.6/src
*** [all] Error code 2

make[4]: stopped in /usr/ports/graphics/cairo/work/cairo-1.14.6/src
1 error

make[4]: stopped in /usr/ports/graphics/cairo/work/cairo-1.14.6/src
*** [all-recursive] Error code 1

make[3]: stopped in /usr/ports/graphics/cairo/work/cairo-1.14.6
1 error

make[3]: stopped in /usr/ports/graphics/cairo/work/cairo-1.14.6
*** [all] Error code 2

make[2]: stopped in /usr/ports/graphics/cairo/work/cairo-1.14.6
1 error

make[2]: stopped in /usr/ports/graphics/cairo/work/cairo-1.14.6
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/cairo
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/cairo

===>>> make build failed for graphics/cairo
===>>> Aborting update

===>>> Update for cairo-1.14.6_1,2 failed
===>>> Aborting update
Comment 1 Vladimir Omelchuk 2017-02-12 13:47:23 UTC
After update xorg-server to version 1.18.4,1, reinstall graphics/libGL and graphics/libGLU, and trying again ...
Comment 2 drhowarddrfine 2017-02-12 21:04:17 UTC
I reinstalled libGL and libEGL before reading your comment and that fixed this issue and vim also updated and is now working. I reinstalled libGLU and then tried inkscape which also updated correctly.
Comment 3 drhowarddrfine 2017-02-13 14:24:15 UTC
I am closing this report because it was later found to be an issue with graphics/cairo, an update to xorg, and nvidia-driver which caused libGL and related libraries to be removed or overwritten (forgot which).