Re: FreeBSD 10.0-RC4 pkg upgrade QT conflict

2014-01-16 Thread CeDeROM
I have solved this issue with pkg delete -xf qt4-; pkg upgrade - all
packages now match binary release, no more conflicts.

I guess it was produced by compiling+installing some stuff from ports,
which introduced some inconsistency, even though WITH_PKGNG=yes was set
in /etc/make.conf...

Best regards :-)
Tomek



On Wed, Jan 15, 2014 at 12:47 PM, CeDeROM cede...@tlen.pl wrote:

 # uname -a
 FreeBSD mercury.rd.tp.pl 10.0-RC4 FreeBSD 10.0-RC4 #0 r260130: Tue Dec
 31 17:10:01 UTC 2013
 r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

 # pkg upgrade
 Updating repository catalogue
 Upgrades have been requested for the following 27 packages:

 Upgrading ImageMagick: 6.8.0.7_3 - 6.8.0.7_3,1
 Reinstalling docbook-1.4_1 (direct dependency changed)
 Reinstalling docbook-xsl-1.76.1_1 (direct dependency changed)
 Upgrading e2fsprogs-libuuid: 1.42.8 - 1.42.9
 Reinstalling gnome-doc-utils-0.20.10 (direct dependency changed)
 Upgrading libewf: 20131210 - 20131230
 Upgrading musicpd: 0.17.3_4 - 0.18.5
 Upgrading openjdk: 7.45.18 - 7.25.15_2,1
 Upgrading qt4-corelib: 4.8.5 - 4.8.5_1
 Upgrading qt4-qmake: 4.8.5 - 4.8.5_1
 Upgrading redland: 1.0.16 - 1.0.17
 Reinstalling xfce4-mpc-plugin-0.4.4_4 (direct dependency changed)
 Upgrading xfce4-whiskermenu-plugin: 1.3.0 - 1.3.1
 Installing qt4-opengl: 4.8.5
 Installing qt4-testlib: 4.8.5
 Installing qt4-clucene: 4.8.5
 Reinstalling mlt-0.9.0_2 (direct dependency changed)
 Upgrading qt4-qdbusviewer: 4.8.5 - 4.8.5_1
 Installing qt4-declarative: 4.8.5
 Installing qt4-webkit: 4.8.5_1
 Upgrading qt4-assistant: 4.8.5 - 4.8.5_1
 Upgrading qt4-linguist: 4.8.5 - 4.8.5_1
 Reinstalling qzeitgeist-0.8.0 (direct dependency changed)
 Reinstalling virtualbox-ose-4.2.20_2 (direct dependency changed)
 Reinstalling kdelibs-4.10.5_2 (direct dependency changed)
 Reinstalling kdenlive-0.9.6_2 (direct dependency changed)
 Reinstalling libkcddb-4.10.5 (direct dependency changed)

 The upgrade will require 32 MB more space

 0 B to be downloaded

 Proceed with upgrading packages [y/N]: y
 Checking integrity...pkg: WARNING: locally installed
 qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/QtDeclarative with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-opengl-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/QtOpenGL with:
 - qt4-opengl-4.8.5

 pkg: WARNING: locally installed qt4-qtestlib-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/QtTest with:
 - qt4-testlib-4.8.5

 pkg: WARNING: locally installed qt4-webkit-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/QtWebKit with:
 - qt4-webkit-4.8.5_1

 pkg: WARNING: locally installed qt4-qtestlib-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qbenchmark.h with:
 - qt4-testlib-4.8.5

 pkg: WARNING: locally installed qt4-qtestlib-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qbenchmarkmetric.h with:
 - qt4-testlib-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarative.h with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarativecomponent.h with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarativecontext.h with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarativedebug.h with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarativeengine.h with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarativeerror.h with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarativeexpression.h with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarativeextensioninterface.h with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarativeextensionplugin.h with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarativeimageprovider.h with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarativeinfo.h with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarativeitem.h with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarativelist.h with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/qdeclarativenetworkaccessmanagerfactory.h
 with:
 - qt4-declarative-4.8.5

 pkg: WARNING: locally 

Re: FreeBSD 10.0-RC4 pkg upgrade QT conflict

