Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2013 10:47:34 -0600
From:      Paul Schmehl <pschmehl_lists@tx.rr.com>
To:        FreeBSD Ports <freebsd-ports@freebsd.org>
Subject:   STAGE problem
Message-ID:  <A10426F449B9BD740B6DE3D8@localhost>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A10426F449B9BD740B6DE3D8>