svn commit: r515970 - head/math/openblas

Lorenzo Salvadore phascolarctos at protonmail.ch
Wed Oct 30 11:37:27 UTC 2019


> This breaks staging for me:
> install -m 0644 /tmp/usr/ports/math/openblas/work/OpenBLAS-0.2.20/cblas.h /tmp/usr/ports/math/openblas/work/OpenBLAS-0.2.20/config_kernel.h /tmp/usr/ports/math/openblas/work/OpenBLAS-0.2.20/config_last.h /tmp/usr/ports/math/openblas/work/OpenBLAS-0.2.20/l1param.h /tmp/usr/ports/math/openblas/work/OpenBLAS-0.2.20/l2param.h /tmp/usr/ports/math/openblas/work/OpenBLAS-0.2.20/symcopy.h /tmp/usr/ports/math/openblas/work/stage/usr/local/include/openblas
> install: /tmp/usr/ports/math/openblas/work/OpenBLAS-0.2.20/config_kernel.h: No such file or directory
>
> I'm on powerpc64 elfv2 on head.

I have a similar but not identical issue on amd64 head:

===>  Staging for openblas-0.2.20_11,1
===>   openblas-0.2.20_11,1 depends on executable: gfortran9 - found
===>   Generating temporary packing list
install  -m 0644 /usr/obj/usr/ports/math/openblas/work/lib/libopenblas.a /usr/obj/usr/ports/math/openblas/work/stage/usr/local/lib
install  -s -m 0644 /usr/obj/usr/ports/math/openblas/work/lib/libopenblas.so.0 /usr/obj/usr/ports/math/openblas/work/stage/usr/local/lib
/bin/ln -sf libopenblas.so.0 /usr/obj/usr/ports/math/openblas/work/stage/usr/local/lib/libopenblas.so
install  -m 0644 /usr/obj/usr/ports/math/openblas/work/lib/libopenblasp.a /usr/obj/usr/ports/math/openblas/work/stage/usr/local/lib
install  -s -m 0644 /usr/obj/usr/ports/math/openblas/work/lib/libopenblasp.so.0 /usr/obj/usr/ports/math/openblas/work/stage/usr/local/lib
/bin/ln -sf libopenblasp.so.0 /usr/obj/usr/ports/math/openblas/work/stage/usr/local/lib/libopenblasp.so
cd /usr/obj/usr/ports/math/openblas/work/OpenBLAS-0.2.20 &&  /usr/bin/find . -name 'common*.h' -print | /usr/bin/xargs /usr/bin/basename | /usr/bin/xargs -I {} /bin/mv {} openblas_{}
/bin/mv /usr/obj/usr/ports/math/openblas/work/OpenBLAS-0.2.20/version.h /usr/obj/usr/ports/math/openblas/work/OpenBLAS-0.2.20/openblas_version.h
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/math/openblas
*** Error code 1

Stop.
make: stopped in /usr/ports/math/openblas

Lorenzo Salvadore.


