Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2016 15:25:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 215684] ports-mgmt/poudriere-devel: fails to build native-xtools because of libllvmminimal
Message-ID:  <bug-215684-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215684

            Bug ID: 215684
           Summary: ports-mgmt/poudriere-devel: fails to build
                    native-xtools because of libllvmminimal
           Product: Ports & Packages
           Version: Latest
          Hardware: arm
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bdrewery@FreeBSD.org
          Reporter: sylvain@sylvaingarrigues.com
             Flags: maintainer-feedback?(bdrewery@FreeBSD.org)
          Assignee: bdrewery@FreeBSD.org

I encounter an issue when cross-building a recent jail with poudriere, it
complains it cannot find
/usr/obj/arm.armv6/nxb/usr/src/lib/clang/libllvm/libllvm.a so the native-xt=
ools
target fails.

But I do have
/usr/obj/arm.armv6/nxb/usr/src/lib/clang/libllvmminimal/libllvmminimal.a

Here is the command which fails. At the bottom is also poudriere version.

[root@dev ~]# poudriere jail -c -j current -a arm.armv6 -m svn -v head@3105=
93
-x
...
c++ -O -pipe -I/usr/obj/arm.armv6/nxb/usr/src/lib/clang/libllvm
-I/usr/src/lib/clang/include -I/usr/src/contrib/llvm/include -DLLVM_ON_UNIX
-DLLVM_ON_FREEBSD -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS
-DLLVM_DEFAULT_TARGET_TRIPLE=3D\"armv6-gnueabihf-freebsd12.0\"
-DLLVM_HOST_TRIPLE=3D\"armv6-unknown-freebsd12.0\" -DDEFAULT_SYSROOT=3D\"\"
-Qunused-arguments -std=3Dc++11 -fno-exceptions -fno-rtti -stdlib=3Dlibc++
-Wno-c++11-extensions  -static -o llvm-tblgen  AsmMatcherEmitter.o
AsmWriterEmitter.o AsmWriterInst.o Attributes.o CTagsEmitter.o
CallingConvEmitter.o CodeEmitterGen.o CodeGenDAGPatterns.o CodeGenInstructi=
on.o
CodeGenMapTable.o CodeGenRegisters.o CodeGenSchedule.o CodeGenTarget.o
DAGISelEmitter.o DAGISelMatcher.o DAGISelMatcherEmitter.o DAGISelMatcherGen=
.o
DAGISelMatcherOpt.o DFAPacketizerEmitter.o DisassemblerEmitter.o
FastISelEmitter.o FixedLenDecoderEmitter.o InstrInfoEmitter.o
IntrinsicEmitter.o OptParserEmitter.o PseudoLoweringEmitter.o
RegisterInfoEmitter.o SearchableTableEmitter.o SubtargetEmitter.o TableGen.o
X86DisassemblerTables.o X86ModRMFilters.o X86RecognizableInstr.o
/usr/obj/arm.armv6/nxb/usr/src/lib/clang/libllvm/libllvm.a  -lncursesw=20
-lpthread
c++: error: no such file or directory:
'/usr/obj/arm.armv6/nxb/usr/src/lib/clang/libllvm/libllvm.a'
*** [llvm-tblgen] Error code 1

make[2]: stopped in /usr/src/usr.bin/clang/llvm-tblgen
1 error

make[2]: stopped in /usr/src/usr.bin/clang/llvm-tblgen
*** [native-xtools] Error code 2

make[1]: stopped in /usr/src
1 error

make[1]: stopped in /usr/src
*** [native-xtools] Error code 2

make: stopped in /usr/src
1 error

make: stopped in /usr/src
[08:22:09] =3D=3D=3D=3D>> Error: Failed to 'make native-xtools'
[08:22:09] =3D=3D=3D=3D>> Error while creating jail, cleaning up.
[08:22:09] =3D=3D=3D=3D>> Removing current jail... done




[root@dev ~]# pkg show poudriere*
poudriere-devel-3.1.99.20160624_2
Name           : poudriere-devel
Version        : 3.1.99.20160624_2
Installed on   : Thu Dec 29 11:04:32 2016 CET
Origin         : ports-mgmt/poudriere-devel
Architecture   : freebsd:12:x86:64

[root@dev ~]# uname -a
FreeBSD dev.sylvaingarrigues.com 12.0-CURRENT FreeBSD 12.0-CURRENT #0
3673f06(master): Thu Dec 29 11:23:56 CET 2016=20=20=20=20
ec2-user@clad.sylvaingarrigues.com:/usr/home/ec2-user/freebsd/work-amd64/us=
r/home/ec2-user/freebsd/src/sys/GENERIC-NODEBUG
 amd64

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215684-13>