Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2018 00:01:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 225475] Need a QA check that dependency lines have the proper PKGNAME for the given port+FLAVOR.
Message-ID:  <bug-225475-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225475

            Bug ID: 225475
           Summary: Need a QA check that dependency lines have the proper
                    PKGNAME for the given port+FLAVOR.
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: bdrewery@FreeBSD.org
                CC: freebsd-ports-bugs@FreeBSD.org

For run/lib dependencies this can actually result in the package being
incorrectly
created, or confusing poudriere's incremental rebuild handling.  Poudriere
warns
about this but does not default to making it fatal, and ONLY does so for
run/lib
depends.

A raw-ports/portmaster tree example would be if you make your python defaul=
t to
3 and then a BUILD_DEPENDS had an incorrect line like:
    ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3
This might cause the py36-sqlite3 package to not be installed if py27-sqlit=
e3
is already installed.

This bad line was fixed in www/firefox:

r455413 | jbeich | 2017-12-03 09:35:29 -0800 (Sun, 03 Dec 2017) | 11 lines

gecko: unbreak with non-default python version after r455210

$ make
[...]
Installing py36-sqlite3-3.6.3_7...
=3D=3D=3D>   firefox-57.0.1,1 depends on package: py27-sqlite3>0 - not found
*** Error code 1

PR:             224055
Submitted by:   Peter Wullinger

~/svn/ports # svn diff -c r455413 www/firefox
Index: www/firefox/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- www/firefox/Makefile        (revision 455412)
+++ www/firefox/Makefile        (revision 455413)
@@ -22,7 +22,7 @@ BUILD_DEPENDS=3D        nspr>=3D4.17:devel/nspr \
                libvorbis>=3D1.3.5,3:audio/libvorbis \
                libvpx>=3D1.5.0:multimedia/libvpx \
                sqlite3>=3D3.20.1:databases/sqlite3 \
-               ${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3 \
+=20=20=20=20=20=20=20=20=20=20=20=20=20=20
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
                v4l_compat>0:multimedia/v4l_compat \
                autoconf-2.13:devel/autoconf213 \
                yasm:devel/yasm \

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



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