On Fri, May 07, 2021 at 11:08:00PM +0000, Mik J wrote:
> Hello,
> Does anyone knows why compiling php from ports systematically fails ? It's 
> been since openbsd 6.8 that it acts this way

Why do you ask this on misc@ instead of ports@ ?

Second, it actually works for all of us... so it must be something
you're doing.

> Renaming /usr/ports/pobj/php-7.4.19/fake-amd64/debug-pkg/Makefile.new to 
> Makefile
> > Extracting debug info from 
> > /usr/ports/pobj/php-7.4.19/fake-amd64/usr/local/bin/php-7.4
[...]
> Installing /usr/ports/lang/php/7.4/pkg/php74_fpm.rc as 
> /usr/ports/pobj/php-7.4.19/fake-amd64/etc/rc.d/php74_fpm
> ===>  Building package for php-7.4.19
> Create /usr/ports/packages/amd64/all/php-7.4.19.tgz
> Creating package php-7.4.19
> Creating package debug-php-7.4.19
> Link to /usr/ports/packages/amd64/ftp/php-7.4.19.tgz
> Link to /usr/ports/packages/amd64/ftp/debug-php-7.4.19.tgz
> `/usr/ports/pobj/php-7.4.19/fake-amd64/.fake_done' is up to date.
> > Extracting debug info from 
> > /usr/ports/pobj/php-7.4.19/fake-amd64/usr/local/bin/php-7.4
> Warning: no debug-info in 
> /usr/ports/pobj/php-7.4.19/fake-amd64/usr/local/bin/php-7.4
> dwz: /usr/ports/pobj/php-7.4.19/fake-amd64/usr/local/bin/.debug/php-7.4.dbg: 
> .debug_info section not present
> objcopy: 
> /usr/ports/pobj/php-7.4.19/fake-amd64/usr/local/bin/.debug/php-7.4.dbg: 
> Invalid operation


oh look, it's doing the same thing TWICE. But wait: there's a Makefile
involved.

Now why would it do that ?

It could only happen if somehow, the dates are completely wacked.

Would you by any chance use NFS for your pobj tree, or anything that
would get your clock to act strangely ?...

Reply via email to