From owner-freebsd-current@FreeBSD.ORG Sun Jul 28 01:48:04 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 240288BD for ; Sun, 28 Jul 2013 01:48:04 +0000 (UTC) (envelope-from ipfreak@yahoo.com) Received: from nm3-vm5.bullet.mail.ne1.yahoo.com (nm3-vm5.bullet.mail.ne1.yahoo.com [98.138.91.225]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D8DCD2C36 for ; Sun, 28 Jul 2013 01:48:03 +0000 (UTC) Received: from [98.138.90.50] by nm3.bullet.mail.ne1.yahoo.com with NNFMP; 28 Jul 2013 01:47:57 -0000 Received: from [98.138.89.161] by tm3.bullet.mail.ne1.yahoo.com with NNFMP; 28 Jul 2013 01:47:57 -0000 Received: from [127.0.0.1] by omp1017.mail.ne1.yahoo.com with NNFMP; 28 Jul 2013 01:47:57 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 69568.73672.bm@omp1017.mail.ne1.yahoo.com Received: (qmail 27165 invoked by uid 60001); 28 Jul 2013 01:47:57 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1374976076; bh=vwULSpUR7CG8btNmvH20qSo21mug4We/IDX4YV5Ipwc=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=Lurp+ygim34GeouKpzIBqZV1MKdwcand8PqkOGraU18+3C5yUXAV42n8GDHwdVIPlxWVoMNOQWaxoM+FaWbTfPplcryrT9+m4Xy0Z6M0HSbytWxmf2gpzZAYS3Kl5XbYiD67Wt3RniKxeiMHnopnOhH8RhJ6bdG+a9HJ8yLnuSc= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=irTE5ciyb2e0kQX+pNHAD4rRMia8depTa8G6iE622rEapXNw5XgttYA8cIZXKya1CMGP4iIf0DzUf+3k7dnzdPuIYYpHHPIjBsdid3VuhaaczquNjjJdFUmUqMEDFAjA2uHbakY4y0a63g3lldktmGykdcNqh1bjN3E86XEm6Uk=; X-YMail-OSG: t97Fy9UVM1nWe0OnPNd2Ag8X8wlQ4zjeB9Y1x8Yllk9xHx_ S094y5uLZl36zcWXqg.mNSCl1o7.XZ.wwdy3RWIp8P9UzCRX8lTCva9HcDbE AiAy1HiZNNKIFZng4.CjIdk47w6L3JjsnPaY1uPvCQFthBPwkUjEu9V6Ho7y NmEa7YW5CaZbtxRKAQfgkDyHYlJ2rEGMCYz5mGYYTWUamRAr6j7_r.2A7v7A gemn.qPiSFbdwLKSMLrhsCCVkbaAE_kJAhR0b59LhSqvQS0Yx4qxylQoseGN V3Ho.olbiWjgVtMi_oN8d2J86eit58alqVCiAUSdSp2HYmlcCYdEe8RgprGe IJ3tDzqUxgdIk2LCXahWZFsgsIYyH65eR3rQjTokMqs.3Eyrtxfzuf8mrNSL t09W0uZ57CiXKe6n5g4IFL86iAfNFQt4zpqNgBUv87xxnYgu6h3ibC5V.WI. I4OYRnLHkmlqgVLtp4RryRaj6_Hyoc3jH_oYryrgLml7vJm0zJJJVcIUV_dI pN1ijmmw13txpj2ZCgPHjpA1Z4eqltrAzH31nzu2wIvVOikNTmBSHNuzzpt3 yVrpqQGwCR7I- Received: from [173.71.200.146] by web122306.mail.ne1.yahoo.com via HTTP; Sat, 27 Jul 2013 18:47:56 PDT X-Rocket-MIMEInfo: 002.001, dGhhbmsgZnJlZGRpZSEKCgoKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCiBGcm9tOiBGcmVkZGllIENhc2ggPGZqd2Nhc2hAZ21haWwuY29tPgpUbzogZ2FobiA8aXBmcmVha0B5YWhvby5jb20.IApDYzogRnJlZUJTRC1DdXJyZW50IDxmcmVlYnNkLWN1cnJlbnRAZnJlZWJzZC5vcmc.IApTZW50OiBTYXR1cmRheSwgSnVseSAyNywgMjAxMyA5OjIzIFBNClN1YmplY3Q6IFJlOiBjb21waWxhdGlvbgogCgoKdW1hc3MgcmVxdWlyZXMgU0NTSSBzdXBwb3J0LiBCZXJ0IHlvdSByZW1vdmVkIHNjYnUBMAEBAQE- X-Mailer: YahooMailWebService/0.8.150.561 References: <1374973084.89271.YahooMailNeo@web122306.mail.ne1.yahoo.com> Message-ID: <1374976076.26859.YahooMailNeo@web122306.mail.ne1.yahoo.com> Date: Sat, 27 Jul 2013 18:47:56 -0700 (PDT) From: gahn Subject: Re: compilation To: Freddie Cash In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD-Current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: gahn List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2013 01:48:04 -0000 thank freddie! ________________________________ From: Freddie Cash To: gahn Cc: FreeBSD-Current Sent: Saturday, July 27, 2013 9:23 PM Subject: Re: compilation umass requires SCSI support. Bert you removed scbus, da, and similar. On 2013-07-27 6:00 PM, "gahn" wrote: hi all: > >need your experts' opinions, i tried to compile customized kernel for 8.3 but failed miserably: > >linking kernel.debug >dcons_crom.o(.text+0x388): In function `dcons_crom_post_busreset': >/usr/src/sys/dev/dcons/dcons_crom.c:145: undefined reference to `crom_add_chunk' >dcons_crom.o(.text+0x3a0):/usr/src/sys/dev/dcons/dcons_crom.c:146: undefined reference to `crom_add_entry' >dcons_crom.o(.text+0x3be):/usr/src/sys/dev/dcons/dcons_crom.c:147: undefined reference to `crom_add_simple_text' >dcons_crom.o(.text+0x3d6):/usr/src/sys/dev/dcons/dcons_crom.c:148: undefined reference to `crom_add_entry' >dcons_crom.o(.text+0x3f7):/usr/src/sys/dev/dcons/dcons_crom.c:149: undefined reference to `crom_add_simple_text' >dcons_crom.o(.text+0x412):/usr/src/sys/dev/dcons/dcons_crom.c:150: undefined reference to `crom_add_entry' >dcons_crom.o(.text+0x430):/usr/src/sys/dev/dcons/dcons_crom.c:151: undefined reference to `crom_add_entry' >dcons_crom.o(.text+0x467):/usr/src/sys/dev/dcons/dcons_crom.c:128: undefined reference to `crom_add_entry' >dcons_crom.o(.text+0x485):/usr/src/sys/dev/dcons/dcons_crom.c:129: undefined reference to `crom_add_entry' >umass.o(.text+0xf9): In function `umass_detach': >/usr/src/sys/dev/usb/storage/umass.c:2180: undefined reference to `xpt_bus_deregister' >umass.o(.text+0x120):/usr/src/sys/dev/usb/storage/umass.c:2183: undefined reference to `cam_sim_free' >umass.o(.text+0xcfd): In function `umass_std_transform': >/usr/src/sys/dev/usb/storage/umass.c:3018: undefined reference to `xpt_done' >umass.o(.text+0xd1c):/usr/src/sys/dev/usb/storage/umass.c:3022: undefined reference to `xpt_done' >umass.o(.text+0xd8a): In function `umass_cam_quirk_cb': >/usr/src/sys/dev/usb/storage/umass.c:2733: undefined reference to `xpt_done' >umass.o(.text+0xe13): In function `umass_command_start': >/usr/src/sys/dev/usb/storage/umass.c:1611: undefined reference to `xpt_done' >umass.o(.text+0xf48): In function `umass_cam_sense_cb': >/usr/src/sys/dev/usb/storage/umass.c:2707: undefined reference to `xpt_done' >umass.o(.text+0xf92):/usr/src/sys/dev/usb/storage/umass.c:2714: more undefined references to `xpt_done' follow >umass.o(.text+0x245e): In function `umass_cam_action': >/usr/src/sys/dev/usb/storage/umass.c:2497: undefined reference to `cam_calc_geometry' >umass.o(.text+0x2466):/usr/src/sys/dev/usb/storage/umass.c:2498: undefined reference to `xpt_done' >umass.o(.text+0x24d2):/usr/src/sys/dev/usb/storage/umass.c:2508: undefined reference to `xpt_done' >umass.o(.text+0x2556):/usr/src/sys/dev/usb/storage/umass.c:2518: undefined reference to `xpt_done' >umass.o(.text+0x2d86): In function `umass_attach': >/usr/src/sys/dev/usb/storage/umass.c:2115: undefined reference to `cam_simq_alloc' >umass.o(.text+0x2dd5):/usr/src/sys/dev/usb/storage/umass.c:2119: undefined reference to `cam_sim_alloc' >umass.o(.text+0x2de7):/usr/src/sys/dev/usb/storage/umass.c:2132: undefined reference to `cam_simq_free' >umass.o(.text+0x2e4c):/usr/src/sys/dev/usb/storage/umass.c:2141: undefined reference to `xpt_bus_register' >*** Error code 1 > >Stop in /usr/obj/usr/src/sys/giraffe. >*** Error code 1 > >Stop in /usr/src. >*** Error code 1 > >Stop in /usr/src. > > > >any help would be greatly appreciated. > >_dave >_______________________________________________ >freebsd-current@freebsd.org mailing list >http://lists.freebsd.org/mailman/listinfo/freebsd-current >To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" > From owner-freebsd-current@FreeBSD.ORG Sun Jul 28 07:08:56 2013 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8836A9B0; Sun, 28 Jul 2013 07:08:56 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5940F2342; Sun, 28 Jul 2013 07:08:56 +0000 (UTC) Received: from delphij-macbook.local (c-67-188-85-47.hsd1.ca.comcast.net [67.188.85.47]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id CF08F16886; Sun, 28 Jul 2013 00:08:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1374995335; bh=oMYmt2kc/gJg2wLk/kexOXGc4kV+TZ91TUQYWok4EHo=; h=Date:From:Reply-To:To:CC:Subject:References:In-Reply-To; b=g9z1h5Qx3XVRepSZsj5kVOcpd9K4FFa2fCo27k57Ey++RmjQfmb5apO/TIkg6/C4b mbYQa1qXRX0GFr5tirb2kxjJ0n6oWwo0nzQCGkU1WfLwcQox/xVqIqqOX9J8e4Szgo KjIPX9sEvQgPVMbfFGatSSNiNUNE4lg0gelDp7gI= Message-ID: <51F4C388.3010800@delphij.net> Date: Sun, 28 Jul 2013 00:08:56 -0700 From: Xin Li Organization: The FreeBSD Project MIME-Version: 1.0 To: Pedro Giffuni Subject: Re: [Heads up] BSD-licensed patch becoming the default RSN. References: <51F2E627.9090907@FreeBSD.org> <1V2ssp-000Nrk-Q8@internal.tormail.org> <51F3E261.9090903@FreeBSD.org> In-Reply-To: <51F3E261.9090903@FreeBSD.org> X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: FreeBSD Current , Jan Beich X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: d@delphij.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 Jul 2013 07:08:56 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 7/27/13 8:08 AM, Pedro Giffuni wrote: > OK; On further revision ... > > On 26.07.2013 20:01, Jan Beich wrote: >> bsdpatch doesn't list files of the failed hunks with -C and -s >> option. This may be less convenient if you edit a patch directly >> rather than regen it after polluting the tree. >> >> $ patch -CEfsp0 -i /path/to/varsym.diff 1 out of 1 hunks failed 1 >> out of 2 hunks failed 2 out of 2 hunks failed 1 out of 5 hunks >> failed 1 out of 1 hunks failed 1 out of 1 hunks failed 1 out of 1 >> hunks failed zsh: exit 1 >> >> $ gnupatch -CEfsp0 -i /path/to/varsym.diff 1 out of 1 hunks >> failed--saving rejects to contrib/openbsm/etc/audit_event.rej 1 >> out of 2 hunks failed--saving rejects to >> lib/libc/sys/Makefile.inc.rej 2 out of 2 hunks failed--saving >> rejects to sys/security/audit/audit_private.h.rej 1 out of 5 >> hunks failed--saving rejects to sys/security/audit/audit.h.rej 1 >> out of 1 hunks failed--saving rejects to >> sys/bsm/audit_kevents.h.rej 1 out of 1 hunks failed--saving >> rejects to sys/kern/syscalls.master.rej 1 out of 1 hunks >> failed--saving rejects to sys/sys/priv.h.rej zsh: exit 8 > The change came from OpenBSD, which took it from DragonFlyBSD: > > http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/patch/patch.c.diff?r1=1.49;r2=1.50 > > > > It was merged as part of some OpenBSD syncing in patch.c > http://svnweb.freebsd.org/base?view=revision&revision=246091 Ah, thanks for the detective work. I think the showing the filename would be more reasonable. How about this? Sample output: [delphij@zeta] /usr/src/usr.bin/patch> patch -RCfs < 1.diff 1 out of 1 hunks failed while patching patch.c [delphij@zeta] /usr/src> svn diff -x -p usr.bin/patch/ Index: usr.bin/patch/patch.c =================================================================== - --- usr.bin/patch/patch.c (revision 253736) +++ usr.bin/patch/patch.c (working copy) @@ -406,8 +406,8 @@ main(int argc, char *argv[]) say("%d out of %d hunks %s--saving rejects to %s\n", failed, hunk, skip_rest_of_patch ? "ignored" : "failed", rejname); else - - say("%d out of %d hunks %s\n", - - failed, hunk, skip_rest_of_patch ? "ignored" : "failed"); + say("%d out of %d hunks %s while patching %s\n", + failed, hunk, skip_rest_of_patch ? "ignored" : "failed", filearg[0]); if (!check_only && move_file(TMPREJNAME, rejname) < 0) trejkeep = true; } Cheers, -----BEGIN PGP SIGNATURE----- iQEcBAEBCAAGBQJR9MOIAAoJEG80Jeu8UPuzBu8H/AnbhUFoCDI5WNqXzYNi6is3 t989x+Tg01rI1hWimvWnZOWXVVosIP8JZfFydPhd1FHGZ2mxlB8kCpxAO33fhGkO 90v07+qNpA8fIzxNUtb7fbrzEpILRJ2TxzVEeIRHJ3rNzTFIOpJoII+wNSukD3om Jl3x2OXv0UL1dCyIgvi7MtpwwllpK9mBuZhjQRQjKzh9k9TYW6n5dLsMIoFfvp4s syXqxAWNdR+couvE8Q1ia9jKi6veE6UP2U6FT43GHTYym8srzWOj0dAXNjyrWqBr EVIw4oKS9tPv4OAaDVjYhQJwtBdtmbCW3HVQ1OJ+GvH3IK1JlPzVYmIdQt2SAnQ= =bU/M -----END PGP SIGNATURE-----