From owner-freebsd-ports@FreeBSD.ORG Sun Jun 1 23:14:27 2014 Return-Path: Delivered-To: freebsd-ports@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 ESMTPS id 2E4B623C for ; Sun, 1 Jun 2014 23:14:27 +0000 (UTC) Received: from mail-oa0-x230.google.com (mail-oa0-x230.google.com [IPv6:2607:f8b0:4003:c02::230]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DF412C4C for ; Sun, 1 Jun 2014 23:09:25 +0000 (UTC) Received: by mail-oa0-f48.google.com with SMTP id g18so3895993oah.35 for ; Sun, 01 Jun 2014 16:09:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=RZRaz4zSm4bVAtdu9WWT9tKVhgr/3yzcju79bhHc17Y=; b=nZ9Ft/WwPKKMHfYUrRykB7AX10IZ1/n9C7Du4x+hgYq3ogD7Pepks6fKxVBYkpeANL 57QF18kuO7l4MctNvwXaQthultTKyaQPUmiLhxF/dr0ts9IHjZZoTiddDXs3WzsWPxcy f6j8uWPDmcv+A/viaCqC9qYR4x02+VKX+tmz1EQzedoGcjWDDLXWy9CtsBQHe4ubvUmA avBieRXbHoOwBs+J9JLMnb20sSCn1CWI5quNTzeyKxdIrIiqC0vLMEFfWnFIOQ/gX1vc oICo/3zRQvPn2JCXEJjGKQeNsZGcZrMVpkot47CxmgFLxuUoQH7krDYlSGX9tm4gvZ+S PrVQ== MIME-Version: 1.0 X-Received: by 10.182.28.104 with SMTP id a8mr34586337obh.30.1401664163991; Sun, 01 Jun 2014 16:09:23 -0700 (PDT) Sender: kob6558@gmail.com Received: by 10.76.21.139 with HTTP; Sun, 1 Jun 2014 16:09:23 -0700 (PDT) In-Reply-To: <864419.36817.bm@smtp112.sbc.mail.gq1.yahoo.com> References: <864419.36817.bm@smtp112.sbc.mail.gq1.yahoo.com> Date: Sun, 1 Jun 2014 16:09:23 -0700 X-Google-Sender-Auth: OixgyIQL8DuhQo343K8pxziiOiE Message-ID: Subject: Re: print/cups-base won't build due to dwarf error in /usr/bin/ld From: Kevin Oberman To: Thomas Mueller Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: FreeBSD Ports ML X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Jun 2014 23:14:27 -0000 On Sat, May 31, 2014 at 11:39 PM, Thomas Mueller wrote: > > > Seems like this version of cups absolutely requires zeroconf. You can > > > configure with either avahi or mdnsresponder, but the build fails if > > > neither is specified. I have not looked into it to tell if this is an > error > > > in the port or that cups now will only run when a zeroconf resolver is > > > available. > > > > > Not sure about the dwarf error. I have only seen that when building with > > > debug, so I am surprised to see it during the build. It may not be a real > > > issue. > > > R. Kevin Oberman, Network Engineer, Retired > I just copy-and-paste, on newcons I get all unwanted double-spacing. > > Sorry about this formatting inelegancy. > > I do no better with avahi or mdnsresponder, and I tried both. Just a > different error: > > ===> Installing for cups-base-1.7.2_1 > > ===> Checking if print/cups-base already installed > > ===> Registering installation for cups-base-1.7.2_1 > > pkg-static: > lstat(/usr/ports/print/cups-base/work11/stage/usr/local/lib/php/2010 > > 0525/phpcups.so): No such file or directory > > pkg-static: > lstat(/usr/ports/print/cups-base/work11/stage/usr/local/lib/php/2010 > > 0525/): No such file or directory > > *** Error code 74 > > > > Stop. > > make[1]: stopped in /usr/ports/print/cups-base > > *** Error code 1 > > > > Stop. > > make: stopped in /usr/ports/print/cups-base > > > > ===>>> Installation of cups-base-1.7.2_1 (print/cups-base) failed > > ===>>> Aborting update > > Again, a lot of inelegant extra spacing when I copy-and-paste in newcons. > > On the other computer, where I have a freshly installed Seagate 4 TB hard > drive, not yet started partitioning, I need to partition and install > NetBSD-current, FreeBSD 11-current or 10-stable, followed by Linux. > > I am curious to see how cups fares in NetBSD with pkgsrc, or Linux with > Gentoo. > > Another way is to see if I can print MS-Windows-style with wine and no > cups. > > Cups is an option with wine, so I don't know if I'd need it to print from > wine. > > I wish there were an alternative to cups for a printer that requires hplip. > > Tom > With which options are you building this port? The error indicates that you are building with the PHP bindings. Correct? If you are, could you check on the contents of /usr/ports/print/cups-base/work11/stage/usr/local/lib/php/20100525/? Is the directory even there? I'm going to guess the answer will be "no". The pkglist contains "%%PHP%%lib/php/%%PHP_EXT_DIR%%/phpcups.so", so it should be staged, but I'm guessing that it is not. I'm still a novice at this whole staging thing, but it looks like this is not working right. -- R. Kevin Oberman, Network Engineer, Retired E-mail: rkoberman@gmail.com