Can't build x11/rxvt-unicode after r236890
Hi! After r236890 x11/rxvt-unicode is unbuildable: ... c++ -I.. -I. -I. -I./../libev -I./../libptytty/src -I./../libecb -DHAVE_CONFIG_H -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/freetype2 -I/usr/local/include -O2 -pipe -fno-strict-aliasing -w -I/usr/local/include -D_REENTRANT -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/libpng15 -I/usr/local/include/glib-2.0 -c rxvtc.C PERL=/usr/bin/perl5 /usr/bin/perl5 /usr/local/lib/perl5/5.12.4/ExtUtils/xsubpp -C++ -typemap /usr/local/lib/perl5/5.12.4/ExtUtils/typemap -typemap typemap.iom -typemap typemap -prototypes ./rxvtperl.xs rxvtperl.C /usr/bin/perl5 -MExtUtils::Embed -e xsinit -- -std urxvt cc -o rxvtc rxvtc.o rxvtdaemon.o fdpass_wrapper.o -lutil -lsupc++ -lm rxvtdaemon.o: In function `rxvt_connection::recv(auto_ptrchar, int*)': rxvtdaemon.C:(.text+0x28e): undefined reference to `operator new[](unsigned long)' On r236889 rxvt-unicode builds properly. Full build log from tb: http://levsha.me/tb/errors/10-HEAD.amd64/rxvt-unicode-9.15_1.log -- LEFT-(UANIC|RIPE) JID: lev...@jabber.net.ua PGP fingerprint: 1BCD 7C80 2E04 7282 C944 B0E0 7E67 619E 4E72 9280 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
ports on 10.0-CURRENT: r226027 is incorrect fix
Hi! r226027 fix ( ... s/freebsd1\*)/SHOULDNOTMATCHANYTHING1)/ ...) is incorrect: this commit breaks metaports building: # cd /usr/ports/print/teTeX sudo make clean all === Cleaning for teTeX-3.0_5 === License check disabled, port has not defined LICENSE === Found saved configuration for teTeX-3.0_2 === Extracting for teTeX-3.0_5 === Patching for teTeX-3.0_5 === Configuring for teTeX-3.0_5 find /tmp/ports/usr/ports/print/teTeX/work/teTeX-3.0 -type f \( -name config.libpath -o -name config.rpath -o -name configure -o -name libtool.m4 \) -exec sed -i '' -e 's/freebsd1\*)/SHOULDNOTMATCHANYTHING1)/' -e 's/freebsd\[123\]\*)/SHOULDNOTMATCHANYTHING2)/' {} + find: /tmp/ports/usr/ports/print/teTeX/work/teTeX-3.0: No such file or directory *** Error code 1 Stop in /usr/ports/print/teTeX. *** Error code 1 Stop in /usr/ports/print/teTeX. I think this commit should be reverted. Using UNAME_r is less destructive work around -- LEFT-(UANIC|RIPE) JID: lev...@jabber.net.ua PGP fingerprint: 1BCD 7C80 2E04 7282 C944 B0E0 7E67 619E 4E72 9280 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
bin/tar incorrectly parse '[^...]' patterns in --exclude
Hi! bsd tar parse only '[!...]' as negate pattern, but gnu tar and bsd tar on 8-STABLE parse '[^...]' too: # uname -a FreeBSD laptop.levsha.me 9.0-CURRENT FreeBSD 9.0-CURRENT #4 r212602M: Wed Sep 15 04:50:20 EEST 2010 r...@laptop.levsha.me:/usr/obj/usr/src/sys/LEVSHA amd64 # tar --version bsdtar 2.8.3 - libarchive 2.7.901a # tar -tzvf test.tbz -rw-r--r-- 0 levsha levsha 0 Oct 5 01:27 a -rw-r--r-- 0 levsha levsha 0 Oct 5 01:27 b -rw-r--r-- 0 levsha levsha 0 Oct 5 01:27 c -rw-r--r-- 0 levsha levsha 0 Oct 5 01:27 d # tar -tzvf test.tbz --exclude '[!a]' -rw-r--r-- 0 levsha levsha 0 Oct 5 01:27 a # tar -tzvf test.tbz --exclude '[^a]' -rw-r--r-- 0 levsha levsha 0 Oct 5 01:27 b -rw-r--r-- 0 levsha levsha 0 Oct 5 01:27 c -rw-r--r-- 0 levsha levsha 0 Oct 5 01:27 d # gtar -tzvf test.tbz --exclude '[^a]' -rw-r--r-- levsha/levsha 0 2010-10-05 01:27 a # # uname -a FreeBSD levsha.kiev.xxx.com.ua 8.1-STABLE FreeBSD 8.1-STABLE #10 r212252: Mon Sep 6 13:12:07 EEST 2010 r...@levsha.kiev.xxx.com.ua:/usr/obj/usr/src/sys/LEVSHA i386 # tar --version bsdtar 2.7.0 - libarchive 2.7.0 # tar -tzvf test.tbz -rw-r--r-- 0 levsha levsha 0 5 жов 01:27 a -rw-r--r-- 0 levsha levsha 0 5 жов 01:27 b -rw-r--r-- 0 levsha levsha 0 5 жов 01:27 c -rw-r--r-- 0 levsha levsha 0 5 жов 01:27 d # tar -tzvf test.tbz --exclude '[!a]' -rw-r--r-- 0 levsha levsha 0 5 жов 01:27 a # tar -tzvf test.tbz --exclude '[^a]' -rw-r--r-- 0 levsha levsha 0 5 жов 01:27 a # Fix: Index: usr.bin/tar/pathmatch.c === --- usr.bin/tar/pathmatch.c (revision 212602) +++ usr.bin/tar/pathmatch.c (working copy) @@ -35,7 +35,7 @@ /* * Check whether a character 'c' is matched by a list specification [...]: - ** Leading '!' negates the class. + ** Leading '!' or '^' negates the class. ** char-char is a range of characters ** \char removes any special meaning for char * @@ -60,7 +60,7 @@ (void)flags; /* UNUSED */ /* If this is a negated class, return success for nomatch. */ - if (*p == '!' p end) { + if ((*p == '!' || *p == '^') p end) { match = 0; nomatch = 1; ++p; -- LEFT-(UANIC|RIPE) JID: lev...@jabber.net.ua PGP fingerprint: 1BCD 7C80 2E04 7282 C944 B0E0 7E67 619E 4E72 9280 pgpYW3WF9WNKF.pgp Description: PGP signature
Re: Can't make distribution TARGET_ARCH=... after r209510
Mykola Dzham wrote: M. Warner Losh wrote: In message: 20100718.171610.338707487962422543@bsdimp.com M. Warner Losh i...@bsdimp.com writes: : In message: 20100718210154.ga94...@laptop.levsha.me : Mykola Dzham i...@levsha.me writes: : : Hi! : : Attemt to make jail with different target arch on tinderbox (i386 jail : : on amd64 host) exits with error: : : : : ERROR: distribution failed - see /usr/local/tinderbox/jails/9-HEAD.i386/distribution.tmp : : : : Last lines from log: : : : : cd /usr/local/tinderbox/jails/9-HEAD.i386/src/etc/sendmail; make distribution : : install -o root -g wheel -m 644 /usr/local/tinderbox/jails/9-HEAD.i386/src/etc/sendmail/freebsd.mc freebsd.cf /tmp/tinderbox/jails/9-HEAD.i386/tmp/etc/mail : : install: freebsd.cf: No such file or directory : : *** Error code 71 : : : : Stop in /usr/local/tinderbox/jails/9-HEAD.i386/src/etc/sendmail. : : *** Error code 1 : : : : Stop in /usr/local/tinderbox/jails/9-HEAD.i386/src/etc. : : : : Full build and distribution logs avaliable on : : http://levsha.me/tmp/20100718/world.txt (20M) : : http://levsha.me/tmp/20100718/distribution.txt (7.4K) : : : : Reverting r209510 fixes this problem : : It works for me. : : on an amd64 box: : setenv TARGET=i386 : make buildworld : make installworld DESTDIR=/tmp/mumble : make distribution DESTDIR=/tmp/mumble To which I forgot to add: Please send me the exact sequence of commands that fails, as well as the uname of the host. I'd like to try to track this down... Hmm, all work properly with TARGET_ARCH when i build directly: export TARGET_ARCH=i386 make buildworld make installworld DESTDIR=/tmp/i386 make distribution DESTDIR=/tmp/i386 Problem occurs only if i try to make i386 jail in tinderbox $ sudo ./tc tbversion Tinderbox version 3.3.r1 $ svn info /usr/local/tinderbox/jails/9-HEAD.i386/src Path: /usr/local/tinderbox/jails/9-HEAD.i386/src URL: file:///usr/local/arch/base/head Repository Root: file:///usr/local/arch/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 210161 Node Kind: directory Schedule: normal Last Changed Author: imp Last Changed Rev: 210161 Last Changed Date: 2010-07-16 09:35:17 +0300 (пт, 16 лип 2010) I will try to get commands, used by tinderbox to build world and distribution, and check this commands. Thanks! This is tinderbox error: tinderbox run make distribution directly in ${SRCBASE}/etc and set all variables (including MAKEOBJDIRPREFIX) manually. So, after r209510 this method does not work properly. This patch on tinderbox fixes problem: --- scripts/lib/tc_command.sh.orig 2010-07-20 09:32:57.977402441 +0300 +++ scripts/lib/tc_command.sh 2010-07-20 09:35:12.935906873 +0300 @@ -774,10 +774,10 @@ # determine if we're cross-building world crossEnv= if [ ${jailArch} != ${myArch} ]; then - crossEnv=TARGET_ARCH=${jailArch} MACHINE_ARCH=${jailArch} MAKEOBJDIRPREFIX=${J_OBJDIR}/${jailArch} MACHINE=${jailArch} + crossEnv=TARGET_ARCH=${jailArch} fi -cd ${SRCBASE}/etc env DESTDIR=${J_TMPDIR} ${crossEnv} \ - make -m ${J_TMPDIR}/usr/share/mk distribution ${jailBase}/distribution.tmp 21 +cd ${SRCBASE} env DESTDIR=${J_TMPDIR} ${crossEnv} \ + make distribution ${jailBase}/distribution.tmp 21 if [ $? -ne 0 ]; then echo ERROR: distribution failed - see ${jailBase}/distribution.tmp buildJailCleanup 1 ${jailName} ${J_SRCDIR} -- LEFT-(UANIC|RIPE) JID: lev...@jabber.net.ua PGP fingerprint: 1BCD 7C80 2E04 7282 C944 B0E0 7E67 619E 4E72 9280 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Re: Can't make distribution TARGET_ARCH=... after r209510
M. Warner Losh wrote: In message: 20100718.171610.338707487962422543@bsdimp.com M. Warner Losh i...@bsdimp.com writes: : In message: 20100718210154.ga94...@laptop.levsha.me : Mykola Dzham i...@levsha.me writes: : : Hi! : : Attemt to make jail with different target arch on tinderbox (i386 jail : : on amd64 host) exits with error: : : : : ERROR: distribution failed - see /usr/local/tinderbox/jails/9-HEAD.i386/distribution.tmp : : : : Last lines from log: : : : : cd /usr/local/tinderbox/jails/9-HEAD.i386/src/etc/sendmail; make distribution : : install -o root -g wheel -m 644 /usr/local/tinderbox/jails/9-HEAD.i386/src/etc/sendmail/freebsd.mc freebsd.cf /tmp/tinderbox/jails/9-HEAD.i386/tmp/etc/mail : : install: freebsd.cf: No such file or directory : : *** Error code 71 : : : : Stop in /usr/local/tinderbox/jails/9-HEAD.i386/src/etc/sendmail. : : *** Error code 1 : : : : Stop in /usr/local/tinderbox/jails/9-HEAD.i386/src/etc. : : : : Full build and distribution logs avaliable on : : http://levsha.me/tmp/20100718/world.txt (20M) : : http://levsha.me/tmp/20100718/distribution.txt (7.4K) : : : : Reverting r209510 fixes this problem : : It works for me. : : on an amd64 box: : setenv TARGET=i386 : make buildworld : make installworld DESTDIR=/tmp/mumble : make distribution DESTDIR=/tmp/mumble To which I forgot to add: Please send me the exact sequence of commands that fails, as well as the uname of the host. I'd like to try to track this down... Hmm, all work properly with TARGET_ARCH when i build directly: export TARGET_ARCH=i386 make buildworld make installworld DESTDIR=/tmp/i386 make distribution DESTDIR=/tmp/i386 Problem occurs only if i try to make i386 jail in tinderbox $ sudo ./tc tbversion Tinderbox version 3.3.r1 $ svn info /usr/local/tinderbox/jails/9-HEAD.i386/src Path: /usr/local/tinderbox/jails/9-HEAD.i386/src URL: file:///usr/local/arch/base/head Repository Root: file:///usr/local/arch/base Repository UUID: ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f Revision: 210161 Node Kind: directory Schedule: normal Last Changed Author: imp Last Changed Rev: 210161 Last Changed Date: 2010-07-16 09:35:17 +0300 (пт, 16 лип 2010) I will try to get commands, used by tinderbox to build world and distribution, and check this commands. Thanks! -- LEFT-(UANIC|RIPE) JID: lev...@jabber.net.ua PGP fingerprint: 1BCD 7C80 2E04 7282 C944 B0E0 7E67 619E 4E72 9280 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org
Can't make distribution TARGET_ARCH=... after r209510
Hi! Attemt to make jail with different target arch on tinderbox (i386 jail on amd64 host) exits with error: ERROR: distribution failed - see /usr/local/tinderbox/jails/9-HEAD.i386/distribution.tmp Last lines from log: cd /usr/local/tinderbox/jails/9-HEAD.i386/src/etc/sendmail; make distribution install -o root -g wheel -m 644 /usr/local/tinderbox/jails/9-HEAD.i386/src/etc/sendmail/freebsd.mc freebsd.cf /tmp/tinderbox/jails/9-HEAD.i386/tmp/etc/mail install: freebsd.cf: No such file or directory *** Error code 71 Stop in /usr/local/tinderbox/jails/9-HEAD.i386/src/etc/sendmail. *** Error code 1 Stop in /usr/local/tinderbox/jails/9-HEAD.i386/src/etc. Full build and distribution logs avaliable on http://levsha.me/tmp/20100718/world.txt (20M) http://levsha.me/tmp/20100718/distribution.txt (7.4K) Reverting r209510 fixes this problem -- LEFT-(UANIC|RIPE) JID: lev...@jabber.net.ua PGP fingerprint: 1BCD 7C80 2E04 7282 C944 B0E0 7E67 619E 4E72 9280 ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to freebsd-current-unsubscr...@freebsd.org