Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Feb 2017 15:54:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 217229] graphics/libdrm: compilation error
Message-ID:  <bug-217229-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217229

            Bug ID: 217229
           Summary: graphics/libdrm: compilation error
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: x11@FreeBSD.org
          Reporter: vgreg@ya.ru
             Flags: maintainer-feedback?(x11@FreeBSD.org)
          Assignee: x11@FreeBSD.org

Compilation of port terminates with an error:
...
/usr/bin/ld: warning: libGL.so.1, needed by /usr/local/lib/libcairo.so, not
found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: libGL.so.1, needed by /usr/local/lib/libcairo.so, not
found (try using -rpath or -rpath-link)
/usr/local/lib/libcairo.so: undefined reference to `glXMakeCurrent'
/usr/local/lib/libcairo.so: undefined reference to `glEnable'
/usr/local/lib/libcairo.so: undefined reference to `/usr/local/lib/libcairo=
.so:
undeglXMakeCurrentfin'
ed reference/usr/local/lib/libcairo.so :t o `uglIsEnabled'
ndefined reference to `glEnable'
/usr/local/lib/libcairo.so: undefined reference to `glBlendFuncSeparate'
/usr/local/lib/libcairo.so: u/usr/local/lib/libcairo.son: udefnidneefdi
refenreedn refece treno `glIsEnabled'
ce to `glDisable'
/usr/local/lib/libcairo.so/usr/local/lib/libcairo.so:: u nudnedfeinefined
referedn cree fteroen `glBlendFuncSeparate'c
e to `glClear'
/usr/local/lib/libcairo.so: undefined reference to `glClearStencil'
/usr/local/lib/libcairo.so/usr/local/lib/libcairo.so:: unde funinedefid
renference etod  `reglDisablef'e
rence to `glReadBuffer'
/usr/local/lib/libcairo.so: undefined /usr/local/lib/libcairo.sor:e
feundreencef itnoe d r`eglClearferenc'e
 to `glXChooseFBConfig'
/usr/local/lib/libcairo.so: und/usr/local/lib/libcairo.soe:fined r
eufndereefined reference to `glGetError'
nce to `glClearStencil'
/usr/local/lib/libcairo.so: undefined reference to
`/usr/local/lib/libcairo.so:glStencilFunc'=20
undefined reference to `glReadBuffer'
/usr/local/lib/libcairo.so/usr/local/lib/libcairo.so: und:e fuinndeefid
referenned refceer eto nce t`oglClearColor'=20
`glXChooseFBConfig'
/usr/local/lib/libcairo.so: undefined reference to/usr/local/lib/libcairo.s=
o:=20
`undglGetErrore'fin
ed reference to `glReadPixels'
/usr/local/lib/libcairo.so: undefined reference to `glStencilFunc'
/usr/local/lib/libcairo.so: undefined reference to `glDrawBuffer'
/usr/local/lib/libcairo.so: undefined reference to `glActiveTexture'
/usr/local/lib/libcairo.so: undefined/usr/local/lib/libcairo.so:=20
ureferndefeinnceed re ferteon c`eglXGetCurrentContext to '`
glClearColor'
/usr/local/lib/libcairo.so: undefined reference to `glXSwapBuffers'
/usr/local/lib/libcairo.so: undefi/usr/local/lib/libcairo.so:n ued
nrdeferenefinecde r etfoere `nglColorMaskce'=20
to `glReadPixels'
/usr/local/lib/libcairo.so: undefined reference to `glBlendFunc'
/usr/local/lib/libcairo.so: undefined reference to `glDrawBuffer'
/usr/local/lib/libcairo.so: undefined reference to `glActiveTexture'
/usr/local/lib/libcairo.so: undef/usr/local/lib/libcairo.soi:n eud renfdeer=
ence
ftio `nglBindTextureed 'r
efere/usr/local/lib/libcairo.son:ce  utno `dglXGetCurrentContext'
efined reference to `/usr/local/lib/libcairo.soglXGetVisualFromFBConfig'
: undefined reference to `glXSwapBuffers'
/usr/local/lib/libcairo.so: undefined refe/usr/local/lib/libcairo.so:renc eu
ntdoefi n`eglColorMaskd ref'e
rence to `glDepthMask'
/usr/local/lib/libcairo.so: undefined referen/usr/local/lib/libcairo.soc:e=
=20
tuon d`eglStencilOpf'ined reference
 to `glBlendFunc'
