build failure dbus 1.8 on OS X 10.6

Ryan Schmidt ryandesign at macports.org
Thu Apr 3 16:03:20 PDT 2014


On Apr 3, 2014, at 17:51, René J.V. Bertin <rjvbertin at gmail.com> wrote:

> On Apr 04, 2014, at 00:33, Ryan Schmidt wrote:
>>> 
>>> What are the options here? I'm a bit amazed that this flag wasn't passed in earlier dbus versions, as it's been around since Linux kernel 2.6.23 …
>> 
>> IIRC, O_CLOEXEC was added to OS X in 10.7. Please report the problem to the developers of dbus so that they can provide a workaround for earlier systems that don’t have it. I recently had to do that for glib2 as well and they were quick to add that support.
> 
> Will do... In the mean time I created a patch that removes the offending flag and allows the build to succeed. We'll see if that leads to problems!
> 
>>> existent, so what does the warning above mean?
>> 
>> In r118513 (committed today) the startupitem and no_startupitem variants were retired in favor of basing the installation of the startupitem on your macports.conf settings. The error message you saw is telling you that you requested this obsolete variant, and is explaining to you how the port will decide whether to install a startupitem from now on. Reinstall the port without the obsolete variants.
> 
> But if I understand correctly, +startupitem has become the default, right?

Nope, as you can see:

$ port variants dbus
dbus has the variants:
   no_root: Run the DBUS daemon as MacPorts install user.
     * conflicts with underscore
   no_startupitem: obsolete
     * conflicts with startupitem
   startupitem: obsolete
     * conflicts with no_startupitem
   test: enable tests
   underscore: Put underscore in front of DBUS daemon user
     * conflicts with no_root
   universal: Build for multiple architectures


none of the variants are on by default. (They would be indicated with a “+”).

+startupitem used to be the default, but no longer is.

But if you installed the port back when it was the default, then that was recorded in your registry, so it’s now being used when you upgrade the port.

Install the port without the obsolete variant to proceed.



More information about the macports-users mailing list