Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Sep 2014 16:43:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193527] [patch] bsd.port.mk: check-already-installed hitting conflicts with ports that have same PKGBASE
Message-ID:  <bug-193527-13-bK6kQjkoFe@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193527-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193527-13@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=193527

--- Comment #3 from John Hein <z7dr6ut7gs@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@redhat.com for discussion.
==================

-- 
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-193527-13-bK6kQjkoFe>