make deinstall (segfault, Error code 139)

This problem in pkg_install libs. In "src/usr.sbin/pkg_install/lib/plist.c"
no blank check for the command in the file "+CONTENTS".
The patch is attached.
 

Attachments

  • plist.patch
    271 bytes · Views: 256
Sorry.

cd /usr/src
patch < /path-to-file/plist.patch
cd /usr/src/usr.sbin/pkg_install
make clean (if not empty in /usr/obj)
make obj
make depend
make
make install
 
thanks for the patch !
I'm having a problem trying to make :
Code:
make: don't know how to make /usr/src/usr.sbin/pkg_install/add/../lib/libinstall.a. Stop
What is the best way to rebuild make files there ?
 
also could this be considered as harmfull if one (me ^^) erase the blank dependencie line as a quick and dirty workaround?
 
The patch not adding problems in compile. My releng_7 compile normal.

mecano said:
also could this be considered as harmfull if one (me ^^) erase the blank dependencie line as a quick and dirty workaround?

Yes, can erase the blank depends.
 
Back
Top