Openmoko Bug #2072: [opkg-utils] The Makefile doesn't install properly

Openmoko Public Trac bugs at docs.openmoko.org
Thu Oct 16 01:19:10 CEST 2008


#2072: [opkg-utils] The Makefile doesn't install properly
---------------------+------------------------------------------------------
 Reporter:  khorben  |          Owner:  tick  
     Type:  defect   |         Status:  new   
 Priority:  normal   |      Milestone:        
Component:  opkg     |        Version:        
 Severity:  normal   |       Keywords:        
Blockedby:           |   Reproducible:  always
 Blocking:           |  
---------------------+------------------------------------------------------
 I am using GNU make on Debian GNU/Linux etch to install opkg-utils from
 its SVN trunk: http://svn.openmoko.org/trunk/src/host/opkg-utils

 The Makefile fails to install all of the programs supplied:
 {{{
 khorben at pinge:~/Projects/openmoko/opkg-utils$ make install
 install -d /bin
 install -m 744 opkg-build opkg-unbuild opkg-compare-versions opkg-make-
 index opkg.py opkg-list-fields arfile.py opkg-buildpackage opkg-diff opkg-
 extract-file opkg-show-deps opkg-compare-indexes opkg-compare-versions.sh
 /bin
 install: cannot create regular file `/bin/opkg-build': Permission denied
 install: cannot create regular file `/bin/opkg-unbuild': Permission denied
 install: cannot create regular file `/bin/opkg-compare-versions':
 Permission denied
 install: cannot create regular file `/bin/opkg-make-index': Permission
 denied
 install: cannot create regular file `/bin/opkg.py': Permission denied
 install: cannot create regular file `/bin/opkg-list-fields': Permission
 denied
 install: cannot create regular file `/bin/arfile.py': Permission denied
 install: cannot create regular file `/bin/opkg-buildpackage': Permission
 denied
 install: cannot create regular file `/bin/opkg-diff': Permission denied
 install: cannot create regular file `/bin/opkg-extract-file': Permission
 denied
 install: cannot create regular file `/bin/opkg-show-deps': Permission
 denied
 install: cannot create regular file `/bin/opkg-compare-indexes':
 Permission denied
 install: cannot create regular file `/bin/opkg-compare-versions.sh':
 Permission denied
 make: *** [install] Error 1
 }}}

 The attached patch fixes it. It also changes the default permissions from
 0744 to 0755.

-- 
Ticket URL: <https://docs.openmoko.org/trac/ticket/2072>
docs.openmoko.org <http://docs.openmoko.org/trac/>
openmoko trac


More information about the buglog mailing list