[MacPorts] #33306: virtualbox @4.1.8 configure error - build failure
#33306: virtualbox @4.1.8 configure error - build failure ---------------------------------+------------------------------------------ Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: stdarg.h, openssl | Port: virtualbox ---------------------------------+------------------------------------------ MacPorts version: 2.0.3 Xcode version: 4.2.1 Build 4D502 MacOS version: Lion 10.7.3 Mailing list discussion: http://lists.macosforge.org/pipermail/macports- users/2012-February/027424.html Things checked by request of mailing list: openssl is installed (1.0.0g_0) file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.1.8_OSE/configure.log is attached file /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h exists Problem apparently similar to https://trac.macports.org/ticket/31734#comment:10 and https://bugzilla.mozilla.org/show_bug.cgi?id=681678 Also attached is the error log mentioned upon failed build. Note the mailing list people recommended uninstalling Xcode and reinstalling, but I am unwilling to do that. I will just use a .dmg provided for the same software by Oracle. -- Ticket URL: <https://trac.macports.org/ticket/33306> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33306: virtualbox: /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory ---------------------------------+------------------------------------------ Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: stdarg.h, openssl | Port: virtualbox ---------------------------------+------------------------------------------ Old description:
MacPorts version: 2.0.3
Xcode version: 4.2.1 Build 4D502
MacOS version: Lion 10.7.3
Mailing list discussion: http://lists.macosforge.org/pipermail/macports- users/2012-February/027424.html
Things checked by request of mailing list:
openssl is installed (1.0.0g_0)
file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.1.8_OSE/configure.log is attached
file /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h exists
Problem apparently similar to https://trac.macports.org/ticket/31734#comment:10 and https://bugzilla.mozilla.org/show_bug.cgi?id=681678
Also attached is the error log mentioned upon failed build.
Note the mailing list people recommended uninstalling Xcode and reinstalling, but I am unwilling to do that. I will just use a .dmg provided for the same software by Oracle.
New description: MacPorts version: 2.0.3 Xcode version: 4.2.1 Build 4D502 MacOS version: Lion 10.7.3 Mailing list discussion: http://lists.macosforge.org/pipermail/macports- users/2012-February/027424.html Things checked by request of mailing list: openssl is installed (1.0.0g_0) file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.1.8_OSE/configure.log is attached file /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h exists Problem apparently similar to comment:ticket:31734:10 and https://bugzilla.mozilla.org/show_bug.cgi?id=681678 Also attached is the error log mentioned upon failed build. Note the mailing list people recommended uninstalling Xcode and reinstalling, but I am unwilling to do that. I will just use a .dmg provided for the same software by Oracle. -- Comment(by ryandesign@…): If you are unwilling to uninstall and reinstall Xcode to test whether the problem is with your Xcode, then we will need somebody else who has Lion 10.7.3 and Xcode 4.2.1 to test whether they can install virtualbox or not. -- Ticket URL: <https://trac.macports.org/ticket/33306#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33306: virtualbox: /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory ---------------------------------+------------------------------------------ Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: stdarg.h, openssl | Port: virtualbox ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * cc: royliu@… (added) Comment: Roy, I wonder if you have any ideas here. -- Ticket URL: <https://trac.macports.org/ticket/33306#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33306: virtualbox: /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory ---------------------------------+------------------------------------------ Reporter: jfcaron@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: virtualbox ---------------------------------+------------------------------------------ Changes (by macsforever2000@…): * keywords: stdarg.h, openssl => Comment: I just tried to install with Mac OS X 10.7.3 and Xcode 4.2.1 and I see the same error as the reporter. So it does not look like an Xcode problem on the reporter's end. -- Ticket URL: <https://trac.macports.org/ticket/33306#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33306: virtualbox: /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory ---------------------------------+------------------------------------------ Reporter: jfcaron@… | Owner: royliu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: virtualbox ---------------------------------+------------------------------------------ Changes (by royliu@…): * owner: macports-tickets@… => royliu@… Comment: Take note that previous versions of Xcode leave junk behind. For example, you'll have to delete {{{ /usr/bin/gcc-4.2 }}} just to be sure. If you don't, then some compilations will pick up on its existence and think that the headers are there, too (which they're not). See ticket #31734 and for how I helped someone with a similar problem to the one described above (search for the keyword `gcc-4.2`). -- Ticket URL: <https://trac.macports.org/ticket/33306#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33306: virtualbox: /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory ---------------------------------+------------------------------------------ Reporter: jfcaron@… | Owner: royliu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: virtualbox ---------------------------------+------------------------------------------ Comment(by macsforever2000@…): I do indeed have {{{/usr/bin/gcc-4.2}}}. I'm going to completely uninstall Xcode, reinstall 4.2.1, and try again. I'll let you know how it goes. -- Ticket URL: <https://trac.macports.org/ticket/33306#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33306: virtualbox: /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory ---------------------------------+------------------------------------------ Reporter: jfcaron@… | Owner: royliu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: virtualbox ---------------------------------+------------------------------------------ Comment(by royliu@…): Uninstalling might not help, in which case you'll have to manually remove it. Replying to [comment:5 macsforever2000@…]:
I do indeed have {{{/usr/bin/gcc-4.2}}}. I'm going to completely uninstall Xcode, reinstall 4.2.1, and try again. I'll let you know how it goes.
-- Ticket URL: <https://trac.macports.org/ticket/33306#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33306: virtualbox: /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory ---------------------------------+------------------------------------------ Reporter: jfcaron@… | Owner: royliu@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Keywords: | Port: virtualbox ---------------------------------+------------------------------------------ Comment(by macsforever2000@…): It worked and virtualbox installed fine. Now I no longer have {{{/usr/bin/gcc-4.2}}}. To be clear I ran the following to completely uninstall Xcode: {{{ sudo /Developer/Library/uninstall-devtools --mode=all }}} -- Ticket URL: <https://trac.macports.org/ticket/33306#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#33306: virtualbox: /Developer/SDKs/MacOSX10.6.sdk/usr/include/stdarg.h:4:25: error: stdarg.h: No such file or directory ----------------------------------+----------------------------------------- Reporter: jfcaron@… | Owner: royliu@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.3 Resolution: worksforme | Keywords: Port: virtualbox | ----------------------------------+----------------------------------------- Changes (by royliu@…): * status: new => closed * resolution: => worksforme Comment: I am closing this issue. If you continue to have problems after uninstalling/reinstalling Xcode, please let me know and I'll reopen. -- Ticket URL: <https://trac.macports.org/ticket/33306#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts