On Sat, May 14, 2011 at 10:33 PM, Christoph Egger <[email protected]> wrote:
>
>    Adding a build-depend on `kfreebsd-kernel-headers [ kfreebsd-any ]`
> will fix the build of libtrace there.

Why should a package have to depend on the kernel headers? Why does
libc/some alternative package not install the kernel headers as is
done by glibc for linux?

Are you suggesting that there is something within the libtrac source
that makes such an explicit dependency required?

>From the build logs I don't see anything to suggest that the problem
is a missing kernel build dependency, It looks like the "dot" utility
required by doxygen is causing the build to fail.

Tail of logs for libtrace3 on kfreebsd-amd64:

sh: Problems running dot: exit code=127, command='dot',
arguments='"/build/buildd-libtrace3_3.0.10-1-kfreebsd-amd64-UrOfF5/libtrace3-3.0.10/docs/doxygen/html/dagformat_8h__dep__incl.dot"
-Tpng -o 
"/build/buildd-libtrace3_3.0.10-1-kfreebsd-amd64-UrOfF5/libtrace3-3.0.10/docs/doxygen/html/dagformat_8h__dep__incl.png"
-Tcmapx -o 
"/build/buildd-libtrace3_3.0.10-1-kfreebsd-amd64-UrOfF5/libtrace3-3.0.10/docs/doxygen/html/dagformat_8h__dep__incl.map"'
sh: dot: not found
dot: not found
Problems running dot: exit code=127, command='dot',
arguments='"/build/buildd-libtrace3_3.0.10-1-kfreebsd-amd64-UrOfF5/libtrace3-3.0.10/docs/doxygen/html/daglegacy_8h__dep__incl.dot"
-Tpng -o 
"/build/buildd-libtrace3_3.0.10-1-kfreebsd-amd64-UrOfF5/libtrace3-3.0.10/docs/doxygen/html/daglegacy_8h__dep__incl.png"
-Tcmapx -o 
"/build/buildd-libtrace3_3.0.10-1-kfreebsd-amd64-UrOfF5/libtrace3-3.0.10/docs/doxygen/html/daglegacy_8h__dep__incl.map"'
Problems running dot: exit code=127, command='dot',
arguments='"/build/buildd-libtrace3_3.0.10-1-kfreebsd-amd64-UrOfF5/libtrace3-3.0.10/docs/doxygen/latex/dagformat_8h__dep__incl.dot"
-Tpdf -o 
"/build/buildd-libtrace3_3.0.10-1-kfreebsd-amd64-UrOfF5/libtrace3-3.0.10/docs/doxygen/latex/dagformat_8h__dep__incl.pdf"'
sh: dot: not found
Problems running dot: exit code=127, command='dot',
arguments='"/build/buildd-libtrace3_3.0.10-1-kfreebsd-amd64-UrOfF5/libtrace3-3.0.10/docs/doxygen/latex/daglegacy_8h__dep__incl.dot"
-Tpdf -o 
"/build/buildd-libtrace3_3.0.10-1-kfreebsd-amd64-UrOfF5/libtrace3-3.0.10/docs/doxygen/latex/daglegacy_8h__dep__incl.pdf"'
/bin/bash: line 8: 68448 Segmentation fault      doxygen libtrace.doxygen
make[3]: *** [doxy] Error 139
Generatinmake[3]: Leaving directory
`/build/buildd-libtrace3_3.0.10-1-kfreebsd-amd64-UrOfF5/libtrace3-3.0.10/docs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/build/buildd-libtrace3_3.0.10-1-kfreebsd-amd64-UrOfF5/libtrace3-3.0.10'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/build/buildd-libtrace3_3.0.10-1-kfreebsd-amd64-UrOfF5/libtrace3-3.0.10'
make: *** [build-stamp] Error 2


Please provide more details to clarify why you believe I need to add a
freebsd specific dependency on the kernel headers.

-- 
Matt Brown
[email protected]
Mob +353 86 608 7117 www.mattb.net.nz



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to