[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

classic Classic list List threaded Threaded
28 messages Options
12
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

            Bug ID: 217511
           Summary: emulators/virtualbox-ose: incorrect USE_GL
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: [hidden email]
          Reporter: [hidden email]
             Flags: maintainer-feedback?([hidden email])

Created attachment 180451
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180451&action=edit
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 [hidden email] [maintainer] and attach the
"/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/config.log"
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).

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

maintainer-feedback requested: [Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
Maxim Sobolev <[hidden email]> has reassigned Bugzilla Automation
<[hidden email]>'s request for maintainer-feedback to [hidden email]:
Bug 217511: emulators/virtualbox-ose: incorrect USE_GL
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511



--- Description ---
Created attachment 180451
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=180451&action=edit
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 [hidden email] [maintainer] and attach the
"/usr/ports/emulators/virtualbox-ose/work/VirtualBox-5.1.14/config.log"
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).
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

[hidden email] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #1 from [hidden email] ---
We have 5.2.4 is this still a problem, or is it overcome by events,

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

--- Comment #2 from Maxim Sobolev <[hidden email]> ---
Yes, it's still a problem. Should be USE_GL="gl glu".

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

Samy Mahmoudi <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #3 from Samy Mahmoudi <[hidden email]> ---
Created attachment 201411
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201411&action=edit
Patch file generated with svn diff

(In reply to Maxim Sobolev from comment #2)
Since revision 479445, it should even be:

USES=gl
USE_GL=gl glu

Please note that USE_GL=gl glu alone is "deprecated": it is now provided for
backward compatibility but "will be removed eventually".
Source: https://svnweb.freebsd.org/ports?view=revision&revision=479445

Someone who knows this has modified the port accordingly, but your patch is
still unapplied. Anyway, Makefile has changed since 2017 so that I updated your
initial patch.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

Kurt Jaeger <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #4 from Kurt Jaeger <[hidden email]> ---
Thanks for the patch. I did poudriere testbuilds and they failed with

===> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: @dir %%DATADIR%%/sdk
===> Checking for items in pkg-plist which are not in STAGEDIR

which is, I guess, unrelated to your patch.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

--- Comment #5 from Samy Mahmoudi <[hidden email]> ---
Nice catch Kurt. I will investigate and possibly file a bug report.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

Kubilay Kocak <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #180451|0                           |1
        is obsolete|                            |

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

Kubilay Kocak <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
           Keywords|                            |needs-patch, needs-qa

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

--- Comment #6 from Samy Mahmoudi <[hidden email]> ---
Created attachment 201487
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=201487&action=edit
Poudriere package log

(In reply to Kurt Jaeger from comment #4)

Hi Kurt,

I may know how to solve this but I need to reproduce the error as a control.
What commands did you issue to generate this error?

I naively tried:
• poudriere jail -c -j 120-RELEASE-amd64 -v 12.0-RELEASE -a amd64
• poudriere ports -c -m svn+https
• poudriere testport -j 120-RELEASE-amd64 -o emulators/virtualbox-ose
but I did not get such an error.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

--- Comment #7 from Kurt Jaeger <[hidden email]> ---
My full build log can be found at

http://people.freebsd.org/~pi/logs/virtualbox-120-1548507690.txt

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

--- Comment #8 from Kurt Jaeger <[hidden email]> ---
make showconfig has this:

===> The following configuration options are available for
virtualbox-ose-5.2.24_1:
     ALSA=off: ALSA audio architecture support
     DBUS=on: D-Bus IPC system support
     DEBUG=off: Debug symbols, additional logs and assertions
     GUESTADDITIONS=on: Build with Guest Additions
     MANUAL=on: Build with user manual
     NLS=on: Native language support (requires QT5)
     PULSEAUDIO=on: PulseAudio sound server support
     PYTHON=on: Python bindings or support
     QT5=on: Build with QT5 frontend (requires X11)
     R0LOGGING=off: Enable R0 logging (requires DEBUG)
     UDPTUNNEL=on: Build with UDP tunnel support
     VDE=off: Build with VDE support
     VNC=on: Build with VNC support
     VPX=off: Use libvpx for video recording
     WEBSERVICE=off: Build Webservice
     X11=on: X11 (graphics) support

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

--- Comment #9 from Kurt Jaeger <[hidden email]> ---
If I use the same options you used, it builds.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

--- Comment #10 from Samy Mahmoudi <[hidden email]> ---
(In reply to Kurt Jaeger from comment #9)

Comparing our options and looking at the make file, I thought the option PYTHON
triggered the error. Your last comment seems to confirm this.

My laptop is too slow to build this port and ccache seems useless so I will
carry on testing on a different machine.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

--- Comment #11 from Kurt Jaeger <[hidden email]> ---
I tested with PYTHON=on, it still builds. So the cause is some other option.

I'll do more tests.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

Jung-uk Kim <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[hidden email]

--- Comment #12 from Jung-uk Kim <[hidden email]> ---
(In reply to Kurt Jaeger from comment #4)
This is a simple problem.  Try this:

Index: emulators/virtualbox-ose/Makefile
===================================================================
--- emulators/virtualbox-ose/Makefile   (revision 491592)
+++ emulators/virtualbox-ose/Makefile   (working copy)
@@ -315,7 +315,9 @@ do-build:
 .endif

 do-install:
+.if ${PORT_OPTIONS:MPYTHON} || ${PORT_OPTIONS:MWEBSERVICE}
        ${MKDIR} ${STAGEDIR}${DATADIR}/sdk
+.endif
        cd ${KMK_BUILDDIR}/bin/sdk/bindings/xpcom && \
            ${COPYTREE_SHARE} "idl samples" ${STAGEDIR}${DATADIR}

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

--- Comment #13 from Samy Mahmoudi <[hidden email]> ---
Thank you both for your help.

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

--- Comment #14 from Samy Mahmoudi <[hidden email]> ---
(In reply to Jung-uk Kim from comment #12)

My problem is the lack of a decent machine...

Uprading an 8-cores server from 11.1 to 12.0 should be better than sticking to
my laptop ;-)

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

--- Comment #15 from [hidden email] ---
A commit references this bug:

Author: jkim
Date: Tue Jan 29 22:28:25 UTC 2019
New revision: 491601
URL: https://svnweb.freebsd.org/changeset/ports/491601

Log:
  Fix OpenGL dependency and appease stage-qa.

  PR:           217511

Changes:
  head/emulators/virtualbox-ose/Makefile

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
Reply | Threaded
Open this post in threaded view
|

[Bug 217511] emulators/virtualbox-ose: incorrect USE_GL

bugzilla-noreply
In reply to this post by bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=217511

Jung-uk Kim <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Closed
         Resolution|---                         |FIXED

--- Comment #16 from Jung-uk Kim <[hidden email]> ---
It should be fixed now.  Thanks!

--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[hidden email] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "[hidden email]"
12