STAGE problem

Paul Schmehl pschmehl_lists at tx.rr.com
Wed Dec 11 16:49:15 UTC 2013


I'm working on updating the devel/liblognorm port.  I've run into a problem 
that I believe is related to STAGE.  When I run make install I get the 
following error:

===>  Building package for liblognorm-1.0.0
Creating package 
/usr/ports/devel/liblognorm-update/liblognorm/work/liblognorm-1.0.0.tbz
Registering depends: json-c-0.11 libestr-0.1.5.
Creating bzip'd tar ball in 
'/usr/ports/devel/liblognorm-update/liblognorm/work/liblognorm-1.0.0.tbz'
tar: lib/liblognorm.so.0: Cannot stat: No such file or directory
tar: Error exit delayed from previous errors.
pkg_create: make_dist: tar command failed with code 256
*** [do-package] Error code 1

Stop in /usr/ports/devel/liblognorm-update/liblognorm.

liblognorm.so exists in the stagedir:

/usr/ports/devel/liblognorm-update/liblognorm]# find . -name liblognorm.so
./work/liblognorm-1.0.0/src/.libs/liblognorm.so
./work/stage/usr/local/lib/liblognorm.so

If I add NO_STAGE=  yes to the Makefile, the port builds and installs fine.

Why is stage appending the .0?  How do I resolve this problem?  (Obviously 
adding NO_STAGE= yes is not the answer!)

-- 
Paul Schmehl, Senior Infosec Analyst
As if it wasn't already obvious, my opinions
are my own and not those of my employer.
*******************************************
"It is as useless to argue with those who have
renounced the use of reason as to administer
medication to the dead." Thomas Jefferson
"There are some ideas so wrong that only a very
intelligent person could believe in them." George Orwell



More information about the freebsd-ports mailing list