[MacPorts] #42994: dbus variant evaluation error
#42994: dbus variant evaluation error ------------------------+-------------------------------- Reporter: rharwood@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: dbus ------------------------+-------------------------------- {{{ robbie@osxserver:~$ port -d info dbus DEBUG: Changing to port directory: /Volumes/ServerDrive/NetUsers/robbie/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/dbus DEBUG: OS darwin/10.8.0 (Mac OS X 10.6) arch i386 DEBUG: Reading variant descriptions from /Volumes/ServerDrive/NetUsers/robbie/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf DEBUG: universal variant already exists, so not adding the default one DEBUG: Requested variant +gnutls is not provided by port dbus. DEBUG: Requested variant +gcc48 is not provided by port dbus. DEBUG: Requested variant +gpl3 is not provided by port dbus. DEBUG: Requested variant +ssl is not provided by port dbus. DEBUG: Requested variant +python27 is not provided by port dbus. DEBUG: Requested variant +bash_completion is not provided by port dbus. DEBUG: Executing variant startupitem provides startupitem DEBUG: Executing variant no_root provides no_root DEBUG: <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) while executing "exec /usr/bin/dscl . -read Users/${install.user} NFSHomeDirectory" (procedure "variant-no_root" line 15) invoked from within "variant-no_root" invoked from within "catch "variant-${name}" result" Error: dbus: Error executing no_root: <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) DEBUG: Error evaluating variants while executing "error "Error evaluating variants"" (procedure "mportopen" line 56) invoked from within "mportopen $porturl [array get options] [array get merged_variations]" Error: Unable to open port: Error evaluating variants robbie@osxserver:~$ }}} System is 10.6.8, with a non-root macports installation. Please let me know if there is more information I can provide. -- Ticket URL: <https://trac.macports.org/ticket/42994> MacPorts <http://www.macports.org/> Ports system for OS X
#42994: dbus: <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) -------------------------+------------------------ Reporter: rharwood@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dbus | -------------------------+------------------------ Changes (by ryandesign@…): * cc: mcalhoun@… (removed) * owner: macports-tickets@… => mcalhoun@… -- Ticket URL: <https://trac.macports.org/ticket/42994#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#42994: dbus: <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) -------------------------+------------------------ Reporter: rharwood@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dbus | -------------------------+------------------------ Comment (by ryandesign@…): So I see you are using a non-root MacPorts installation and have selected the no_root variant, which runs the command {{{ /usr/bin/dscl . -read Users/${install.user} NFSHomeDirectory }}} and this is failing, because this record does not exist. What is your MacPorts install user, according to macports.conf? Does that user in fact exist? What happens if you run the above command on the command line, substituting your install username for "${install.user}"? -- Ticket URL: <https://trac.macports.org/ticket/42994#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#42994: dbus: <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) -------------------------+------------------------ Reporter: rharwood@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dbus | -------------------------+------------------------ Comment (by rharwood@…): Replying to [comment:2 ryandesign@…]:
So I see you are using a non-root MacPorts installation and have selected the no_root variant, which runs the command {{{ /usr/bin/dscl . -read Users/${install.user} NFSHomeDirectory }}} and this is failing, because this record does not exist. What is your MacPorts install user, according to macports.conf?
User is robbie.
Does that user in fact exist?
Yes, it's who I'm logged in as.
What happens if you run the above command on the command line, substituting your install username for "${install.user}"?
{{{ robbie@osxserver:~$ /usr/bin/dscl . -read Users/robbie NFSHomeDirectory <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) robbie@osxserver:~$ }}} -- Ticket URL: <https://trac.macports.org/ticket/42994#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#42994: dbus: <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) -------------------------+------------------------ Reporter: rharwood@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dbus | -------------------------+------------------------ Changes (by mcalhoun@…): * status: new => assigned Comment: This is probably a duplicate of #28121, but let's be sure.[[BR]] dbus assumes that the user information is located on the local machine.[[BR]] Are you logged in using Active Directory, Open Directory, etc.?[[BR]] This command should give some insight: {{{ $ /usr/bin/dscl Entering interactive mode... (type "help" for commands)
ls Local
Contact Search
}}} -- Ticket URL: <https://trac.macports.org/ticket/42994#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#42994: dbus: <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) -------------------------+------------------------ Reporter: rharwood@… | Owner: mcalhoun@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dbus | -------------------------+------------------------ Comment (by rharwood@…): Replying to [comment:4 mcalhoun@…]:
This is probably a duplicate of #28121, but let's be sure.[[BR]]
Hmm, didn't think of that. Apologies in advance if that is the case.
dbus assumes that the user information is located on the local machine.[[BR]] Are you logged in using Active Directory, Open Directory, etc.?[[BR]]
I believe so. {{{ robbie@osxserver:~$ /usr/bin/dscl Entering interactive mode... (type "help" for commands)
ls BSD LDAPv3 Local
Contact Search
}}} -- Ticket URL: <https://trac.macports.org/ticket/42994#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#42994: dbus: <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) -------------------------+------------------------ Reporter: rharwood@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: dbus | -------------------------+------------------------ Changes (by mcalhoun@…): * status: assigned => closed * resolution: => fixed Comment: Hopefully, this is fixed in r118513. I attempted to find the home directory using other means, but I do not think it will work for your situation (LDAPv3)[[BR]] since it would require knowing the host name (see [https://developer.apple.com/library/Mac/documentation/Darwin/Reference/ManPa... dscl manpage]).[[BR]] dbus should still install but issue a warning. Please feel free to reopen if the problem still exists. -- Ticket URL: <https://trac.macports.org/ticket/42994#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#42994: dbus: <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) -------------------------+------------------------ Reporter: rharwood@… | Owner: mcalhoun@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dbus | -------------------------+------------------------ Changes (by rharwood@…): * status: closed => reopened * resolution: fixed => Comment: Replying to [comment:6 mcalhoun@…]:
dbus should still install but issue a warning.
Warning yes, install no. It fails to build; main.log attached. -- Ticket URL: <https://trac.macports.org/ticket/42994#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#42994: dbus: <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) -------------------------+------------------------ Reporter: rharwood@… | Owner: mcalhoun@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dbus | -------------------------+------------------------ Comment (by cal@…): Maybe you should use `dscacheutil -q user -a name ${install.user}` instead? Or even simpler, `[file normalize "~${install.user}"]`? -- Ticket URL: <https://trac.macports.org/ticket/42994#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#42994: dbus: <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) -------------------------+------------------------ Reporter: rharwood@… | Owner: mcalhoun@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dbus | -------------------------+------------------------ Comment (by mcalhoun@…): Replying to [comment:7 rharwood@…]:
Replying to [comment:6 mcalhoun@…]:
dbus should still install but issue a warning.
Warning yes, install no. It fails to build; main.log attached.
I think that this might be a completely different issue.[[BR]] The error seems to be {{{ :info:build dir-watch-kqueue.c: In function ‘bus_set_watched_dirs’: :info:build dir-watch-kqueue.c:262: error: ‘O_CLOEXEC’ undeclared (first use in this function) :info:build dir-watch-kqueue.c:262: error: (Each undeclared identifier is reported only once :info:build dir-watch-kqueue.c:262: error: for each function it appears in.) }}} I do not have any experience with O_CLOEXEC, but [https://github.com/mhei/libugpio/issues/1 this link] and [https://bugs.launchpad.net/gearmand/+bug/980114 this as well] seem to indicate that 10.6 (which I see you are using) doesn't have O_CLOEXEC.[[BR]] If this is in fact the problem, we should probably open another ticket for this particular problem. -- Ticket URL: <https://trac.macports.org/ticket/42994#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
#42994: dbus: <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) -------------------------+------------------------ Reporter: rharwood@… | Owner: mcalhoun@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: dbus | -------------------------+------------------------ Comment (by rharwood@…): Replying to [comment:10 mcalhoun@…]:
I think that this might be a completely different issue.[[BR]] The error seems to be {{{ :info:build dir-watch-kqueue.c: In function ‘bus_set_watched_dirs’: :info:build dir-watch-kqueue.c:262: error: ‘O_CLOEXEC’ undeclared (first use in this function) :info:build dir-watch-kqueue.c:262: error: (Each undeclared identifier is reported only once :info:build dir-watch-kqueue.c:262: error: for each function it appears in.) }}}
I do not have any experience with O_CLOEXEC, but [https://github.com/mhei/libugpio/issues/1 this link] and [https://bugs.launchpad.net/gearmand/+bug/980114 this as well] seem to indicate that 10.6 (which I see you are using) doesn't have O_CLOEXEC.[[BR]] If this is in fact the problem, we should probably open another ticket for this particular problem.
As requested, I have opened #43370. -- Ticket URL: <https://trac.macports.org/ticket/42994#comment:11> MacPorts <http://www.macports.org/> Ports system for OS X
#42994: dbus: <dscl_cmd> DS Error: -14136 (eDSRecordNotFound) -------------------------+------------------------ Reporter: rharwood@… | Owner: mcalhoun@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: fixed | Keywords: Port: dbus | -------------------------+------------------------ Changes (by mcalhoun@…): * status: reopened => closed * resolution: => fixed Comment: Closing again since the new issue was unrelated and was fixed in #43370. -- Ticket URL: <https://trac.macports.org/ticket/42994#comment:12> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts