[MacPorts] #13448: dbus-glib is not building (0% CPU no error messages) when building Gimp2

MacPorts trac at macosforge.org
Wed Dec 19 01:29:24 PST 2007


#13448: dbus-glib is not building (0% CPU no error messages) when building Gimp2
----------------------------------------+-----------------------------------
  Reporter:  poubelle.beslin at orange.fr  |       Owner:  rhwood at macports.org
      Type:  defect                     |      Status:  reopened           
  Priority:  Normal                     |   Milestone:  Port Bugs          
 Component:  ports                      |     Version:                     
Resolution:                             |    Keywords:                     
----------------------------------------+-----------------------------------
Comment (by rb at panix.com):

 Replying to [comment:35 boeyms at macports.org]:
 > Replying to [comment:34 junk at lessjunkmorefunk.de]:
 >
 > You can roll back by creating a local ports tree and placing an older
 version of glib2 Portfile in it to mask the official one.  The following
 instructions tell you how to do so from scratch (I hope you can work out
 what to omit if you've done some of these before).
 >
 >  1. Create a directory on your system to root your local ports tree in,
 e.g. `/Users/me/mp-local-ports`.
 >
 >  2. Create a subdirectory in that root into which to place the Portfile;
 it must match that reported by `port search`, which is in the form of a
 category and then a port name.  In this case, we can see that glib2 is
 listed by `port search ^glib2$` as being in `devel/glib2`:
 > {{{
 > MyComputer:~ me$ port search ^glib2$
 > glib2                          devel/glib2    2.14.4       Library with
 data structure functions and other constructs
 > MyComputer:~ me$
 > }}}
 >   Thus the subdirectory to create is `devel/glib2` (making the absolute
 path to the Portfile `/Users/me/mp-local-ports/devel/glib2` in this case).
 >
 >  3. Copy the desired Portfile into the above directory -- if you want
 the one for `glib2 @2.14.2_0`,
 [http://trac.macosforge.org/projects/macports/browser/trunk/dports/devel/glib2/Portfile?rev=30556&format=raw
 this patch] should do the trick, otherwise you can browse
 [http://trac.macosforge.org/projects/macports/log/trunk/dports/devel/glib2/Portfile
 the revisions to it] for the one you want.
 >
 >  4. In this case, the Portfile demands patchfiles, which are stored in a
 `files/` subdirectory of the port.  You will thus need to create such a
 directory (e.g. `/Users/me/mp-local-ports/devel/glib2/files`) and copy the
 appropriate patchfiles into it (which in this case are
 [http://trac.macosforge.org/projects/macports/browser/trunk/dports/devel/glib2/files
 here].
 >
 >  5. Return to the root of the local ports tree (e.g. `/Users/me/mp-
 local-ports`) and run `portindex`; this creates a `PortIndex` file in that
 directory that `port` can then use to know that your local port exists.
 >
 >  6. Finally, edit your `${prefix}/etc/macports/sources.conf` file by
 putting the root directory of your local ports tree ''before'' the main
 `rsync://rsync.macports.org/release/ports` one, so that your local ports
 tree does indeed mask the official one.  Note that the path must be in URL
 format, so in this case we would enter `file:///Users/me/mp-local-
 ports`.[[BR]]
 [[BR]]
 I have followed the instructions closely and cannot get 'port' to read the
 portfile in /Users/pm/mp-local-ports. My macports.conf file reads:

 # Rsync server to use[[BR]]

 rsync_server            file:///Users/pm/mp-local-ports

 rsync_server            rsync.macports.org

 after running

 port deactivate glib2

 port -f uninstall glib2

 port install glib 2

 port fetches glib2 2.14.4_1

 Any pointer to what I am doing wrong would be appreciated. Thank you.

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13448#comment:42>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list