Opened 12 years ago

Closed 12 years ago

#36020 closed defect (duplicate)

virtualbox @@4.1.20 build error

Reported by: edhem.bajric@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: anddam (Andrea D'Amore), pixilla (Bradley Giesbrecht), ryandesign (Ryan Carsten Schmidt)
Port: virtualbox

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Dear all

Performing a upgrade of outdated ports, I am facing the following problem.

--->  Attempting to fetch VirtualBox-4.1.20.tar.bz2 from http://lil.fr.distfiles.macports.org/virtualbox
--->  Verifying checksum(s) for virtualbox
--->  Extracting virtualbox
--->  Applying patches to virtualbox
--->  Configuring virtualbox
--->  Building virtualbox
Error: org.macports.build for port virtualbox returned: command execution failed
Please see the log file for port virtualbox for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets

The main.log-file is attatched to this ticket. Before I performed this upgrade, I performed the commands

sudo port -vds sync
sudo port -vds selfupdate

with success.

Attachments (2)

main.log (610.0 KB) - added by edhem.bajric@… 12 years ago.
patch-emulators-virtualbox-find-sdk.diff (2.4 KB) - added by pixilla (Bradley Giesbrecht) 12 years ago.
Use "xcode-select -print-path" in place of hardcoded /Developer.

Download all attachments as: .zip

Change History (14)

Changed 12 years ago by edhem.bajric@…

Attachment: main.log added

comment:1 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Port: virtualbox added
Resolution: duplicate
Status: newclosed

Please remember to fill in the Port field and to use WikiFormatting.

The log says:

:info:build kmk: *** No rule to make target `/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk/usr/lib/libpython2.7.dylib', needed by `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_emulators_virtualbox/virtualbox/work/VirtualBox-4.1.20/out/darwin.x86/release/obj/VBoxPython2_7/VBoxPython2_7.so'.  Stop.

So this is a duplicate of #35808.

comment:2 Changed 12 years ago by pixilla (Bradley Giesbrecht)

Is this really a dup?

The log for #35808 has a configure error "libcrypto not found".

The log for #36020 has a build error "No rule to make target".

comment:3 Changed 12 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… pixilla@… ryandesign@… added

It may be due to the wrong SDK setup in configure script that is discussed in #35808.

The reporter should specify what OS and XCode versions is he using.

Changed 12 years ago by pixilla (Bradley Giesbrecht)

Use "xcode-select -print-path" in place of hardcoded /Developer.

comment:4 Changed 12 years ago by pixilla (Bradley Giesbrecht)

One problem on my system is configures hardcoded /Developer path.

comment:5 Changed 12 years ago by pixilla (Bradley Giesbrecht)

I noticed this ticket was closed after adding my patch. The patch has been added to #35808 as well.

comment:6 Changed 12 years ago by edhem.bajric@…

Resolution: duplicate
Status: closedreopened

Dear all

I use Mac OS X Version 10.6.8 and XCode Version 3.2.6. I hope this helps.

Yours sincerely

Ed

comment:7 in reply to:  2 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: reopenedclosed

Replying to pixilla@…:

Is this really a dup?

The log for #35808 has a configure error "libcrypto not found".

The log for #36020 has a build error "No rule to make target".

Yes, it really is a duplicate. #35808 is tracking two problems:

  1. On Snow Leopard with Xcode 3.2.x, the build fails when it tries to reference files in the (nonexistent on Snow Leopard) 10.7 SDK. That's what's happening in this ticket as well.
  2. On Lion with Xcode 4.3.x, it cannot find libcrypto.

comment:8 Changed 12 years ago by edhem.bajric@…

Dear all

Although I'm not an expert on this issue, you should now the following observation. I was able to build and install virtualbox before I had this issue. I am facing this problem, since I ran an upgrade on my outdated ports. In the meanwhile, I haven't changed or updated neither my operating system nor my XCode installation. I'm still not an expert, but I suspect my operating system or the used XCode-Version to be the problem, but the current version of virtual box. Probably this helps.

Yours sincerely Ed

comment:9 Changed 12 years ago by edhem.bajric@…

Resolution: duplicate
Status: closedreopened

The problem is still not solved for me, therefore I reopen the ticket. I would like to ask you not to close it, until it is not solved.

comment:10 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

After the latest changes committed today, the Snow Leopard buildbot was able to build the virtualbox port again. Please "sudo port clean virtualbox" and "sudo port selfupdate" and then try again.

comment:11 Changed 12 years ago by edhem.bajric@…

Dear all,

Many thanks for your help. I was able to build virtualbox now.

Yours sinerely Ed

comment:12 Changed 12 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: reopenedclosed
Note: See TracTickets for help on using tickets.