[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

help with new port

This morning I submitted a new port for xxdiff.  This afternoon I
experienced a problem I saw once before but couldn't get it to repeat.  
On my machine i did a 'make distclean' and then a 'make package'.  Here is
what I got:

banky# make package
===> Checking files for xxdiff-1.9.1
>> xxdiff-1.9.1.src.tar.gz doesn't seem to exist on this system.
>> Attempting to fetch /usr/ports/distfiles/xxdiff-1.9.1.src.tar.gz from http://download.sourceforge.net/xxdiff/.
Requesting http://download.sourceforge.net/xxdiff/xxdiff-1.9.1.src.tar.gz
100% |**************************************************|  1483 KB    00:27    
Successfully retrieved file.
>> Checksum OK for xxdiff-1.9.1.src.tar.gz. (sha1)
===>  xxdiff-1.9.1 depends on: bison - found
===>  xxdiff-1.9.1 depends on: gmake - found
===>  xxdiff-1.9.1 depends on: qt.2 - not found
===>  Verifying install for qt.2 in x11/qt2
===>  qt2-2.4 depends on: png.1. - found
===>  qt2-2.4 depends on: mng.1. - found
===>  Installing qt2-2.4 from /usr/ports/packages/i386/All/qt2-2.4.tgz
pkg_add: package `qt2-2.4' already recorded as installed
*** Error code 1

Stop in /usr/ports/x11/qt2 (line 1444 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/textproc/xxdiff (line 1907 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

Stop in /usr/ports/textproc/xxdiff (line 1158 of /usr/ports/infrastructure/mk/bsd.port.mk).

Okay, that is weird, qt2 is installed and working on my system.

banky# pkg_info -a | grep qt2
qt2-2.4            C++ X11 GUI toolkit
banky# pkg_info -L qt2-2.4
Information for qt2-2.4:

[snip....removed long listing of files]

banky# ls -la /usr/local/lib/qt2/libqt.so.2.24
-r--r--r--  1 root  bin  7328158 Mar  9 22:25 /usr/local/lib/qt2/libqt.so.2.24

So everything is there.  This worked this morning.  In the Makefile for
the xxdiff port I have the LIB_DEPENDS set to:

LIB_DEPENDS=    qt.2.::x11/qt2

which is what xglobe uses when the FLAVOR is set to qt2.  xglobe is showing
the same signs.

Deinstalling the qt2-2.4 package, running a make clean && make
install. then going back to the xglobe or xxdiff installs works just fine.

I notice that the qt2 is now at 2.3.0.  I will try a cvs update and see
what happens.


dan weeks - codemonkey

Virgo: (Aug. 23--Sept. 22) 
It's not true that nobody understands your pain. After all, 
you've been telling people about it for years.

Visit your host, monkey.org