Ticket #2072 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

[opkg-utils] The Makefile doesn't install properly

Reported by: khorben Owned by: tick
Priority: normal Milestone:
Component: opkg Version:
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Estimated Completion (week):
HasPatchForReview: yes PatchReviewResult:
Reproducible: always

Description

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@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.

Attachments

patch-opkg-utils_Makefile_install_path.diff (443 bytes) - added by khorben 8 years ago.

Change History

Changed 8 years ago by khorben

comment:1 Changed 8 years ago by john_lee

  • HasPatchForReview set

comment:2 Changed 8 years ago by tick

  • Status changed from new to in_testing

It's on svn 4747.
Thanks khorben.

comment:3 Changed 8 years ago by tick

  • Status changed from in_testing to closed
  • Resolution set to fixed

close it

Note: See TracTickets for help on using tickets.