Date: Fri, 19 Oct 2018 14:20:32 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 232443] graphics/opencv 3.4.1_8 staging failure Message-ID: <bug-232443-7788-KrjId7xIeq@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-232443-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-232443-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232443 --- Comment #5 from Bertrand Petit <bsdpr@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!=3Decho $(.CURDIR) | sed 's|/usr/ports/.*|/usr/ports|' .if $(MYPORTSDIR) =3D=3D /usr/ports WRKDIRPREFIX=3D/usr/obj/ports .endif DISTDIR=3D/usr/obj/ports/usr/ports/distfiles INDEXDIR=3D/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 <so= mething>, something else?) and in how/where is it run? > 3) Does the opencv port build succeed when attempting to install it direc= tly (not via a dependency) from /usr/ports/ ? (run `make clean` before test= ing 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 =3D=3D=3D> 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 pa= th 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=20=20=20=20 elrond@titus.<...>:/home/elrond/syswork/FreeBSD-work/11-LOCAL/obj/home/elro= nd/syswork/FreeBSD-work/11-LOCAL/src/sys/TITUS amd64 The source tree was obtained from svn r339356. There are also some funny pa= ths 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!=3Decho $(.CURDIR) | sed 's|/usr/ports/.*|/usr/ports|' .if $(MYPORTSDIR) =3D=3D /usr/ports WRKDIRPREFIX=3D/usr/obj/ports .endif DISTDIR=3D/usr/obj/ports/usr/ports/distfiles INDEXDIR=3D/var/db/ports/portupgrade WITH_PKG=3DYES # Use OpenSSL from the ports DEFAULT_VERSIONS+=3Dssl=3Dopenssl OPTIONS_UNSET=3DEXAMPLES --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-232443-7788-KrjId7xIeq>