From owner-freebsd-ports@FreeBSD.ORG Thu Jun 26 06:08:12 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E339237B401 for ; Thu, 26 Jun 2003 06:08:12 -0700 (PDT) Received: from wasley.bl.mmtr.or.jp (wasley.bl.mmtr.or.jp [210.228.173.142]) by mx1.FreeBSD.org (Postfix) with SMTP id 4992743F3F for ; Thu, 26 Jun 2003 06:08:08 -0700 (PDT) (envelope-from rushani@bl.mmtr.or.jp) Received: (qmail 4991 invoked from network); 26 Jun 2003 22:08:05 +0900 Received: from unknown (HELO localhost) (61.213.0.21) by mx.bl.mmtr.or.jp with SMTP; 26 Jun 2003 22:08:05 +0900 Date: Thu, 26 Jun 2003 22:06:11 +0900 (JST) Message-Id: <20030626.220611.28783974.rushani@bl.mmtr.or.jp> To: lahaye@users.sourceforge.net From: Hideyuki KURASHINA In-Reply-To: <3EFA5792.50201@users.sourceforge.net> References: <1056533241.65050.9.camel@jake> <20030625.205915.31634732.rushani@bl.mmtr.or.jp> <3EFA5792.50201@users.sourceforge.net> X-PGP-Public-Key: http://www.bl.mmtr.or.jp/~rushani/rushani.asc X-PGP-Fingerprint: A052 6F98 6146 6FE3 91E2 DA6B F2FA 2088 439A DC57 X-URL: http://www.bl.mmtr.or.jp/~rushani/ X-Mailer: Mew version 4.0.54 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit cc: ports@FreeBSD.org cc: trevor@FreeBSD.org cc: nork@FreeBSD.org Subject: Re: acroread upgrade fails X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2003 13:08:13 -0000 Hi, >>> On Thu, 26 Jun 2003 11:16:50 +0900, Rob Lahaye said: > > Hideyuki KURASHINA wrote: > > > > build & install stages go well, and acroread5 works pretty here. > > Really? > Not that well...see below what I have highlighted from your email > [...] > > ===> Installing for acroread-5.07 [...] > > ===> Generating temporary packing list > > /usr/bin/sed -i '' -E 's:Linux):FreeBSD|Linux):g' /usr/local/Acrobat5/bin/acroread > > /compat/linux/usr/bin/strip:No such file or directory > > *** Error code 1 (ignored) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > What are these last two lines? > It's not fatal, but it's not correct either? % ls -l /compat/linux/usr/bin/strip ls: /compat/linux/usr/bin/strip: No such file or directory % pkg_info | grep linux_base linux_base-7.1_5 The base set of packages needed in Linux mode % grep strip /usr/ports/emulators/linux_base/pkg-plist.* % % grep strip /usr/ports/emulators/linux_base-6/pkg-plist.* /usr/ports/emulators/linux_base-6/pkg-plist.alpha:usr/bin/strip /usr/ports/emulators/linux_base-6/pkg-plist.alpha:usr/man/man1/strip.1 /usr/ports/emulators/linux_base-6/pkg-plist.i386:usr/bin/strip /usr/ports/emulators/linux_base-6/pkg-plist.i386:usr/man/man1/strip.1 According to the emulator/linux_base-6/distinfo*, ``Linux strip'' exists in binutils-2.9.1.0.23-*.rpm. However, binutils related RPM is not in emulator/linux_base, but is in devel/linux_devtools-7. > Is it a bug in acroread build?; Bug or incomplete linux-base? While using acroread5 with linux_base-6, this is not a bug in acrobat build. But using acroread5 with linux_base-7, it results lack of ``Linux strip''. Porter's Handbook says, 15.1 Stripping Binaries Do not strip binaries manually unless you have to. All binaries ^^^^^^^^^^^^ should be stripped, but the INSTALL_PROGRAM macro will install and ^^^^^^^^^^^^^^^^^^ strip a binary at the same time (see the next section). Do you want to install devel/linux_devtools-7 in order to strip Linux binaries? Ports people, is there any problem about moving binutils RPM from devel/linux_devtools-7 to emulators/linux_base ? Thanks, -- rushani