PDA

View Full Version : make deinstall (segfault, Error code 139)


intr
February 5th, 2009, 05:51
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.

intr
February 5th, 2009, 06:32
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

mecano
February 6th, 2009, 14:29
thanks for the patch !
I'm having a problem trying to make :

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 ?

mecano
February 6th, 2009, 14:52
also could this be considered as harmfull if one (me ^^) erase the blank dependencie line as a quick and dirty workaround?

intr
February 7th, 2009, 12:46
The patch not adding problems in compile. My releng_7 compile normal.

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.

mecano
February 8th, 2009, 22:01
thanks intr