Bug 236148 - emulators/virtualbox-ose-additions: build fails with missing libXcomposite.so
Summary: emulators/virtualbox-ose-additions: build fails with missing libXcomposite.so
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jung-uk Kim
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-02 09:27 UTC by Martin Birgmeier
Modified: 2019-06-30 17:30 UTC (History)
5 users (show)

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


Attachments
virtualbox log file (100.38 KB, text/plain)
2019-03-07 18:14 UTC, Martin Birgmeier
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Birgmeier 2019-03-02 09:27:18 UTC
Building virtualbox-ose-additions-5.2.26_1 fails with the following error:

kmk: *** No rule to make target `/usr/tmp/a/SRC/FreeBSD-ports/head/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.26/out/freebsd.amd64/release/lib/libXcomposite.so', needed by `/usr/tmp/a/SRC/FreeBSD-ports/head/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.26/out/freebsd.amd64/release/obj/VBoxOGL/VBoxOGL.so'.  Stop.
Comment 1 Martin Birgmeier 2019-03-02 09:28:02 UTC
This is with OPENGL on.
Comment 2 JH 2019-03-05 16:50:57 UTC
I'm having this error, too. Host is macOS 10.13.6 and VirtualBox 6.0.4 r128413.

Build: Generating python - /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.26/out/freebsd.amd64/release/obj/VBoxOGLgen/debug_opcodes.c
kBuild: Generating python - /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.26/out/freebsd.amd64/release/obj/VBoxOGLgen/errorspu.c
kBuild: Compiling VBoxOGLerrorspu - /usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.26/src/VBox/GuestHost/OpenGL/error/errorspu_init.c
kmk: *** No rule to make target `/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.26/out/freebsd.amd64/release/lib/libXcomposite.so', needed by `/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-5.2.26/out/freebsd.amd64/release/obj/VBoxOGL/VBoxOGL.so'.  Stop.
Comment 3 Jung-uk Kim freebsd_committer freebsd_triage 2019-03-05 22:37:03 UTC
I'll take it.
Comment 4 commit-hook freebsd_committer freebsd_triage 2019-03-06 00:38:30 UTC
A commit references this bug:

Author: jkim
Date: Wed Mar  6 00:37:45 UTC 2019
New revision: 494755
URL: https://svnweb.freebsd.org/changeset/ports/494755

Log:
  - Fix build with DEBUG option.
  - Fix build with OPENGL option. [1]
  - Modernize Makefile.

  PR:		236148 [1]

Changes:
  head/emulators/virtualbox-ose-additions/Makefile
  head/emulators/virtualbox-ose-additions/pkg-plist
Comment 5 Jung-uk Kim freebsd_committer freebsd_triage 2019-03-06 00:46:54 UTC
It should be fixed now.  Thanks!
Comment 6 Martin Birgmeier 2019-03-06 19:20:17 UTC
It compiles again.

Thank you very much for your work!

-- Martin
Comment 7 Martin Birgmeier 2019-03-07 17:30:56 UTC
Something is broken... the compile went fine yesterday, but starting VirtualBox today does not work anymore.

The processes just sit there and do not do anything. I am normally running VBoxHeadless, this cannot be reached. And when I then start VirtualBox, it does not show anything.

-- Martin
Comment 8 Martin Birgmeier 2019-03-07 18:14:15 UTC
Created attachment 202696 [details]
virtualbox log file
Comment 9 Jung-uk Kim freebsd_committer freebsd_triage 2019-03-07 21:49:28 UTC
(In reply to Martin Birgmeier from comment #7)
Please do not re-open the PR.  If necessary, you may open new one.  Thanks!
Comment 10 MarjanPilka 2019-06-27 15:02:43 UTC
Hello all 

I have problem with apply diff patch on existing port for virtualbox-ose-addidions 5.x.x.

Could you please tell me where I should put patch in filesystem and if I should use any options for patch application.

Thanks a lot for you assistance a lot
Comment 11 Martin Birgmeier 2019-06-30 17:30:32 UTC
Hi Marjan,

It is quite unclear what you are trying to do.

If you build the port yourself using the ports infrastructure you should not have to apply a patch manually, even more so as this issue report you are responding to has already been closed.

If you really need support it may be best to ask in the FreeBSD forums https://forums.freebsd.org/ . State, in order, what your environment/setup is, what you are trying to achieve, where you perceive an issue, and what you would expect instead.

-- Martin