Re: git: a967390ae709 - main - graphics/openexr: fix post-extract to move testimages into place
Date: Fri, 08 Mar 2024 08:01:21 UTC
Am 08.03.24 um 08:22 schrieb Gleb Popov: > On Fri, Mar 8, 2024 at 3:42 AM Matthias Andree <mandree@freebsd.org> wrote: >> >> post-extract: >> ${MKDIR} ${CONFIGURE_WRKSRC}/src/test/bin >> -.for i in ${DISTFILES:M*.exr} >> - ${PRINTF} %s ${i} | ( cd ${DISTDIR}/${DIST_SUBDIR} && ${CPIO} -dumpl ${CONFIGURE_WRKSRC}/src/test/bin/ 2>/dev/null ) >> +.for i in ${DISTFILES:M*.exr?testimages} >> + ${PRINTF} %s ${i:S/:testimages//} | ( cd ${DISTDIR}/${DIST_SUBDIR} && ${CPIO} -dumpl ${CONFIGURE_WRKSRC}/src/test/bin/ 2>/dev/null ) >> .endfor >> >> pre-configure: > > The port now fails in Poudriere: > > ===> Extracting for openexr-3.2.2_1 > => SHA256 Checksum OK for openexr/Beachball/multipart.0001.exr. > ... > => SHA256 Checksum OK for > openexr/AcademySoftwareFoundation-openexr-3.2.2-v3.2.2_GH0.tar.gz. > /bin/mkdir -p /wrkdirs/usr/ports/graphics/openexr/work/.build/src/test/bin > /usr/bin/printf %s Beachball/multipart.0001.exr | ( cd > /portdistfiles/openexr && /usr/bin/cpio -dumpl > /wrkdirs/usr/ports/graphics/openexr/work/.build/src/test/bin/ > 2>/dev/null ) > ... > /usr/bin/printf %s v2/Stereo/Trunks.exr | ( cd /portdistfiles/openexr > && /usr/bin/cpio -dumpl > /wrkdirs/usr/ports/graphics/openexr/work/.build/src/test/bin/ > 2>/dev/null ) > chmod: /wrkdirs/usr/ports/graphics/openexr/work/.build/src/test/bin/Beachball/multipart.0001.exr: > Operation not permitted > ... > chmod: /wrkdirs/usr/ports/graphics/openexr/work/.build/src/test/bin/v2/Stereo/Trunks.exr: > Operation not permitted > *** Error code 1 Note my poudriere.conf does NOT specify building as non-root but DOES configure a CCACHE_DIR I share system-wide because I am the only real user on my poudriere build box. The port used to use CPIO in order to create missing directories (cpio -d)... this apparently was the culprit. Changed to dirname/MKDIR/CP in ba2257cba9e9, please retry. -- Matthias Andree FreeBSD ports committer