From owner-freebsd-emulation@FreeBSD.ORG Sun May 18 09:22:23 2008 Return-Path: Delivered-To: freebsd-emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 72BA7106566C; Sun, 18 May 2008 09:22:23 +0000 (UTC) (envelope-from vwe@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4D3638FC15; Sun, 18 May 2008 09:22:23 +0000 (UTC) (envelope-from vwe@FreeBSD.org) Received: from freefall.freebsd.org (vwe@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4I9MMNT043988; Sun, 18 May 2008 09:22:22 GMT (envelope-from vwe@freefall.freebsd.org) Received: (from vwe@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4I9MLN0043984; Sun, 18 May 2008 09:22:21 GMT (envelope-from vwe) Date: Sun, 18 May 2008 09:22:21 GMT Message-Id: <200805180922.m4I9MLN0043984@freefall.freebsd.org> To: avg@icyb.net.ua, vwe@FreeBSD.org, freebsd-emulation@FreeBSD.org From: vwe@FreeBSD.org Cc: Subject: Re: kern/73777: [linux] [patch] linux emulation: root dir special handling useless and harmful X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 09:22:23 -0000 Synopsis: [linux] [patch] linux emulation: root dir special handling useless and harmful State-Changed-From-To: feedback->open State-Changed-By: vwe State-Changed-When: Sun May 18 09:22:03 UTC 2008 State-Changed-Why: feedback and new patch provided http://www.freebsd.org/cgi/query-pr.cgi?pr=73777 From owner-freebsd-emulation@FreeBSD.ORG Sun May 18 14:26:36 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0DE191065673 for ; Sun, 18 May 2008 14:26:36 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id 95EAB8FC13 for ; Sun, 18 May 2008 14:26:35 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 29EF22D8604; Sun, 18 May 2008 16:26:34 +0200 (CEST) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id m4IEORQD021052; Sun, 18 May 2008 16:24:27 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id m4IEORwI021051; Sun, 18 May 2008 16:24:27 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 18 May 2008 16:24:27 +0200 To: Todd Wasson Message-ID: <20080518142427.GA20876@saturn.kn-bremen.de> Mail-Followup-To: Todd Wasson , freebsd-emulation@freebsd.org References: <20080515080948.3B1F15B47@mail.bitblocks.com> <200805152323.m4FNNO7H017348@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-emulation@freebsd.org Subject: Re: kqemu locking my machine hard on amd64 smp, with most recent patches X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 14:26:36 -0000 On Fri, May 16, 2008 at 06:07:32PM -0400, Todd Wasson wrote: > Using -m 256 doesn't help, though interestingly 1.3.0.p11_5 crashes (but > doesn't take down the machine) with -m 1536 but is fine with -m 256. > 1.3.0.p11_6 hangs the machine regardless, though. > > I haven't been using -soundhw at all recently, but yes, I do actually have > sound on the host. > > Lowering hw.physmem to 2GB and using -m 256 still results in a hang. > > I'm going to keep these and try the max_locked_pages changes that Bakul > Shah suggested. I'll post the results to the list. > > Thanks again. OK can you try the following kernel patch with the latest kqemu (also at http://people.freebsd.org/~nox/qemu/patch-sys-amd64-seperate-gdt.txt - untested because my amd64 smp box is in the middle of a portupgrade that was long overdue...) Index: src/sys/amd64/amd64/mp_machdep.c =================================================================== RCS file: /home/ncvs/src/sys/amd64/amd64/mp_machdep.c,v retrieving revision 1.287.2.2 diff -u -p -u -r1.287.2.2 mp_machdep.c --- src/sys/amd64/amd64/mp_machdep.c 28 Nov 2007 23:24:06 -0000 1.287.2.2 +++ src/sys/amd64/amd64/mp_machdep.c 18 May 2008 13:45:32 -0000 @@ -457,10 +457,18 @@ init_secondary(void) common_tss[cpu].tss_iobase = sizeof(struct amd64tss); common_tss[cpu].tss_ist1 = (long)&doublefault_stack[PAGE_SIZE]; + /* Use a seperate gdt for each cpu because the tss differs + * This avoids complications for e.g. virtualization software + * that needs to reload the task register and otherwise would + * then end up using the last cpu's tss on others + */ + bcopy(&gdt[0], &gdt[NGDT * cpu], NGDT * sizeof(gdt[0])); + gdt_segs[GPROC0_SEL].ssd_base = (long) &common_tss[cpu]; ssdtosyssd(&gdt_segs[GPROC0_SEL], - (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); + (struct system_segment_descriptor *)&gdt[NGDT * cpu + GPROC0_SEL]); + r_gdt.rd_base = (long) &gdt[NGDT * cpu]; lgdt(&r_gdt); /* does magic intra-segment return */ /* Get per-cpu data */ From owner-freebsd-emulation@FreeBSD.ORG Sun May 18 22:16:23 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4B9341065671 for ; Sun, 18 May 2008 22:16:23 +0000 (UTC) (envelope-from tsw5@duke.edu) Received: from smtp.duke.edu (smtp-04.oit.duke.edu [152.3.174.85]) by mx1.freebsd.org (Postfix) with ESMTP id 0A16B8FC1A for ; Sun, 18 May 2008 22:16:22 +0000 (UTC) (envelope-from tsw5@duke.edu) Received: from smtp.duke.edu (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with SMTP id 475C4358BD7; Sun, 18 May 2008 18:16:22 -0400 (EDT) Received: from avenue.wintermute (cpe-076-182-024-090.nc.res.rr.com [76.182.24.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp.duke.edu (Postfix) with ESMTP id 014D5358AC4; Sun, 18 May 2008 18:16:21 -0400 (EDT) Message-Id: From: Todd Wasson To: Juergen Lock In-Reply-To: <20080518142427.GA20876@saturn.kn-bremen.de> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Date: Sun, 18 May 2008 18:16:21 -0400 References: <20080515080948.3B1F15B47@mail.bitblocks.com> <200805152323.m4FNNO7H017348@saturn.kn-bremen.de> <20080518142427.GA20876@saturn.kn-bremen.de> X-Mailer: Apple Mail (2.919.2) X-PMX-Version: 5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.5.18.150108 Cc: freebsd-emulation@freebsd.org Subject: Re: kqemu locking my machine hard on amd64 smp, with most recent patches X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 22:16:23 -0000 Hi Juergen. That patch seems to have fixed the problem for me, as verified with both kqemu-kmod-1.3.0.p11_6 and kqemu-kmod-1.3.0.p11_7. However, I'm somewhat uneasy about using this patch on my system long- term, since it hasn't been rigorously tested. Are there putative implications of this patch with other software that I should be aware of? Is this kernel patch considered to be the final fix, or just a band-aid until the underlying cause can be addressed from within kqemu alone? Thanks again for your help with this. On a side note, what is the status of kqemu kernel mode support on SMP amd64 (i.e. qemu-system- x86_64 -kernel-kqemu)? Even though kqemu is more or less working for me now, it's still quite slow and I presume this to be why. Todd On May 18, 2008, at 10:24 AM, Juergen Lock wrote: > On Fri, May 16, 2008 at 06:07:32PM -0400, Todd Wasson wrote: >> Using -m 256 doesn't help, though interestingly 1.3.0.p11_5 crashes >> (but >> doesn't take down the machine) with -m 1536 but is fine with -m 256. >> 1.3.0.p11_6 hangs the machine regardless, though. >> >> I haven't been using -soundhw at all recently, but yes, I do >> actually have >> sound on the host. >> >> Lowering hw.physmem to 2GB and using -m 256 still results in a hang. >> >> I'm going to keep these and try the max_locked_pages changes that >> Bakul >> Shah suggested. I'll post the results to the list. >> >> Thanks again. > > OK can you try the following kernel patch with the latest kqemu > (also at > http://people.freebsd.org/~nox/qemu/patch-sys-amd64-seperate-gdt.txt > - untested because my amd64 smp box is in the middle of a > portupgrade that > was long overdue...) > > Index: src/sys/amd64/amd64/mp_machdep.c > =================================================================== > RCS file: /home/ncvs/src/sys/amd64/amd64/mp_machdep.c,v > retrieving revision 1.287.2.2 > diff -u -p -u -r1.287.2.2 mp_machdep.c > --- src/sys/amd64/amd64/mp_machdep.c 28 Nov 2007 23:24:06 -0000 > 1.287.2.2 > +++ src/sys/amd64/amd64/mp_machdep.c 18 May 2008 13:45:32 -0000 > @@ -457,10 +457,18 @@ init_secondary(void) > common_tss[cpu].tss_iobase = sizeof(struct amd64tss); > common_tss[cpu].tss_ist1 = (long)&doublefault_stack[PAGE_SIZE]; > > + /* Use a seperate gdt for each cpu because the tss differs > + * This avoids complications for e.g. virtualization software > + * that needs to reload the task register and otherwise would > + * then end up using the last cpu's tss on others > + */ > + bcopy(&gdt[0], &gdt[NGDT * cpu], NGDT * sizeof(gdt[0])); > + > gdt_segs[GPROC0_SEL].ssd_base = (long) &common_tss[cpu]; > ssdtosyssd(&gdt_segs[GPROC0_SEL], > - (struct system_segment_descriptor *)&gdt[GPROC0_SEL]); > + (struct system_segment_descriptor *)&gdt[NGDT * cpu + > GPROC0_SEL]); > > + r_gdt.rd_base = (long) &gdt[NGDT * cpu]; > lgdt(&r_gdt); /* does magic intra-segment return */ > > /* Get per-cpu data */ From owner-freebsd-emulation@FreeBSD.ORG Sun May 18 23:07:48 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3767E1065676 for ; Sun, 18 May 2008 23:07:48 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: from gwyn.kn-bremen.de (gwyn.kn-bremen.de [212.63.36.242]) by mx1.freebsd.org (Postfix) with ESMTP id B35668FC17 for ; Sun, 18 May 2008 23:07:47 +0000 (UTC) (envelope-from nox@saturn.kn-bremen.de) Received: by gwyn.kn-bremen.de (Postfix, from userid 10) id 0D00F2D6F13; Mon, 19 May 2008 01:07:46 +0200 (CEST) Received: from saturn.kn-bremen.de (nox@localhost [127.0.0.1]) by saturn.kn-bremen.de (8.14.2/8.13.8) with ESMTP id m4IN4MOM049692; Mon, 19 May 2008 01:04:22 +0200 (CEST) (envelope-from nox@saturn.kn-bremen.de) Received: (from nox@localhost) by saturn.kn-bremen.de (8.14.2/8.13.6/Submit) id m4IN4KNL049691; Mon, 19 May 2008 01:04:20 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Mon, 19 May 2008 01:04:19 +0200 To: Todd Wasson Message-ID: <20080518230419.GA48991@saturn.kn-bremen.de> Mail-Followup-To: Todd Wasson , freebsd-emulation@freebsd.org, Bakul Shah References: <20080515080948.3B1F15B47@mail.bitblocks.com> <200805152323.m4FNNO7H017348@saturn.kn-bremen.de> <20080518142427.GA20876@saturn.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.16 (2007-06-09) Cc: freebsd-emulation@freebsd.org Subject: Re: kqemu locking my machine hard on amd64 smp, with most recent patches X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 May 2008 23:07:48 -0000 On Sun, May 18, 2008 at 06:16:21PM -0400, Todd Wasson wrote: > Hi Juergen. That patch seems to have fixed the problem for me, as verified > with both kqemu-kmod-1.3.0.p11_6 and kqemu-kmod-1.3.0.p11_7. However, I'm > somewhat uneasy about using this patch on my system long-term, since it > hasn't been rigorously tested. Are there putative implications of this > patch with other software that I should be aware of? Well, `regular' software shouldn't care about the gdt being shared or not id say, this is a very lowlevel implementation detail that this patch changes. (The gdt also isn't shared on i386, fwiw.) > Is this kernel patch > considered to be the final fix, or just a band-aid until the underlying > cause can be addressed from within kqemu alone? > No actually I'd call this kernel patch a more `proper' fix, what kqemu now does is move the gdts of all but the first cpu after the fact (if they are shared), this patch sets them up seperate from the beginning. (Actually I updated the patch after the original post, but the changes are only cosmetic.) I can't speak for the src people tho, so I don't know whether they may deem it commit-worthy later, but using it _should_ be safe. > Thanks again for your help with this. On a side note, what is the status > of kqemu kernel mode support on SMP amd64 (i.e. qemu-system-x86_64 > -kernel-kqemu)? Even though kqemu is more or less working for me now, it's > still quite slow and I presume this to be why. -kernel-kqemu is just less well debugged on amd64 than on i386, it may still work with some guests. (The problem with kqemu is it gets kinda neglected these days by the linux guys since they have all these other virtualization solutions now that people seem to like better...) Juergen From owner-freebsd-emulation@FreeBSD.ORG Mon May 19 11:06:51 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 125B71065671 for ; Mon, 19 May 2008 11:06:51 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ED70A8FC27 for ; Mon, 19 May 2008 11:06:50 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4JB6o1m011537 for ; Mon, 19 May 2008 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4JB6oBF011533 for freebsd-emulation@FreeBSD.org; Mon, 19 May 2008 11:06:50 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 19 May 2008 11:06:50 GMT Message-Id: <200805191106.m4JB6oBF011533@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-emulation@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 11:06:51 -0000 Current FreeBSD problem reports Critical problems Serious problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/21463 emulation [linux] Linux compatability mode should not allow setu o kern/97326 emulation [linux] file descriptor leakage in linux emulation o kern/117010 emulation [linux] linux_getdents() get something like buffer ove 3 problems total. Non-critical problems S Tracker Resp. Description -------------------------------------------------------------------------------- o kern/11165 emulation [ibcs2] IBCS2 doesn't work correctly with PID_MAX 9999 o kern/29698 emulation [linux] [patch] linux ipcs doesn'work o kern/39201 emulation [linux] [patch] ptrace(2) and rfork(RFLINUXTHPN) confu o kern/41543 emulation [patch] [request] easier wine/w23 support a kern/72920 emulation [linux]: path "prefixing" is not done on unix domain s o kern/73777 emulation [linux] [patch] linux emulation: root dir special hand o kern/91293 emulation [svr4] [patch] *Experimental* Update to the SVR4 emula o ports/91318 emulation [fix] graphics/linux_dri: works on amd64 too o ports/121800 emulation x11-toolkits/linux-openmotif - OpenMotif upgrade to 2. o kern/122318 emulation [linux] [cmake]: Segmentation fault when running Linux 10 problems total. From owner-freebsd-emulation@FreeBSD.ORG Mon May 19 14:45:46 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E3CB106566B for ; Mon, 19 May 2008 14:45:46 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 182B68FC18 for ; Mon, 19 May 2008 14:45:46 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 2DB87744005; Mon, 19 May 2008 17:27:27 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CZDhXXfbzpCA; Mon, 19 May 2008 17:27:27 +0300 (EEST) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id C4A21744002; Mon, 19 May 2008 17:27:26 +0300 (EEST) Message-ID: <48318E4D.1070009@icyb.net.ua> Date: Mon, 19 May 2008 17:27:25 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.12 (X11/20080311) MIME-Version: 1.0 To: FreeBSD Ports , freebsd-emulation@freebsd.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: Subject: wine rebuilds font smth every time X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 14:45:46 -0000 Every time I run wine it starts rebuilding something related to fonts. This takes quite long, only after that a windows program is actually executed. Very annoying. This is wine-0.9.59,1, installed from a package, no extra configuration. What could be causing this? Any way to fix/workaround? Big thanks in advance! -- Andriy Gapon From owner-freebsd-emulation@FreeBSD.ORG Mon May 19 15:52:08 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5EEC91065681 for ; Mon, 19 May 2008 15:52:08 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.157]) by mx1.freebsd.org (Postfix) with ESMTP id DB2A68FC17 for ; Mon, 19 May 2008 15:52:07 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2389208fgb.35 for ; Mon, 19 May 2008 08:52:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=i19IrAZFbrGKMCSH6kNQjiGK1saIwEyHxx9dKHjsznQ=; b=qALubcSxhnj8NXjwycPkl5o+iiYKYyvE1lzoFgLM/2zB9z/6FQePhQXQulT2Q2p4s9G9zUoq/Zsj/yRvLHdReZ6ZeyYJiWameafmPy/AkxvKQVVo31GYTCCwiMRvTcQ+makovSzQBfGvopcuvk+FTtIPqGRGkklBFZV9Oi/Pd8U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=iMzKtGNHOhAXNPnQR2npb9LhYlL1yCDR+XzVyX+FuGpnfCZhV92jun8DrdD5LZD463gSUFxqNaEqQRN1qzvlufgTNrpuMM0L0o6ngaI530kEHbq4LNt3D8ziy7I163+iDhuhMiy99BDgPghsnq5Fl3JwxcJmVsepm7n5WtPQTIg= Received: by 10.82.150.15 with SMTP id x15mr949349bud.23.1211210761487; Mon, 19 May 2008 08:26:01 -0700 (PDT) Received: by 10.82.180.3 with HTTP; Mon, 19 May 2008 08:25:56 -0700 (PDT) Message-ID: <7ad7ddd90805190825j4ab17560k3b0296ac00c4a4c9@mail.gmail.com> Date: Mon, 19 May 2008 17:25:56 +0200 From: "Ulrich Spoerlein" To: emulation@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Cc: Subject: Running IBM DB2 Client V8.1 under FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 15:52:08 -0000 Hi, did anyone accomplish this feat? I have a DB/2 Client installation copied over to a FreeBSD 6.3 system and while the db2(1) binary starts, it runs into an endless loop. 89938 db2 RET getdomainname 0 89938 db2 CALL open(0xbfbfc7e8,0x801,0) 89938 db2 NAMI "/compat/linux/home/dtinst/sqllib/tmp/R1116180A8942" 89938 db2 NAMI "/home/dtinst/sqllib/tmp/R1116180A8942" 89938 db2 RET open JUSTRETURN 89938 db2 CALL getdomainname(0xbfbfc930,0xbfbfc938) 89938 db2 RET getdomainname 0 89938 db2 CALL open(0xbfbfc7e8,0x801,0) 89938 db2 NAMI "/compat/linux/home/dtinst/sqllib/tmp/R1116180A8942" 89938 db2 NAMI "/home/dtinst/sqllib/tmp/R1116180A8942" 89938 db2 RET open JUSTRETURN 89938 db2 CALL getdomainname(0xbfbfc930,0xbfbfc938) 89938 db2 RET getdomainname 0 89938 db2 CALL open(0xbfbfc7e8,0x801,0) 89938 db2 NAMI "/compat/linux/home/dtinst/sqllib/tmp/R1116180A8942" 89938 db2 NAMI "/home/dtinst/sqllib/tmp/R1116180A8942" 89938 db2 RET open JUSTRETURN 89938 db2 CALL getdomainname(0xbfbfc930,0xbfbfc938) 89938 db2 RET getdomainname 0 89938 db2 CALL open(0xbfbfc7e8,0x801,0) 89938 db2 NAMI "/compat/linux/home/dtinst/sqllib/tmp/R1116180A8942" 89938 db2 NAMI "/home/dtinst/sqllib/tmp/R1116180A8942" 89938 db2 RET open JUSTRETURN 89938 db2 CALL getdomainname(0xbfbfc930,0xbfbfc938) 89938 db2 RET getdomainname 0 89938 db2 CALL open(0xbfbfc7e8,0x801,0) 89938 db2 NAMI "/compat/linux/home/dtinst/sqllib/tmp/R1116180A8942" 89938 db2 NAMI "/home/dtinst/sqllib/tmp/R1116180A8942" 89938 db2 RET open JUSTRETURN 89938 db2 CALL getdomainname(0xbfbfc930,0xbfbfc938) Google seems to be suspiciously silent about DB2 on FreeBSD. Ciao, Uli From owner-freebsd-emulation@FreeBSD.ORG Mon May 19 16:11:26 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 30202106564A for ; Mon, 19 May 2008 16:11:26 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from fg-out-1718.google.com (fg-out-1718.google.com [72.14.220.155]) by mx1.freebsd.org (Postfix) with ESMTP id A29758FC0C for ; Mon, 19 May 2008 16:11:25 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by fg-out-1718.google.com with SMTP id l26so2400543fgb.35 for ; Mon, 19 May 2008 09:11:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject:in-reply-to:message-id:references:user-agent:mime-version:content-type:from; bh=+qBs41BAV2HrqK/U13Vgf6HF8ipebwj8bjVLCiZjmKY=; b=wi9r5ISIzJeEMLV7uPX/751ZjnbfKL62+ioFVb9jvyIc/5TsC5tQEAhK+qQknPHGSO1O0LAKn2CNTXOr9TqWMGlPTwAP4vFzB/RtmkQUhApLYCnALe/zFy2EqxRVXWdgRqYIR8YNTpIH+YfEdltY33jmN8HG2lKutDO3bZZjkyc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:in-reply-to:message-id:references:user-agent:mime-version:content-type:from; b=iJNHpbE/t+fhUrBAD6cL4SAQBxDealELp18bBPcnICEGMC/1cZyhK+Xo4bpECkzXZ4hvVZXmKlr2uMxhhiUR0OJTxShzr0BWzDgJowXAARPP3fbwLOsStX8XQYy2tY205P3Uci7Xdhwag6vvbtOC0sD22/LmU9f/Hm3GGlSGoAw= Received: by 10.125.73.17 with SMTP id a17mr6151941mkl.117.1211213483807; Mon, 19 May 2008 09:11:23 -0700 (PDT) Received: from ora.chd.net ( [81.200.6.196]) by mx.google.com with ESMTPS id e11sm8500557fga.1.2008.05.19.09.11.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 19 May 2008 09:11:22 -0700 (PDT) Date: Mon, 19 May 2008 16:10:11 +0400 (MSD) To: Ulrich Spoerlein In-Reply-To: <7ad7ddd90805190825j4ab17560k3b0296ac00c4a4c9@mail.gmail.com> Message-ID: References: <7ad7ddd90805190825j4ab17560k3b0296ac00c4a4c9@mail.gmail.com> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry Cc: emulation@freebsd.org Subject: Re: Running IBM DB2 Client V8.1 under FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 16:11:26 -0000 On Mon, 19 May 2008, Ulrich Spoerlein wrote: > Hi, > > did anyone accomplish this feat? I have a DB/2 Client installation > copied over to a FreeBSD 6.3 system and while the db2(1) binary > starts, it runs into an endless loop. > > 89938 db2 RET getdomainname 0 > 89938 db2 CALL open(0xbfbfc7e8,0x801,0) > 89938 db2 NAMI "/compat/linux/home/dtinst/sqllib/tmp/R1116180A8942" > 89938 db2 NAMI "/home/dtinst/sqllib/tmp/R1116180A8942" > 89938 db2 RET open JUSTRETURN > 89938 db2 CALL getdomainname(0xbfbfc930,0xbfbfc938) > 89938 db2 RET getdomainname 0 > 89938 db2 CALL open(0xbfbfc7e8,0x801,0) > 89938 db2 NAMI "/compat/linux/home/dtinst/sqllib/tmp/R1116180A8942" > 89938 db2 NAMI "/home/dtinst/sqllib/tmp/R1116180A8942" > 89938 db2 RET open JUSTRETURN > 89938 db2 CALL getdomainname(0xbfbfc930,0xbfbfc938) > 89938 db2 RET getdomainname 0 > 89938 db2 CALL open(0xbfbfc7e8,0x801,0) > 89938 db2 NAMI "/compat/linux/home/dtinst/sqllib/tmp/R1116180A8942" > 89938 db2 NAMI "/home/dtinst/sqllib/tmp/R1116180A8942" > 89938 db2 RET open JUSTRETURN > 89938 db2 CALL getdomainname(0xbfbfc930,0xbfbfc938) > 89938 db2 RET getdomainname 0 > 89938 db2 CALL open(0xbfbfc7e8,0x801,0) > 89938 db2 NAMI "/compat/linux/home/dtinst/sqllib/tmp/R1116180A8942" > 89938 db2 NAMI "/home/dtinst/sqllib/tmp/R1116180A8942" > 89938 db2 RET open JUSTRETURN > 89938 db2 CALL getdomainname(0xbfbfc930,0xbfbfc938) > 89938 db2 RET getdomainname 0 > 89938 db2 CALL open(0xbfbfc7e8,0x801,0) > 89938 db2 NAMI "/compat/linux/home/dtinst/sqllib/tmp/R1116180A8942" > 89938 db2 NAMI "/home/dtinst/sqllib/tmp/R1116180A8942" > 89938 db2 RET open JUSTRETURN > 89938 db2 CALL getdomainname(0xbfbfc930,0xbfbfc938) > > Google seems to be suspiciously silent about DB2 on FreeBSD. > JUSTRETURN in linuxolator means ENOENT - 'No such file or directory' error. -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Mon May 19 16:31:28 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AFDCF1065671; Mon, 19 May 2008 16:31:28 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 6409F8FC27; Mon, 19 May 2008 16:31:28 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.17.81] (helo=localhost.my.domain) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1Jy8Gk-000CU0-3e; Mon, 19 May 2008 20:31:26 +0400 To: Andriy Gapon References: <48318E4D.1070009@icyb.net.ua> From: Boris Samorodov Date: Mon, 19 May 2008 20:30:59 +0400 In-Reply-To: <48318E4D.1070009@icyb.net.ua> (Andriy Gapon's message of "Mon\, 19 May 2008 17\:27\:25 +0300") Message-ID: <93743292@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org, FreeBSD Ports Subject: Re: wine rebuilds font smth every time X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 16:31:28 -0000 On Mon, 19 May 2008 17:27:25 +0300 Andriy Gapon wrote: > Every time I run wine it starts rebuilding something related to fonts. > This takes quite long, only after that a windows program is actually > executed. > Very annoying. > This is wine-0.9.59,1, installed from a package, no extra configuration. > What could be causing this? > Any way to fix/workaround? The current version of wine is 0.9.61,1. Sometime ago wine has got rid of fontconfig dependency and the distribution contains fonts. -- HTH and WBR, bsam From owner-freebsd-emulation@FreeBSD.ORG Mon May 19 19:01:10 2008 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 29E681065670; Mon, 19 May 2008 19:01:10 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (it.buh.tecnik93.com [81.196.204.98]) by mx1.freebsd.org (Postfix) with ESMTP id B18298FC1A; Mon, 19 May 2008 19:01:09 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from it.buh.tecnik93.com (localhost [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id 6A2E12C50D14; Mon, 19 May 2008 21:50:16 +0300 (EEST) Date: Mon, 19 May 2008 21:50:10 +0300 From: Ion-Mihai Tetcu To: freebsd-ports@freebsd.org Message-ID: <20080519215010.68ce1dff@it.buh.tecnik93.com> X-Mailer: Claws Mail 3.4.0 (GTK+ 2.12.9; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/vQ4jNKdzWPBrQKa7r87APqx"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Mailman-Approved-At: Mon, 19 May 2008 19:34:08 +0000 Cc: jaj@hcl-club.lu, kuriyama@FreeBSD.org, joerg@freebsd.org, openoffice@FreeBSD.org, araujo@FreeBSD.org, garga@FreeBSD.org, sergei@FreeBSD.org, rip@pinetec.co.za, doj@cubic.org, shoesoft@gmx.net, lwhsu@FreeBSD.org, nivit@FreeBSD.org, haskell@FreeBSD.org, oliver@FreeBSD.org, clement@FreeBSD.org, freebsd-emulation@FreeBSD.org, krion@FreeBSD.org, vs@FreeBSD.org, dryice@FreeBSD.org, kenm@icarz.com, laszlof@FreeBSD.org, lbr@FreeBSD.org, argentoff@gmail.com, lapo@lapo.it, rv@gnu.org, mezz@FreeBSD.org, sean@chittenden.org, rafan@FreeBSD.org, mikeh@FreeBSD.org, roberto@FreeBSD.org, edwin@mavetju.org, erik@smluc.org, gnome@FreeBSD.org, anholt@FreeBSD.org Subject: ports with bad plist when NO{DOCS,EXAMPLES,PORTDATA} defined X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2008 19:01:10 -0000 --Sig_/vQ4jNKdzWPBrQKa7r87APqx Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi, If this problem is already fixed, please ignore this email. Out ports infrastructure provides a set of variables to control the installation of various types of documentation: NO_INSTALL_MANPAGES, NOPORTDOCS, NOPORTEXAMPLES, NOPORTDATA. A description for each of them can be found in ports/Mk/bsd.port.mk. They can be used to build stripped-down packages from our ports, a useful feature for systems where disk space is a premium (like embedded systems, etc.) In theory, for any port built with a NO* var defined the corresponding dirs and files shouldn't be installed. In practice we don't stress this, but at minimum we require is that the plist is correct - and this is what I tested.=20 I will continue with the other categories, then I'll start testing for NO_INSTALL_MANPAGES. I'm also setting up an semi-automated system to test the ports as near to commit time as my available hardware permits. I have just finished a test build of devel/* ports and their dependencies on my amd64 tinderbox with: > m /usr/local/tinderbox/portstrees/FreeBSD/portstree.env export FORCE_PACKAGE=3Dyes export NOPORTDOCS=3Dyes export NOPORTEXAMPLES=3Dyes export NOPORTDATA=3Dyes The relevant version details: System FreeBSD 7 (RELENG_7) 2008-05-09 23:13:31 Ports Tree FreeBSD ports tree 2008-05-10 00:22:00 The build was done via: ./tc addPort -b ${_build} -r -d ${PORT} -o ./tinderbuild -noduds -nullfs -plistcheck -b ${_build} ${PORT} The following ports fail with 3 types of errors: - they install docs, examples or data files or dirs when they shouldn't because of above vars being defined and they don't list them in the plist. - they don't install some docs, examples or data files or dirs but they list them in the plist. - they confuse the meaning of one of the above NO* variables with an other or with NO_INSTALL_MANPAGES A common mistake seems to be the patting of portlint(1) by adding %%PORTDOCS%% without checking if those files are installed or not. Please try to make your port obey the NO* vars, not "fix" it by installing those files unconditionally. The build logs can be found at: http://t64.tecnik93.com/index.php?action=3Dfailed_buildports&build=3D7-STAB= LE-FTP If you commit a fix please let me know; if you submit a PR to fix your port please CC me on it and I'll commit it; also please let as know if you intend to work on the unmaintained ports so that we don't duplicate our efforts. This is the list of ports that fail and their maintianers: devel/vstr - ports@FreeBSD.org devel/tigcc - jaj@hcl-club.lu devel/templ - ports@FreeBSD.org devel/tclcheck - ports@FreeBSD.org devel/styx - ports@FreeBSD.org devel/avr-libc - joerg@freebsd.org devel/silc-toolkit - ports@FreeBSD.org devel/py-spark - ports@FreeBSD.org devel/ruby-rbprof - sean@chittenden.org graphics/ruby-cairo - mezz@FreeBSD.org graphics/cairomm - gnome@FreeBSD.org graphics/linux-png - freebsd-emulation@FreeBSD.org devel/quilt - doj@cubic.org devel/py-cxx - lwhsu@FreeBSD.org devel/py-turbojson - nivit@FreeBSD.org devel/py-pycallgraph - lwhsu@FreeBSD.org devel/ice - shoesoft@gmx.net devel/py-grouch - ports@FreeBSD.org www/apache20 - clement@FreeBSD.org devel/ppl - ports@FreeBSD.org dns/libidn - krion@FreeBSD.org devel/picasm - ports@FreeBSD.org devel/pcre++ - ports@FreeBSD.org x11-toolkits/xmhtml - ports@FreeBSD.org security/gnupg1 - kuriyama@FreeBSD.org devel/p5-Class-MOP - lbr@FreeBSD.org devel/cdk - MrL0Lz@gmail.com devel/ocaml-sem - argentoff@gmail.com devel/ipython - dryice@FreeBSD.org devel/ncurses - rafan@FreeBSD.org devel/ncc - vs@FreeBSD.org devel/naturaldocs - laszlof@FreeBSD.org devel/monotone - lapo@lapo.it devel/mercurial - roberto@FreeBSD.org devel/makeplus - sergei@FreeBSD.org devel/m17n-docs - ports@FreeBSD.org devel/libslang2 - garga@FreeBSD.org textproc/xerces-c2 - kenm@icarz.com devel/libdict - ports@FreeBSD.org devel/libcheck - mikeh@FreeBSD.org lang/ghc - haskell@FreeBSD.org devel/glibmm-reference - gnome@FreeBSD.org devel/gengetopt - laszlof@FreeBSD.org lang/gauche - erik@smluc.org devel/fpp - ports@FreeBSD.org devel/flatzebra - edwin@mavetju.org net/skstream - oliver@FreeBSD.org devel/epm - openoffice@FreeBSD.org devel/cvsmapfs - rip@pinetec.co.za devel/cons - rv@gnu.org devel/cogito - anholt@FreeBSD.org devel/c4 - araujo@FreeBSD.org Thanks for your work on making FreeBSD better, --=20 IOnut - Un^d^dregistered ;) FreeBSD "user" "Intellectual Property" is nowhere near as valuable as "Intellect" FreeBSD committer -> itetcu@FreeBSD.org, PGP Key ID 057E9F8B493A297B --Sig_/vQ4jNKdzWPBrQKa7r87APqx Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkgxy+cACgkQJ7GIuiH/oeX6+wCeNNraeX8L0YfWFEPeJhMncGsA +o0AmgPtEIk0pT/NZO1J5STdmVG18M1c =PTu2 -----END PGP SIGNATURE----- --Sig_/vQ4jNKdzWPBrQKa7r87APqx-- From owner-freebsd-emulation@FreeBSD.ORG Tue May 20 09:46:02 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CD5DD106566B; Tue, 20 May 2008 09:46:02 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from hosted.kievnet.com (hosted.kievnet.com [193.138.144.10]) by mx1.freebsd.org (Postfix) with ESMTP id 885AE8FC27; Tue, 20 May 2008 09:46:02 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost ([127.0.0.1] helo=edge.pp.kiev.ua) by hosted.kievnet.com with esmtpa (Exim 4.62) (envelope-from ) id 1JyOPw-000Mz8-DA; Tue, 20 May 2008 12:46:00 +0300 Message-ID: <48329DD7.2070909@icyb.net.ua> Date: Tue, 20 May 2008 12:45:59 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.12 (X11/20080320) MIME-Version: 1.0 To: Boris Samorodov References: <48318E4D.1070009@icyb.net.ua> <93743292@ipt.ru> In-Reply-To: <93743292@ipt.ru> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-emulation@freebsd.org, FreeBSD Ports Subject: Re: wine rebuilds font smth every time X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 09:46:02 -0000 on 19/05/2008 19:30 Boris Samorodov said the following: > On Mon, 19 May 2008 17:27:25 +0300 Andriy Gapon wrote: > >> Every time I run wine it starts rebuilding something related to fonts. >> This takes quite long, only after that a windows program is actually >> executed. >> Very annoying. >> This is wine-0.9.59,1, installed from a package, no extra configuration. > >> What could be causing this? >> Any way to fix/workaround? > > The current version of wine is 0.9.61,1. Sometime ago wine has got rid > of fontconfig dependency and the distribution contains fonts. Thank you! I usually use pre-built packages on this system, but made an exception for this port. Now everything works great. BTW, is there a schedule for package builds (6-stable and 7-stable)? -- Andriy Gapon From owner-freebsd-emulation@FreeBSD.ORG Tue May 20 16:06:48 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F343E106564A; Tue, 20 May 2008 16:06:47 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id AFE1A8FC26; Tue, 20 May 2008 16:06:47 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.17.192] (helo=localhost.my.domain) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1JyUMQ-0006BL-Dc; Tue, 20 May 2008 20:06:46 +0400 To: Andriy Gapon References: <48318E4D.1070009@icyb.net.ua> <93743292@ipt.ru> <48329DD7.2070909@icyb.net.ua> From: Boris Samorodov Date: Tue, 20 May 2008 20:06:18 +0400 In-Reply-To: <48329DD7.2070909@icyb.net.ua> (Andriy Gapon's message of "Tue\, 20 May 2008 12\:45\:59 +0300") Message-ID: <52614981@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-emulation@freebsd.org, FreeBSD Ports Subject: Re: wine rebuilds font smth every time X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 16:06:48 -0000 On Tue, 20 May 2008 12:45:59 +0300 Andriy Gapon wrote: > on 19/05/2008 19:30 Boris Samorodov said the following: > > On Mon, 19 May 2008 17:27:25 +0300 Andriy Gapon wrote: > > > >> Every time I run wine it starts rebuilding something related to fonts. > >> This takes quite long, only after that a windows program is actually > >> executed. > >> Very annoying. > >> This is wine-0.9.59,1, installed from a package, no extra configuration. > > > >> What could be causing this? > >> Any way to fix/workaround? > > > > The current version of wine is 0.9.61,1. Sometime ago wine has got rid > > of fontconfig dependency and the distribution contains fonts. > Thank you! I usually use pre-built packages So do I. But I prepare them myself with the help of ports-mgmt/tinderbox. Try it and you'll like it. > on this system, but made > an exception for this port. Now everything works great. > BTW, is there a schedule for package builds (6-stable and 7-stable)? -- WBR, bsam From owner-freebsd-emulation@FreeBSD.ORG Tue May 20 16:42:48 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3FCD3106566C for ; Tue, 20 May 2008 16:42:48 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.182]) by mx1.freebsd.org (Postfix) with ESMTP id B589F8FC13 for ; Tue, 20 May 2008 16:42:47 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ik-out-1112.google.com with SMTP id c30so803351ika.3 for ; Tue, 20 May 2008 09:42:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:received:received:received:date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; bh=Thy7w0fTclFsZvLb2CVl1gmJZVl88xM174o/JdWlICA=; b=gEfmNbDxwY/c8HqzXVlqQ3JMRwLWUZ2ShhPGHlHash0tiQSXuK/QTOdJp2Nt4VMI5W4KTbg9jffethVl/JepGnJUgI2zxzIqC9VAa9a4+xI8HSg41AWL0sDnsOodLSv2xw/kQFu+Dr5fxgYiUPnkT6wrF5rhR8p8qQ+tSMN1HIc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mail-followup-to:references:mime-version:content-type:content-disposition:in-reply-to:user-agent; b=jHgbE9Ipqm9CgqgcPclQ7/UWuhMJyU2wEUtSzi//0bvtPtgaQTIoPKsPiUwYiM8od22Ni0ASjOqxsZL7BgaZ9jV0EbJxYtUnUqLvTjsiIxUUhKikQ/YwHUE8UA7mCw73IO3LW9tMugwqxKoeqAcai+DbrfTRHt69w/rr6prrchs= Received: by 10.125.80.14 with SMTP id h14mr7459831mkl.41.1211301766064; Tue, 20 May 2008 09:42:46 -0700 (PDT) Received: from acme.spoerlein.net ( [217.172.44.86]) by mx.google.com with ESMTPS id v23sm816686fkd.18.2008.05.20.09.42.45 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 May 2008 09:42:45 -0700 (PDT) Received: from roadrunner.spoerlein.net (e180190187.adsl.alicedsl.de [85.180.190.187]) by acme.spoerlein.net (8.14.2/8.14.2) with ESMTP id m4KGgdxQ062028 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 20 May 2008 18:42:40 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: from roadrunner.spoerlein.net (localhost [127.0.0.1]) by roadrunner.spoerlein.net (8.14.2/8.14.2) with ESMTP id m4KG3hxT002593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 20 May 2008 18:03:43 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Received: (from uqs@localhost) by roadrunner.spoerlein.net (8.14.2/8.14.2/Submit) id m4KG3hcG002592; Tue, 20 May 2008 18:03:43 +0200 (CEST) (envelope-from uspoerlein@gmail.com) Date: Tue, 20 May 2008 18:03:43 +0200 From: Ulrich Spoerlein To: Chagin Dmitry Message-ID: <20080520160343.GA1562@roadrunner.spoerlein.net> Mail-Followup-To: Chagin Dmitry , emulation@freebsd.org References: <7ad7ddd90805190825j4ab17560k3b0296ac00c4a4c9@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) Cc: emulation@freebsd.org Subject: Re: Running IBM DB2 Client V8.1 under FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 16:42:48 -0000 On Mon, 19.05.2008 at 16:10:11 +0400, Chagin Dmitry wrote: > On Mon, 19 May 2008, Ulrich Spoerlein wrote: > > did anyone accomplish this feat? I have a DB/2 Client installation > > copied over to a FreeBSD 6.3 system and while the db2(1) binary > > starts, it runs into an endless loop. > > > > 89938 db2 CALL open(0xbfbfc7e8,0x801,0) > > 89938 db2 NAMI "/compat/linux/home/dtinst/sqllib/tmp/R1116180A8942" > > 89938 db2 NAMI "/home/dtinst/sqllib/tmp/R1116180A8942" > > 89938 db2 RET open JUSTRETURN > > 89938 db2 CALL getdomainname(0xbfbfc930,0xbfbfc938) > > > > JUSTRETURN in linuxolator means ENOENT - 'No such file or directory' error. Thanks for the hint. I should've looked more carefully, turns out this was a permissions problem. (The directory in question was owned by the user, but 755 instead of 775, wtf?) Anyway, the db2 CLI client seems to be working fine, but getting the Perl DBD::DB2 module to work seems to be impossible. It compiles fine, but it will result in a FreeBSD perl library, which itself is linked against a Linux library. Is there a way to make this work? Short of using a linux perl binary+module? Cheers, Ulrich Spoerlein -- It is better to remain silent and be thought a fool, than to speak, and remove all doubt. From owner-freebsd-emulation@FreeBSD.ORG Tue May 20 18:27:30 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4213D106568C for ; Tue, 20 May 2008 18:27:30 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.173]) by mx1.freebsd.org (Postfix) with ESMTP id CABB38FC28 for ; Tue, 20 May 2008 18:27:29 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by ug-out-1314.google.com with SMTP id q2so950522uge.37 for ; Tue, 20 May 2008 11:27:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:subject:in-reply-to:message-id:references:user-agent:mime-version:content-type:from; bh=KSxZe7EOvmvEYaTO/JQeJPucjgxBv/v0m17/UqQqA9A=; b=KXZgg834wCT+RG1rMozvT0vSJe36BZSDhshzjGu2k9uhrhHGUhimWNuwGAZAvcp7ThZLZFretb9At3sEnLwiE0tg2dwPC/sMZYytRjQ2Bfgz4j3dcSGrzZImEOTA6cBUnsp6Yycu5GO+8QBfweII42Afi2oHKKZ0RK+Ijk6CpLo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:subject:in-reply-to:message-id:references:user-agent:mime-version:content-type:from; b=gh/JBAPI+L7oMhgm14PiykuoHnr9kSx/EO2IEFZcNWyxApsGgL3AwXI8e8X9RO54MKndSVcYjGl/VUqbAISGGXFCNcGLCBS5HlEmicWSTUhGjNDvxHDVc/B5YhEF9llhCqYV17L3TZGrs7eZcjW7eT35CdDZDJSF9jojfnzqoVg= Received: by 10.125.111.14 with SMTP id o14mr7557384mkm.3.1211308047979; Tue, 20 May 2008 11:27:27 -0700 (PDT) Received: from ora.chd.net ( [81.200.6.196]) by mx.google.com with ESMTPS id 4sm478074fge.5.2008.05.20.11.27.21 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 May 2008 11:27:23 -0700 (PDT) Date: Tue, 20 May 2008 22:27:18 +0400 (MSD) To: Chagin Dmitry , emulation@freebsd.org In-Reply-To: <20080520160343.GA1562@roadrunner.spoerlein.net> Message-ID: References: <7ad7ddd90805190825j4ab17560k3b0296ac00c4a4c9@mail.gmail.com> <20080520160343.GA1562@roadrunner.spoerlein.net> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry Cc: Subject: Re: Running IBM DB2 Client V8.1 under FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 May 2008 18:27:30 -0000 On Tue, 20 May 2008, Ulrich Spoerlein wrote: > On Mon, 19.05.2008 at 16:10:11 +0400, Chagin Dmitry wrote: >> On Mon, 19 May 2008, Ulrich Spoerlein wrote: >> > did anyone accomplish this feat? I have a DB/2 Client installation >> > copied over to a FreeBSD 6.3 system and while the db2(1) binary >> > starts, it runs into an endless loop. >> > >> > 89938 db2 CALL open(0xbfbfc7e8,0x801,0) >> > 89938 db2 NAMI "/compat/linux/home/dtinst/sqllib/tmp/R1116180A8942" >> > 89938 db2 NAMI "/home/dtinst/sqllib/tmp/R1116180A8942" >> > 89938 db2 RET open JUSTRETURN >> > 89938 db2 CALL getdomainname(0xbfbfc930,0xbfbfc938) >> > >> >> JUSTRETURN in linuxolator means ENOENT - 'No such file or directory' error. > > Thanks for the hint. I should've looked more carefully, turns out this > was a permissions problem. (The directory in question was owned by the > user, but 755 instead of 775, wtf?) > > Anyway, the db2 CLI client seems to be working fine, but getting the > Perl DBD::DB2 module to work seems to be impossible. It compiles fine, > but it will result in a FreeBSD perl library, which itself is linked > against a Linux library. > > Is there a way to make this work? Short of using a linux perl > binary+module? > i think that you need to make at first linux-perl port. -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Wed May 21 05:23:03 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 16A051065670 for ; Wed, 21 May 2008 05:23:03 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.184]) by mx1.freebsd.org (Postfix) with ESMTP id 91B6C8FC15 for ; Wed, 21 May 2008 05:23:02 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by nf-out-0910.google.com with SMTP id h3so1330310nfh.33 for ; Tue, 20 May 2008 22:23:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:cc:subject:in-reply-to:message-id:references:user-agent:mime-version:content-type:from; bh=YPqFgJ+++Uvy5tGJxfbVd9aXpcN8AKCjeNjA+iHySIQ=; b=QB+XkhTV064Z4ZDEs7GruT5Avc8J3r7jg3XjcyAcIqlv9uBj68/azjV5yRWat+zYlKgFPhDgTtLGTncTUmhov+VWymVBml+xSkUrdFkQ+1ghDAjgo4olE22AXkx/pA88rkUfj4roRxbuhm4mJjUXqc74bp5I/ZAhgNX6XQUKqPQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:cc:subject:in-reply-to:message-id:references:user-agent:mime-version:content-type:from; b=SzsDZj+iLVOaBJj3OZhwa0NYXJUpGx/CLQ5lTXejB0NJc0L/Yu6vGh52LQlibNMoyENJnQawmRVGbTWbtakC/PQPG5j4oyDjLZ105HHaEsKTg+V9905TUEGeonIEVN5mD1RB1Le8dkxk6xL7fFXtPwsrT+I6NOrIWtZ3wFkI2mk= Received: by 10.210.25.2 with SMTP id 2mr8930349eby.29.1211347381209; Tue, 20 May 2008 22:23:01 -0700 (PDT) Received: from ora.chd.net ( [81.200.6.196]) by mx.google.com with ESMTPS id z40sm1085833ikz.7.2008.05.20.22.22.58 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 20 May 2008 22:22:58 -0700 (PDT) Date: Wed, 21 May 2008 01:09:17 +0400 (MSD) cc: freebsd-emulation@freebsd.org In-Reply-To: <200805191106.m4JB6oBF011533@freefall.freebsd.org> Message-ID: References: <200805191106.m4JB6oBF011533@freefall.freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII From: Chagin Dmitry Subject: Re: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 05:23:03 -0000 On Mon, 19 May 2008, FreeBSD bugmaster wrote: > Current FreeBSD problem reports > Critical problems > Serious problems > > S Tracker Resp. Description > -------------------------------------------------------------------------------- > o kern/21463 emulation [linux] Linux compatability mode should not allow setu > o kern/97326 emulation [linux] file descriptor leakage in linux emulation > o kern/117010 emulation [linux] linux_getdents() get something like buffer ove > about 117010... Can somebody test this patch on amd64 and i386? It is necessary linux_base-f8, 2.6.16, -current. thnx! diff --git a/src/sys/compat/linux/linux_file.c b/src/sys/compat/linux/linux_file.c index a843659..0acd07f 100644 --- a/src/sys/compat/linux/linux_file.c +++ b/src/sys/compat/linux/linux_file.c @@ -240,6 +240,7 @@ linux_lseek(struct thread *td, struct linux_lseek_args *args) return error; } +#if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) int linux_llseek(struct thread *td, struct linux_llseek_args *args) { @@ -278,6 +279,7 @@ linux_readdir(struct thread *td, struct linux_readdir_args *args) lda.count = 1; return linux_getdents(td, &lda); } +#endif /* __i386__ || (__amd64__ && COMPAT_LINUX32) */ /* * Note that linux_getdents(2) and linux_getdents64(2) have the same @@ -289,7 +291,7 @@ linux_readdir(struct thread *td, struct linux_readdir_args *args) */ struct l_dirent { - l_long d_ino; + l_ino_t d_ino; l_off_t d_off; l_ushort d_reclen; char d_name[LINUX_NAME_MAX + 1]; @@ -536,6 +538,7 @@ linux_getdents64(struct thread *td, struct linux_getdents64_args *args) return (getdents_common(td, args, 1)); } + /* * These exist mainly for hooks for doing /compat/linux translation. */ @@ -905,6 +908,7 @@ linux_truncate(struct thread *td, struct linux_truncate_args *args) return (error); } +#if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) int linux_truncate64(struct thread *td, struct linux_truncate64_args *args) { @@ -922,6 +926,8 @@ linux_truncate64(struct thread *td, struct linux_truncate64_args *args) LFREEPATH(path); return (error); } +#endif /* __i386__ || (__amd64__ && COMPAT_LINUX32) */ + int linux_ftruncate(struct thread *td, struct linux_ftruncate_args *args) { @@ -1119,6 +1125,7 @@ linux_mount(struct thread *td, struct linux_mount_args *args) return (error); } +#if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) int linux_oldumount(struct thread *td, struct linux_oldumount_args *args) { @@ -1128,6 +1135,7 @@ linux_oldumount(struct thread *td, struct linux_oldumount_args *args) args2.flags = 0; return (linux_umount(td, &args2)); } +#endif /* __i386__ || (__amd64__ && COMPAT_LINUX32) */ int linux_umount(struct thread *td, struct linux_umount_args *args) @@ -1258,7 +1266,7 @@ bsd_to_linux_flock64(struct flock *bsd_flock, struct l_flock64 *linux_flock) #endif /* __i386__ || (__amd64__ && COMPAT_LINUX32) */ static int -fcntl_common(struct thread *td, struct linux_fcntl64_args *args) +fcntl_common(struct thread *td, struct linux_fcntl_args *args) { struct l_flock linux_flock; struct flock bsd_flock; @@ -1382,17 +1390,13 @@ fcntl_common(struct thread *td, struct linux_fcntl64_args *args) int linux_fcntl(struct thread *td, struct linux_fcntl_args *args) { - struct linux_fcntl64_args args64; #ifdef DEBUG if (ldebug(fcntl)) printf(ARGS(fcntl, "%d, %08x, *"), args->fd, args->cmd); #endif - args64.fd = args->fd; - args64.cmd = args->cmd; - args64.arg = args->arg; - return (fcntl_common(td, &args64)); + return (fcntl_common(td, args)); } #if defined(__i386__) || (defined(__amd64__) && defined(COMPAT_LINUX32)) @@ -1401,6 +1405,7 @@ linux_fcntl64(struct thread *td, struct linux_fcntl64_args *args) { struct l_flock64 linux_flock; struct flock bsd_flock; + struct linux_fcntl_args fcntl_args; int error; #ifdef DEBUG @@ -1441,7 +1446,10 @@ linux_fcntl64(struct thread *td, struct linux_fcntl64_args *args) (intptr_t)&bsd_flock)); } - return (fcntl_common(td, args)); + fcntl_args.fd = args->fd; + fcntl_args.cmd = args->cmd; + fcntl_args.arg = args->arg; + return (fcntl_common(td, &fcntl_args)); } #endif /* __i386__ || (__amd64__ && COMPAT_LINUX32) */ -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Wed May 21 06:08:27 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 19781106566B for ; Wed, 21 May 2008 06:08:27 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id C5C5D8FC1C for ; Wed, 21 May 2008 06:08:26 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A57836.dip.t-dialin.net [84.165.120.54]) by redbull.bpaserver.net (Postfix) with ESMTP id C12FC2E0D6; Wed, 21 May 2008 08:08:23 +0200 (CEST) Received: from webmail.leidinger.net (webmail.leidinger.net [192.168.1.102]) by outgoing.leidinger.net (Postfix) with ESMTP id A55F910576A; Wed, 21 May 2008 08:08:20 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.2/8.13.8/Submit) id m4L68KBC076928; Wed, 21 May 2008 08:08:20 +0200 (CEST) (envelope-from Alexander@Leidinger.net) Received: from pslux.cec.eu.int (pslux.cec.eu.int [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Wed, 21 May 2008 08:08:20 +0200 Message-ID: <20080521080820.427629jjtsoea6ac@webmail.leidinger.net> X-Priority: 3 (Normal) Date: Wed, 21 May 2008 08:08:20 +0200 From: Alexander Leidinger To: Ulrich Spoerlein References: <7ad7ddd90805190825j4ab17560k3b0296ac00c4a4c9@mail.gmail.com> <20080520160343.GA1562@roadrunner.spoerlein.net> In-Reply-To: <20080520160343.GA1562@roadrunner.spoerlein.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: quoted-printable User-Agent: Internet Messaging Program (IMP) H3 (4.2-RC2) / FreeBSD-8.0 X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.3, required 6, BAYES_00 -15.00, J_CHICKENPOX_66 0.60, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: emulation@freebsd.org Subject: Re: Running IBM DB2 Client V8.1 under FreeBSD X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 06:08:27 -0000 Quoting Ulrich Spoerlein (from Tue, 20 May 2008 =20 18:03:43 +0200): > Anyway, the db2 CLI client seems to be working fine, but getting the > Perl DBD::DB2 module to work seems to be impossible. It compiles fine, > but it will result in a FreeBSD perl library, which itself is linked > against a Linux library. > > Is there a way to make this work? Short of using a linux perl > binary+module? AFAIK a perl module is just some kind of a library (from a compiler =20 point of view), so it depends on which symbols the linux library uses =20 and if you are willing to write some compat-shims. In the icc port we =20 have some black magic to be able to link the linux-libs which come =20 with icc to create a native FreeBSD program, maybe you can borrow some =20 of this (objcpy in the Makefile and some stuff in files/). Feel free =20 to ask here if you have some specific questions regarding the icc =20 black magic. Bye, Alexander. --=20 Don't ever slam a door; you might want to go back. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID =3D B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID =3D 72077137 From owner-freebsd-emulation@FreeBSD.ORG Wed May 21 08:05:05 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 230F2106566C for ; Wed, 21 May 2008 08:05:05 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id C99B98FC2A for ; Wed, 21 May 2008 08:05:04 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id B123A67FAAA; Wed, 21 May 2008 10:04:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7O2skP-LLoC3; Wed, 21 May 2008 10:04:23 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id 7599867FAA7; Wed, 21 May 2008 10:04:23 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m4L84Ntx070014; Wed, 21 May 2008 10:04:23 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 21 May 2008 10:04:22 +0200 From: Roman Divacky To: Chagin Dmitry Message-ID: <20080521080422.GA69849@freebsd.org> References: <200805191106.m4JB6oBF011533@freefall.freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 08:05:05 -0000 On Wed, May 21, 2008 at 01:09:17AM +0400, Chagin Dmitry wrote: > On Mon, 19 May 2008, FreeBSD bugmaster wrote: > > >Current FreeBSD problem reports > >Critical problems > >Serious problems > > > >S Tracker Resp. Description > >-------------------------------------------------------------------------------- > >o kern/21463 emulation [linux] Linux compatability mode should not > >allow setu > >o kern/97326 emulation [linux] file descriptor leakage in linux > >emulation > >o kern/117010 emulation [linux] linux_getdents() get something like > >buffer ove > > > > about 117010... > Can somebody test this patch on amd64 and i386? > It is necessary linux_base-f8, 2.6.16, -current. can you describe the idea behind the patch? why do you think it's correct to replace fcntl64 with fcntl args? I'll take a look at this some further but I want to know the rationale behind this thnx! roman From owner-freebsd-emulation@FreeBSD.ORG Wed May 21 17:39:16 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FB4D1065672 for ; Wed, 21 May 2008 17:39:16 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.186]) by mx1.freebsd.org (Postfix) with ESMTP id 087938FC19 for ; Wed, 21 May 2008 17:39:14 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so3048742fkk.11 for ; Wed, 21 May 2008 10:39:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject:in-reply-to:message-id:references:user-agent:mime-version:content-type:from; bh=ChNPa8+s7SMjgpPf+DczPBA/8lK7I5UhZkldIDo29KU=; b=rxYANE+guo46qAhtycxXQQSmChGDMs/M608Syw9A/d+mGPksgmdHs66Ej7QUO9lo6sO2WJMIkdUnlrF963/S9y9sC++9OisuzkypCq/Nhiogum7OICrQsjhu9bRq4H8x+OmRTSM2mhmPNVLcl94Z2euF98afO7+23+vlobx+Gsg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:in-reply-to:message-id:references:user-agent:mime-version:content-type:from; b=i9heiBhqvgFBUB+6WTrAI/aT0wYW+ySTzDfZRrCMywJoh/SH8YxPGC5wq/sAxrnpXOSwaCwVQre1tMHs5JXRChKMMGsnJcFqWshf97UnFtUD7XEYmdu7Ov+ObxzO3Czyx+0lQHg/QKjJIf5X7Faznm2rbUWVdZlg21fOuOBk96Q= Received: by 10.125.159.1 with SMTP id l1mr2343314mko.143.1211391551324; Wed, 21 May 2008 10:39:11 -0700 (PDT) Received: from ora.chd.net ( [81.200.6.196]) by mx.google.com with ESMTPS id 3sm2464262fge.3.2008.05.21.10.39.08 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 21 May 2008 10:39:09 -0700 (PDT) Date: Wed, 21 May 2008 21:39:01 +0400 (MSD) To: Roman Divacky In-Reply-To: <20080521080422.GA69849@freebsd.org> Message-ID: References: <200805191106.m4JB6oBF011533@freefall.freebsd.org> <20080521080422.GA69849@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII From: Chagin Dmitry Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 17:39:16 -0000 On Wed, 21 May 2008, Roman Divacky wrote: > On Wed, May 21, 2008 at 01:09:17AM +0400, Chagin Dmitry wrote: >> On Mon, 19 May 2008, FreeBSD bugmaster wrote: >> >> >Current FreeBSD problem reports >> >Critical problems >> >Serious problems >> > >> >S Tracker Resp. Description >> >-------------------------------------------------------------------------------- >> >o kern/21463 emulation [linux] Linux compatability mode should not >> >allow setu >> >o kern/97326 emulation [linux] file descriptor leakage in linux >> >emulation >> >o kern/117010 emulation [linux] linux_getdents() get something like >> >buffer ove >> > >> >> about 117010... >> Can somebody test this patch on amd64 and i386? >> It is necessary linux_base-f8, 2.6.16, -current. > > can you describe the idea behind the patch? why do you think > it's correct to replace fcntl64 with fcntl args? > this diff from linux64 port, therefore in it a lot of not concerning to getdents(), but it will not prevent test fcntl64 with fcntl have identical args in linux, but linux x86-64 has no fcntl64 syscall to getdents concerns only changes of ino member of struct l_dirent, essence in that i too had problem with getdents. and i have not understood after what changes it have worked correctly. it disturbs me. -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Wed May 21 17:42:42 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA7E7106567F for ; Wed, 21 May 2008 17:42:42 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from vlakno.cz (vlk.vlakno.cz [62.168.28.247]) by mx1.freebsd.org (Postfix) with ESMTP id 7B3348FC1B for ; Wed, 21 May 2008 17:42:41 +0000 (UTC) (envelope-from rdivacky@vlk.vlakno.cz) Received: from localhost (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id C2D2367FB9B; Wed, 21 May 2008 19:42:02 +0200 (CEST) X-Virus-Scanned: amavisd-new at vlakno.cz Received: from vlakno.cz ([127.0.0.1]) by localhost (vlk.vlakno.cz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 7Q+x5DczeppO; Wed, 21 May 2008 19:42:01 +0200 (CEST) Received: from vlk.vlakno.cz (localhost [127.0.0.1]) by vlakno.cz (Postfix) with ESMTP id AD9F867FB61; Wed, 21 May 2008 19:42:01 +0200 (CEST) Received: (from rdivacky@localhost) by vlk.vlakno.cz (8.14.2/8.14.2/Submit) id m4LHg09s015295; Wed, 21 May 2008 19:42:00 +0200 (CEST) (envelope-from rdivacky) Date: Wed, 21 May 2008 19:42:00 +0200 From: Roman Divacky To: Chagin Dmitry Message-ID: <20080521174200.GA15241@freebsd.org> References: <200805191106.m4JB6oBF011533@freefall.freebsd.org> <20080521080422.GA69849@freebsd.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: freebsd-emulation@freebsd.org Subject: Re: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 17:42:42 -0000 On Wed, May 21, 2008 at 09:39:01PM +0400, Chagin Dmitry wrote: > On Wed, 21 May 2008, Roman Divacky wrote: > > >On Wed, May 21, 2008 at 01:09:17AM +0400, Chagin Dmitry wrote: > >>On Mon, 19 May 2008, FreeBSD bugmaster wrote: > >> > >>>Current FreeBSD problem reports > >>>Critical problems > >>>Serious problems > >>> > >>>S Tracker Resp. Description > >>>-------------------------------------------------------------------------------- > >>>o kern/21463 emulation [linux] Linux compatability mode should not > >>>allow setu > >>>o kern/97326 emulation [linux] file descriptor leakage in linux > >>>emulation > >>>o kern/117010 emulation [linux] linux_getdents() get something like > >>>buffer ove > >>> > >> > >>about 117010... > >>Can somebody test this patch on amd64 and i386? > >>It is necessary linux_base-f8, 2.6.16, -current. > > > >can you describe the idea behind the patch? why do you think > >it's correct to replace fcntl64 with fcntl args? > > > > this diff from linux64 port, therefore in it a lot of not concerning > to getdents(), but it will not prevent test > > fcntl64 with fcntl have identical args in linux, but linux x86-64 has > no fcntl64 syscall > > to getdents concerns only changes of ino member of struct l_dirent, > essence in that i too had problem with getdents. and i have not > understood after what changes it have worked correctly. it disturbs me. so.. you are saying that you dont know why but it fixes the problem for you. right? btw.. your git repo seems to be down From owner-freebsd-emulation@FreeBSD.ORG Wed May 21 19:26:00 2008 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A3CA1065674 for ; Wed, 21 May 2008 19:26:00 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: from gv-out-0910.google.com (gv-out-0910.google.com [216.239.58.188]) by mx1.freebsd.org (Postfix) with ESMTP id 86D0B8FC19 for ; Wed, 21 May 2008 19:25:59 +0000 (UTC) (envelope-from chagin.dmitry@gmail.com) Received: by gv-out-0910.google.com with SMTP id n8so596263gve.39 for ; Wed, 21 May 2008 12:25:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:to:cc:subject:in-reply-to:message-id:references:user-agent:mime-version:content-type:from; bh=hulqLWmhv2sqnuZhnSgCpLRoOy+LlUK/9q+gF7JO+eE=; b=DJaKAW746Whk2b1ORlyeeJIY2FGq5ZupGhKtBFLhQk8XgZZ3kkndJX075rs8OylFp6rK70ivdoDHziP8W6n2TXpg1mddve673U1I0s/FmCxHBCdXNPYzCUCm67J4Pe0sxRS2cZYy9bxRVXWC8vUME8mMNN2Ux5A6L1AbUpRCNt8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:to:cc:subject:in-reply-to:message-id:references:user-agent:mime-version:content-type:from; b=NtlqUyohD14Drrx/fGsT82onPgelBL34KPrJdhTnSQKc92gxhStn40D3y8cfR5KgNmtUY8VYO9cyIgjQIhzEm2gOco9e/KJvegJbsNz+AaWXuhmJO6EqBwsVAysdJAjhmZtmHK3RP1x4d+AygWtoA2IPyrP1cD6OxCnFHxGLZWg= Received: by 10.125.126.9 with SMTP id d9mr2415310mkn.163.1211397957460; Wed, 21 May 2008 12:25:57 -0700 (PDT) Received: from ora.chd.net ( [81.200.6.196]) by mx.google.com with ESMTPS id 12sm2631116fgg.0.2008.05.21.12.25.55 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 21 May 2008 12:25:56 -0700 (PDT) Date: Wed, 21 May 2008 23:25:54 +0400 (MSD) To: Roman Divacky In-Reply-To: <20080521174200.GA15241@freebsd.org> Message-ID: References: <200805191106.m4JB6oBF011533@freefall.freebsd.org> <20080521080422.GA69849@freebsd.org> <20080521174200.GA15241@freebsd.org> User-Agent: Alpine 1.10 (BSF 962 2008-03-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed From: Chagin Dmitry Cc: freebsd-emulation@freebsd.org, Chagin Dmitry Subject: Re: Current problem reports assigned to freebsd-emulation@FreeBSD.org X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 May 2008 19:26:00 -0000 On Wed, 21 May 2008, Roman Divacky wrote: > On Wed, May 21, 2008 at 09:39:01PM +0400, Chagin Dmitry wrote: >> On Wed, 21 May 2008, Roman Divacky wrote: >> >> >On Wed, May 21, 2008 at 01:09:17AM +0400, Chagin Dmitry wrote: >> >>On Mon, 19 May 2008, FreeBSD bugmaster wrote: >> >> >> >>>Current FreeBSD problem reports >> >>>Critical problems >> >>>Serious problems >> >>> >> >>>S Tracker Resp. Description >> >>>-------------------------------------------------------------------------------- >> >>>o kern/21463 emulation [linux] Linux compatability mode should not >> >>>allow setu >> >>>o kern/97326 emulation [linux] file descriptor leakage in linux >> >>>emulation >> >>>o kern/117010 emulation [linux] linux_getdents() get something like >> >>>buffer ove >> >>> >> >> >> >>about 117010... >> >>Can somebody test this patch on amd64 and i386? >> >>It is necessary linux_base-f8, 2.6.16, -current. >> > >> >can you describe the idea behind the patch? why do you think >> >it's correct to replace fcntl64 with fcntl args? >> > >> >> this diff from linux64 port, therefore in it a lot of not concerning >> to getdents(), but it will not prevent test >> >> fcntl64 with fcntl have identical args in linux, but linux x86-64 has >> no fcntl64 syscall >> >> to getdents concerns only changes of ino member of struct l_dirent, >> essence in that i too had problem with getdents. and i have not >> understood after what changes it have worked correctly. it disturbs me. > > so.. you are saying that you dont know why but it fixes the problem for > you. right? ugu, i don't know what fixed the problem, it disturbs me ) > > btw.. your git repo seems to be down ups... firewall, now all ok. sorry, i have forgotten about it. -- Have fun! chd From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 09:05:33 2008 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 18486106566C; Sat, 24 May 2008 09:05:33 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id E58658FC0A; Sat, 24 May 2008 09:05:32 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.16.45] (helo=localhost.my.domain) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1Jzpgv-0008LI-Q1; Sat, 24 May 2008 13:05:29 +0400 To: "Ganael LAPLANCHE" References: <20080524073145.M76509@martymac.com> From: Boris Samorodov Date: Sat, 24 May 2008 13:04:57 +0400 In-Reply-To: <20080524073145.M76509@martymac.com> (Ganael LAPLANCHE's message of "Sat\, 24 May 2008 10\:08\:56 +0200 \(CEST\)") Message-ID: <07923414@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: ports@freebsd.org, emulation@FreeBSD.org Subject: Re: USE_LINUX_RPM and PORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 09:05:33 -0000 (the topic is emulation@ relevant, added to CC) On Sat, 24 May 2008 10:08:56 +0200 (CEST) Ganael LAPLANCHE wrote: > Hi everybody, > One of my ports, archivers/linux-par2cmdline, uses a RPM that contains > documentation, but does not (yet) handle the NOPORTDOCS option. An error is > generated in Tinderbox and complains that documentation files remain on the > filesystem after deinstallation. See : > http://t64.tecnik93.com/logs/7-STABLE-FTP/linux-par2cmdline-0.4.log > as reported by Itetcu. > My port uses both the USE_LINUX_RPM facility and PORTDOCS variable. > What happens is that passing NOPORTDOCS=yes to the port is ignored by > bsd.linux-rpm.mk's do-install target which installs documentation anyway (as any > other file). As I have also declared documentation files with the PORTDOCS > variable, they are *not* deinstalled when using NOPORTDOCS=yes. > So, I am a bit stuck since bsd.linux-rpm.mk does not seem to provide a way to > handle that case... > I see two options : > - Override the do-install target and do things manually, which seems a bad idea > since several actions are involved in installing linux files (brandelf, cpio, ...) > - Do not use PORTDOCS option anymore and treat doc files as any other file, but > this implies installing documentation files even if it has not been requested by > the user. I could even use AUTOMATIC_PLIST for that... > What would be the best option ? Would you have any other idea ? I'd suggest another option. What about fixing bsd.linux-rpm.mk? Ex., one may introduce, say, a pre-install target (or even do it at the very beginning of a do-install stage) and conditionally delete unneeded files from WRKDIR (so they won't get installed at do-install stage). -- WBR, bsam From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 15:43:49 2008 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6C0D1106567E for ; Sat, 24 May 2008 15:43:49 +0000 (UTC) (envelope-from ganael.laplanche@martymac.com) Received: from data.galacsys.net (data.galacsys.net [217.24.81.1]) by mx1.freebsd.org (Postfix) with ESMTP id 466068FC16 for ; Sat, 24 May 2008 15:43:49 +0000 (UTC) (envelope-from ganael.laplanche@martymac.com) Received: from martymac.com (webmail.galacsys.net [217.24.81.215]) by data.galacsys.net (Postfix) with ESMTP id 7320916B9ED; Sat, 24 May 2008 17:27:04 +0200 (CEST) From: "Ganael LAPLANCHE" To: Boris Samorodov , "Ganael LAPLANCHE" X-Openwebmail-Date: Sat, 24 May 2008 17:27:04 +0100 Message-Id: <20080524150909.M12444@martymac.com> In-Reply-To: <07923414@ipt.ru> References: <20080524073145.M76509@martymac.com> <07923414@ipt.ru> X-Mailer: Open WebMail 2.01 20030425 X-OriginatingIP: 82.246.139.206 (ganael.laplanche@martymac.com) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Date: Sat, 24 May 2008 17:27:04 +0200 (CEST) Cc: ports@freebsd.org, emulation@FreeBSD.org Subject: Re: USE_LINUX_RPM and PORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 15:43:49 -0000 On Sat, 24 May 2008 13:04:57 +0400, Boris Samorodov wrote > I'd suggest another option. What about fixing bsd.linux-rpm.mk? Ex., > one may introduce, say, a pre-install target (or even do it at the > very beginning of a do-install stage) and conditionally delete > unneeded files from WRKDIR (so they won't get installed at do-install > stage). Thanks for your answer :) Of course, fixing bsd.linux-rpm.mk would be the best option ! Your idea is good, but PORTDOCS would not be useable for that purpose. It cannot be used to identify files to delete because it is relative to the destination target (DOCSDIR), not to WRKDIR or WRKSRC. A good idea may be to introduce a new variable, say RMWRKDIRFILES= (something like that) and a target, as you suggest, that would delete all those files relative to WRKDIR, before the install target. Note that this idea is not limited to bsd.linux.mk and could be introduced more generally in bsd.port.mk. Of course, considering my original post and port problem, I can do this manually if this idea is not a good one :p Ganaël LAPLANCHE ganael.laplanche@martymac.com http://www.martymac.com From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 16:05:43 2008 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 904B01065677; Sat, 24 May 2008 16:05:43 +0000 (UTC) (envelope-from ganael.laplanche@martymac.com) Received: from data.galacsys.net (data.galacsys.net [217.24.81.1]) by mx1.freebsd.org (Postfix) with ESMTP id 64BC48FC13; Sat, 24 May 2008 16:05:43 +0000 (UTC) (envelope-from ganael.laplanche@martymac.com) Received: from martymac.com (webmail.galacsys.net [217.24.81.215]) by data.galacsys.net (Postfix) with ESMTP id 70D6E16A4A2; Sat, 24 May 2008 18:05:42 +0200 (CEST) From: "Ganael LAPLANCHE" To: "Ganael LAPLANCHE" , Boris Samorodov , "Ganael LAPLANCHE" X-Openwebmail-Date: Sat, 24 May 2008 18:05:42 +0100 Message-Id: <20080524160433.M17651@martymac.com> In-Reply-To: <20080524150909.M12444@martymac.com> References: <20080524073145.M76509@martymac.com> <07923414@ipt.ru> <20080524150909.M12444@martymac.com> X-Mailer: Open WebMail 2.01 20030425 X-OriginatingIP: 82.246.139.206 (ganael.laplanche@martymac.com) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Date: Sat, 24 May 2008 18:05:42 +0200 (CEST) Cc: ports@freebsd.org, emulation@FreeBSD.org Subject: Re: USE_LINUX_RPM and PORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 16:05:43 -0000 On Sat, 24 May 2008 17:27:04 +0200 (CEST), Ganael LAPLANCHE wrote > On Sat, 24 May 2008 13:04:57 +0400, Boris Samorodov wrote > > > I'd suggest another option. What about fixing bsd.linux-rpm.mk? Ex., > > one may introduce, say, a pre-install target (or even do it at the > > very beginning of a do-install stage) and conditionally delete > > unneeded files from WRKDIR (so they won't get installed at do-install > > stage). > > Thanks for your answer :) > > Of course, fixing bsd.linux-rpm.mk would be the best option ! > > Your idea is good, but PORTDOCS would not be useable for that purpose. > It cannot be used to identify files to delete because it is relative > to the destination target (DOCSDIR), not to WRKDIR or WRKSRC. Wait... DOCSDIR_REL (relative to PREFIX) is derived from DOCSDIR and *may* be also always relative to WRKDIR for linux RPMs, since RPM installation is just a copy of a tree structure which is relative to PREFIX. So maybe I was wrong here. Anyway, if I add that to my archivers/linux-par2cmdline port's Makefile : .if defined(NOPORTDOCS) post-extract: .for x in ${PORTDOCS} @${RM} ${WRKDIR}/${DOCSDIR_REL}/${x} .endfor @${RMDIR} ${WRKDIR}/${DOCSDIR_REL}/ .endif It works :) So I think I'll stick to that solution at the moment. Note that two other linux ports are subject to the same problem as mine : /usr/ports/graphics/linux-png and /usr/ports/graphics/linux-png10. Best regards, Ganaël LAPLANCHE ganael.laplanche@martymac.com http://www.martymac.com From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 16:50:03 2008 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B05C51065674; Sat, 24 May 2008 16:50:03 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id 7D5968FC1C; Sat, 24 May 2008 16:50:03 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.16.45] (helo=localhost.my.domain) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1JzwwU-000EO3-61; Sat, 24 May 2008 20:50:02 +0400 To: "Ganael LAPLANCHE" References: <20080524073145.M76509@martymac.com> <07923414@ipt.ru> <20080524150909.M12444@martymac.com> <20080524160433.M17651@martymac.com> From: Boris Samorodov Date: Sat, 24 May 2008 20:49:29 +0400 In-Reply-To: <20080524160433.M17651@martymac.com> (Ganael LAPLANCHE's message of "Sat\, 24 May 2008 18\:05\:42 +0200 \(CEST\)") Message-ID: <15111974@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: ports@freebsd.org, emulation@FreeBSD.org Subject: Re: USE_LINUX_RPM and PORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 16:50:03 -0000 On Sat, 24 May 2008 18:05:42 +0200 (CEST) Ganael LAPLANCHE wrote: > On Sat, 24 May 2008 17:27:04 +0200 (CEST), Ganael LAPLANCHE wrote > > On Sat, 24 May 2008 13:04:57 +0400, Boris Samorodov wrote > > > > > I'd suggest another option. What about fixing bsd.linux-rpm.mk? Ex., > > > one may introduce, say, a pre-install target (or even do it at the > > > very beginning of a do-install stage) and conditionally delete > > > unneeded files from WRKDIR (so they won't get installed at do-install > > > stage). > > > > Thanks for your answer :) > > > > Of course, fixing bsd.linux-rpm.mk would be the best option ! > > > > Your idea is good, but PORTDOCS would not be useable for that purpose. > > It cannot be used to identify files to delete because it is relative > > to the destination target (DOCSDIR), not to WRKDIR or WRKSRC. > Wait... DOCSDIR_REL (relative to PREFIX) is derived from DOCSDIR and *may* be > also always relative to WRKDIR for linux RPMs, since RPM installation is just a > copy of a tree structure which is relative to PREFIX. So maybe I was wrong here. > Anyway, if I add that to my archivers/linux-par2cmdline port's Makefile : > .if defined(NOPORTDOCS) > post-extract: > .for x in ${PORTDOCS} > @${RM} ${WRKDIR}/${DOCSDIR_REL}/${x} > .endfor > @${RMDIR} ${WRKDIR}/${DOCSDIR_REL}/ > .endif > It works :) So I think I'll stick to that solution at the moment. Great, but I'd say that it should be done a little bit later (may be at pre-install stage). "Extract" stage according to bsd.ports.mk "Unpacks ${DISTFILES} into ${WRKDIR}". > Note that two > other linux ports are subject to the same problem as mine : > /usr/ports/graphics/linux-png and /usr/ports/graphics/linux-png10. Yes, that's why I said that fixing bsd.linux-rpm.mk is a better idea. If you can suggest a patch and send-pr it, that would be great! -- WBR, bsam From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 17:25:05 2008 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09C8C1065671; Sat, 24 May 2008 17:25:05 +0000 (UTC) (envelope-from ganael.laplanche@martymac.com) Received: from data.galacsys.net (data.galacsys.net [217.24.81.1]) by mx1.freebsd.org (Postfix) with ESMTP id D4C198FC18; Sat, 24 May 2008 17:25:04 +0000 (UTC) (envelope-from ganael.laplanche@martymac.com) Received: from martymac.com (webmail.galacsys.net [217.24.81.215]) by data.galacsys.net (Postfix) with ESMTP id D521E16A4B0; Sat, 24 May 2008 19:25:03 +0200 (CEST) From: "Ganael LAPLANCHE" To: Boris Samorodov , "Ganael LAPLANCHE" X-Openwebmail-Date: Sat, 24 May 2008 19:25:03 +0100 Message-Id: <20080524171811.M48751@martymac.com> In-Reply-To: <15111974@ipt.ru> References: <20080524073145.M76509@martymac.com> <07923414@ipt.ru> <20080524150909.M12444@martymac.com> <20080524160433.M17651@martymac.com> <15111974@ipt.ru> X-Mailer: Open WebMail 2.01 20030425 X-OriginatingIP: 82.246.139.206 (ganael.laplanche@martymac.com) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Date: Sat, 24 May 2008 19:25:03 +0200 (CEST) Cc: ports@freebsd.org, emulation@FreeBSD.org Subject: Re: USE_LINUX_RPM and PORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 17:25:05 -0000 On Sat, 24 May 2008 20:49:29 +0400, Boris Samorodov wrote > Great, but I'd say that it should be done a little bit later (may be > at pre-install stage). Not sure about that because when using AUTOMATIC_PLIST in bsd.linux-rpm.mk, pre-install depends on target linux-rpm-generate-plist. So, plist is generated *before* pre-install target. Removing files at pre-install target would break the plist generated. Or am I wrong ? Moreover, I like to know that after the post-extract stage, WRKDIR is clean and has each file I want to work with... > Yes, that's why I said that fixing bsd.linux-rpm.mk is a better idea. > If you can suggest a patch and send-pr it, that would be great! I'll try to, but I won't have much time these days :p Ganaël LAPLANCHE ganael.laplanche@martymac.com http://www.martymac.com From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 17:35:55 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 87BDD106566C; Sat, 24 May 2008 17:35:55 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 5480C8FC1F; Sat, 24 May 2008 17:35:55 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A577B6.dip.t-dialin.net [84.165.119.182]) by redbull.bpaserver.net (Postfix) with ESMTP id E37E62E0D7; Sat, 24 May 2008 19:35:48 +0200 (CEST) Received: from deskjail (unknown [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 3085C109695; Sat, 24 May 2008 19:35:46 +0200 (CEST) Date: Sat, 24 May 2008 19:35:45 +0200 From: Alexander Leidinger To: Boris Samorodov Message-ID: <20080524193545.0167e8a4@deskjail> In-Reply-To: <15111974@ipt.ru> References: <20080524073145.M76509@martymac.com> <07923414@ipt.ru> <20080524150909.M12444@martymac.com> <20080524160433.M17651@martymac.com> <15111974@ipt.ru> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; i686-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-13.4, required 6, BAYES_00 -15.00, MR_STRANGE_QUESTION 1.50, NO_RDNS 0.50, RDNS_DYNAMIC 0.10, SMILEY -0.50) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: ports@freebsd.org, emulation@FreeBSD.org, Ganael LAPLANCHE Subject: Re: USE_LINUX_RPM and PORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 17:35:55 -0000 Quoting Boris Samorodov (Sat, 24 May 2008 20:49:29 +0400): > On Sat, 24 May 2008 18:05:42 +0200 (CEST) Ganael LAPLANCHE wrote: > > On Sat, 24 May 2008 17:27:04 +0200 (CEST), Ganael LAPLANCHE wrote > > > On Sat, 24 May 2008 13:04:57 +0400, Boris Samorodov wrote > > > > > > > I'd suggest another option. What about fixing bsd.linux-rpm.mk? Ex., > > > > one may introduce, say, a pre-install target (or even do it at the > > > > very beginning of a do-install stage) and conditionally delete > > > > unneeded files from WRKDIR (so they won't get installed at do-install > > > > stage). > > > > > > Thanks for your answer :) > > > > > > Of course, fixing bsd.linux-rpm.mk would be the best option ! > > > > > > Your idea is good, but PORTDOCS would not be useable for that purpose. > > > It cannot be used to identify files to delete because it is relative > > > to the destination target (DOCSDIR), not to WRKDIR or WRKSRC. > > > Wait... DOCSDIR_REL (relative to PREFIX) is derived from DOCSDIR and *may* be > > also always relative to WRKDIR for linux RPMs, since RPM installation is just a > > copy of a tree structure which is relative to PREFIX. So maybe I was wrong here. > > Anyway, if I add that to my archivers/linux-par2cmdline port's Makefile : > > > .if defined(NOPORTDOCS) > > post-extract: > > .for x in ${PORTDOCS} > > @${RM} ${WRKDIR}/${DOCSDIR_REL}/${x} > > .endfor > > @${RMDIR} ${WRKDIR}/${DOCSDIR_REL}/ > > .endif > > > It works :) So I think I'll stick to that solution at the moment. > > Great, but I'd say that it should be done a little bit later (may be > at pre-install stage). "Extract" stage according to bsd.ports.mk > "Unpacks ${DISTFILES} into ${WRKDIR}". Removing unwanted stuff in post-extract is not uncommon. I don't think a patch for linux-rpm.mk with something like this would be a bad solution. Bye, Alexander. -- Cats, no less liquid than their shadows, offer no angles to the wind. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 17:38:55 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 677A4106567A; Sat, 24 May 2008 17:38:55 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 3514E8FC17; Sat, 24 May 2008 17:38:55 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A577B6.dip.t-dialin.net [84.165.119.182]) by redbull.bpaserver.net (Postfix) with ESMTP id AE38B2E0D7; Sat, 24 May 2008 19:38:47 +0200 (CEST) Received: from deskjail (unknown [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 2DEEB1097FF; Sat, 24 May 2008 19:38:45 +0200 (CEST) Date: Sat, 24 May 2008 19:38:44 +0200 From: Alexander Leidinger To: "Ganael LAPLANCHE" Message-ID: <20080524193844.44143bdc@deskjail> In-Reply-To: <20080524171811.M48751@martymac.com> References: <20080524073145.M76509@martymac.com> <07923414@ipt.ru> <20080524150909.M12444@martymac.com> <20080524160433.M17651@martymac.com> <15111974@ipt.ru> <20080524171811.M48751@martymac.com> X-Mailer: Claws Mail 3.3.1 (GTK+ 2.12.8; i686-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, ORDB-RBL, SpamAssassin (not cached, score=-14.4, required 6, BAYES_00 -15.00, NO_RDNS 0.50, RDNS_DYNAMIC 0.10) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: ports@freebsd.org, Ganael LAPLANCHE , emulation@FreeBSD.org Subject: Re: USE_LINUX_RPM and PORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 17:38:55 -0000 Quoting "Ganael LAPLANCHE" (Sat, 24 May 2008 19:25:03 +0200 (CEST)): > On Sat, 24 May 2008 20:49:29 +0400, Boris Samorodov wrote > > > Great, but I'd say that it should be done a little bit later (may be > > at pre-install stage). > > Not sure about that because when using AUTOMATIC_PLIST in bsd.linux-rpm.mk, AUTOMATIC_PLIST is evil. For linux-rpm ports I see absolutely no value in using it (we just added it to cut down the noise from one committer, one or two ports out of all the ones we have is not going to hurt us that much). So don't care about it. Bye, Alexander. -- BOFH excuse #235: The new frame relay network hasn't bedded down the software loop transmitter yet http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137 From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 18:00:18 2008 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3583E10656CB; Sat, 24 May 2008 18:00:18 +0000 (UTC) (envelope-from ganael.laplanche@martymac.com) Received: from data.galacsys.net (data.galacsys.net [217.24.81.1]) by mx1.freebsd.org (Postfix) with ESMTP id 0DB958FC12; Sat, 24 May 2008 18:00:17 +0000 (UTC) (envelope-from ganael.laplanche@martymac.com) Received: from martymac.com (webmail.galacsys.net [217.24.81.215]) by data.galacsys.net (Postfix) with ESMTP id A840716B974; Sat, 24 May 2008 20:00:16 +0200 (CEST) From: "Ganael LAPLANCHE" To: Alexander Leidinger , "Ganael LAPLANCHE" X-Openwebmail-Date: Sat, 24 May 2008 20:00:16 +0100 Message-Id: <20080524175654.M92183@martymac.com> In-Reply-To: <20080524193844.44143bdc@deskjail> References: <20080524073145.M76509@martymac.com> <07923414@ipt.ru> <20080524150909.M12444@martymac.com> <20080524160433.M17651@martymac.com> <15111974@ipt.ru> <20080524171811.M48751@martymac.com> <20080524193844.44143bdc@deskjail> X-Mailer: Open WebMail 2.01 20030425 X-OriginatingIP: 82.246.139.206 (ganael.laplanche@martymac.com) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Date: Sat, 24 May 2008 20:00:16 +0200 (CEST) Cc: ports@freebsd.org, Ganael LAPLANCHE , emulation@FreeBSD.org Subject: Re: USE_LINUX_RPM and PORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 18:00:18 -0000 On Sat, 24 May 2008 19:38:44 +0200, Alexander Leidinger wrote > > Not sure about that because when using AUTOMATIC_PLIST in bsd.linux-rpm.mk, > > AUTOMATIC_PLIST is evil. For linux-rpm ports I see absolutely no value > in using it (we just added it to cut down the noise from one committer, > one or two ports out of all the ones we have is not going to hurt us > that much). So don't care about it. Ok. > > Great, but I'd say that it should be done a little bit later (may be > > at pre-install stage). "Extract" stage according to bsd.ports.mk > > "Unpacks ${DISTFILES} into ${WRKDIR}". > > Removing unwanted stuff in post-extract is not uncommon. I don't think > a patch for linux-rpm.mk with something like this would be a bad > solution. Ok, great. As I said earlier, I'll try to provide a patch to bsd.linux-rpm.mk to handle that. Thanks for your help :) Ganaël LAPLANCHE ganael.laplanche@martymac.com http://www.martymac.com From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 18:37:07 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E5BCD1065685; Sat, 24 May 2008 18:37:07 +0000 (UTC) (envelope-from jhein@timing.com) Received: from Daffy.timing.com (ns2.timing.com [206.168.13.218]) by mx1.freebsd.org (Postfix) with ESMTP id BB4538FC13; Sat, 24 May 2008 18:37:07 +0000 (UTC) (envelope-from jhein@timing.com) Received: from gromit.timing.com (gromit.timing.com [206.168.13.209]) by Daffy.timing.com (8.13.1/8.13.1) with ESMTP id m4OIH9eq003722; Sat, 24 May 2008 12:17:09 -0600 (MDT) (envelope-from jhein@timing.com) Received: from gromit.timing.com (localhost [127.0.0.1]) by gromit.timing.com (8.14.2/8.14.2) with ESMTP id m4OIH7D9078292; Sat, 24 May 2008 12:17:07 -0600 (MDT) (envelope-from jhein@gromit.timing.com) Received: (from jhein@localhost) by gromit.timing.com (8.14.2/8.14.2/Submit) id m4OIH7Ai078289; Sat, 24 May 2008 12:17:07 -0600 (MDT) (envelope-from jhein) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <18488.23459.464314.727238@gromit.timing.com> Date: Sat, 24 May 2008 12:17:07 -0600 From: John E Hein To: Alexander Leidinger In-Reply-To: <20080524193545.0167e8a4@deskjail> References: <20080524073145.M76509@martymac.com> <07923414@ipt.ru> <20080524150909.M12444@martymac.com> <20080524160433.M17651@martymac.com> <15111974@ipt.ru> <20080524193545.0167e8a4@deskjail> X-Mailer: VM 7.19 under Emacs 22.1.1 X-Virus-Scanned: ClamAV version 0.91.2, clamav-milter version 0.91.2 on Daffy.timing.com X-Virus-Status: Clean Cc: ports@freebsd.org, Ganael LAPLANCHE , emulation@freebsd.org Subject: Re: USE_LINUX_RPM and PORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 18:37:08 -0000 Alexander Leidinger wrote at 19:35 +0200 on May 24, 2008: > Removing unwanted stuff in post-extract is not uncommon. I don't think > a patch for linux-rpm.mk with something like this would be a bad > solution. Removing things in post-extract _should_ be uncommon. If I want to look at the extraction of the distfile(s), running 'make extract' should give me that without removing things. I think I've heard others echo that sentiment. Why not pre- or post-patch - part of a stage that implies a modification of unpacked distfile(s)? From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 19:44:13 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90CC51065682; Sat, 24 May 2008 19:44:13 +0000 (UTC) (envelope-from ganael.laplanche@martymac.com) Received: from data.galacsys.net (data.galacsys.net [217.24.81.1]) by mx1.freebsd.org (Postfix) with ESMTP id 6A8AC8FC0C; Sat, 24 May 2008 19:44:13 +0000 (UTC) (envelope-from ganael.laplanche@martymac.com) Received: from martymac.com (webmail.galacsys.net [217.24.81.215]) by data.galacsys.net (Postfix) with ESMTP id 5434B16B9F3; Sat, 24 May 2008 21:44:12 +0200 (CEST) From: "Ganael LAPLANCHE" To: John E Hein , Alexander Leidinger X-Openwebmail-Date: Sat, 24 May 2008 21:44:12 +0100 Message-Id: <20080524193744.M30720@martymac.com> In-Reply-To: <18488.23459.464314.727238@gromit.timing.com> References: <20080524073145.M76509@martymac.com> <07923414@ipt.ru> <20080524150909.M12444@martymac.com> <20080524160433.M17651@martymac.com> <15111974@ipt.ru> <20080524193545.0167e8a4@deskjail> <18488.23459.464314.727238@gromit.timing.com> X-Mailer: Open WebMail 2.01 20030425 X-OriginatingIP: 82.246.139.206 (ganael.laplanche@martymac.com) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Date: Sat, 24 May 2008 21:44:12 +0200 (CEST) Cc: ports@freebsd.org, Ganael LAPLANCHE , emulation@freebsd.org Subject: Re: USE_LINUX_RPM and PORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 19:44:13 -0000 On Sat, 24 May 2008 12:17:07 -0600, John E Hein wrote > Why not pre- or post-patch - part of a stage that implies a > modification of unpacked distfile(s)? You are right, pre-patch may be better than post-extract in this way. I think pre-patch is better than post-patch because one does not want to patch files that won't be used in any way. It would also allow to avoid errors, not working on files that will be deleted :p I have successfully tested this patch against bsd.linux-rpm.mk with archivers/linux-par2cmdline, graphics/linux-png and /usr/ports/graphics/linux-png10 : 8<----------------------- --- bsd.linux-rpm.mk.orig 2008-05-24 20:46:04.931665759 +0200 +++ bsd.linux-rpm.mk 2008-05-24 21:32:51.721449935 +0200 @@ -105,6 +105,20 @@ BRANDELF_DIRS?= BRANDELF_FILES?= +# For ports that define PORTDOCS, be sure not to install +# documentation if NOPORTDOCS is defined +.if defined(PORTDOCS) && defined(NOPORTDOCS) +pre-patch: linux-rpm-clean-portdocs + +. if !target(linux-rpm-clean-portdocs) +linux-rpm-clean-portdocs: +.for x in ${PORTDOCS} + @${RM} -f ${WRKDIR}/${DOCSDIR_REL}/${x} +.endfor + @${RMDIR} ${WRKDIR}/${DOCSDIR_REL} +. endif +.endif + . if defined(AUTOMATIC_PLIST) . if ${USE_LINUX} == "fc4" || ${USE_LINUX:L} == "yes" 8<----------------------- Any opinion welcome ;-) Ganaël LAPLANCHE ganael.laplanche@martymac.com http://www.martymac.com From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 20:01:32 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E820C106567E; Sat, 24 May 2008 20:01:32 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from services.ipt.ru (services.ipt.ru [194.62.233.110]) by mx1.freebsd.org (Postfix) with ESMTP id B49FF8FC12; Sat, 24 May 2008 20:01:32 +0000 (UTC) (envelope-from bsam@ipt.ru) Received: from [85.173.16.45] (helo=localhost.my.domain) by services.ipt.ru with esmtpa (Exim 4.54 (FreeBSD)) id 1Jzzvm-000Guv-KR; Sun, 25 May 2008 00:01:30 +0400 To: "Ganael LAPLANCHE" References: <20080524073145.M76509@martymac.com> <07923414@ipt.ru> <20080524150909.M12444@martymac.com> <20080524160433.M17651@martymac.com> <15111974@ipt.ru> <20080524193545.0167e8a4@deskjail> <18488.23459.464314.727238@gromit.timing.com> <20080524193744.M30720@martymac.com> From: Boris Samorodov Date: Sun, 25 May 2008 00:00:57 +0400 In-Reply-To: <20080524193744.M30720@martymac.com> (Ganael LAPLANCHE's message of "Sat\, 24 May 2008 21\:44\:12 +0200 \(CEST\)") Message-ID: <49030486@ipt.ru> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: ports@freebsd.org, Alexander Leidinger , emulation@freebsd.org Subject: Re: USE_LINUX_RPM and PORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 20:01:33 -0000 On Sat, 24 May 2008 21:44:12 +0200 (CEST) Ganael LAPLANCHE wrote: > On Sat, 24 May 2008 12:17:07 -0600, John E Hein wrote > > Why not pre- or post-patch - part of a stage that implies a > > modification of unpacked distfile(s)? > You are right, pre-patch may be better than post-extract in this way. I think > pre-patch is better than post-patch because one does not want to patch files > that won't be used in any way. It would also allow to avoid errors, not working > on files that will be deleted :p > I have successfully tested this patch against bsd.linux-rpm.mk with > archivers/linux-par2cmdline, graphics/linux-png and > /usr/ports/graphics/linux-png10 : > 8<----------------------- > --- bsd.linux-rpm.mk.orig 2008-05-24 20:46:04.931665759 +0200 > +++ bsd.linux-rpm.mk 2008-05-24 21:32:51.721449935 +0200 > @@ -105,6 +105,20 @@ > BRANDELF_DIRS?= > BRANDELF_FILES?= > +# For ports that define PORTDOCS, be sure not to install > +# documentation if NOPORTDOCS is defined > +.if defined(PORTDOCS) && defined(NOPORTDOCS) > +pre-patch: linux-rpm-clean-portdocs > + > +. if !target(linux-rpm-clean-portdocs) > +linux-rpm-clean-portdocs: > +.for x in ${PORTDOCS} > + @${RM} -f ${WRKDIR}/${DOCSDIR_REL}/${x} > +.endfor > + @${RMDIR} ${WRKDIR}/${DOCSDIR_REL} > +. endif > +.endif > + > . if defined(AUTOMATIC_PLIST) > . if ${USE_LINUX} == "fc4" || ${USE_LINUX:L} == "yes" > 8<----------------------- > Any opinion welcome ;-) Seems that we found a consensus here ;-) The patch is OK to me, thanks! -- WBR, bsam From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 20:14:13 2008 Return-Path: Delivered-To: emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 765CB1065671; Sat, 24 May 2008 20:14:13 +0000 (UTC) (envelope-from ganael.laplanche@martymac.com) Received: from data.galacsys.net (data.galacsys.net [217.24.81.1]) by mx1.freebsd.org (Postfix) with ESMTP id 503DC8FC1A; Sat, 24 May 2008 20:14:13 +0000 (UTC) (envelope-from ganael.laplanche@martymac.com) Received: from martymac.com (webmail.galacsys.net [217.24.81.215]) by data.galacsys.net (Postfix) with ESMTP id 9E8A216B9ED; Sat, 24 May 2008 22:14:11 +0200 (CEST) From: "Ganael LAPLANCHE" To: Boris Samorodov , "Ganael LAPLANCHE" X-Openwebmail-Date: Sat, 24 May 2008 22:14:11 +0100 Message-Id: <20080524201330.M26904@martymac.com> In-Reply-To: <49030486@ipt.ru> References: <20080524073145.M76509@martymac.com> <07923414@ipt.ru> <20080524150909.M12444@martymac.com> <20080524160433.M17651@martymac.com> <15111974@ipt.ru> <20080524193545.0167e8a4@deskjail> <18488.23459.464314.727238@gromit.timing.com> <20080524193744.M30720@martymac.com> <49030486@ipt.ru> X-Mailer: Open WebMail 2.01 20030425 X-OriginatingIP: 82.246.139.206 (ganael.laplanche@martymac.com) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Date: Sat, 24 May 2008 22:14:11 +0200 (CEST) Cc: ports@freebsd.org, Alexander Leidinger , emulation@freebsd.org Subject: Re: USE_LINUX_RPM and PORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 20:14:13 -0000 On Sun, 25 May 2008 00:00:57 +0400, Boris Samorodov wrote > Seems that we found a consensus here ;-) > The patch is OK to me, thanks! Great, so I'm gonna file a PR for that one... Best regards, Ganaël LAPLANCHE ganael.laplanche@martymac.com http://www.martymac.com From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 20:50:10 2008 Return-Path: Delivered-To: emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 68337106567A; Sat, 24 May 2008 20:50:10 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 55F228FC0C; Sat, 24 May 2008 20:50:10 +0000 (UTC) (envelope-from edwin@FreeBSD.org) Received: from freefall.freebsd.org (edwin@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4OKoA7w032306; Sat, 24 May 2008 20:50:10 GMT (envelope-from edwin@freefall.freebsd.org) Received: (from edwin@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4OKoANj032302; Sat, 24 May 2008 20:50:10 GMT (envelope-from edwin) Date: Sat, 24 May 2008 20:50:10 GMT Message-Id: <200805242050.m4OKoANj032302@freefall.freebsd.org> To: edwin@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org, emulation@FreeBSD.org From: edwin@FreeBSD.org Cc: Subject: Re: ports/123964: Mk fix: bsd.linux-rpm.mk - Handling of NOPORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 20:50:10 -0000 Synopsis: Mk fix: bsd.linux-rpm.mk - Handling of NOPORTDOCS Responsible-Changed-From-To: freebsd-ports-bugs->emulation Responsible-Changed-By: edwin Responsible-Changed-When: Sat May 24 20:50:09 UTC 2008 Responsible-Changed-Why: bsd.linux-rpm.mk is emulation territory (via the GNATS Auto Assign Tool) http://www.freebsd.org/cgi/query-pr.cgi?pr=123964 From owner-freebsd-emulation@FreeBSD.ORG Sat May 24 21:26:31 2008 Return-Path: Delivered-To: emulation@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C3B60106567B; Sat, 24 May 2008 21:26:31 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B28858FC19; Sat, 24 May 2008 21:26:31 +0000 (UTC) (envelope-from itetcu@FreeBSD.org) Received: from freefall.freebsd.org (itetcu@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4OLQVns035005; Sat, 24 May 2008 21:26:31 GMT (envelope-from itetcu@freefall.freebsd.org) Received: (from itetcu@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4OLQVRi035001; Sat, 24 May 2008 21:26:31 GMT (envelope-from itetcu) Date: Sat, 24 May 2008 21:26:31 GMT Message-Id: <200805242126.m4OLQVRi035001@freefall.freebsd.org> To: itetcu@FreeBSD.org, itetcu@FreeBSD.org, emulation@FreeBSD.org From: itetcu@FreeBSD.org Cc: Subject: Re: ports/123960: Port fix: archivers/linux-par2cmdline - better handling of NOPORTDOCS X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 May 2008 21:26:31 -0000 Synopsis: Port fix: archivers/linux-par2cmdline - better handling of NOPORTDOCS Responsible-Changed-From-To: itetcu->emulation Responsible-Changed-By: itetcu Responsible-Changed-When: Sat May 24 21:26:31 UTC 2008 Responsible-Changed-Why: This is superceeded by 123964, if 123964 is accepted or an other solution is found; please bounce it back to me if you reject 123964. Thanks. http://www.freebsd.org/cgi/query-pr.cgi?pr=123960