/usr/local/lib/libcairo.so: undefined reference to `glDeleteTextures'
/usr/local/lib/libcairo.so: undefined reference to `glBindTexture'
/usr/local/lib/libcairo.so: undefined reference to/usr/local/lib/libcairo.so
:`glXGetVisualFromFBConfig' undefine
d reference to `glPixelStorei'
/usr/local/lib/libcairo.so: undefined /usr/local/lib/libcairo.sorefe:r
eundnecfei to `nglGetIntegerved '
reference to `glDepthMask'
/usr/local/lib/libcairo.so: und/usr/local/lib/libcairo.so: undefined refere=
nce
to `glStencilOp'
efined reference t/usr/local/lib/libcairo.soo: ` glXGetCurrentDrawableu'
ndefined reference to `glDeleteTextures'
/usr/local/lib/libcairo.so: undefined reference to/usr/local/lib/libcairo.s=
o :`
glPixelStoreiun'
defi/usr/local/lib/libcairo.son: undeedf inrefeerence to `dglDrawElements
'refer
ence to `glGetIntegerv'
/usr/local/lib/libcairo.so: undefined reference to `glXGetCurrentDrawable'
/usr/local/lib/libcairo.so: undefined reference to `glTexImage2D'
/usr/local/lib/libcairo.so: unde/usr/local/lib/libcairo.so:fin undeefdi ned
rerfefeerreenncce toe  `toglDrawArrays' `
glDrawElements'
/usr/local/lib/libcairo.so: undefined reference/usr/local/lib/libcairo.so :=
to=20
`unglScissord'e
fined reference to `glTexImage2D'
/usr/local/lib/libcairo.so/usr/local/lib/libcairo.so::  uunnddefineefidn edr
erfereenfecreen ceto t o` glTexSubImage2D`'glDrawArrays
'
/usr/local/lib/libcairo.so: undefined reference to `glXQueryContext'
/usr/local/lib/libcairo.so: undefined referen/usr/local/lib/libcairo.soc:e =
un
to `dglScissore'fined
 reference to `glGetString'
/usr/local/lib/libcairo.so: undefined reference to `glTexSubImage2D'
/usr/local/lib/libcairo.so: undefined reference to `glXQueryContext'
/usr/local/lib/libcairo.so: undefined ref/usr/local/lib/libcairo.soe:r eunc=
en
dteof `iglXGetProcAddress'ne
d reference to `glGetString'
/usr/local/lib/libcairo.so: undefined reference to `glViewport'
/usr/local/lib/libcairo.so: undefined reference to `glXGetProcAddress'
/usr/local/lib/libcairo.so: undefined refer/usr/local/lib/libcairo.soe:n cu=
en
deftioned  `rglTexParameteri'e
ference to `glViewport'
/usr/local/lib/libcairo.so: undefined reference to `glGenTextures'
/usr/local/lib/libcairo.so: undefined refer/usr/local/lib/libcairo.soe:n uc=
ned
eto f`ineglXQueryExtensionsStringd'=20
reference to `glTexParameteri'
/usr/local/lib/libcairo.so: undefined reference to `glGenTextures'
/usr/local/lib/libcairo.so: undefined reference to `glXQueryExtensionsStrin=
g'
cc: error: linker command failed with exit code 1 (use -v to see invocation)
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[5]: *** [Makefile:480: kms-universal-planes] Error 1
gmake[5]: *** Waiting for unfinished jobs....
gmake[5]: *** [Makefile:476: kms-steal-crtc] Error 1
gmake[5]: Leaving directory
'/tmp/usr/ports/graphics/libdrm/work/libdrm-2.4.75/tests/kms'
gmake[4]: *** [Makefile:705: all-recursive] Error 1
gmake[4]: Leaving directory
'/tmp/usr/ports/graphics/libdrm/work/libdrm-2.4.75/tests'
gmake[3]: *** [Makefile:819: all-recursive] Error 1
gmake[3]: Leaving directory '/tmp/usr/ports/graphics/libdrm/work/libdrm-2.4=
.75'
gmake[2]: *** [Makefile:578: all] Error 2
gmake[2]: Leaving directory '/tmp/usr/ports/graphics/libdrm/work/libdrm-2.4=
.75'
=3D=3D=3D> Compilation failed unexpectedly.
...

Rebuild of cairo - the same that in PR-217049
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217049]

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-217229-13>