Bug 217511 - emulators/virtualbox-ose: incorrect USE_GL
Summary: emulators/virtualbox-ose: incorrect USE_GL
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: vbox
Depends on:
Reported: 2017-03-03 01:24 UTC by Maxim Sobolev
Modified: 2018-12-04 18:50 UTC (History)
2 users (show)

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

Patch for fix the issue (398 bytes, patch)
2017-03-03 01:24 UTC, Maxim Sobolev
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Maxim Sobolev freebsd_committer 2017-03-03 01:24:34 UTC
Created attachment 180451 [details]
Patch for fix the issue

USE_GL=gl is incorrect, the port is checking for the "GLU" element and fails if that is not installed. The issue is probably masked by the some of the dependencies, which depends on GLU.

hecking for iasl: found version 20160527, OK.
Checking for xslt: found, OK.
Checking for mkisofs: found mkisofs 3.01 (amd64-unknown-freebsd10.3) Copyright (C) 1993-1997 Eric Youngdale (C) 1997-2015 Joerg Schilling, OK.
Checking for pthread: found, OK.
Checking for libxml2: found version 2.9.4, OK.
Checking for libIDL: found version 0.8.14, OK.
Checking for ssl: found version OpenSSL 1.0.2k-freebsd  26 Jan 2017, OK.
Checking for libcurl: found version 7.53.1, OK.
Checking for zlib: found version 1.2.8, OK.
Checking for libpng: found version 1.6.28, OK.
Checking for SDL: found version 1.2.15, OK.
Checking for X libraries: found, OK.
Checking for Xcursor: found, OK.
Checking for Xinerama: found, OK.
Checking for Xrandr: found, OK.
Checking for Xmu: found, OK.
Checking for Mesa / GLU:
  Mesa not found at -L/usr/X11R6/lib -L/usr/X11R6/lib64 -L/usr/local/lib -lXext -lX11 -lGL -I/usr/local/include or Mesa headers not found
  Check the file /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/configure.log for detailed error information.
Check /usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/configure.log for details
===>  Script "configure" failed unexpectedly.
Please report the problem to vbox@FreeBSD.org [maintainer] and attach the
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
Comment 1 w.schwarzenfeld freebsd_triage 2018-01-16 12:04:10 UTC
We have 5.2.4 is this still a problem, or is it overcome by events,
Comment 2 Maxim Sobolev freebsd_committer 2018-12-04 18:50:28 UTC
Yes, it's still a problem. Should be USE_GL="gl glu".