Bug 211315 - emulators/virtualbox-ose: build fails at configure stage
Summary: emulators/virtualbox-ose: build fails at configure stage
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: Virtualbox Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-23 17:36 UTC by Dmitri Goutnik
Modified: 2016-07-25 18:07 UTC (History)
1 user (show)

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


Attachments
make -dl output (11.48 KB, text/plain)
2016-07-23 17:37 UTC, Dmitri Goutnik
no flags Details
configure.log (210.89 KB, text/plain)
2016-07-23 17:37 UTC, Dmitri Goutnik
no flags Details
configure patch (475 bytes, patch)
2016-07-23 17:38 UTC, Dmitri Goutnik
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Goutnik freebsd_committer freebsd_triage 2016-07-23 17:36:30 UTC
virtualbox-ose 5.0.26 build fails at configure stage with message:

...
Checking for ssl: 
  libcrypto not found at -I/usr/local/include /usr/local/lib/libcrypto.a /usr/local/lib/libssl.a or openssl headers not found
...

uname -a

FreeBSD xombo.syrec.org 11.0-BETA1 FreeBSD 11.0-BETA1 #0 r303154: Thu Jul 21 13:54:26 ECT 2016     root@xombo.syrec.org:/usr/obj/usr/src/sys/XOMBO  amd64

I believe configure script needs either an order of libs reversed or -Wl,--start-group added (see attached patch).
Comment 1 Dmitri Goutnik freebsd_committer freebsd_triage 2016-07-23 17:37:05 UTC
Created attachment 172901 [details]
make -dl output
Comment 2 Dmitri Goutnik freebsd_committer freebsd_triage 2016-07-23 17:37:30 UTC
Created attachment 172902 [details]
configure.log
Comment 3 Dmitri Goutnik freebsd_committer freebsd_triage 2016-07-23 17:38:36 UTC
Created attachment 172903 [details]
configure patch
Comment 4 Jung-uk Kim freebsd_committer freebsd_triage 2016-07-25 18:07:28 UTC
It should be fixed differently with r418983.