general advice about making a portfile and a binary package?
Allen McBride
allencmcbride at gmail.com
Mon Mar 16 10:58:53 PDT 2009
I wrote the developer of Solfege, and he said these "dependencies"
that trace mode was showing me (librsvg, ghostscript) are things that
he uses to create the release tarball; they're not needed to build
from the tarball. But configure still checks for them, so that's why
they were showing up in trace mode. And as for the Python thing, I'm
guessing that somehow trace mode couldn't figure out that opt/local/
bin/python was part of the python25 port, even though I know it is.
So, I'm thinking I can go ahead and submit my Portfile to MacPorts
despite these "access denied" messages from trace mode. Any
suggestions to the contrary?
Also, a question about the "maintainer" field of the Portfile... since
I don't have commit privileges, I assume I should leave this as
"nomaintainer" rather than putting my own e-mail in, correct?
Thanks,
Allen
On Mar 14, 2009, at 1:59 PM, Allen McBride wrote:
> Thanks for all the answers. I ran "sudo port -t destroot", and it
> seems to have revealed some problems, but I don't know how to
> interpret the output. Here's the relevant-seeming part of what I got:
>
> trace: access denied to /opt/local/bin/python (*unknown*)
> trace: access denied to /opt/local/bin/python (*unknown*)
> trace: access denied to /opt/local/bin/rsvg (librsvg)
> trace: access denied to /opt/local/bin/gs (ghostscript)
> trace: access denied to /opt/local/bin/pkg-config (pkgconfig)
> Warning: An activity was attempted outside sandbox: /var/
> root/.CFUserTextEncoding
> Error: Target org.macports.configure returned: configure failure:
> shell command " cd "/opt/local/var/macports/build/
> _Users_allencmcbride_Allen_computer_portfiletest/work/
> solfege-3.14.0" && ./configure --prefix=/opt/local " returned error 1
>
> Is it trying to tell me that I should add librsvg and ghostscript
> (which depends on pkgconfig) to my list of dependencies? That would
> seem odd, since they're not listed by the author as dependencies.
> Maybe they're optional, and I can still leave them out? And the
> python part is a mystery to me, because I did declare python25 as a
> dependency. As for the "outside sandbox" thing, I found a post
> where you said you get that all the time, so I'm guessing it's not a
> big deal.
>
> Everything still works fine if I don't use trace mode.
>
> Sorry to keep asking questions, but I can't find any info about
> trace mode in the MacPorts Guide.
>
> Thanks,
> Allen
>
More information about the macports-users
mailing list