[MacPorts] #28469: VirtualBox 4.0.4

MacPorts noreply at macports.org
Fri Apr 22 10:00:43 PDT 2011


#28469: VirtualBox 4.0.4
--------------------------------+-------------------------------------------
 Reporter:  carsomyr@…          |       Owner:  macports-tickets@…                   
     Type:  submission          |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  1.9.2                                
 Keywords:                      |        Port:  VirtualBox                           
--------------------------------+-------------------------------------------

Comment(by chris.perl@…):

 Yep, I get the same thing.  It happens when building as a normal user too,
 but doesn't actually break anything because I don't have permission to
 delete /dev/null.  I downloaded and unpacked 4.0.4 source, then ran:

 {{{
 ./configure --disable-qt4 --with-openssl-dir=/opt/local && . env.sh && kmk
 }}}

 Note that I disabled qt4 just so I didn't have to deal with patching the
 files as you do in your port.

 While in another window running the following dtrace script:

 {{{
 dtrace -w -n 'syscall::unlink:entry /copyinstr(arg0) == "/dev/null" / {
 printf("pid: %d, file: %s\n", pid, copyinstr(arg0)); stop(); system("ps -f
 -p %d", pid); system("gdb %s %d", execname, pid);}'
 }}}

 Which results in the following output:
 {{{
 dtrace: description 'syscall::unlink:entry ' matched 1 probe
 dtrace: allowing destructive actions
 CPU     ID                    FUNCTION:NAME
   0  18659                     unlink:entry pid: 91740, file: /dev/null

   UID   PID  PPID   C     STIME TTY           TIME CMD
   501 91740 91736   0   0:00.00 ttys003    0:00.00 /usr/libexec/gcc/i686
 -apple-darwin10/4.0.1/collect2 -dynamic -arch i386 -macosx_version_min
 10.6.7 -weak_reference_mismatches non-weak -o /dev/null -L/usr/lib/i686
 -apple-darwin10/4.0.1 -L/usr/lib/gcc/i686-apple-darwin10/4.0.1
 -L/usr/lib/gcc/i686-apple-darwin10/4.0.1 -L/usr/lib/gcc/i686-apple-
 darwin10/4.0.1/../../../i686-apple-darwin10/4.0.1 -L/usr/lib/gcc/i686
 -apple-darwin10/4.0.1/../../.. --as-needed -u start -undefined
 dynamic_lookup
 /var/folders/oS/oStm863DF04cPUL51x9zNE+++TI/-Tmp-//cc2oMFNq.o

 GNU gdb 6.3.50-20050815 (Apple version gdb-1515) (Sat Jan 15 08:33:48 UTC
 2011)
 Copyright 2004 Free Software Foundation, Inc.
 GDB is free software, covered by the GNU General Public License, and you
 are
 welcome to change it and/or distribute copies of it under certain
 conditions.
 Type "show copying" to see the conditions.
 There is absolutely no warranty for GDB.  Type "show warranty" for
 details.
 This GDB was configured as "x86_64-apple-darwin"...collect2: No such file
 or directory

 /Users/cperl/91740: No such file or directory
 Attaching to process 91740.
 Reading symbols for shared libraries . done
 Reading symbols for shared libraries .... done
 0x91200eae in __unlink ()
 (gdb)
 }}}

 Note that in this output the process is "collect2" but I also noted "ld"
 trying to unlink /dev/null later in the process.

-- 
Ticket URL: <https://trac.macports.org/ticket/28469#comment:13>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list