Re: boost-python-libs and associated compile errors -SOLVED
[Repeating part of thread here to return to the mailing list] 2009/9/3 David Southwell da...@vizion2000.net: dns1# md5 /usr/include/c++/4.2/bits/gthr-default.h MD5 (/usr/include/c++/4.2/bits/gthr-default.h) = 2195ca86c1ea76936a87adabe52e461b Well, this is the same as my. Compiler/header inconsistence version fails. have no ideas currently, what causes your issue. I'll try to update the ports and build openbabel to see if this is very recent failure. Sincerely, Alexander Churanov, maintainer of devel/boost-* this is an amd64 on intel quad 4 I do not know if that has anything to do with it!! David I do not know too, but this may be the reason. I'll try to rebuild latest openbabel on amd64. By the way on i386 it had rebuilt flawlessly and boost-python-libs too. Sincerely, Alexander Churanov, I wondered if it could have anything to do with gnome so I did a package delete of gnome2-2.26.3 and a rebuild of its dependency tree (-frR) and guess what boost-python-libs then compiled without a problem!! Thanks everyone for the input __ it is really appreciated and I am so glad to be able to put this one to rest. David I should have mentioned that openbabel kdeedu4 also then compiled without problem. I have no idea what caused the original failure or how the cure could have been connected to the recompiling of gnome2-2.26.3. However I can report that immediately before the recompile I again tried to compile boost-python- libs and it then failed with errors identical to those copied into this thread. David ___ 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
strange patch bug @ stable/8 ?
Dear colleagues, on fresh RELENG_8/amd64 (lang/php5 distfile required): Script started on Sat Sep 5 15:09:18 2009 ma...@hamster:~/ports/patch-bug tar xjf /usr/ports/distfiles/php-5.2.10.tar.bz2 ma...@hamster:~/ports/patch-bug fetch 'http://php-fpm.org/downloads/php-5.2.10-fpm-0.5.13.diff.gz' php-5.2.10-fpm-0.5.13.diff.gz 0% of 197 kB0 Bps php-5.2.10-fpm-0.5.13.diff.gz 22% of 197 kB 52 kBps php-5.2.10-fpm-0.5.13.diff.gz 100% of 197 kB 143 kBps ma...@hamster:~/ports/patch-bug gunzip php-5.2.10-fpm-0.5.13.diff.gz ma...@hamster:~/ports/patch-bug patch --suffix .bak.orig -d php-5.2.10 --forward -E -p1 --suffix .orig php-5.2.10-fpm-0.5.13.diff Hmm... Looks like a unified diff to me... The text leading up to this was: -- |diff -Nru php-5.2.10-vanilla/configure php-5.2.10/configure |--- php-5.2.10-vanilla/configure 2009-06-17 05:35:22.0 -0700 |+++ php-5.2.10/configure 2009-07-05 23:22:46.375955783 -0700 -- Patching file configure using Plan A... Hunk #1 succeeded at 1040. Hunk #2 succeeded at 12434. Hunk #3 succeeded at 12494. Hunk #4 succeeded at 12727. Hunk #5 succeeded at 12793. Hunk #6 succeeded at 18966. Hunk #7 succeeded at 109208. Hunk #8 succeeded at 117469. Hunk #9 succeeded at 118173. Hunk #10 succeeded at 118227. Hmm...Segmentation fault (core dumped) ma...@hamster:~/ports/patch-bug gdb /usr/bin/patch php-5.2.10/patch.core GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type show copying to see the conditions. There is absolutely no warranty for GDB. Type show warranty for details. This GDB was configured as amd64-marcel-freebsd... Core was generated by `patch'. Program terminated with signal 11, Segmentation fault. Reading symbols from /lib/libc.so.7...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /libexec/ld-elf.so.1...done. Loaded symbols for /libexec/ld-elf.so.1 #0 0x0008007184e0 in strlcpy () from /lib/libc.so.7 (gdb) bt #0 0x0008007184e0 in strlcpy () from /lib/libc.so.7 #1 0x00404e9d in pgets (do_indent=-1 'Ъ') at /usr/src/gnu/usr.bin/patch/pch.c:1155 #2 0x00405136 in intuit_diff_type () at /usr/src/gnu/usr.bin/patch/pch.c:251 #3 0x0040581f in there_is_another_patch () at /usr/src/gnu/usr.bin/patch/pch.c:161 #4 0x00404354 in main (argc=1, argv=0x7fffe600) at /usr/src/gnu/usr.bin/patch/patch.c:224 (gdb) up #1 0x00404e9d in pgets (do_indent=-1 'Ъ') at /usr/src/gnu/usr.bin/patch/pch.c:1155 1155Strlcpy(buf, line, len + 1 - skipped); (gdb) l 1150indent += 8 - (indent %7); 1151else 1152indent++; 1153} 1154} 1155Strlcpy(buf, line, len + 1 - skipped); 1156} 1157return len; 1158} 1159 (gdb) p buf $1 = 0x800902000 diff -Nru php-5.2.10-vanilla/configure.in php-5.2.10/configure.in\n (gdb) p line $2 = 0x80091938a diff -Nru php-5.2.10-vanilla/configure.in php-5.2.10/configure.in\n--- php-5.2.10-vanilla/configure.in\t2009-06-17 05:22:41.0 -0700\n+++ php-5.2.10/configure.in\t2009-07-05 23:22:46.375955783 -070... (gdb) p len $3 = 66 (gdb) p skipped Variable skipped is not available. (gdb) ma...@hamster:~/ports/patch-bug ^D Use exit to leave tcsh. ma...@hamster:~/ports/patch-bug x exit Script done on Sat Sep 5 15:11:25 2009 Simple patch without all agrs finishes well, so I'm puzzled. -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: ma...@freebsd.org ] *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- ma...@rinet.ru *** ___ 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: strange patch bug @ stable/8 ?
On Sat, 5 Sep 2009, Dmitry Morozovsky wrote: DM Dear colleagues, DM DM on fresh RELENG_8/amd64 (lang/php5 distfile required): DM [snip] DM Simple patch without all agrs finishes well, so I'm puzzled. Ah, I suppose I've forund at least the source of this troube: ma...@hamster:/usr/ports/lang/php5-fpm make -V PATCH_DIST_ARGS --suffix .bak.orig -d /build/usr/ports/lang/php5-fpm/work/php-5.2.10 --forward --quiet -E -p1 --suffix .orig killing either of dupicated --suffix avoids core. I still think patch should be fixed regardinbg this though. -- Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] [ FreeBSD committer: ma...@freebsd.org ] *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- ma...@rinet.ru *** ___ 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: Lighttpd: (mod_fastcgi.c.1742) connect failed
O. Hartmann wrote: 2009-09-03 19:47:49: (mod_fastcgi.c.1742) connect failed: Connection refused on unix:/tmp/lighttpd-fastcgi-php.socket-7 Have you checked the permissions? I seem to remember i had the same problem once with lighttpd and it was because permissions of the socket under /tmp. Now my server works OK since ages. I had to take provisions for permissions in the fastcgi python responder. In my case the relevant bits are when daemonizing the responder: pid = os.fork() if pid 0 :# In first child import time time.sleep(3) while not os.access(socket, os.F_OK) : time.sleep(1) # the socket created by the child is made accessible to the web # server os.chown(socket, wwwuid, wwwgid) os.chmod(socket, 0700) sys.exit(0) # Exit first child While still being root i adjust the permissions of the socket. Then i change effective userid: . # And finally the routine which starts the fcgi responder, as user www os.seteuid(wwwuid) WSGIServer(request_handler, **wsgi_opts).run() The complete script you can get at: http://www.lpthe.jussieu.fr/~talon/show_index.fcgi It is a simpler server than for example django if you want to understand fastcgi. By the way the aim is to display the FreeBSD ports trough a fastcgi responder. -- Michel TALON ___ 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
installing X in FreeBSD 7.2 RELEASE
i've been using freebsd for about 12 years. my latest working version is 6.2, which works aok. this week i tried 7.2, but i cannot find the command to set up X. in 6.2, it was xorgcfg which worked beautifully. can anyone email me the correct command, or procedure? thanks. steve ___ 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: installing X in FreeBSD 7.2 RELEASE
On Sat, 05 Sep 2009, st ellis wrote: i've been using freebsd for about 12 years. my latest working version is 6.2, which works aok. this week i tried 7.2, but i cannot find the command to set up X. in 6.2, it was xorgcfg which worked beautifully. can anyone email me the correct command, or procedure? http://www.freebsd.org/doc/en/books/handbook/x-install.html -- Sahil Tandon sa...@tandon.net ___ 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: installing X in FreeBSD 7.2 RELEASE
At Sat, 5 Sep 2009 12:08:16 -0700 (PDT), st ellis wrote: i've been using freebsd for about 12 years. my latest working version is 6.2, which works aok. this week i tried 7.2, but i cannot find the command to set up X. in 6.2, it was xorgcfg which worked beautifully. can anyone email me the correct command, or procedure? If you are in -RELEASE, then it is simple. # pkg_add -v -r xorg After that, still you can install GNOME by pkg_add(1). # pkg_add -v -r gnome2-lite Sincerely, -- Byung-Hee HWANG ∑ WWW: http://izb.knu.ac.kr/~bh/ ___ 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: installing X in FreeBSD 7.2 RELEASE
On Sat, Sep 5, 2009 at 3:08 PM, st ellisshellis...@yahoo.com wrote: i've been using freebsd for about 12 years. my latest working version is 6.2, which works aok. this week i tried 7.2, but i cannot find the command to set up X. in 6.2, it was xorgcfg which worked beautifully. can anyone email me the correct command, or procedure? You are probably looking for: X -configure to set up Xorg. To test the configuration: X -config /root/xorg.conf.new HTH. -- 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: installing X in FreeBSD 7.2 RELEASE
st ellis wrote: i've been using freebsd for about 12 years. my latest working version is 6.2, which works aok. this week i tried 7.2, but i cannot find the command to set up X. in 6.2, it was xorgcfg which worked beautifully. can anyone email me the correct command, or procedure? thanks. steve Try X -configure ;) ___ 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
editors/openoffice.org-3 - build fails again
Hi, editors/openoffice.org-3: the build fails - again. Machine: ti...@kg-v2$ uname -a FreeBSD kg-v2.kg4.no 7.2-STABLE FreeBSD 7.2-STABLE #0: Fri Jul 17 18:23:22 CEST 2009 r...@kg-v2.kg4.no:/usr/obj/usr/src/sys/V2 amd64 Fails at: deliver -- version: 266154 Module 'sc' delivered successfully. 170 files copied, 6 files unchanged 1 module(s): testtools need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /usr/ports/editors/openoffice.org-3/work/OOO310_m19/testtools/source/bridgetest Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command build --from testtools rmdir /tmp/72664 *** Error code 1 Stop in /usr/ports/editors/openoffice.org-3. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20090905-58943-qhrkod-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=openoffice.org-3.1.0_2 UPGRADE_PORT_VER=3.1.0_2 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! editors/openoffice.org-3 (openoffice.org-3.1.0_2)(new compiler error) Manually fixing a file with:dos2unix /usr/ports/editors/openoffice.org-3/work/OOO310_m19/apache-commons/patches/codec.patch allows the build to continue. We'll see how far it goes before it hits another snag. -- Regards, Torfinn iIngolfsen ___ 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: editors/openoffice.org-3 - build fails again
Update: On Sun, Sep 6, 2009 at 1:03 AM, Torfinn Ingolfsen tin...@gmail.com wrote: allows the build to continue. We'll see how far it goes before it hits another snag. And here it hits a snag again: deliver -- version: 266154 Module 'sc' delivered successfully. 0 files copied, 176 files unchanged 1 module(s): apache-commons need(s) to be rebuilt Reason(s): ERROR: error 65280 occurred while making /usr/ports/editors/openoffice.org-3/work/OOO310_m19/apache-commons/java/codec Attention: if you build and deliver the above module(s) you may prolongue your the build issuing command build --from apache-commons rmdir /tmp/50004 *** Error code 1 Stop in /usr/ports/editors/openoffice.org-3. My usual trick (look for a patch file that contains CRLF line terminators) doesn't seem to work on this one. Any hints? -- Regards, Torfinn Ingolfsen ___ 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: Lighttpd: (mod_fastcgi.c.1742) connect failed
Michel Talon wrote: O. Hartmann wrote: 2009-09-03 19:47:49: (mod_fastcgi.c.1742) connect failed: Connection refused on unix:/tmp/lighttpd-fastcgi-php.socket-7 Have you checked the permissions? I seem to remember i had the same problem once with lighttpd and it was because permissions of the socket under /tmp. Now my server works OK since ages. I had to take provisions for permissions in the fastcgi python responder. In my case the relevant bits are when daemonizing the responder: pid = os.fork() if pid 0 :# In first child import time time.sleep(3) while not os.access(socket, os.F_OK) : time.sleep(1) # the socket created by the child is made accessible to the web # server os.chown(socket, wwwuid, wwwgid) os.chmod(socket, 0700) sys.exit(0) # Exit first child While still being root i adjust the permissions of the socket. Then i change effective userid: . # And finally the routine which starts the fcgi responder, as user www os.seteuid(wwwuid) WSGIServer(request_handler, **wsgi_opts).run() The complete script you can get at: http://www.lpthe.jussieu.fr/~talon/show_index.fcgi It is a simpler server than for example django if you want to understand fastcgi. By the way the aim is to display the FreeBSD ports trough a fastcgi responder. The problem seems to be APC related. I deinstalled php5-APC port, deleted the appropriate line in /usr/local/etc/php/extensions.ini and recompiled mediawiki, which has an option to use php-APC, without it. That solved the problem for me. Thanks, Oliver ___ 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