pkgsrc-Bugs archive

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

pkg/41728: pkgtools/bootstrap-mk-files: building .catN files fails on FreeBSD



>Number:         41728
>Category:       pkg
>Synopsis:       bootstrap-mk-file: building .catN files fails on FreeBSD
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jul 14 20:15:01 +0000 2009
>Originator:     Aleksey Cheusov
>Release:        NetBSD 5.0_STABLE
>Organization:
>Environment:
System: NetBSD chen.chizhovka.net 5.0_STABLE NetBSD 5.0_STABLE (GENERIC) #5: 
Fri May 1 16:04:32 EEST 2009 
cheusov%chen.chizhovka.net@localhost:/srv/obj/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
Building .catN files fails on FreeBSD with bmake+bootstrap-mk-files.
The problem is in bsd.man.mk from bootstrap-mk-files package.

>How-To-Repeat:

 0 ~>ls -la
total 20
drwxr-xr-x   2 cheusov  cheusov   512 Jul 14 13:56 .
drwxr-xr-x  16 cheusov  cheusov   512 May 20 17:52 ..
-rw-r--r--   1 cheusov  cheusov    48 Jul 14 13:56 Makefile
-rwxr-xr-x   1 cheusov  cheusov  4732 Jul 14 13:56 hello
-rw-r--r--   1 cheusov  cheusov  2190 Jul 14 13:55 hello.1
-rw-r--r--   1 cheusov  cheusov    77 May 20 17:53 hello.c
-rw-r--r--   1 cheusov  cheusov   800 Jul 14 13:56 hello.o

 0 ~>cat Makefile 
PROG=   hello

MKMAN=  yes

.include <bsd.prog.mk>

 0 ~>bmake
bmake: don't know how to make /usr/share/groff/tmac/mandoc.tmac. Stop

bmake: stopped in /home/cheusov/prjs/bmake

 2 ~>uname -a
FreeBSD backup 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed May 23 03:16:54 CDT 2007   
  root@backup:/usr/obj/usr/src/sys/GENERIC  i386

 0 ~>

>Fix:
--- bsd.man.mk.orig     Tue Jul 14 14:02:47 2009
+++ bsd.man.mk  Tue Jul 14 14:05:12 2009
@@ -30,6 +30,8 @@
 TMACDIR?=      ${DESTDIR}/usr/share/groff/1.18.1/tmac
 .elif exists(${DESTDIR}/usr/share/groff/1.17.2/tmac)
 TMACDIR?=      ${DESTDIR}/usr/share/groff/1.17.2/tmac
+.elif exists(${DESTDIR}/usr/share/tmac)
+TMACDIR?=      ${DESTDIR}/usr/share/tmac
 .else
 TMACDIR?=      ${DESTDIR}/usr/share/groff/tmac
 .endif



Home | Main Index | Thread Index | Old Index