Bug 209630 - [maintainer-update] science/py-h5py: update to 2.6.0
Summary: [maintainer-update] science/py-h5py: update to 2.6.0
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Kurt Jaeger
Depends on:
Blocks: 209746
  Show dependency treegraph
Reported: 2016-05-19 05:22 UTC by Johannes Jost Meixner
Modified: 2016-05-25 16:33 UTC (History)
2 users (show)

See Also:
pi: maintainer-feedback+

update py-h5py to 2.6.0 (868 bytes, patch)
2016-05-19 05:22 UTC, Johannes Jost Meixner
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Johannes Jost Meixner freebsd_committer 2016-05-19 05:22:47 UTC
Created attachment 170471 [details]
update py-h5py to 2.6.0

Patch attached updates science/py-h5py to 2.6.0.

Poudriere & portlint-tested.
Comment 1 Kurt Jaeger freebsd_committer 2016-05-19 05:40:09 UTC
testbuilds in poudriere are OK, but it has a strange failure mode:

Comment 2 Kurt Jaeger freebsd_committer 2016-05-19 16:37:28 UTC


for a second syndrome: The files of the port itself are mode 644 before
the build, 444 after the build. What's going on ?
Comment 3 Johannes Jost Meixner freebsd_committer 2016-05-19 20:36:59 UTC
(In reply to Kurt Jaeger from comment #1)
I can't reproduce this error with recent portstree in a poudriere jail set up with

poudriere testport -I -n -j 11amd64 -p svnports -o science/py-h5py.

I'm wondering, do you have
OPTIONS_UNSET= NLS somewhere in a make.conf?
Comment 4 Kurt Jaeger freebsd_committer 2016-05-19 20:39:35 UTC
It's not in poudriere, it's on a populated host (fc.opsec.eu). /etc/make.conf:

DEFAULT_VERSIONS= perl5=5.22 python=2.7 python3=3.4 ruby=2.3 pgsql=9.5 php=7.0
Comment 5 Kurt Jaeger freebsd_committer 2016-05-19 20:40:22 UTC
'populated host' means:

pkg info | wc -l
Comment 6 Johannes Jost Meixner freebsd_committer 2016-05-19 21:08:12 UTC
(In reply to Kurt Jaeger from comment #2)
I can't reproduce this error with poudriere either.
Comment 7 Kurt Jaeger freebsd_committer 2016-05-20 04:02:29 UTC
I made a test with make -d all
In line 691 of
this is executed:

(cd /home/pi/myp/science/py-h5py/work/h5py-2.6.0/docs) && /bin/sh -c '(/usr/bin/
find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null  2>&1) &&  /usr/bin/find -d $
0 $2 -type d -exec chmod 755 $1/{} \; &&  /usr/bin/find -d $0 $2 -type f -exec c
hmod 444 $1/{} \;' -- . /home/pi/myp/science/py-h5py/work/stage/usr/local/share/

There are many (>700) lines of failing chmod following.
Comment 8 Johannes Jost Meixner freebsd_committer 2016-05-20 06:44:28 UTC
(In reply to Kurt Jaeger from comment #7)
So, the line in question within the Makefile is this:

        @(cd ${WRKSRC}/docs) && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}

Which, on my system, works because it doesn't try to create the DOCSDIR twice 

chmod: /home/pi/myp/science/py-h5py/work/stage/usr/local/share/doc/h5py/./work/stage/usr/local/share/doc/h5py/work/h5py-2.6.0/docs/high: No such file or directory

it looks like your system is trying to copy everything into 


which it shouldn't do.

To verify, can you run `make -V STAGEDIR -V DOCSDIR`?

It should look like this - which is why your poudriere install works:

root@11amd64-svnports:/usr/ports/science/py-h5py # make -V STAGEDIR -V DOCSDIR
Comment 9 Johannes Jost Meixner freebsd_committer 2016-05-25 11:03:12 UTC
How do we move this forward?
Comment 10 Kurt Jaeger freebsd_committer 2016-05-25 16:02:25 UTC
(In reply to comment #8)

Comment 11 Kurt Jaeger freebsd_committer 2016-05-25 16:11:52 UTC
(In reply to Kurt Jaeger from comment #10)





works like a charm.
Comment 12 Kurt Jaeger freebsd_committer 2016-05-25 16:32:50 UTC
Committed, thanks. I did not find any changelog -- any ideas where it's hidden ?
Comment 13 commit-hook freebsd_committer 2016-05-25 16:33:24 UTC
A commit references this bug:

Author: pi
Date: Wed May 25 16:32:24 UTC 2016
New revision: 415847
URL: https://svnweb.freebsd.org/changeset/ports/415847

  science/py-h5py: 2.5.0 -> 2.6.0

  PR:		209630
  Submitted by:	Johannes Jost Meixner <xmj@chaot.net> (maintainer)