Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Aug 2017 22:04:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 221349] When COMPRESS_EXT is anything other than .gz, plist may break
Message-ID:  <bug-221349-13@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 221349
           Summary: When COMPRESS_EXT is anything other than .gz, plist
                    may break
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Ports Framework
          Assignee: portmgr@FreeBSD.org
          Reporter: mi@ALDAN.algebra.com
                CC: freebsd-ports-bugs@FreeBSD.org

I set COMPRESS_CMD to "xz -9c" on my system and, correspondingly, COMPRESS_=
EXT
-- to ".xz".

Things under src/ rebuilt nicely, as expected. Most things under ports/ see=
m to
ignore the setting, which is mildly disappointing, but acceptable.

The ports-mgmt/portupgrade, however, tries to observe it, but fails:

...
=3D=3D=3D> Parsing plist
=3D=3D=3D> Checking for items in STAGEDIR missing from pkg-plist
Error: Orphaned: man/man1/pkg_deinstall.1.xz.gz
Error: Orphaned: man/man1/pkg_fetch.1.xz.gz
Error: Orphaned: man/man1/pkg_glob.1.xz.gz
Error: Orphaned: man/man1/pkg_sort.1.xz.gz
Error: Orphaned: man/man1/pkg_which.1.xz.gz
Error: Orphaned: man/man1/pkgdb.1.xz.gz
Error: Orphaned: man/man1/pkgdu.1.xz.gz
Error: Orphaned: man/man1/portcvsweb.1.xz.gz
Error: Orphaned: man/man1/portinstall.1.xz.gz
Error: Orphaned: man/man1/ports_glob.1.xz.gz
Error: Orphaned: man/man1/portsclean.1.xz.gz
Error: Orphaned: man/man1/portsdb.1.xz.gz
Error: Orphaned: man/man1/portsvnweb.1.xz.gz
Error: Orphaned: man/man1/portupgrade.1.xz.gz
Error: Orphaned: man/man1/portversion.1.xz.gz
Error: Orphaned: man/man5/pkgtools.conf.5.xz.gz
=3D=3D=3D> Checking for items in pkg-plist which are not in STAGEDIR
Error: Missing: man/man1/pkg_deinstall.1.gz
Error: Missing: man/man1/pkg_fetch.1.gz
Error: Missing: man/man1/pkg_glob.1.gz
Error: Missing: man/man1/pkg_sort.1.gz
Error: Missing: man/man1/pkg_which.1.gz
Error: Missing: man/man1/pkgdb.1.gz
Error: Missing: man/man1/pkgdu.1.gz
Error: Missing: man/man1/portcvsweb.1.gz
Error: Missing: man/man1/portinstall.1.gz
Error: Missing: man/man1/ports_glob.1.gz
Error: Missing: man/man1/portsclean.1.gz
Error: Missing: man/man1/portsdb.1.gz
Error: Missing: man/man1/portsvnweb.1.gz
Error: Missing: man/man1/portupgrade.1.gz
Error: Missing: man/man1/portversion.1.gz
Error: Missing: man/man5/pkgtools.conf.5.gz
=3D=3D=3D> Error: Plist issues found.
*** Error code 1

The logic handling man-page extensions in bsd.ports.mk (and elsewhere?) nee=
ds
fixing -- it seems to consider only .gz as the only valid extension for
man-pages, which just is not correct any more. Even on 10.x man(1) is perfe=
ctly
capable of handling xz-compressed texts...

--=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-221349-13>