> On 19-10-29 10:25:43, Gleb Popov wrote:
>
> > Author: arrowd
> > Date: Tue Oct 29 10:25:42 2019
> > New Revision: 515970
> > URL: https://svnweb.freebsd.org/changeset/ports/515970
> > Log:
> > math/openblas: Install header files.
> > PR: 238228
> > Reviewed by: Artyom Davidov ard_1 at mail.ru
> > Approved by: Eijiro Shibusawa phd_kimberlite at yahoo.co.jp (maintainer)
> > Differential Revision: https://reviews.freebsd.org/D20866
> > Added:
> > head/math/openblas/pkg-plist (contents, props changed)
> > Modified:
> > head/math/openblas/Makefile
> >
> > Modified: head/math/openblas/Makefile
> >
> > ======================================
> >
> > --- head/math/openblas/Makefile Tue Oct 29 09:39:17 2019 (r515969)
> > +++ head/math/openblas/Makefile Tue Oct 29 10:25:42 2019 (r515970)
> > @@ -3,7 +3,7 @@
> > PORTNAME= openblas
> > PORTVERSION= 0.2.20
> > -PORTREVISION= 10
> > +PORTREVISION= 11
> > DISTVERSIONPREFIX= v
> > PORTEPOCH= 1
> > CATEGORIES= math
> > @@ -183,5 +183,25 @@ do-install:
> > ${INSTALL_LIB} ${WRKDIR}/lib/${L}.so.${OPENBLAS_SVER} ${STAGEDIR}${PREFIX}/lib
> > ${LN} -sf ${L}.so.${OPENBLAS_SVER} ${STAGEDIR}${PREFIX}/lib/${L}.so
> > .endfor
> >
> > -   cd ${WRKSRC} && \
> > -       ${FIND} . -name 'common*.h' -print | ${XARGS} ${BASENAME} | ${XARGS} -I {} ${CP} {} openblas_{}
> >
> >
> > -   ${CP} ${WRKSRC}/version.h ${WRKSRC}/openblas_version.h
> > -   ${CP} ${WRKSRC}/param.h ${WRKSRC}/openblas_param.h
> > -   ${CP} ${WRKSRC}/cpuid.h ${WRKSRC}/openblas_cpuid.h
> > -   ${CP} ${WRKSRC}/config.h ${WRKSRC}/openblas_config.h
> > -   ${REINPLACE_CMD} \
> > -   -e 's/"common.h"/"openblas_common.h"/' \
> > -   -e 's/"version.h"/"openblas_version.h"/' \
> > -   -e 's/"param.h"/"openblas_param.h"/' \
> > -   -e 's/"cpuid.h"/"openblas_cpuid.h"/' \
> > -   -e 's/"config.h"/"openblas_config.h"/' \
> > -   -e 's/"common_/"openblas_common_/' \
> > -       ${WRKSRC}/*.h \\
> >
> >
> > -       ${WRKSRC}/*.c \\
> >
> >
> > -       ${WRKSRC}/interface/*.c
> >
> >
> > -   ${MKDIR} ${STAGEDIR}${PREFIX}/include/openblas
> > -   ${INSTALL_DATA} ${WRKSRC}/openblas_*.h ${STAGEDIR}${PREFIX}/include/openblas
> > -   ${INSTALL_DATA} ${WRKSRC}/cblas.h ${WRKSRC}/config_kernel.h ${WRKSRC}/config_last.h ${WRKSRC}/l1param.h ${WRKSRC}/l2param.h ${WRKSRC}/symcopy.h \
> > -       ${STAGEDIR}${PREFIX}/include/openblas
> >
> >
> >
> > .include <bsd.port.mk>
> >
> > Added: head/math/openblas/pkg-plist
> >
> > ====================================
> >
> > --- /dev/null 00:00:00 1970 (empty, because file is newly added)
> > +++ head/math/openblas/pkg-plist Tue Oct 29 10:25:42 2019 (r515970)
> > @@ -0,0 +1,40 @@
> > +include/openblas/cblas.h
> > +include/openblas/openblas_common.h
> > +include/openblas/openblas_common_alpha.h
> > +include/openblas/openblas_common_arm.h
> > +include/openblas/openblas_common_arm64.h
> > +include/openblas/openblas_common_c.h
> > +include/openblas/openblas_common_d.h
> > +include/openblas/openblas_common_ia64.h
> > +include/openblas/openblas_common_interface.h
> > +include/openblas/openblas_common_lapack.h
> > +include/openblas/openblas_common_level1.h
> > +include/openblas/openblas_common_level2.h
> > +include/openblas/openblas_common_level3.h
> > +include/openblas/openblas_common_linux.h
> > +include/openblas/openblas_common_macro.h
> > +include/openblas/openblas_common_mips.h
> > +include/openblas/openblas_common_mips64.h
> > +include/openblas/openblas_common_param.h
> > +include/openblas/openblas_common_power.h
> > +include/openblas/openblas_common_q.h
> > +include/openblas/openblas_common_reference.h
> > +include/openblas/openblas_common_s.h
> > +include/openblas/openblas_common_sparc.h
> > +include/openblas/openblas_common_stackalloc.h
> > +include/openblas/openblas_common_thread.h
> > +include/openblas/openblas_common_x.h
> > +include/openblas/openblas_common_x86.h
> > +include/openblas/openblas_common_x86_64.h
> > +include/openblas/openblas_common_z.h
> > +include/openblas/openblas_common_zarch.h
> > +include/openblas/openblas_config.h
> > +include/openblas/config_kernel.h
> > +include/openblas/config_last.h
> > +include/openblas/openblas_cpuid.h
> > +include/openblas/l1param.h
> > +include/openblas/l2param.h
> > +include/openblas/openblas_config_template.h
> > +include/openblas/openblas_param.h
> > +include/openblas/symcopy.h
> > +include/openblas/openblas_version.h




More information about the svn-ports-head mailing list