NetBSD Problem Report #32840
From www@netbsd.org Tue Feb 14 20:46:35 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id 620BD63B879; Tue, 14 Feb 2006 20:46:35 +0000 (UTC)
Message-Id: <20060214204635.620BD63B879@narn.netbsd.org>
Date: Tue, 14 Feb 2006 20:46:35 +0000 (UTC)
From: sd4dfg2@hotmail.com
Reply-To: sd4dfg2@hotmail.com
To: gnats-bugs@netbsd.org
Subject: upx does not compile correctly on Solaris
X-Send-Pr-Version: www-1.0
>Number: 32840
>Category: pkg
>Synopsis: upx does not compile correctly on Solaris
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: solaris-pkg-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Feb 14 20:50:02 +0000 2006
>Last-Modified: Sun Mar 27 17:39:57 +0000 2011
>Originator: Rob Quinn
>Release: pkgsrc-current, Solaris2.9
>Organization:
>Environment:
Solaris 9
>Description:
The final stage of building archivers/upx fails under Solaris:
[...]
g++ -DWITH_UCL -D_FILE_OFFSET_BITS=64 -I/usr/pkg/include -Wall -W -Wcast-align -Wcast-qual -Winline -Woverloaded-virtual -Wpointer-arith -Wshadow -Wsign-promo -Wsynth -Wwrite-strings -O2 -fstrict-aliasing -fconserve-space -o s_win32.o -c s_win32.cpp
g++ -L/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.5 -Wl,-R/usr/pkg/gcc3/lib/gcc-lib/sparc-sun-solaris2/3.3.5 -L/usr/pkg/gcc3/lib -Wl,-R/usr/pkg/gcc3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -s -Wl,-Map,upx.map -o upx compress.o except.o file.o lefile.o filter.o mem.o ui.o msg.o stdcxx.o work.o packer.o packhead.o packmast.o p_com.o p_djgpp2.o p_exe.o p_sys.o p_tmt.o p_tos.o p_unix.o p_w32pe.o p_wcle.o filteri.o help.o linker.o main.o mygetopt.o snprintf.o util.o c_init.o c_file.o c_none.o c_screen.o s_object.o s_djgpp2.o s_vcsa.o s_win32.o -lucl
ld: fatal: file ap: stat failed: No such file or directory
collect2: ld returned 1 exit status
gmake: *** [upx] Error 1
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/archivers/upx
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/obj/pkg/archivers/upx/work/.work.log
===>
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/archivers/upx
>How-To-Repeat:
>Fix:
I re-run the g++ command by hand in /usr/obj/pkg/archivers/upx/work/upx-1.25/src without the "-Wl,-Map,upx.map". Then resume the build.
>Release-Note:
>Audit-Trail:
[20110327 shattered] edited Environment: field
Responsible-Changed-From-To: pkg-manager->solaris-pkg-people
Responsible-Changed-By: recht@netbsd.org
Responsible-Changed-When: Sun, 19 Feb 2006 20:23:22 +0000
Responsible-Changed-Why:
Solaris problem.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.