pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

(devel/p5-ExtUtils-LibBuilder) make test fails on t/01-simple.t



In my environment NetBSD/amd64 7.0 with perl 5.24,
make test at devel/p5-ExtUtils-LibBuilder fails as:

t/01-simple.t ..... ld: cannot find -lfoo
error building /tmp/36otNEWYrM/foo from /tmp/36otNEWYrM/test.o
  at /usr/pkg/lib/perl5/5.24.0/ExtUtils/CBuilder/Base.pm line
  327, <DATA> line 226.
# Looks like your test exited with 1 before it could output anything.
t/01-simple.t ..... Dubious, test returned 1 (wstat 256, 0x100)
Failed 7/7 subtests 


But executing 'perl t/01-simple.t' passes.

By looking at work/.work.log, (after make clean && make test)
   ---------------------------------------------------
   [*]
   /export/WRKOBJDIR/devel/p5-ExtUtils-LibBuilder/work/.wrapper/bin/gcc
   /export/WRKOBJDIR/devel/p5-ExtUtils-LibBuilder/work/.wrapper/bin/gcc
   -Wl,-rpath,/usr/pkg/lib -fstack-protector -L/usr/pkg/lib
   -L/usr/pkg/lib
   -Wl,-R/usr/pkg/lib/perl5/5.24.0/x86_64-netbsd-thread-multi/CORE
   -L/usr/lib -Wl,-R/usr/lib -Wl,-R/usr/pkg/lib -o
   /tmp/0HhJyDEfgS/foo /tmp/0HhJyDEfgS/test.o -L/tmp/0HhJyDEfgS
   -lfoo
   
   <.>
   /export/WRKOBJDIR/devel/p5-ExtUtils-LibBuilder/work/.gcc/bin/gcc
   -Wl,-rpath,/usr/pkg/lib -fstack-protector
   -L/export/WRKOBJDIR/devel/p5-ExtUtils-LibBuilder/work/.buildlink/lib
   -Wl,-R/usr/pkg/lib/perl5/5.24.0/x86_64-netbsd-thread-multi/CORE
   -Wl,-R/usr/pkg/lib -o /tmp/0HhJyDEfgS/foo
   /tmp/0HhJyDEfgS/test.o
   -I/export/WRKOBJDIR/devel/p5-ExtUtils-LibBuilder/work/.buildlink/include
   -lfoo
   ---------------------------------------------------

The almost last part of [*],
-L/tmp/0HhJyDEfgS part is gone at <.> line

Is this just missing some settings ? or problem on mk/wrapper/wrapper.sh ?

Would you give me any advice ? Thanks in advance,
---
mef%NetBSD.org@localhost
Makoto Fujiwara, 
http://www.ki.nu/~makoto/pkgsrc/check-update/00_Summary.html


Home | Main Index | Thread Index | Old Index