pkgsrc-Bugs archive

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

pkg/42083: sysutils/strace has no errnoent.h ioctlent.h or signalent.h for NetBSD

>Number:         42083
>Category:       pkg
>Synopsis:       sysutils/strace has no errnoent.h ioctlent.h or signalent.h 
>for NetBSD
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 17 17:05:00 +0000 2009
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE
        Prince of Songkla University
System: NetBSD 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 i386
Architecture: i386
Machine: i386
        Compile of sysutils/strace (strace-4.5.15nb1) fails.

        I use pkg_comp wuth NetBSD 4.0 release sets installed, and libkver.
        (no x* sets, pkgsrc modular xorg instead ... that is irrelevant here).

        An attempt to build sysutils/strace fails ...

===> Building for strace-4.5.15nb1
cd netbsd && make
./ /usr/src/sys/kern/syscalls.master syscalls.print > 
/usr/bin/make  all-am
if cc -DHAVE_CONFIG_H -I. -I. -I. -Inetbsd/i386 -I./netbsd/i386 -Inetbsd 
-I./netbsd    -Wall -O2 -MT strace.o -MD -MP -MF ".deps/strace.Tpo" -c -o 
strace.o strace.c;  then mv -f ".deps/strace.Tpo" ".deps/strace.Po"; else rm -f 
".deps/strace.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I. -Inetbsd/i386 -I./netbsd/i386 -Inetbsd 
-I./netbsd    -Wall -O2 -MT syscall.o -MD -MP -MF ".deps/syscall.Tpo" -c -o 
syscall.o syscall.c;  then mv -f ".deps/syscall.Tpo" ".deps/syscall.Po"; else 
rm -f ".deps/syscall.Tpo"; exit 1; fi
syscall.c:167:22: error: errnoent.h: No such file or directory
*** Error code 1

make: stopped in /pkg_comp/obj/pkgsrc/sysutils/strace/4x/strace-4.5.15
*** Error code 1


        The strace-4.5.15 directory contains a netbsd sub-directory,
        which contains a Makefile which can build errnoent.h

        Running that allows the build to get further, but fails
        when ioctlent.h cannot be found either.

        Needless to say, netbsd/Makefile can make that one as well,
        which then allows the build to continus until signalent.h
        is needed - which netbsd/Makefile can also build.

        After that, the package completes building successfully.

        Perhaps add
                cd ${WRKSRC}/netbsd; make errnoent.h ioctlent.h signalent.h
        somewhere (maybe in the pre-configure).

        It would seem from the Makefile as if just "make" should do
        all of that, but it doesn't, it just says
                syscallent.h is up to date
        and quits.   It is entirely possible that whatever is causing
        that to occur is the root cause of the problem, as syscallent.h
        is the only one of the 4 *ent.h files that actually gets made.

Home | Main Index | Thread Index | Old Index