Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#39938 closed defect (invalid)

Macport 2.2.0 and Valgrind 3.8.1 on OS X 10.8.3 (x64): fatal: "<no name yet>"

Reported by: noloader (Jeffrey Walton) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port:

Description (last modified by larryv (Lawrence Velázquez))

riemann::~$ uname -a
Darwin riemann.home.pvt 12.4.0 Darwin Kernel Version 12.4.0: Wed May  1 17:57:12 PDT 2013; root:xnu-2050.24.15~1/RELEASE_X86_64 x86_64

And I have run xcodebuild -license; and I have agreed to the terms (as if I have a choice for obscene license agreements).

riemann::~$ sudo port install valgrind
--->  Computing dependencies for valgrind
--->  Building valgrind
Error: org.macports.build for port valgrind returned: command execution failed
Please see the log file for port valgrind for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port valgrind failed
riemann::~$ cat /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/main.log
version:1
:debug:main Found Dependency: path: /usr/bin filename: perl regex: ^perl$
:msg:main --->  Computing dependencies for valgrind:info:main .:debug:main Checking for conflicts against valgrind
:debug:main Searching for dependency: valgrind-devel
:debug:main Didn't find receipt, going to depspec regex for: valgrind-devel
:debug:main Found Dependency: path: /usr/bin filename: perl regex: ^perl$
:debug:main Searching for dependency: perl5
:debug:main Didn't find receipt, going to depspec regex for: perl5
:debug:main Found Dependency: path: /usr/bin filename: perl regex: ^perl$
:msg:main 
:debug:main Executing org.macports.main (valgrind)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 502
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (valgrind)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (valgrind)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (valgrind)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (valgrind)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (valgrind)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (valgrind)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed Jul 31 20:54:46 EDT 2013
:notice:build --->  Building valgrind
:debug:build Executing org.macports.build (valgrind)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.8'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1" && /usr/bin/make -j8 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1" && /usr/bin/make -j8 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1'
:info:build /usr/bin/make  all-recursive
:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1'
:info:build Making all in include
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1/include'
:info:build make[2]: Nothing to be done for `all'.
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1/include'
:info:build Making all in VEX
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1/VEX'
:info:build /usr/bin/make  all-am
:info:build make[3]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1/VEX'
:info:build make[3]: Nothing to be done for `all-am'.
:info:build make[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1/VEX'
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1/VEX'
:info:build Making all in coregrind
:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1/coregrind'
:info:build (cd m_mach && mig /usr/include/mach/mach_vm.defs /usr/include/mach/task.defs /usr/include/mach/thread_act.defs /usr/include/mach/vm_map.defs)
:info:build (cd m_mach && mig /usr/include/mach/mach_vm.defs /usr/include/mach/task.defs /usr/include/mach/thread_act.defs /usr/include/mach/vm_map.defs)
:info:build (cd m_mach && mig /usr/include/mach/mach_vm.defs /usr/include/mach/task.defs /usr/include/mach/thread_act.defs /usr/include/mach/vm_map.defs)
:info:build (cd m_mach && mig /usr/include/mach/mach_vm.defs /usr/include/mach/task.defs /usr/include/mach/thread_act.defs /usr/include/mach/vm_map.defs)
:info:build 
:info:build You have not agreed to the Xcode license agreements, please run 'xcodebuild -license' (for user-level acceptance) or 'sudo xcodebuild -license' (for system-wide acceptance) from within a Terminal window to review and agree to the Xcode license agreements.
:info:build 
:info:build You have not agreed to the Xcode license agreements, please run 'xcodebuild -license' (for user-level acceptance) or 'sudo xcodebuild -license' (for system-wide acceptance) from within a Terminal window to review and agree to the Xcode license agreements.
:info:build 
:info:build You have not agreed to the Xcode license agreements, please run 'xcodebuild -license' (for user-level acceptance) or 'sudo xcodebuild -license' (for system-wide acceptance) from within a Terminal window to review and agree to the Xcode license agreements.
:info:build 
:info:build You have not agreed to the Xcode license agreements, please run 'xcodebuild -license' (for user-level acceptance) or 'sudo xcodebuild -license' (for system-wide acceptance) from within a Terminal window to review and agree to the Xcode license agreements.
:info:build /usr/bin/mig: line 162: : command not found
:info:build /usr/bin/mig: line 162: : command not found
:info:build /usr/bin/mig: line 162: : command not found
:info:build /usr/bin/mig: line 162: : command not found
:info:build mig: fatal: "<no name yet>", line -1: no SubSystem declarationmig: fatal: "<no name yet>", line -1: no SubSystem declaration
:info:build 
:info:build mig: fatal: "<no name yet>", line -1: no SubSystem declaration
:info:build mig: fatal: "<no name yet>", line -1: no SubSystem declaration
:info:build make[2]: *** [m_mach/mach_vmUser.c] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....
:info:build make[2]: *** [m_mach/taskUser.c] Error 1
:info:build make[2]: *** [m_mach/thread_actUser.c] Error 1
:info:build make[2]: *** [m_mach/vm_mapUser.c] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1/coregrind'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/work/valgrind-3.8.1" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port valgrind returned: command execution failed
:debug:build Error code: CHILDSTATUS 8126 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for valgrind: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port valgrind for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_valgrind/valgrind/main.log
riemann::~$ 

Attachments (1)

main.log (8.6 KB) - added by noloader (Jeffrey Walton) 11 years ago.
main.log

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by noloader (Jeffrey Walton)

Attachment: main.log added

main.log

comment:1 in reply to:  description Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Resolution: invalid
Status: newclosed

Replying to noloader@…:

And I have run xcodebuild -license; and I have agreed to the terms (as if I have a choice for obscene license agreements).

Run sudo xcodebuild -license. (See ProblemHotlist#xcode-eula.)

comment:2 Changed 11 years ago by noloader (Jeffrey Walton)

Forgive my ignorance....

Macport was provided su to install the software. Shouldn't it drop privileges during steps like building?

comment:3 in reply to:  2 Changed 11 years ago by larryv (Lawrence Velázquez)

Replying to noloader@…:

Macport was provided su to install the software. Shouldn't it drop privileges during steps like building?

It does drop privileges, as you can see from your log output.

:debug:main Executing org.macports.main (valgrind)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 502
:debug:main euid changed to: 502

I am not personally familiar with how MacPorts deals with Xcode license acceptance. As noted in the wiki page I linked to, it is sometimes necessary to accept the license at the system level, but I don’t know why this is the case. You could ask on macports-users if you’re curious; maybe someone there can explain.

Note: See TracTickets for help on using tickets.