Proposal: USE_GNU89 switch
Hi folks, As some of you may have heard, Erwin Lansing (droso) has been helping us folks from the FreeBSD-Clang project [1] to build an entire ports tree with Clang. Even though we're hitting some compiler bugs (crashes, miscompilations, etc), things have been going very good. We noticed there is a certain class of build errors we're seeing, namely related to GNU or ISO C99 style inlining. GCC supported the `inline' keyword long before ISO standardized it, but unfortunately the semantics between GNU and ISO C99 style inlining are not the same. GCC solved this by using ISO C99 style inlining, only when -std=c99 or -std=gnu99 is passed to the compiler. By default it will use -std=gnu89. Clang does a good job at emulating this, but the difference is that it uses gnu99 by default. This is very good in my opinion. ISO C99 is 10 years old. We've noticed some ports (probably less than 100) really depend on GNU-style inlining. One option would be to just ignore the issue, but this will cause problems in the future anyway (by the time GCC itself will switch to gnu99). This is why I'm proposing a USE_GNU89 switch, to force the ports framework to add -std=gnu89 to the CFLAGS. I've been looking through /usr/ports/Mk. I suspect such a switch should be added to bsd.gcc.mk? I'm sending this message to gerald@ as well, because I've been told he is the maintainer of various GCC related bits. -- Ed Schouten e...@80386.nl WWW: http://80386.nl/ [1] http://wiki.freebsd.org/BuildingFreeBSDWithClang pgp6NZIfzLg1K.pgp Description: PGP signature
Re: unable to build openoffice.org-3
On Fri, 29 May 2009, Oliver Lehmann wrote: Stephen Montgomery-Smith wrote: I had a report from someone who told me that deleting the cppunit port (if you have it installed) would help in this situation. yeah - this did the trick Same problem and solution for openoffice.org-3-devel. -Warren Block * Rapid City, South Dakota USA ___ 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
finding where a make variable is set
Given: huff@ pd /usr/ports/editors/openoffice.org-3 /usr/ports/editors/openoffice.org-3 /var/db/pkg huff@ make -V CP /bin/cp how do I track down where CP gets set? It isn't in the Makefile itself; is it in /usr/share/mk/*.mk? Robert Huff ___ 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: Proposal: USE_GNU89 switch
Ed Schouten píše v pá 29. 05. 2009 v 14:36 +0200: This is why I'm proposing a USE_GNU89 switch, to force the ports framework to add -std=gnu89 to the CFLAGS. Placing CFLAGS+= -std=gnu89 would not work? Would the flag do anything else except adding to CFLAGS? -- Pav Lucistnik p...@oook.cz p...@freebsd.org Me go and see Elves and all! Hooray! signature.asc Description: Toto je digitálně podepsaná část zprávy
Re: Proposal: USE_GNU89 switch
* Pav Lucistnik p...@freebsd.org wrote: Placing CFLAGS+= -std=gnu89 would not work? Would the flag do anything else except adding to CFLAGS? Well, it could work, but maybe it would be nice to make it compiler agnostic. -- Ed Schouten e...@80386.nl WWW: http://80386.nl/ pgpoaGOme1njw.pgp Description: PGP signature
Re: finding where a make variable is set
On Friday 29 May 2009 18:04:49 Robert Huff wrote: Given: huff@ pd /usr/ports/editors/openoffice.org-3 /usr/ports/editors/openoffice.org-3 /var/db/pkg huff@ make -V CP /bin/cp how do I track down where CP gets set? It isn't in the Makefile itself; is it in /usr/share/mk/*.mk? % for f in `make -C /usr/ports/sysutils/pstree -V .MAKEFILE_LIST | sed -e 's/\.\.//g'`; do pcregrep -sl '^CP\s*[:\?\+]?=' $f; done /usr/ports/Mk/bsd.commands.mk -- Mel ___ 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: ports/13472: commit references a PR
The following reply was made to PR ports/13472; it has been noted by GNATS. From: dfil...@freebsd.org (dfilter service) To: bug-follo...@freebsd.org Cc: Subject: Re: ports/13472: commit references a PR Date: Fri, 29 May 2009 19:26:01 + (UTC) miwi2009-05-29 19:25:49 UTC FreeBSD ports repository Modified files: devel/p5-Class-XSAccessor-Array Makefile distinfo Log: - Update to 1.02 PR: 13472 Submitted by: Cezary Morga c...@therek.net (maintainer) Revision ChangesPath 1.2 +1 -1 ports/devel/p5-Class-XSAccessor-Array/Makefile 1.2 +3 -3 ports/devel/p5-Class-XSAccessor-Array/distinfo ___ cvs-...@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to cvs-all-unsubscr...@freebsd.org ___ 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: finding where a make variable is set
Robert Huff wrote: Given: huff@ pd /usr/ports/editors/openoffice.org-3 /usr/ports/editors/openoffice.org-3 /var/db/pkg huff@ make -V CP /bin/cp how do I track down where CP gets set? It isn't in the Makefile itself; is it in /usr/share/mk/*.mk? Would it be likely that, if you grepped in the /usr/ports/Mk directory, that the entry in bsd.commands.mk might have the entry you're interested in? Least, that's a BSD Make template file which does this, but if that part of your build is done via GNU Make, or CMake, something like that, I might be wrong here. You'd have to tell me what make tool you're talking about. Robert Huff ___ 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-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
graphics/libungif - graphics/giflib
Hi FreeBSD port maintaners, It seems that libungif project name was changed to giflib at sourceforge.net http://sourceforge.net/projects/libungif/ is not valid URL anymore. Now the project is at http://sourceforge.net/projects/giflib If you agree, I can send a new shar file with the portname giflib and new version (4.1.6) But this will require changes all packages Makefile using libungif or we can create a simple Makefile under graphics/libungif which points to the graphics/giflib. But I prefer the change portname libungif to giflib on all ports tree? (I mean, If it is OK, I can do that ;)) Thanks. -- Ismail YENIGUL Endersys Ltd. Phone :+90 216-4709423 | Mobile:+90 533 747 36 65 Fax :+90 216-4709508 | web: http://www.endersys.com.tr Endersys blog açıldı. http://blog.endersys.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: graphics/libungif - graphics/giflib
Ismail YENIGUL wrote: Hi FreeBSD port maintaners, It seems that libungif project name was changed to giflib at sourceforge.net http://sourceforge.net/projects/libungif/ is not valid URL anymore. Now the project is at http://sourceforge.net/projects/giflib If you agree, I can send a new shar file with the portname giflib and new version (4.1.6) But this will require changes all packages Makefile using libungif or we can create a simple Makefile under graphics/libungif which points to the graphics/giflib. But I prefer the change portname libungif to giflib on all ports tree? (I mean, If it is OK, I can do that ;)) You should file a pr, if we are going to move it, it would involve a repo copy. -- 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Philip M. Gollucci (pgollu...@p6m7g8.com) c: 703.336.9354 Consultant - P6M7G8 Inc.http://p6m7g8.net Senior Sys Admin- RideCharge, Inc. http://ridecharge.com Contractor - PositiveEnergyUSA http://positiveenergyusa.com ASF Member - Apache Software Foundation http://apache.org FreeBSD Committer - FreeBSD Foundation http://freebsd.org Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ 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
portsnap can't access portsnap[124].freebsd.org
I installed 7.2-RELEASE yesterday. That was my second day's effort on getting through the anti-intuitive mess of the installer. I swear if 8.0 doesn't have a considerably better installer, I'll either stay with 7-STABLE or try to cvsup to 8.0-RELEASE. I've suffered through the process with 5.2.1, 5.3, 6.1, and now 7.2, and I sure as hell am *not* going to do it again. However, 7.2-RELEASE is up and running. I've csuped to 7-STABLE for everything except the ports tree. The ports tree I skipped because I usually use portsnap instead. I've made buildworld and a new, somewhat tailored kernel, installed the new kernel, made installworld, and so on. This afternoon I tried to run portsnap fetch and ran into a problem. Although portsnap[1-4].freebsd.org respond to pings, portsnap says it can't get keys from portsnap[124].freebsd.org. (It apparently does not attempt to get them from portsnap.freebsd.org or portsnap3.freebsd.org.) Here's a typescript of what happens. Script started on Fri May 29 19:33:32 2009 hellas# portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching public key from portsnap1.FreeBSD.org... failed. Fetching public key from portsnap2.FreeBSD.org... failed. Fetching public key from portsnap4.FreeBSD.org... failed. No mirrors remaining, giving up. hellas# exit exit Script done on Fri May 29 19:33:46 2009 Can anyone tell me what the problem is? Is some portsnap service not operational at freebsd.org currently for some reason? Is the up-to-date portsnap trying to reach the wrong systems? I've now done most of the other configuration tasks for now and need to start installing quite a few packages and ports, some of which take quite a while to build (e.g., the ATLAS library, gdl), so I'd like to get going on that process, but I'd like them to be up-to-date, including a number of desktop X/Windomaker applications that are currently missing from my workspace and all of Robert Noland's frequent fixes to X.org. Thanks in advance for any help getting past this obstacle. Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army. * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ 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: portsnap can't access portsnap[124].freebsd.org
On Fri, May 29, 2009 at 8:59 PM, Scott Bennett benn...@cs.niu.edu wrote: [snip] Script started on Fri May 29 19:33:32 2009 hellas# portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching public key from portsnap1.FreeBSD.org... failed. Fetching public key from portsnap2.FreeBSD.org... failed. Fetching public key from portsnap4.FreeBSD.org... failed. No mirrors remaining, giving up. hellas# exit exit Script done on Fri May 29 19:33:46 2009 Can anyone tell me what the problem is? Is some portsnap service not operational at freebsd.org currently for some reason? Is the up-to-date portsnap trying to reach the wrong systems? [snip] Scott, I was able to do a 'fetch' using portsnap a little over an hour ago, as well as just now (10:15PM EDT). I successfully fetched from 'portsnap2'. Can you paste the 'ANSWER SECTON' from: 'dig portsnap2.freebsd.org' -- Glen Barber ___ 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: portsnap can't access portsnap[124].freebsd.org
On Fri, 29 May 2009 22:17:25 -0400 Glen Barber glen.j.bar...@gmail.com wrote: On Fri, May 29, 2009 at 8:59 PM, Scott Bennett benn...@cs.niu.edu wrote: [snip] Script started on Fri May 29 19:33:32 2009 hellas# portsnap fetch Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching public key from portsnap1.FreeBSD.org... failed. Fetching public key from portsnap2.FreeBSD.org... failed. Fetching public key from portsnap4.FreeBSD.org... failed. No mirrors remaining, giving up. hellas# exit exit Script done on Fri May 29 19:33:46 2009 =A0 =A0 Can anyone tell me what the problem is? =A0Is some portsnap servi= ce not operational at freebsd.org currently for some reason? =A0Is the up-to-dat= e portsnap trying to reach the wrong systems? [snip] Scott, I was able to do a 'fetch' using portsnap a little over an hour ago, as well as just now (10:15PM EDT). I successfully fetched from 'portsnap2'. Can you paste the 'ANSWER SECTON' from: 'dig portsnap2.freebsd.org' Sure, but I'm curious to know why. The names all do resolve to A RRs, and pings to each by name did get echos back. Here it is, although I did terminate the domain name by habit. Surely portsnap must not be so silly as to pass unterminated names to the resolver. (Actually, I'm including the whole output, not just the answer section.) ; DiG 9.4.3-P2 portsnap2.freebsd.org. a ;; global options: printcmd ;; Got answer: ;; -HEADER- opcode: QUERY, status: NOERROR, id: 59849 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;portsnap2.freebsd.org. IN A ;; ANSWER SECTION: portsnap2.freebsd.org. 3600IN A 72.21.59.250 ;; Query time: 41 msec ;; SERVER: 68.87.72.130#53(68.87.72.130) ;; WHEN: Fri May 29 23:37:03 2009 ;; MSG SIZE rcvd: 55 I also just now tried a portsnap fetch again and got the same result as before. Scott Bennett, Comm. ASMELG, CFIAG ** * Internet: bennett at cs.niu.edu * ** * A well regulated and disciplined militia, is at all times a good * * objection to the introduction of that bane of all free governments * * -- a standing army. * *-- Gov. John Hancock, New York Journal, 28 January 1790 * ** ___ 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