[MacPorts] #24661: go-devel: fatal error: can't find import: fmt on MacPorts

MacPorts noreply at macports.org
Thu Apr 29 13:57:56 PDT 2010


#24661: go-devel: fatal error: can't find import: fmt on MacPorts
---------------------------------+------------------------------------------
 Reporter:  tsumekiri@…          |       Owner:  singingwolfboy@…           
     Type:  defect               |      Status:  assigned                   
 Priority:  Normal               |   Milestone:                             
Component:  ports                |     Version:  1.8.2                      
 Keywords:                       |        Port:  go-devel                   
---------------------------------+------------------------------------------
Changes (by singingwolfboy@…):

  * status:  new => assigned


Comment:

 It looks like Go compiles its packages and sticks the compiled files in
 `${worksrcpath}/pkg`. I didn't realize this, and I forgot to include that
 directory in the destroot. Oops.

 `man porthier` doesn't say anything about where to put `pkg` directories,
 so I'm not quite sure where it should go. It looks like it belongs in
 `lib`, but Go already creates a `lib` dir separate from `pkg`, so maybe
 not. Perhaps `include` -- but these are compiled files, not C sources.
 `share` is out because they're platform-specific.

 I'm going to try installing to `${prefix}/pkg` on my machine just to see
 if I can compile Go programs like that. Meanwhile, I'm open to other
 peoples' suggestions of where to store these files.

-- 
Ticket URL: <http://trac.macports.org/ticket/24661#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list