Why would a port use its own existence as an excuse to fail install?
David Wolfskill
david at catwhisker.org
Sun Feb 16 03:31:27 UTC 2014
Silly me -- I thought today might be a good day to upgrade X.org on my
laptop to the NEW_XORG.
Laptop is running:
FreeBSD g1-251.catwhisker.org 9.2-STABLE FreeBSD 9.2-STABLE #670 r261880M/261884:902506: Fri Feb 14 04:50:27 PST 2014 root at g1-251.catwhisker.org:/usr/obj/usr/src/sys/CANARY i386
I would have updated it this morning, but there were to updates to
stable/9 as of r261913 (which is the current state of my local
private mirror).
Ports is at r344370; I've been using pkgng on the machine for about
a week (though I still build ports, usually using portmaster.
Here's an example of the Subject....
One of the ports to be updated (based on the process documented in
ports/UPDATING 20131216) was textproc/clucene-qt4.
So (cut/paste from typescript):
===>>> textproc/clucene-qt4 3/5
0;portmaster: textproc/clucene-qt4 3/5^G
===>>> Port directory: /usr/ports/textproc/clucene-qt4
===>>> Starting check for build dependencies
===>>> Gathering dependency list for textproc/clucene-qt4 from ports
===>>> Dependency check complete for textproc/clucene-qt4
===>>> textproc/clucene-qt4 3/5
0;portmaster: textproc/clucene-qt4 3/5^G
===> Cleaning for qt4-clucene-4.8.5
===> License LGPL21 accepted by the user
===> qt4-clucene-4.8.5 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by qt4-clucene-4.8.5 for building
===> Extracting for qt4-clucene-4.8.5
===> Patching for qt4-clucene-4.8.5
===> Applying extra patch /common/ports/devel/qt4/files/extrapatch-configure
===> Applying FreeBSD patches for qt4-clucene-4.8.5
===> qt4-clucene-4.8.5 depends on file: /usr/local/lib/qt4/libQtCore.so - found
===> qt4-clucene-4.8.5 depends on file: /usr/local/bin/qmake-qt4 - found
===> Configuring for qt4-clucene-4.8.5
/bin/mkdir -p /common/ports/textproc/clucene-qt4/work/qt-everywhere-opensource-src-4.8.5/mkspecs
/bin/ln -sf /usr/local/bin/qmake-qt4 /common/ports/textproc/clucene-qt4/work/qt-everywhere-opensource-src-4.8.5/bin/qmake
This is the Open Source Edition.
...
Build type: /common/local/share/qt4/mkspecs/freebsd-g++
Architecture: i386
...
Finding project files. Please wait...
WARNING: /common/ports/textproc/clucene-qt4/work/qt-everywhere-opensource-src-4.8.5/projects.pro:46: Unable to find file for inclusion doc/doc.pri
Reading /common/ports/textproc/clucene-qt4/work/qt-everywhere-opensource-src-4.8.5/assistant
...
===>>> Starting check for runtime dependencies
===>>> Gathering dependency list for textproc/clucene-qt4 from ports
===>>> Dependency check complete for textproc/clucene-qt4
===>>> textproc/clucene-qt4 3/5
0;portmaster: textproc/clucene-qt4 3/5^G
===> Staging for qt4-clucene-4.8.5
===> Generating temporary packing list
install -m 755 -p "../../../../lib/libQtCLucene.so.4.8.5" "/common/ports/textproc/clucene-qt4/work/stage/usr/local/lib/qt4/libQtCLucene.so.4.8.5"
...
sed -e "s,/common/ports/textproc/clucene-qt4/work/qt-everywhere-opensource-src-4.8.5/include,/usr/local/include/qt4,g" -e "s,/common/ports/textproc/clucene-qt4/work/qt-everywhere-opensource-src-4.8.5/lib,/usr/local/lib/qt4,g" -e "s,/common/ports/textproc/clucene-qt4/work/qt-everywhere-opensource-src-4.8.5,/usr/local,g" "../../../../lib/pkgconfig/QtCLucene.pc" >"/common/ports/textproc/clucene-qt4/work/stage/usr/local/libdata/pkgconfig/QtCLucene.pc"
====> Compressing man pages (compress-man)
===> Installing ldconfig configuration file
===> Installing for qt4-clucene-4.8.5
===> Registering installation for qt4-clucene-4.8.5
Installing qt4-clucene-4.8.5...pkg-static: qt4-clucene-4.8.5 conflicts with qt4-clucene-4.8.5 (installs files into the same place). Problematic file: /usr/local/lib/qt4/libQtCLucene.la
*** [fake-pkg] Error code 70
Stop in /common/ports/textproc/clucene-qt4.
===>>> Installation of qt4-clucene-4.8.5 (textproc/clucene-qt4) failed
===>>> Aborting update
===>>> Update for textproc/clucene-qt4 failed
===>>> Aborting update
===>>> Killing background jobs
Terminated
So that "Installing qt4-clucene-4.8.5...pkg-static: qt4-clucene-4.8.5
conflicts with qt4-clucene-4.8.5 (installs files into the same
place). Problematic file: /usr/local/lib/qt4/libQtCLucene.la" is what
I was going on about. That really seems like about the lamest excuse
for failing an install that I could imagine....
Eventually, it will probably become moot, as I'll (eventually)
migrate to stable/10, and go through the deinstall-all-ports, then
reinstall-all-ports exercise.... but, seriously...? What's causing this?
How do I make it stop?
Peace,
david
--
David H. Wolfskill david at catwhisker.org
Taliban: Evil cowards with guns afraid of truth from a 14-year old girl.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 964 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20140215/5c016474/attachment.sig>
More information about the freebsd-ports
mailing list