Date: Fri, 28 Oct 2011 09:43:58 GMT From: Alfred Bartsch <bartsch@dssgmbh.de> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/162088: inconsistencies in locally generated INDEX file Message-ID: <201110280943.p9S9hwCq026289@red.freebsd.org> Resent-Message-ID: <201110280950.p9S9oAEv045355@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 162088 >Category: ports >Synopsis: inconsistencies in locally generated INDEX file >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Oct 28 09:50:09 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Alfred Bartsch >Release: FreeBSD 8.2-stable >Organization: Data-Service GmbH >Environment: FreeBSD pcadmin.incore 8.2-STABLE FreeBSD 8.2-STABLE #0: Thu Jul 28 15:53:55 CEST 2011 root@pcadmin.incore:/usr/obj/usr/src/sys/PCADMIN i386 >Description: setting "A4=yes" and "PAPERSIZE=a4" in /etc/make.conf, which is needed in our environment causes some warning messages while generating local index file: Warning: Duplicate INDEX entry: jpeg2ps-a4-1.9_2 Warning: Duplicate INDEX entry: a2ps-a4-4.13b_4 Warning: Duplicate INDEX entry: c2ps-a4-4.0_1 Warning: Duplicate INDEX entry: enscript-a4-1.6.4_4 Warning: Duplicate INDEX entry: html2ps-a4-1.0.b5_4,1 Warning: Duplicate INDEX entry: lprps-a4-2.5 Warning: Duplicate INDEX entry: mp-a4-3.0.1 Warning: Duplicate INDEX entry: psutils-a4-1.17_2 the first part of the resulting lines in INDEX-8 then read: jpeg2ps-a4-1.9_2|/usr/ports/graphics/jpeg2ps-letter|/usr/local|Convert a2ps-a4-4.13b_4|/usr/ports/print/a2ps-letter|/usr/local|Formats an asc c2ps-a4-4.0_1|/usr/ports/print/c2ps-letter|/usr/local|A PostScript pre enscript-a4-1.6.4_4|/usr/ports/print/enscript-letter|/usr/local|ASCII html2ps-a4-1.0.b5_4,1|/usr/ports/print/html2ps-letter|/usr/local|HTML lprps-a4-2.5|/usr/ports/print/lprps-letter|/usr/local|PostScript print mp-a4-3.0.1|/usr/ports/print/mp-letter|/usr/local|A PostScript printin psutils-a4-1.17_2|/usr/ports/print/psutils-letter|/usr/local|Utilities The origins of the installed packages all correctly show the a4-version: $ pkg_info -qo psutils-a4-1.17_2 print/psutils-a4 Checking the version of the installed package against /usr/ports/INDEX-8 fails: $ pkg_version -vIL= -s psutils-a4-1.17_2 psutils-a4-1.17_2 ! Comparison failed At least in these cases "make index" picks the wrong combination of package name and originating port directory. >How-To-Repeat: add "A4=yes" and "PAPERSIZE=a4" to /etc/make.conf cd /usr/ports make index >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110280943.p9S9hwCq026289>