Fixing broken dependencies
I used pkg_delete(1) to remove several unwanted ports but now portmanager reports them as missing because they are still listed as in the +CONTENTS of other packages, e.g. I pkg_delete'd koffice but portmanager now lists it as MISSING because it is still listed in the +CONTENTS of the kde meta-port as a @pkgdep. What is the best way to fix this? If I run ``portmanager -u'' to upgrade all the ports I suspect that it will simply reinstall all the ports it considers are missing. I'm sure I know how to do this, but I can't remember :( Thanks. Regards, Mark ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mah/R build error
hi. i got an error when i upgrade math/R to 2.4.0 --- mkdir /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/bin/exec mkdir /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/lib cc -I. -I../../src/include -I../../src/include -I/usr/local/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -fpic -O2 -fno-str ict-aliasing -pipe -c Rmain.c -o Rmain.o cc -export-dynamic -L/usr/local/lib -o R.bin Rmain.o -L../../lib -lR Rmain.o(.text+0x19): In function `main': : undefined reference to `R_running_as_main_program' *** Error code 1 Stop in /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/src/main. *** Error code 1 Stop in /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/src/main. *** Error code 1 Stop in /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/src. *** Error code 1 Stop in /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0. *** Error code 1 Stop in /usr/ports/math/R. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.43565.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=R-2.2.1 UPGRADE_PORT_VER=2.2.1 make ** Fix the problem and try again. --- could you help to fix this? thank you. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: autotools problems
On Friday 29 December 2006 16:01, Mike Durian wrote: > > I have added /usr/local/gnu-autotools/bin to the head of my PATH, but > get errors about: > macro `AM_PROG_LIBTOOL' not found in library > Libtool library used but `LIBTOOL' is undefined > etc. > I've seen posts where other people have reported similar erros, > but I've never seen a solution. I have re-installed all autotool and > gnu-auto* ports and verified there is nothing too stale in > /usr/local/share/aclocal. I think I have identified the root of my problems. The LIBTOOL definitions are found in libtool.m4 and libtool.m4 is found in /usr/local/share/aclocal. However, neither gnu-autotools/bin/aclocal nor aclocal19 search /usr/local/share/aclocal by default. They only search /usr/local/gnu-autotools/share/aclocal-1.9 and /usr/local/share/aclocal19 respectively. To get either of these tools to find libtool.m4, I needed to use "-I /usr/local/share/aclocal" as an argument to aclocal. Doing this allows either aclocal to expand the LIBTOOL macros, but also gives many warning about underquoted references found in other .m4 files in /usr/local/share/aclocal, so I'm not sure my solution is the best one. I'll be submitting a PR containing a new port for mod_cplusplus now that I've got it building. mike ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Fixing broken dependencies
Mark Ovens wrote: > I used pkg_delete(1) to remove several unwanted ports but now > portmanager reports them as missing because they are still listed as in > the +CONTENTS of other packages Interesting that portmanager does that check. Currently portmaster does not, is it something that people would find useful? Perhaps as part of -l, or -a? Personally, I sometimes do exactly what you're talking about here myself with pkg_delete, and wouldn't want portmaster to complain about something being "missing" that I'd intentionally deleted. But that's just me. :) That said, I already have an "expunge" command that deals with the port, and all of its distfiles. I recently added functionality to portmaster to NOT do the pkg_delete if the port has dependencies listed in other port's contents files (since I think this is the best anti-foot-shooting behavior for the general user). Would it be useful to add an option for "extreme expunge" that first removes all dependency entries, then pkg_delete's the port itself? > What is the best way to fix this? If I run ``portmanager -u'' to upgrade > all the ports I suspect that it will simply reinstall all the ports it > considers are missing. > > I'm sure I know how to do this, but I can't remember :( I would do something like this. (Watch out for line wrap.) for file in /var/db/pkg/*/+CONTENTS; do egrep -v "@pkgdep koffice|DEPORIGIN:editors/koffice-kde3" $file > $file.grep && mv $file.grep $file done hth, Doug -- This .signature sanitized for your protection ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mah/R build error
On Sat, Dec 30, 2006 at 11:33:11PM +0800, lveax wrote: > hi. > > i got an error when i upgrade math/R to 2.4.0 > > --- > mkdir /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/bin/exec > mkdir /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/lib > cc -I. -I../../src/include -I../../src/include > -I/usr/local/include -DHAVE_CONFIG_H -D__NO_MATH_INLINES -fpic -O2 > -fno-str > ict-aliasing -pipe -c Rmain.c -o Rmain.o > cc -export-dynamic -L/usr/local/lib -o R.bin Rmain.o -L../../lib -lR > Rmain.o(.text+0x19): In function `main': > : undefined reference to `R_running_as_main_program' > *** Error code 1 > > Stop in /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/src/main. > *** Error code 1 > > Stop in /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/src/main. > *** Error code 1 > > Stop in /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0/src. > *** Error code 1 > > Stop in /usr/home/.system/portsbuild/usr/ports/math/R/work/R-2.4.0. > *** Error code 1 > > Stop in /usr/ports/math/R. > ** Command failed [exit code 1]: /usr/bin/script -qa > /tmp/portupgrade.43565.0 env UPGRADE_TOOL=portupgrade > UPGRADE_PORT=R-2.2.1 > UPGRADE_PORT_VER=2.2.1 make > ** Fix the problem and try again. > --- > > could you help to fix this? Remove R-2.2.1 and install it again. Its a problem with R < 2.3. Regards, Rong-En Fan > > thank you. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ports/98533: devel/subversion: build/linking problem on 7-current
works fine here. subversion version: 1.4.2 $ sysctl kern.osreldate kern.osreldate: 700027 --- Erwin Lansing <[EMAIL PROTECTED]> wrote: > Synopsis: devel/subversion: build/linking problem on > 7-current > > State-Changed-From-To: open->feedback > State-Changed-By: erwin > State-Changed-When: Fri Dec 29 15:56:29 UTC 2006 > State-Changed-Why: > I just successfully built subversion 1.4.2 on todays > 7-CURRENT. Can you confirm that this still is a > problem > on a recent -CURRENT and an uptodate ports tree? > > http://www.freebsd.org/cgi/query-pr.cgi?pr=98533 > -- Etienne Robillard <[EMAIL PROTECTED]> JID: incidah AT njs.netlab.cz YMS/MSN: granted14 AT yahoo.com TEL: +1 514.962.7703 URL: http://www.assembla.com/wiki/show/stn-portfolio/ __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: www/libwww and SSL
Paul Schmehl wrote: > What I want isn't really relevant. I'm simply suggesting that updating > the port to include an OPTION for with_ssl seems unnecessary *unless* > someone is going to port sipX. Have you looked at sipX? Porting it > would not be simple, and I wonder how much demand there would be. In > any case, *unless* sipX gets ported, it doesn't make sense to me to > update www/libwww simply to enable an option no one has asked for until > now. OTOH, what harm does it cause? Doug -- This .signature sanitized for your protection ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"