From owner-freebsd-ports-bugs@freebsd.org Wed Dec 2 11:20:07 2015 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4AECCA3E2B8 for ; Wed, 2 Dec 2015 11:20:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 34DAF1C9B for ; Wed, 2 Dec 2015 11:20:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id tB2BK77r090763 for ; Wed, 2 Dec 2015 11:20:07 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 204962] ports-mgmt/pkg wont build: 'a local symbol' can not be used when making a shared object; recompile with -fPIC Date: Wed, 02 Dec 2015 11:20:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: tps@vr-web.de X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: pkg@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Dec 2015 11:20:07 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=204962 Bug ID: 204962 Summary: ports-mgmt/pkg wont build: 'a local symbol' can not be used when making a shared object; recompile with -fPIC Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: pkg@FreeBSD.org Reporter: tps@vr-web.de Assignee: pkg@FreeBSD.org Flags: maintainer-feedback?(pkg@FreeBSD.org) Compiling from ports/HEAD ports-mgmt/pkg leads to an error: CC libpkg_static_la-scripts.lo CC libpkg_static_la-utils.lo CC libpkg_static_la-plugins.lo CC libpkg_static_la-pkg_old.lo CC libpkg_static_la-merge3.lo CC libpkg_static_la-diff.lo CC libpkg_static_la-elfhints.lo CC libpkg_static_la-pkg_elf.lo CCLD libpkg.la /usr/bin/ld: /usr/lib/libelf.a(gelf_dyn.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC /usr/lib/libelf.a: could not read symbols: Bad value cc: error: linker command failed with exit code 1 (use -v to see invocation) *** [libpkg.la] Error code 1 make[5]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.6.2/libpkg 1 error make[5]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.6.2/libpkg *** [all-recursive] Error code 1 make[4]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.6.2/libpkg 1 error make[4]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.6.2/libpkg *** [all-recursive] Error code 1 make[3]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.6.2 1 error make[3]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.6.2 *** [all] Error code 2 make[2]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.6.2 1 error make[2]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.6.2 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make[1]: stopped in /usr/ports/ports-mgmt/pkg *** Error code 1 Stop. make: stopped in /usr/ports/ports-mgmt/pkg Using -fPIC as adviced does not really help 'pkg' wont run afterwards. Found with: - FreeBSD fbsd11-64.bfs.de 11.0-CURRENT FreeBSD 11.0-CURRENT #6 r291575: Tue Dec 1 18:53:27 CET 2015 root@fbsd11-64.bfs.de:/usr/obj/usr/src/sys/FBSD11 amd64 - FreeBSD fbsd10-64.bfs.de 10.2-STABLE FreeBSD 10.2-STABLE #6 r291362: Thu Nov 26 11:21:30 CET 2015 root@fbsd10-64.bfs.de:/usr/obj/usr/src/sys/FBSD10 amd64 - FreeBSD fbsd9-64.bfs.de 9.3-STABLE FreeBSD 9.3-STABLE #5 r291256: Tue Nov 24 16:34:55 CET 2015 root@fbsd9-64.bfs.de:/usr/obj/usr/src/sys/FBSD9 amd64 Ports tree at revision: - 402366 (FreeBSD 9.3-STABLE) - 402434 (FreeBSD 10.2-STABLE) - 402816 (FreeBSD 11.0-CURRENT) -- You are receiving this mail because: You are the assignee for the bug.