Opened 4 years ago

Closed 23 months ago

#62496 closed defect (fixed)

libreoffice @7.1.1.2: configure: error: Package requirements (epoxy >= 1.2) were not met

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: Tatsh (Andrew Udvare)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: Cc: dbevans (David B. Evans), cooljeanius (Eric Gallager)
Port: libreoffice

Description

https://build.macports.org/builders/ports-10.15_x86_64-builder/builds/51560/steps/install-port/logs/stdio

checking which epoxy to use... external
checking for EPOXY... configure: error: Package requirements (epoxy >= 1.2) were not met:

Package 'gl', required by 'epoxy', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables EPOXY_CFLAGS
and EPOXY_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Change History (6)

comment:1 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: dbevans added

libepoxy's epoxy.pc lists gl only in Requires.private which should mean that only libepoxy itself needs gl and that software like libreoffice that uses libepoxy should not care, so I don't know why libreoffice cares.

In fact I do not know why epoxy.pc lists gl anywhere at all, since libepoxy.dylib does not link with libGL.dylib and the libepoxy port only depends on mesa via a build dependency, indicating that it is not expected that libepoxy would use mesa at all after build time.

comment:2 Changed 4 years ago by Tatsh (Andrew Udvare)

Seems I need to add port:mesa to depends_build. We want LibreOffice to use to OpenGL.framework, so it's okay if port:mesa gets cleaned out via port clean/port uninstall inactive.

From the libepoxy port:

# Yes, mesa and xorg-libX11 are *build* dependencies.  The library will function correctly
# if they are not present because it loads mesa dynamically only when GLX is used.  When
# OpenGL.framework is used, there is no need to have mesa at runtime.
#
# Clients of this library must link mesa directly and have it listed as their dependency
# in order to use mesa with libepoxy.

Seems the real fix would be to not have libepoxy require a build time dep of Mesa on Mac.

comment:4 Changed 4 years ago by Tatsh (Andrew Udvare)

In af38f8664fd86f0edc0784149458763a4f815cf2/macports-ports (master):

libreoffice: add port:mesa build dep

See #62496

comment:5 Changed 3 years ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added

comment:6 Changed 23 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.