[Bug 193527] [patch] bsd.port.mk: check-already-installed hitting conflicts with ports that have same PKGBASE

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Sep 10 16:43:07 UTC 2014


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193527

--- Comment #3 from John Hein <z7dr6ut7gs at snkmail.com> ---
Could be, but what's the breakage?

sh -xc 'cd /usr/ports/devel/glib12; make -V PKGBASE -V PKGORIGIN ; cd ../glib20
; make -V PKGBASE -V PKGORIGIN; pkg info -q -O glib12 ; pkg info -q -O glib;
pkg info -q -O devel/glib12 ; pkg info -q -O devel/glib20'
+ cd /usr/ports/devel/glib12
+ make -V PKGBASE -V PKGORIGIN
glib12
devel/glib12
+ cd ../glib20
+ make -V PKGBASE -V PKGORIGIN
glib
devel/glib20
+ pkg info -q -O glib12
+ pkg info -q -O glib
glib-1.2.10_13
glib-2.36.3_4
+ pkg info -q -O devel/glib12
glib-1.2.10_13
+ pkg info -q -O devel/glib20
glib-2.36.3_4



Notice that 'pkg info -q -O glib' returns two results.  I still think that's a
bug with -O (since it's not getting an origin specification and still returning
something).  But that's the command that check-already-installed is using, and
that's why I hit the glib error.

glib12 was installed from a fresh ports tree yesterday.  The full info is:

================
pkg info -f -x glib-1.2.10_13
glib-1.2.10_13
Name           : glib
Version        : 1.2.10_13
Installed on   : Tue Sep  9 13:50:16 MDT 2014
Origin         : devel/glib12
Architecture   : freebsd:8:x86:32
Prefix         : /usr/local
Maintainer     : unknown
WWW            : http://www.gtk.org/
Comment        : Some useful routines of C programming (previous stable
version)
Shared Libs provided:
        libgthread-12.so.3
        libgmodule-12.so.3
        libglib-12.so.3
Flat size      : 554KiB
Description    :
This is GLib version 1.2.  GLib, is a library which includes support
routines for C such as lists, trees, hashes, memory allocation, and
many other things.

WWW: http://www.gtk.org/
ftp://ftp.gtk.org/pub/gtk

A mailing list is located at gtk-list at redhat.com for discussion.
==================

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list