make errors in net-snmp-5.3.1
currebt on amd64 cc -I../../include -I. -I../../agent -I../../agent/mibgroup -I../../snmplib -DAPPLLIB_EXP=/usr/local/lib/perl5/5.8.8/BSDPAN -DHAS_FPSETMASK -DHAS_FLOATINGPOINT_H -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -I/usr/local/lib/perl5/5.8.8/mach/CORE -DINET6 -O2 -fno-strict-aliasing -pipe -Dfreebsd8 -c mibII/tcpTable.c -fPIC -DPIC -o mibII/.libs/tcpTable.o mibII/tcpTable.c:94:1: warning: INP_NEXT_SYMBOL redefined In file included from ../../include/net-snmp/net-snmp-config.h:1585, from mibII/tcpTable.c:17: ../../include/net-snmp/system/freebsd.h:9:1: warning: this is the location of the previous definition mibII/tcpTable.c: In function 'tcpTable_load': mibII/tcpTable.c:746: error: 'struct xinpcb' has no member named 'xt_tp' mibII/tcpTable.c:750: error: 'struct xinpcb' has no member named 'xt_inp' *** Error code 1 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: HPLIP 2.7.9 Updated Port Skeleton
Several things: 1. The install procedure is a little screwy if you don't have any previous hplib installed 2. After installing everytime I try to print anything I get lpr: Unsupported format [mime type]! ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: NOPORTDOCS and man/info pages
On Fri, Oct 12, 2007 at 09:54:36AM -0400, Chess Griffin wrote: Hello- I am working on some small cleanup patches to a couple port Makefiles and had a few questions on how to handle man/info pages. I have come across a couple Makefiles that have something like this in post-install: .if defined(NOPORTDOCS) ... .else MAN1= portname.1 INFO= portname .endif It's my understanding after reading 5.9, 5.10, and 5.14.4 of the Porter's Handbook that the man and info page variables should be listed in the first part of the Makefile, before the .include bsd.port.pre.mk or .include bsd.port.mk for example. It also states in 5.14.4 that Note: NOPORTDOCS only controls additional documentation installed in DOCSDIR. It does not apply to standard man page and info pages. This statement seems to indicate that the above snippet would still install the man/info pages even if NOPORTDOCS was set. I have also seen where the manpage and info page are then also listed in pkg-plist, which I gather should not be the case according to 5.9 of the Porter's Handbook. So, my questions are: Is the above handling of the man and info pages correct? It seems the answer is no, but just thought I would check. Not really, but I guess there may be some special cases that warrant the handling (e.g. megabytes of manpages, etc.) How does one choose not to install man and info pages if NOPORTDOCS does not apply to them? I seem to recall that there is a NO_INSTALL_MANPAGES knob but am not sure if that's the answer or if there is a NO_INSTALL_INFOPAGES. Some people tried to respect some knobs, but in general we just always install manpages. As for infopages, we usually only install them when there are no manpages or if the manpages are insufficient. Is is correct procedure to never include man and info pages in the pkg-plist like Porter's Handbook states? Sometimes it's necessary to list manpages in plist. E.g. when there are different sets of manpages for different languages. MANLANG and MAN# can only handle one set across all languages. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Xorg initial resolution broken
Just restarted X after various Xorg updates. Now the server seems to be completely ignoring the Modes line in the config file's Screen/Display section and picking its own initial resolution. No problem switching to the desired resolution later on when logged in. Config and log files here: http://www.knigma.org.uk/scratch/resolution.txt This configuration has worked for years so I'm sure it's down to the Xorg update. Any ideas please? Cheers, -- Mark A. R. Knight finger: [EMAIL PROTECTED] Tel: +44 7880 556751http://www.knigma.org/ ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
opencascade /gcc-core compile error
Hi, I get this when trying to make opencascade. It stops during make of gcc-4.2-20071011 - maybe it's a broken port? In file included from ./tm.h:7, from .././..//gcc-4.2-20071011/gcc/genconstants.c:31: ./options.h:1000: error: redeclaration of enumerator `OPT_w' ./options.h:998: error: previous definition of 'OPT_w' was here ./options.h:1001: error: redeclaration of enumerator `OPT_v' ./options.h:999: error: previous definition of 'OPT_v' was here gmake[3]: *** [build/genconstants.o] Fel 1 gmake[3]: Leaving directory `/usr/ports/lang/gcc42/work/build/gcc' gmake[2]: *** [all-stage1-gcc] Fel 2 gmake[2]: Leaving directory `/usr/ports/lang/gcc42/work/build' gmake[1]: *** [stage1-bubble] Fel 2 gmake[1]: Leaving directory `/usr/ports/lang/gcc42/work/build' gmake: *** [bootstrap-lean] Fel 2 *** Error code 2 Stop in /usr/ports/lang/gcc42. *** Error code 1 Stop in /usr/ports/cad/opencascade. Regards, J ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Xorg initial resolution broken
Mark Knight wrote: Just restarted X after various Xorg updates. Now the server seems to be completely ignoring the Modes line in the config file's Screen/Display section and picking its own initial resolution. No problem switching to the desired resolution later on when logged in. Config and log files here: http://www.knigma.org.uk/scratch/resolution.txt This configuration has worked for years so I'm sure it's down to the Xorg update. Any ideas please? Cheers, Set PreferredMode and check for the Virtual screen size in the log, you might have to increase that to. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Weird problem with ports
Hello, First, let me note that I'm not subscribed to this list, so CC me. Now, about my problem. I've installed -CURRENT from the latest snapshot, it worked perfectly. Now, after 2 days with -CURRENT, for some reason all ports refuse to install, giving me weird errors. Example: (Inkscape is not installed, hence the src tarball is not in distfiles, etc.) lilly# cd /usr/ports/graphics/inkscape/ lilly# make install clean cd: can't cd to /usr/ports/graphics/inkscape/work/inkscape-0.45.1 *** Error code 2 === Cleaning for inkscape-0.45.1 1 error Another ixample, say, The GIMP: lilly# cd /usr/ports/graphics/gimp-app-devel/ lilly# make install clean cd: can't cd to /usr/ports/graphics/gimp-app-devel/work/gimp-2.4.0-rc3 *** Error code 2 1 error *** Error code 2 === Cleaning for gimp-app-2.4.0.r3_1,1 1 error Portupgrade is failing to upgrade ports with the same error. lilly# uname -a FreeBSD lilly.evo.bg 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Wed Oct 10 10:39:36 EEST 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LILLY i386 I guess I did something wrong, no idea. I asked in #freebsd, but the guys there told me that 1) they have no idea whats wrong; 2) it's -CURRENT, so I should expect such glitches. :-) Ideas? Thanks. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Missing libstdc++.so.6 for openoffice in stable
Brian Josefsen wrote: [LoN]Kamikaze wrote: Brian Josefsen wrote: Hello all I installed the openoffice package ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.3.0/i386/FreeBSD6/OOo_2.3.0_FreeBSD62Intel_install_da.tbz yesterday, now when i try to execute openoffice.org-2.3.0 it complaints about libstdc++.so.6 is missing. As far as i remember libstdc++.so.6 is part of GCC 4.2 and therefore first availible in -current. Now, am i a moron and got everything wrong, or is this an error by whoever built this package? I simply can't allow myself 2 days to build this one. You can install lang/gcc42 to get the file. Ok, never thought of that. Will that involve any problems for me if i upgrade to -CURRENT or 7-release when it's ready ? This will not cause problems, however the package will still be linked against lang/gcc42, because that's what it was built with. You have to build it on 7 to have it linked against base libraries. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Missing libstdc++.so.6 for openoffice in stable
[LoN]Kamikaze wrote: Brian Josefsen wrote: [LoN]Kamikaze wrote: Brian Josefsen wrote: Hello all I installed the openoffice package ftp://ooopackages.good-day.net/pub/OpenOffice.org/FreeBSD/2.3.0/i386/FreeBSD6/OOo_2.3.0_FreeBSD62Intel_install_da.tbz yesterday, now when i try to execute openoffice.org-2.3.0 it complaints about libstdc++.so.6 is missing. As far as i remember libstdc++.so.6 is part of GCC 4.2 and therefore first availible in -current. Now, am i a moron and got everything wrong, or is this an error by whoever built this package? I simply can't allow myself 2 days to build this one. You can install lang/gcc42 to get the file. Ok, never thought of that. Will that involve any problems for me if i upgrade to -CURRENT or 7-release when it's ready ? This will not cause problems, however the package will still be linked against lang/gcc42, because that's what it was built with. You have to build it on 7 to have it linked against base libraries. Thanks alot mate. It works, and this OOo is so much faster than any previus installation i've had, and it's in my native language. -- Best regards Brian Josefsen ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Weird problem with ports
On 2007-Oct-13 17:59:38 +0300, Luchezar Petkov [EMAIL PROTECTED] wrote: First, let me note that I'm not subscribed to this list, so CC me. Now, about my problem. I've installed -CURRENT from the latest snapshot, it worked perfectly. Now, after 2 days with -CURRENT, for some reason all ports refuse to install, giving me weird errors. Example: (Inkscape is not installed, hence the src tarball is not in distfiles, etc.) lilly# cd /usr/ports/graphics/inkscape/ lilly# make install clean cd: can't cd to /usr/ports/graphics/inkscape/work/inkscape-0.45.1 *** Error code 2 === Cleaning for inkscape-0.45.1 1 error Have you changed anything - particularly WRKDIRPREFIX in /etc/make.conf? Does /usr/ports/graphics/inkscape/work exist? If so, what are its contents (including hidden files)? What happens if you try just make instead of make install? 2) it's -CURRENT, so I should expect such glitches. :-) This definitely isn't true. -- Peter Jeremy pgp0cBociRhmb.pgp Description: PGP signature
Re: Weird problem with ports
Luchezar Petkov wrote: Hello, First, let me note that I'm not subscribed to this list, so CC me. Now, about my problem. I've installed -CURRENT from the latest snapshot, it worked perfectly. Now, after 2 days with -CURRENT, for some reason all ports refuse to install, giving me weird errors. Example: (Inkscape is not installed, hence the src tarball is not in distfiles, etc.) lilly# cd /usr/ports/graphics/inkscape/ lilly# make install clean cd: can't cd to /usr/ports/graphics/inkscape/work/inkscape-0.45.1 *** Error code 2 === Cleaning for inkscape-0.45.1 1 error make -j is broken on the 7-branch. Do you have something like MAKE_ARGS=-j4 in your make.conf? Weather this is the case or not, try to run make -B ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Weird problem with ports
[LoN]Kamikaze wrote: Luchezar Petkov wrote: Hello, First, let me note that I'm not subscribed to this list, so CC me. Now, about my problem. I've installed -CURRENT from the latest snapshot, it worked perfectly. Now, after 2 days with -CURRENT, for some reason all ports refuse to install, giving me weird errors. Example: (Inkscape is not installed, hence the src tarball is not in distfiles, etc.) lilly# cd /usr/ports/graphics/inkscape/ lilly# make install clean cd: can't cd to /usr/ports/graphics/inkscape/work/inkscape-0.45.1 *** Error code 2 === Cleaning for inkscape-0.45.1 1 error make -j is broken on the 7-branch. Do you have something like MAKE_ARGS=-j4 in your make.conf? Weather this is the case or not, try to run make -B Apparently that was the case. Afaik -j isnt working for ports, but is working for base and other apps the user is compiling by hand. Didn't knew it will break my whole ports system. :-) Thank you very much. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
quick fix for graphics/libpng
I just ran into not being able to install anything that depends on libpng because of the recently discovered security vulnerabilites: http://www.freebsd.org/ports/portaudit/172acf78-780c-11dc-b3f4-0016179b2dd5.html I scooped up a quick patch to upgrade the port to libpng-1.2.22rc1, which apparently fixes the vulnerabilities: http://www.securityfocus.com/bid/25957/solution I won't submit this to the PR database because I guess the maintainer is already aware of the issue and working on a proper fix. I'm just posting this here in case it comes in handy for someone. It compiles for me, so far nothing broke. YMMV. Index: Makefile === RCS file: /usr/ncvs/ports/graphics/png/Makefile,v retrieving revision 1.80 diff -u -r1.80 Makefile --- Makefile21 May 2007 11:21:09 - 1.80 +++ Makefile13 Oct 2007 15:26:54 - @@ -6,11 +6,12 @@ # PORTNAME= png -PORTVERSION= 1.2.18 +PORTVERSION= 1.2.22 +PORTREVISION= 1 CATEGORIES=graphics MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR=lib${PORTNAME} -DISTNAME= lib${PORTNAME}-${PORTVERSION} +DISTNAME= lib${PORTNAME}-${PORTVERSION}rc1 PATCH_SITES= ${MASTER_SITES} #PATCH_SITE_SUBDIR=${MASTER_SITE_SUBDIR} Index: distinfo === RCS file: /usr/ncvs/ports/graphics/png/distinfo,v retrieving revision 1.34 diff -u -r1.34 distinfo --- distinfo21 May 2007 11:21:09 - 1.34 +++ distinfo13 Oct 2007 15:29:51 - @@ -1,3 +1,3 @@ -MD5 (libpng-1.2.18.tar.bz2) = 25a7f2f101eaaf2eb18c4987e0fbe39d -SHA256 (libpng-1.2.18.tar.bz2) = 6fce62f9e67e951c38672bf520c062a2be742e893d240d150748a00c32f20c62 -SIZE (libpng-1.2.18.tar.bz2) = 623690 +MD5 (libpng-1.2.22rc1.tar.bz2) = 0b597c7f91eac87f3c300a8623f32208 +SHA256 (libpng-1.2.22rc1.tar.bz2) = 2f9c534ee6e2f49b5d69ce373e4a17cf643350ea63afcd94c6510d4625b830cc +SIZE (libpng-1.2.22rc1.tar.bz2) = 615355 Index: files/patch-aa === RCS file: /usr/ncvs/ports/graphics/png/files/patch-aa,v retrieving revision 1.29 diff -u -r1.29 patch-aa --- files/patch-aa 21 May 2007 11:21:09 - 1.29 +++ files/patch-aa 13 Oct 2007 15:52:15 - @@ -1,5 +1,5 @@ scripts/makefile.freebsd.orig Sat Feb 25 15:37:11 2006 -+++ scripts/makefile.freebsd Thu Jul 27 22:03:50 2006 +--- scripts/makefile.freebsd.orig Thu Jun 21 00:10:26 2007 scripts/makefile.freebsd Sat Oct 13 17:52:12 2007 @@ -8,27 +8,26 @@ LIB= png SHLIB_MAJOR= ${SHLIB_VER} @@ -9,8 +9,7 @@ +NO_OBJ= YES +.else NOPROFILE=YES --NOOBJ= YES -+NOOBJ=YES + NOOBJ= YES +.endif # where make install puts libpng.a and png.h @@ -29,14 +28,14 @@ LDADD+= -lm -lz DPADD+= ${LIBM} ${LIBZ} --CFLAGS+= -I. -DPNG_USE_PNGGCCRD +-CFLAGS+= -I. -.if (${MACHINE_ARCH} != i386) -CFLAGS+= -DPNG_NO_MMX_CODE -.endif - SRCS= png.c pngset.c pngget.c pngrutil.c pngtrans.c pngwutil.c \ pngread.c pngrio.c pngwio.c pngwrite.c pngrtran.c \ - pngwtran.c pngmem.c pngerror.c pngpread.c pnggccrd.c + pngwtran.c pngmem.c pngerror.c pngpread.c @@ -44,5 +43,23 @@ DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO writelock: Index: files/patch-ab === RCS file: /usr/ncvs/ports/graphics/png/files/patch-ab,v retrieving revision 1.7 diff -u -r1.7 patch-ab --- files/patch-ab 21 May 2007 11:21:09 - 1.7 +++ files/patch-ab 13 Oct 2007 15:42:48 - @@ -1,5 +1,5 @@ scripts/libpng.pc.in.orig Wed Jun 28 00:22:40 2006 -+++ scripts/libpng.pc.in Sun Jul 23 10:56:25 2006 +--- scripts/libpng.pc.in.orig Mon Oct 8 17:47:40 2007 scripts/libpng.pc.in Sat Oct 13 17:42:36 2007 @@ -1,10 +1,10 @@ [EMAIL PROTECTED]@ [EMAIL PROTECTED]@ @@ -12,7 +12,7 @@ Name: libpng Description: Loads and saves PNG files - Version: 1.2.18 + Version: 1.2.22rc1 -Libs: -L${libdir} -lpng12 +Libs: -L${libdir} -lpng -lz -lm Cflags: -I${includedir} Index: files/patch-ad === RCS file: /usr/ncvs/ports/graphics/png/files/patch-ad,v retrieving revision 1.2 diff -u -r1.2 patch-ad --- files/patch-ad 21 May 2007 11:21:09 - 1.2 +++ files/patch-ad 13 Oct 2007 15:45:33 - @@ -1,9 +1,9 @@ pngconf.h.orig Wed May 16 03:52:22 2007 -+++ pngconf.h Mon May 21 13:25:03 2007 -@@ -729,7 +729,7 @@ - * PNG_NO_MMX_CODE disables the use of MMX code without changing the API. - * When MMX code is off, then optimized C replacement functions are used. - */ +--- pngconf.h.orig Mon Oct 8 17:47:31 2007 pngconf.h Sat Oct 13 17:44:34 2007 +@@ -740,7 +740,7 @@ + # endif + #endif + -#if defined(PNG_READ_SUPPORTED) !defined(PNG_NO_ASSEMBLER_CODE) +#if
Re: quick fix for graphics/libpng
On Sat, Oct 13, 2007 at 06:10:34PM +0200, Stefan Sperling wrote: I just ran into not being able to install anything that depends on libpng because of the recently discovered security vulnerabilites: http://www.freebsd.org/ports/portaudit/172acf78-780c-11dc-b3f4-0016179b2dd5.html I scooped up a quick patch to upgrade the port to libpng-1.2.22rc1, which apparently fixes the vulnerabilities: http://www.securityfocus.com/bid/25957/solution I prefer to wait until 22 release. -- http://ache.pp.ru/ pgptwLibFyqa0.pgp Description: PGP signature
Re: Weird problem with ports
Luchezar Petkov wrote: [LoN]Kamikaze wrote: Luchezar Petkov wrote: Hello, First, let me note that I'm not subscribed to this list, so CC me. Now, about my problem. I've installed -CURRENT from the latest snapshot, it worked perfectly. Now, after 2 days with -CURRENT, for some reason all ports refuse to install, giving me weird errors. Example: (Inkscape is not installed, hence the src tarball is not in distfiles, etc.) lilly# cd /usr/ports/graphics/inkscape/ lilly# make install clean cd: can't cd to /usr/ports/graphics/inkscape/work/inkscape-0.45.1 *** Error code 2 === Cleaning for inkscape-0.45.1 1 error make -j is broken on the 7-branch. Do you have something like MAKE_ARGS=-j4 in your make.conf? Weather this is the case or not, try to run make -B Apparently that was the case. Afaik -j isnt working for ports, but is working for base and other apps the user is compiling by hand. Didn't knew it will break my whole ports system. :-) Thank you very much. It breaks buildkernel for me, too. This is why I think it's not a ports, but a make bug. ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]