[MacPorts] #41196: py27-keybinder @0.3.0_1: No rule to make target `/opt/local/lib/libkeybinder.la', needed by `_keybinder.la'

MacPorts noreply at macports.org
Mon Dec 9 01:35:17 PST 2013


#41196: py27-keybinder @0.3.0_1: No rule to make target
`/opt/local/lib/libkeybinder.la', needed by `_keybinder.la'
------------------------------+------------------------------
  Reporter:  marc.cortinas@…  |      Owner:  ryandesign@…
      Type:  defect           |     Status:  assigned
  Priority:  Normal           |  Milestone:
 Component:  ports            |    Version:  2.2.1
Resolution:                   |   Keywords:  mavericks x86_64
      Port:  py27-keybinder   |
------------------------------+------------------------------

Comment (by jean-daniel.pauget@…):

 Replying to [comment:10 randria.work@…]:
 > Replying to [comment:8 jean-daniel.pauget@…]:
 >  .../...
 > > my workaround so far is to keep all build-trees by turning
 '''"portautoclean no"''' in '''/opt/local/etc/macports/macports.conf'''
 right after a fresh (empty !) installation of macports.
 > > then to build most things until I reach the troubles (port install
 py27-keybinder) ...
 > > at this point I copied all the .la files from the previous build with
 the following ugly script :
 > >
 > > {{{
 > > #!/bin/bash
 > >
 > > ls -ctr `find /opt/local/var/macports/build/ -name 'lib*.la' -type f`
 | while read LIBLA
 > > do
 > >     SHORTNAME=`echo "${LIBLA}" | rev | cut -d/ -f1 | rev | sed
 's/\.la$//'`
 > >     sed
 's#/opt/local/var/macports/build[_/abcdefghijklmnopqrstuvwxyz\.1234567890+-]*/\(lib[_/abcdefghijklmnopqrstuvwxyz\.1234567890+-]*\.la\)#/opt/local/lib/\1#g'
 \
 > >         < "${LIBLA}"  \
 > >         > "/opt/local/lib/${SHORTNAME}.la"
 > > done
 > > }}}
 > >
 > > then port install py27-keybinder went without troubles ...
 >
 > This "ugly" solution doesn't work for me because simply the "find"
 didn't find any .la files in the build directory.

 In order to get those *.la I started back from a ''fresh empty''
 installation and turn the '''"portautoclean no"''' before installing and
 building anything. If it's turned off later, the build-trees are cleaned.

-- 
Ticket URL: <https://trac.macports.org/ticket/41196#comment:11>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list