new port with cmake: destroots okay, activation doesn't seem to work...

Jonathan Tomshine jtomshine at gmail.com
Fri Oct 16 15:16:24 PDT 2009


P.S. -- Here's the portfile that generated that code -- I forgot to
attach it on the prior post.



On Fri, Oct 16, 2009 at 3:15 PM, Jonathan Tomshine <jtomshine at gmail.com> wrote:
> I've been encountering some odd behavior when attempting to write a
> new port (only my 2nd portfile, so I'm quite new to this).  I'm
> attaching the current portfile for completeness.  While the port
> appears to build & install everything into destroot okay, it only
> installs and activates some symbolic links that are generated by the
> application's installer (and they aren't correct links really, but
> that's a separate issue) -- it doesn't install or activate any of the
> actual binary files that it built.
>
> For instance, here's the destroot directory directly after a "port
> install" (note the symlinks):
>
> udp009069uds:bin jshine$ pwd
> /Users/jshine/Documents/hobbies/astro/astro_software/indi_port/work/destroot/opt/local/bin
> udp009069uds:bin jshine$ ls -l
> total 2128
> -rwxr-xr-x  2 root  admin   82936 Oct 16 15:01 indi_celestron_gps
> -rwxr-xr-x  2 root  admin   55072 Oct 16 15:01 indi_eval
> -rwxr-xr-x  2 root  admin   50144 Oct 16 15:01 indi_getprop
> -rwxr-xr-x  2 root  admin   73684 Oct 16 15:01 indi_intelliscope
> lrwxr-xr-x  1 root  admin     138 Oct 16 15:02 indi_lx200_16 ->
> /opt/local/var/macports/build/_Users_jshine_Documents_hobbies_astro_astro_software_indi_port/work/destroot/opt/local/bin/indi_lx200generic
> lrwxr-xr-x  1 root  admin     138 Oct 16 15:02 indi_lx200ap ->
> /opt/local/var/macports/build/_Users_jshine_Documents_hobbies_astro_astro_software_indi_port/work/destroot/opt/local/bin/indi_lx200generic
> lrwxr-xr-x  1 root  admin     138 Oct 16 15:02 indi_lx200autostar ->
> /opt/local/var/macports/build/_Users_jshine_Documents_hobbies_astro_astro_software_indi_port/work/destroot/opt/local/bin/indi_lx200generic
> -rwxr-xr-x  2 root  admin   96600 Oct 16 15:02 indi_lx200basic
> lrwxr-xr-x  1 root  admin     138 Oct 16 15:02 indi_lx200classic ->
> /opt/local/var/macports/build/_Users_jshine_Documents_hobbies_astro_astro_software_indi_port/work/destroot/opt/local/bin/indi_lx200generic
> -rwxr-xr-x  2 root  admin  196204 Oct 16 15:02 indi_lx200generic
> lrwxr-xr-x  1 root  admin     138 Oct 16 15:02 indi_lx200gps ->
> /opt/local/var/macports/build/_Users_jshine_Documents_hobbies_astro_astro_software_indi_port/work/destroot/opt/local/bin/indi_lx200generic
> -rwxr-xr-x  2 root  admin   87456 Oct 16 15:02 indi_orion_atlas
> -rwxr-xr-x  2 root  admin   81712 Oct 16 15:02 indi_robofocus
> -rwxr-xr-x  2 root  admin   45904 Oct 16 15:02 indi_setprop
> -rwxr-xr-x  2 root  admin   73684 Oct 16 15:02 indi_skycommander
> -rwxr-xr-x  2 root  admin   96088 Oct 16 15:02 indi_temma
> -rwxr-xr-x  2 root  admin   64456 Oct 16 15:02 indi_trutech_wheel
> -rwxr-xr-x  2 root  admin   44804 Oct 16 15:02 indiserver
> udp009069uds:bin jshine$
>
>
> ----------
> ...and here's the installation directory...
> ----------
>
>
> udp009069uds:bin jshine$ pwd
> /opt/local/var/macports/software/indi/0.6_0/opt/local/bin
> udp009069uds:bin jshine$ ls -l
> total 40
> lrwxr-xr-x  1 root  admin  138 Oct 16 15:02 indi_lx200_16 ->
> /opt/local/var/macports/build/_Users_jshine_Documents_hobbies_astro_astro_software_indi_port/work/destroot/opt/local/bin/indi_lx200generic
> lrwxr-xr-x  1 root  admin  138 Oct 16 15:02 indi_lx200ap ->
> /opt/local/var/macports/build/_Users_jshine_Documents_hobbies_astro_astro_software_indi_port/work/destroot/opt/local/bin/indi_lx200generic
> lrwxr-xr-x  1 root  admin  138 Oct 16 15:02 indi_lx200autostar ->
> /opt/local/var/macports/build/_Users_jshine_Documents_hobbies_astro_astro_software_indi_port/work/destroot/opt/local/bin/indi_lx200generic
> lrwxr-xr-x  1 root  admin  138 Oct 16 15:02 indi_lx200classic ->
> /opt/local/var/macports/build/_Users_jshine_Documents_hobbies_astro_astro_software_indi_port/work/destroot/opt/local/bin/indi_lx200generic
> lrwxr-xr-x  1 root  admin  138 Oct 16 15:02 indi_lx200gps ->
> /opt/local/var/macports/build/_Users_jshine_Documents_hobbies_astro_astro_software_indi_port/work/destroot/opt/local/bin/indi_lx200generic
> udp009069uds:bin jshine$
>
> ----------
> ...now only the 5 symlinks remain.  The actual /opt/local/bin
> directory looks similar.  What's up?  I've been scratching my head
> over this one, and just can't figure it out.  Any suggestions would be
> greatly appreciated!
>
>
> Thanks,
> Jon
>



-- 
Jonathan Tomshine, PhD
Postdoctoral Scientist
University of California, San Francisco
Genentech Hall
600 16th St.
San Francisco, CA 94158-2140
jtomshine at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Portfile
Type: application/octet-stream
Size: 2592 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20091016/2c209f7a/attachment-0001.obj>


More information about the macports-dev mailing list