[Bug 232443] graphics/opencv 3.4.1_8 staging failure
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Oct 19 14:20:34 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232443
--- Comment #5 from Bertrand Petit <bsdpr at phoe.frmug.org> ---
(In reply to Kubilay Kocak from comment #1)
> 1) Is "/usr/obj/ports" an expected part of your configuration?
This path is expected. The ports tree is nfs-mounted read-only. The work
directory is set in make.conf:
MYPORTSDIR!=echo $(.CURDIR) | sed 's|/usr/ports/.*|/usr/ports|'
.if $(MYPORTSDIR) == /usr/ports
WRKDIRPREFIX=/usr/obj/ports
.endif
DISTDIR=/usr/obj/ports/usr/ports/distfiles
INDEXDIR=/var/db/ports/portupgrade
I never had any trouble with this setup which is about 10 years old.
> 2) What is the method of installation (make install clean, portmaster <something>, something else?) and in how/where is it run?
> 3) Does the opencv port build succeed when attempting to install it directly (not via a dependency) from /usr/ports/ ? (run `make clean` before testing this)
I did reproduce the issue doing "make clean ; make", and then "make install".
The build phase terminated without aparent error.
> 4) If not, are the errors *exactly* the same as those initially reported? If not, how are they different? (provide an attachment with the full build log)
# cd /usr/ports/graphics/opencv
# make clean
===> Cleaning for opencv-3.4.1_8
# make 2>&1 | tee /tmp/opencv-build.log
[See attachement]
# make install 2>&1 | tee /tmp/opencv-install.log
[See attachement]
> 5) If the same errors are seen, do the reported missing files exist in path locations *without* the '/usr/obj/ports' prefix?
>For example, for the first error/file reported: /usr/ports/graphics/opencv/work/stage/usr/local/include/opencv2/sfm.hpp
They can't exist at that locatation because of the read-only nature of the
mountpoint:
$ mount | grep /usr/ports
10.1.1.13:/usr/ports on /usr/ports (nfs, read-only)
> - system information (uname -a)
FreeBSD titus.<...> 11.2-STABLE FreeBSD 11.2-STABLE #0: Tue Oct 16 11:38:15
CEST 2018
elrond at titus.<...>:/home/elrond/syswork/FreeBSD-work/11-LOCAL/obj/home/elrond/syswork/FreeBSD-work/11-LOCAL/src/sys/TITUS
amd64
The source tree was obtained from svn r339356. There are also some funny paths
there. :-)
> - pkg version -v output
(The ports tree is circa two days old.)
[See atachement]
> - contents of /etc/make.conf (if not empty)
Here it is, in full:
# We compile outside of the ports dir
MYPORTSDIR!=echo $(.CURDIR) | sed 's|/usr/ports/.*|/usr/ports|'
.if $(MYPORTSDIR) == /usr/ports
WRKDIRPREFIX=/usr/obj/ports
.endif
DISTDIR=/usr/obj/ports/usr/ports/distfiles
INDEXDIR=/var/db/ports/portupgrade
WITH_PKG=YES
# Use OpenSSL from the ports
DEFAULT_VERSIONS+=ssl=openssl
OPTIONS_UNSET=EXAMPLES
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list