#44954: Building poppler failed -------------------------------+---------------------- Reporter: john.m.harrold@… | Owner: devans@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: poppler | -------------------------------+---------------------- Comment (by ryandesign@…): Replying to [comment:6 john.m.harrold@…]:
I believe the way to rebuild a package is the following:
{{{ sudo port upgrade -n --force gobject-introspection }}}
The output from rebuilding gobject-introspection is below. This didn't
seem to help (poppler still fails to compile).
{{{ ---> Fetching archive for gobject-introspection ---> Attempting to fetch gobject-
introspection-1.40.0_0.darwin_12.x86_64.tbz2 from http://packages.macports.org/gobject-introspection
---> Attempting to fetch gobject- introspection-1.40.0_0.darwin_12.x86_64.tbz2.rmd160 from http://packages.macports.org/gobject-introspection [snip] }}}
This doesn't necessarily rebuild the port; if a binary is available (and it was in this case), it will re-download and re-install that binary. To re''build'' the port from source, you need to also use the `-s` flag. Note also that single-letter flags like `-n` and `-s` need to appear immediately after the word `port` to have any affect; conversely, double- dash flags like `--force` need to appear after the word after `port`. So to rebuild gobject-introspection you would need to run: {{{ sudo port -ns upgrade --force gobject-introspection }}} -- Ticket URL: <https://trac.macports.org/ticket/44954#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X