Re: [Fink-users] openmotif3 build failure: phase patching?

2014-06-06 Thread Daniel Macks
On Fri, 6 Jun 2014 02:13:00 +, Kippen, Marc mkip...@lanl.gov wrote:
  

  Failed: phase patching (PatchFile 
 /sw/fink/dists/stable/main/finkinfo/devel/fink-package-precedence.patch 
 readability): fink-package-precedence-0.18-1 failed

The noted .patch file needs to be world-readable in order for the fink 
sandbox-build process to be able to access it. Check that the file 
exists, and that 'ls -l' of it reports -rw-r--r-- (that third r is 
the key). Then work backwards in its directory structure 
(/sw/fink/dists/stable/main/finkinfo/devel 
/sw/fink/dists/stable/main/finkinfo /sw/fink/dists/stable/main etc) and 
check that 'ls -ld' of it report dwxrr-xr-x (that last r-x is the key). 
Somewhere along this path is likely something that ends with --- 
instead. If it's the file itself, chmod 644 it. If it's a directory 
leading to it, chmod 755 it. I get this all the time when I have a 
restrictive umask, because then selfupdate sets all the files to be 
unaccessable by anyone except me. 

dan

  --
Daniel Macks
dma...@netspace.org



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech
___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


Re: [Fink-users] openmotif3 build failure: phase patching?

2014-06-06 Thread Kippen, Marc
Much thanks for the tip! This was exactly the problem. I added o+r read access 
to the patch directory/files, and everything works fine. I had the same problem 
on two different machines, one running 10.7 and the other 10.8 -- both work now.

Since these were completely fresh builds directly from CVS, I'm surprised that 
the installation script didn't set the permissions correctly to begin with. 
Maybe a bug?

--Marc


On Jun 6, 2014, at 1:07 AM, Daniel Macks wrote:

On Fri, 6 Jun 2014 02:13:00 +, Kippen, Marc 
mkip...@lanl.govmailto:mkip...@lanl.gov wrote:


Failed: phase patching (PatchFile 
/sw/fink/dists/stable/main/finkinfo/devel/fink-package-precedence.patch 
readability): fink-package-precedence-0.18-1 failed

The noted .patch file needs to be world-readable in order for the fink 
sandbox-build process to be able to access it. Check that the file exists, and 
that 'ls -l' of it reports -rw-r--r-- (that third r is the key). Then work 
backwards in its directory structure (/sw/fink/dists/stable/main/finkinfo/devel 
/sw/fink/dists/stable/main/finkinfo /sw/fink/dists/stable/main etc) and check 
that 'ls -ld' of it report dwxrr-xr-x (that last r-x is the key). Somewhere 
along this path is likely something that ends with --- instead. If it's the 
file itself, chmod 644 it. If it's a directory leading to it, chmod 755 it. 
I get this all the time when I have a restrictive umask, because then 
selfupdate sets all the files to be unaccessable by anyone except me.
dan

--
Daniel Macks
dma...@netspace.orgmailto:dma...@netspace.org



--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


[Fink-users] openmotif3 build failure: phase patching?

2014-06-05 Thread Kippen, Marc
I'm having problems building openmotif3 (or 4 for that matter) -- seems to be 
failing on phase patching. I had built this package successfully a few months 
ago, but now failure.

Recent self update works fine
OS 10.7.5
Xcode 4.6.3



fink install openmotif3
Information about 10355 packages read in 1 seconds.
The following package will be installed or updated:
 openmotif3
The following 2 additional packages will be installed:
 fink-package-precedence openmotif3-shlibs
Do you want to continue? [Y/n]
Setting runtime build-lock...
dpkg-deb -b 
/sw/src/fink.build/root-fink-buildlock-fink-package-precedence-0.18-1 
/sw/src/fink.build
dpkg-deb: building package `fink-buildlock-fink-package-precedence-0.18-1' in 
`/sw/src/fink.build/fink-buildlock-fink-package-precedence-0.18-1_2014.06.05-20.01.19_darwin-x86_64.deb'.
Installing build-lock package...
/sw/bin/dpkg-lockwait -i 
/sw/src/fink.build/fink-buildlock-fink-package-precedence-0.18-1_2014.06.05-20.01.19_darwin-x86_64.deb
Selecting previously deselected package 
fink-buildlock-fink-package-precedence-0.18-1.
(Reading database ... 4597 files and directories currently installed.)
Unpacking fink-buildlock-fink-package-precedence-0.18-1 (from 
.../fink-buildlock-fink-package-precedence-0.18-1_2014.06.05-20.01.19_darwin-x86_64.deb)
 ...
Setting up fink-buildlock-fink-package-precedence-0.18-1 (2014.06.05-20.01.19) 
...

sudo -u fink-bld [ENV] sh -c /tmp/fink.vPjVA
[ -r /sw/fink/dists/stable/main/finkinfo/devel/fink-package-precedence.patch ]
### execution of [ failed, exit code 1
### execution of /tmp/fink.vPjVA failed, exit code 1
Removing runtime build-lock...
Removing build-lock package...
/sw/bin/dpkg-lockwait -r fink-buildlock-fink-package-precedence-0.18-1
(Reading database ... 4598 files and directories currently installed.)
Removing fink-buildlock-fink-package-precedence-0.18-1 ...
Failed: phase patching (PatchFile 
/sw/fink/dists/stable/main/finkinfo/devel/fink-package-precedence.patch 
readability): fink-package-precedence-0.18-1 failed

Before reporting any errors, please run fink selfupdate and try again.
Also try using fink configure to set your maximum build jobs to 1 and
attempt to build the package again.
If you continue to have issues, please check to see if the FAQ on Fink's
website solves the problem.  If not, ask on one (not both, please) of
these mailing lists:

The Fink Users List 
fink-users@lists.sourceforge.netmailto:fink-users@lists.sourceforge.net
The Fink Beginners List 
fink-beginn...@lists.sourceforge.netmailto:fink-beginn...@lists.sourceforge.net,

with a carbon copy to the maintainer:

Daniel Macks dma...@netspace.orgmailto:dma...@netspace.org

Note that this is preferable to emailing just the maintainer directly,
since most fink package maintainers do not have access to all possible
hardware and software configurations.

Please try to include the complete error message in your report.  This
generally consists of a compiler line starting with e.g. gcc or g++
followed by the actual error output from the compiler.

Also include the following system information:
Package manager version: 0.37.0
Distribution version: selfupdate-cvs Thu Jun  5 19:15:51 2014, 10.7, x86_64
Trees: local/main stable/main
Xcode.app: 4.6.3
Xcode command-line tools: 4.6.0.0.1.1365549073
Max. Fink build jobs:  16


--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and their 
applications. Written by three acclaimed leaders in the field, 
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/NeoTech___
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users