v902
August 8th, 2003, 12:45
Nothing has been compiling for the last 5-6 days on my OpenBSD 3.3 box... I update ports from ftp and just tar -xzf ports.tar.gz in /tmp and then move it to /usr, I can't get anything to compile, I could compile fluxbox, irssi, gmake, etc. but now OpenBSD is refusing to compile anything... The error I always get is

# pwd
/usr/ports/archivers/unzip
# make
===> Checking files for unzip-5.50p1
`/usr/ports/distfiles/unzip550.tar.gz' is up to date.
>> Checksum OK for unzip550.tar.gz. (sha1)
===> Extracting for unzip-5.50p1
===> Patching for unzip-5.50p1
patch: unrecognized option `-z'
Usage: patch [options] [origfile [patchfile]] [+ [options] [origfile]]...
Options:
[-cCeEflnNRsStuv] [-b backup-ext] [-B backup-prefix] [-d directory]
[-D symbol] [-Fmax-fuzz] [-o out-file] [-p[strip-count]]
[-r rej-name] [-V {numbered,existing,simple}]
***> patch-unix_Makefile did not apply cleanly
patch: unrecognized option `-z'
Usage: patch [options] [origfile [patchfile]] [+ [options] [origfile]]...
Options:
[-cCeEflnNRsStuv] [-b backup-ext] [-B backup-prefix] [-d directory]
[-D symbol] [-Fmax-fuzz] [-o out-file] [-p[strip-count]]
[-r rej-name] [-V {numbered,existing,simple}]
***> patch-unix_unix_c did not apply cleanly
*** Error code 1

Stop in /usr/ports/archivers/unzip (line 1477 of /usr/ports/infrastructure/mk/bs
d.port.

Any expierencing this or know what's going on?

bsdjunkie
August 8th, 2003, 12:56
Does your openbsd version and ports version match? If you are following current with one, and not the other it can break quite a few things.

frisco
August 8th, 2003, 12:57
You got ports tarball from /snapshots/ which expects a newer version of patch for which option -b is now -z. Don't mix -current ports with -stable system, use cvs to update ports tree.

Or, if you're running -current, then you need to update your src tree and rebuild patch.

v902
September 12th, 2003, 22:32
I'm bringing up an old topic but I forget to thank you guys!!! So, thanks :)

soup4you2
September 13th, 2003, 15:01
wow looks like what my issue way...lol..