My previous update to -current was December 24th, and after building
the release, checkflist told me that I had something different in a
man entry somewhere. Just one line of output, and I decided maybe one
line was minimal enough output. (The FAQ says it should be "minimal".)
First time checkflist has said anything. I guess I should have asked
at the time if that was going to be a problem.
Today, I updated src, xenocara, and ports starting about eight hours
ago. Built and installed the kernel (GENERIC.MP) successfully,
rebooted, and started building src, following the recipe in the FAQ:
cd /usr/src/sys/arch/`machine`/conf
Except that I slipped a parameterless
config
in here and got a message about not having a CONFIG file, I think,
after which I tried
config GENERIC.MP
which gave me a message that my kernel configuration had changed and I
should do a make clean
make clean
which told me it didn't know how to do that, and I tried again
config GENERIC.MP
with no error this time,
cd ../compile/GENERIC.MP
make clean & make
which succeeded. So I did
make install
reboot
and continued
rm -rf /usr/obj
cd /usr/src
make obj
cd /usr/src/etc && env DESTDIR=/ make distrib-dirs
cd /usr/src
make build
>From a compiler command line that gets its ouput piped to tsort -q, I'm getting
tsort: pledge: invalid agument
cc: no input files
*** Error 1 in lib/libcrypto/crypto (<bsd.lib.mk>:212 'libcrypto.so.37.8')
*** Error 1 in lib/libcrypto (<bsd.subdir.mk>:48 'all')
*** Error 1 in lib (<bsd.subdir.mk>:48 'all')
*** Error 1 in /usr/src (Makefile:79 'build')
Looking up "tsort: pledge: invalid argument", I found
https://marc.info/?l=openbsd-misc&m=144951748325665&w=2
Re: pax: pledge: Invalid argument:
On Tue, Dec 8, 2015 at 12:35 PM, Sonic <[email protected]> wrote,
> On Mon, Dec 7, 2015 at 2:41 PM, Theo de Raadt <[email protected]> wrote:
>> Your mistake.
>
> Yes, my mistake. Sorry for the noise.
> I recommend upgrading to a snapshot.
And I don't recall what Sonic's mistake might have been.
More from the thread:
> > -current not building:
> >
> > ./icdb.h -> ./icdb.ph
> > pax: pledge: Invalid argument
> > *** Error 1 in gnu/usr.bin/perl (Makefile.bsd-wrapper:112 'install')
> > *** Error 2 in gnu/usr.bin (<bsd.subdir.mk>:48 'realinstall')
> > *** Error 2 in gnu (<bsd.subdir.mk>:48 'realinstall')
> > *** Error 2 in . (<bsd.subdir.mk>:48 'realinstall')
> > *** Error 2 in /usr/src (Makefile:82 'build')
Right now I'm doing a lot of guessing.
Was the config without a parameter enough to cause this sort of thing?
Or should I be looking for some other mistake I made?
Do I need to backup my data, wipe the OS, and re-install from a snapshot kernel?
Any cluebats appreciated.
--
Joel Rees
Be careful when you look at conspiracy.
Arm yourself with knowledge of yourself, as well:
http://reiisi.blogspot.jp/2011/10/conspiracy-theories.html