2014-01-16 Thread Freddie Cash
On Thu, Jan 16, 2014 at 5:26 AM, CeDeROM cede...@tlen.pl wrote:

 I have solved this issue with pkg delete -xf qt4-; pkg upgrade - all
 packages now match binary release, no more conflicts.

 I guess it was produced by compiling+installing some stuff from ports,
 which introduced some inconsistency, even though WITH_PKGNG=yes was set
 in /etc/make.conf...


​The inconsistency comes when you use a different ports tree (different
versions of things in the tree) than what was used to compile the binary
packages; or from selecting non-default OPTIONS when using the ports tree.

If you only use binary packages, there's no inconsistencies, as everything
is build at the same time, using the same ports tree and OPTIONS.

If you only use the ports tree to compile things, there's no
inconsistencies as everything is compiled (and kept up-to-date via
portmaster) using the same ports tree and OPTIONS.​

When you mix the two, inconsistencies abound.  Different ports tree lead to
different versions and/or differenet OPTIONS selected etc.

If you want to custom compile some ports, then using something like
ports-mgmt/poudriere to bulk build binary packages based on a local ports
tree is best.  That gives you the ease of upgrade/install of binary
packages, with the customisability of the ports tree, without any
inconsistencies.

​I used to be a die-hard ports tree user, customising every port and
tailoring everything to the machine.  Since pkg was released as stable,
though, I've compiled fewer and fewer ports.  My home desktop runs PC-BSD
using only binary packages, and the last 2 servers I've installed at work
have used only binary packages.  They really have come a long way ...​

-- 
Freddie Cash
fjwc...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

Re: FreeBSD 10.0-RC4 pkg upgrade QT conflict

2014-01-16 Thread CeDeROM
Hello and thank you for all suggestions :-)

What I mean is that PKG seems to be missing some good mechanism for
such conflict solution... and this situation WILL happen as users will
want to rebuild custom options of packages from a different port tree.

I have compiled by hand hpijs with network backend as my HP use
JetDirect and this is disabled by default. Because I have compiled a
port with WITH_PKGNG I assumed that PKG will be engaged and take care
of proper dependency management or refuse to install as this would
break binary dependencies tree. I was wrong.

I also assumed that PKG will manage to handle port renames, dependency
changes, etc. I was wrong.

+1 for PKG to be able to handle such situations either by simply
forcing to set port tree to version that would allow safe build (bad
for new ports, simple solution), or calculate dependencies so they
won't break current binary tree when newer ports are installed (good
for new ports, complex work for pkg) :-)

Long story short - there should be no conflict situation when I
install updated port build by hand :-)

Best regards :-)
Tomek


-- 
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: FreeBSD 10.0-RC4 pkg upgrade QT conflict

2014-01-16 Thread Freddie Cash
On Thu, Jan 16, 2014 at 8:41 AM, CeDeROM cede...@tlen.pl wrote:

 Hello and thank you for all suggestions :-)

 What I mean is that PKG seems to be missing some good mechanism for
 such conflict solution... and this situation WILL happen as users will
 want to rebuild custom options of packages from a different port tree.

 I have compiled by hand hpijs with network backend as my HP use
 JetDirect and this is disabled by default. Because I have compiled a
 port with WITH_PKGNG I assumed that PKG will be engaged and take care
 of proper dependency management or refuse to install as this would
 break binary dependencies tree. I was wrong.

 I also assumed that PKG will manage to handle port renames, dependency
 changes, etc. I was wrong.

 +1 for PKG to be able to handle such situations either by simply
 forcing to set port tree to version that would allow safe build (bad
 for new ports, simple solution), or calculate dependencies so they
 won't break current binary tree when newer ports are installed (good
 for new ports, complex work for pkg) :-)

 Long story short - there should be no conflict situation when I
 install updated port build by hand :-)


I believe a lot of that is planned for future releases, and that 1.3 goes a
long way toward that goal (released Real Soon Now).

However, I'm not directly involved in the development of pkg, so could be
way off in my predictions.  :)​​

-- 
Freddie Cash
fjwc...@gmail.com
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org

FreeBSD 10.0-RC4 pkg upgrade QT conflict

2014-01-15 Thread CeDeROM
# uname -a
FreeBSD mercury.rd.tp.pl 10.0-RC4 FreeBSD 10.0-RC4 #0 r260130: Tue Dec
31 17:10:01 UTC 2013
r...@snap.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64

# pkg upgrade
Updating repository catalogue
Upgrades have been requested for the following 27 packages:

