Bug#476263: please prefix yacc, lex etc. with freebsd- in /usr/share/freebsd5-buildutils/mk/*
Package: freebsd5-buildutils
Version: 5.4-4
Severity: normal
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I was trying to compile some code developed on FreeBSD and noticed this:
$ freebsd-make
Warning: Object directory not changed from original /home/appaji/sandbox/ar
yacc -d acpyacc.y
yacc:No such file or directory
*** Error code 1
Stop in /home/appaji/sandbox/ar.
$ dpkg -L freebsd5-buildutils
[snip...]
/usr/bin/freebsd-yacc
/usr/bin/freebsd-mtree
/usr/bin/freebsd-mkdep
/usr/bin/freebsd-make
/usr/bin/freebsd-lex
[snip...]
$ grep yacc /usr/share/freebsd5-buildutils/mk/*
/usr/share/freebsd5-buildutils/mk/sys.mk:YACC ?= yacc
$ grep lex /usr/share/freebsd5-buildutils/mk/*
/usr/share/freebsd5-buildutils/mk/sys.mk:LEX ?= lex
Invoking "YACC=freebsd-yacc LEX=freebsd-lex freebsd-make" works OK.
I suppose one would have to search for yyfix, yacc, mtree, mkdep, make, lex,
file2c, config, cksum, brandelf and awk and prefix them with "freebsd-"
Giridhar
- -- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (900, 'testing'), (800, 'unstable'), (700, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-3-686 (SMP w/1 CPU core)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages freebsd5-buildutils depends on:
ii bsdmainutils 6.1.10 collection of more utilities from
ii dash 0.5.4-8 POSIX-compliant shell
ii libc6 2.7-10 GNU C Library: Shared libraries
ii patchutils 0.2.31-4 Utilities to work with patches
ii realpath 1.11 Return the canonicalized absolute
ii unzip 5.52-11 De-archiver for .zip files
freebsd5-buildutils recommends no packages.
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFIBKOu4eu+pR04mIcRAoPGAJ94YjTu3hxfoM/JW+APeEYPTrNylgCg5Dhr
oGiRxCZr9acGIcayUtkEXVg=
=2mtk
-----END PGP SIGNATURE-----
Reply to: