[Top][All Lists]

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

build failure under pkgsrc

From: Greg Troxel
Subject: build failure under pkgsrc
Date: Sat, 31 Jul 2021 07:57:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (berkeley-unix)

I updated git last night to

  commit 938dd6e93c61c833f763ecdc1cb48f09c7d5e7af (HEAD -> master, 
origin/master, origin/HEAD)
  Author: Gary E. Miller <>
  Date:   Fri Jul 30 15:34:49 2021 -0700

      scons: Bump to 3.23-rc1

and was able to build and check gpsd from the source tree, using
dependencies installed in /usr/pkg as I normally do.

That process also does an 'scons dist'.  I then use that as if it were a
release tarball in pkgsrc, to test the package system build from the
release.  (Usually this is fine, and sometimes there is a new dependency
or some other bug.)

In pkgsrc, there are steps "build", "install" and "package", where build
invokes scons, install does scons install to a destdir and package tars
up the installed files and other control stuff to make a binary

Doing the make phase fails.  Comparing the build under pkgsrc to the
build in the source tree, the line about /usr/pkg/include/gps.h is
extra; the source build doesn't print that.   This is build not install
so it shouldn't be trying to write to the system (/usr/pkg) path and is
being done unprivileged.    What I don't understand is why this is
happening as it's after all the docs, and the build shoudln't be
installing headers.

I'll see if I can turn on some verbose, but scons clues appreciated.

Creating 'gpsd-3.23~rc1/www/troubleshooting.html'                               
chmod -w gpsd-3.23~rc1/www/troubleshooting.html                                 
cp gpsd-3.23~rc1/NEWS gpsd-3.23~rc1/www/NEWS                                    
cp gpsd-3.23~rc1/TODO gpsd-3.23~rc1/www/TODO                                    
cp gpsd-3.23~rc1/clients/gpsdebuginfo gpsd-3.23~rc1/www/gpsdebuginfo            
Creating 'gpsd-3.23~rc1/gps-3.23~rc1.egg-info'                                  
scons: *** [/usr/pkg/include/gps.h] /usr/pkg/include/gps.h: Permission denied   
scons: building terminated because of errors.                                   
Ensure your PYTHONPATH includes /usr/pkg/lib/python3.8/site-packages/           
*** Error code 2                                                                
make[1]: stopped in /home/n0/gdt/pkgsrc-current/pkgsrc/geography/gpsd           
*** Error code 1                                                                
make: stopped in /usr/pkgsrc/geography/gpsd                                     

Attachment: signature.asc
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]