Current-Users archive

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

Sets-list error?



Using build.sh, when you define MKDTRACE=no _without_ defining MKCTF=no, you get the following sets-lists error:


# ./build.sh -T /build/netbsd-local/tools/x86_64/amd64 \
	-D /build/netbsd-local/dest/amd64 \
	-O /build/netbsd-local/obj/amd64 \
	-R /build/netbsd-local/release \
	-V RELEASEMACHINEDIR=amd64
	-V MKKDEBUG=yes \
	-V MKDTRACE=no -m amd64 -j6 -x -U release
...
=======  14 extra files in DESTDIR  =========
Files in DESTDIR but missing from flist.
File is obsolete or flist is out of date ?
------------------------------------------
./usr/lib/i386/libctf.a
./usr/lib/i386/libctf.so
./usr/lib/i386/libctf.so.3
./usr/lib/i386/libctf.so.3.0
./usr/lib/i386/libctf_p.a
./usr/lib/i386/libctf_pic.a
./usr/lib/libctf.a
./usr/lib/libctf.so
./usr/lib/libctf.so.3
./usr/lib/libctf.so.3.0
./usr/lib/libctf_p.a
./usr/lib/libctf_pic.a
./usr/share/man/html5/ctf.html
./usr/share/man/man5/ctf.5
=========  end of 14 extra files  ===========
*** [checkflist] Error code 1


It seems to me that the sets-files should be updated to make these entries conditional on ctf and not on dtrace:

# cd src/distrib/sets/lists
# find . | xargs grep libctf
./base/shl.mi:./usr/lib/libctf.so                               base-sys-shlib compatfile,dtrace
./base/shl.mi:./usr/lib/libctf.so.3                             base-sys-shlib compatfile,dtrace
./base/shl.mi:./usr/lib/libctf.so.3.0                           base-sys-shlib compatfile,dtrace
./comp/mi:./usr/lib/libctf.a                            comp-c-lib             compatfile,dtrace
./comp/mi:./usr/lib/libctf_p.a                          comp-c-proflib         compatfile,dtrace,profile
./comp/shl.mi:./usr/lib/libctf_pic.a                            comp-c-piclib  compatfile,picinstall,dtrace
./debug/mi:./usr/lib/libctf_g.a                         comp-c-debuglib        debuglib,compatfile,dtrace
./debug/shl.mi:./usr/libdata/debug/usr/lib/libctf.so.3.0.debug                 comp-sys-debug   debug,compatfile,dtrace

And also the entries in man/mi for ctf.0, ctf.5, and ctf.html

(Interestingly, the man-page entries for ctfconvert and ctfmerge are already conditional on ctf ...)


+------------------+--------------------------+------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:      |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee.com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd.org |
+------------------+--------------------------+------------------------+


Home | Main Index | Thread Index | Old Index