Upgrading ImageMagick: 6.8.0.7_3 - 6.8.0.7_3,1
Reinstalling docbook-1.4_1 (direct dependency changed)
Reinstalling docbook-xsl-1.76.1_1 (direct dependency changed)
Upgrading e2fsprogs-libuuid: 1.42.8 - 1.42.9
Reinstalling gnome-doc-utils-0.20.10 (direct dependency changed)
Upgrading libewf: 20131210 - 20131230
Upgrading musicpd: 0.17.3_4 - 0.18.5
Upgrading openjdk: 7.45.18 - 7.25.15_2,1
Upgrading qt4-corelib: 4.8.5 - 4.8.5_1
Upgrading qt4-qmake: 4.8.5 - 4.8.5_1
Upgrading redland: 1.0.16 - 1.0.17
Reinstalling xfce4-mpc-plugin-0.4.4_4 (direct dependency changed)
Upgrading xfce4-whiskermenu-plugin: 1.3.0 - 1.3.1
Installing qt4-opengl: 4.8.5
Installing qt4-testlib: 4.8.5
Installing qt4-clucene: 4.8.5
Reinstalling mlt-0.9.0_2 (direct dependency changed)
Upgrading qt4-qdbusviewer: 4.8.5 - 4.8.5_1
Installing qt4-declarative: 4.8.5
Installing qt4-webkit: 4.8.5_1
Upgrading qt4-assistant: 4.8.5 - 4.8.5_1
Upgrading qt4-linguist: 4.8.5 - 4.8.5_1
Reinstalling qzeitgeist-0.8.0 (direct dependency changed)
Reinstalling virtualbox-ose-4.2.20_2 (direct dependency changed)
Reinstalling kdelibs-4.10.5_2 (direct dependency changed)
Reinstalling kdenlive-0.9.6_2 (direct dependency changed)
Reinstalling libkcddb-4.10.5 (direct dependency changed)

The upgrade will require 32 MB more space

0 B to be downloaded

Proceed with upgrading packages [y/N]: y
Checking integrity...pkg: WARNING: locally installed
qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/QtDeclarative with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-opengl-4.8.5 conflicts on
/usr/local/include/qt4/Qt/QtOpenGL with:
- qt4-opengl-4.8.5

pkg: WARNING: locally installed qt4-qtestlib-4.8.5 conflicts on
/usr/local/include/qt4/Qt/QtTest with:
- qt4-testlib-4.8.5

pkg: WARNING: locally installed qt4-webkit-4.8.5 conflicts on
/usr/local/include/qt4/Qt/QtWebKit with:
- qt4-webkit-4.8.5_1

pkg: WARNING: locally installed qt4-qtestlib-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qbenchmark.h with:
- qt4-testlib-4.8.5

pkg: WARNING: locally installed qt4-qtestlib-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qbenchmarkmetric.h with:
- qt4-testlib-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarative.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativecomponent.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativecontext.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativedebug.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativeengine.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativeerror.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativeexpression.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativeextensioninterface.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativeextensionplugin.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativeimageprovider.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativeinfo.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativeitem.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativelist.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativenetworkaccessmanagerfactory.h
with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativeparserstatus.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativeprivate.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on
/usr/local/include/qt4/Qt/qdeclarativeproperty.h with:
- qt4-declarative-4.8.5

pkg: WARNING: locally installed qt4-declarative-4.8.5 conflicts on

Re: FreeBSD 10.0-RC4 pkg upgrade QT conflict

2014-01-15 Thread Thierry Thomas
Le mer 15 jan 14 à 12:47:59 +0100, CeDeROM cede...@tlen.pl
 écrivait :

 Checking integrity...pkg: WARNING: locally installed
 qt4-declarative-4.8.5 conflicts on
 /usr/local/include/qt4/Qt/QtDeclarative with:
 - qt4-declarative-4.8.5

Please read UPGRADING (ore pkg upgrading).
-- 
Th. Thomas.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: FreeBSD 10.0-RC4 pkg upgrade QT conflict

2014-01-15 Thread Thierry Thomas
Le mer 15 jan 14 à 13:35:36 +0100, Thierry Thomas thie...@freebsd.org
 écrivait :

 Please read UPGRADING (ore pkg upgrading).

Ooops!
UPDATING / pkg updating !
-- 
Th. Thomas.
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org