[Bug 223032] [PATCH] lang/pocl: pkg-static fails due to wrong pkg-plist entries

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 15 16:54:33 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223032

            Bug ID: 223032
           Summary: [PATCH] lang/pocl: pkg-static fails due to wrong
                    pkg-plist entries
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: ohartmann at walstatt.org
          Keywords: patch

Created attachment 187198
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=187198&action=edit
Ptach replaces "-unknown-" with "-portbld-" in the naming scheme of the POCL
core files (.bc)

lang/pocl (0.14) fails on several systems to build, including recent 12-CURRENT
amd64. Automatic port build also indicate the problem (see, for instance,
http://beefy9.nyi.freebsd.org/data/110amd64-default/452122/logs/pocl-0.14.log).

>From a first look it seems that the installation's satging files (installation
fails with:

[...]
===>   Registering installation for pocl-0.14
pkg-static: Unable to access file
/usr/ports/lang/pocl/work/stage/usr/local/share/pocl/kernel-x86_64-unknown-freebsd12.0-avx.bc:No
such file or directory
pkg-static: Unable to access file
/usr/ports/lang/pocl/work/stage/usr/local/share/pocl/kernel-x86_64-unknown-freebsd12.0-avx2.bc:No
such file or directory
pkg-static: Unable to access file
/usr/ports/lang/pocl/work/stage/usr/local/share/pocl/kernel-x86_64-unknown-freebsd12.0-avx512.bc:No
such file or directory
pkg-static: Unable to access file
/usr/ports/lang/pocl/work/stage/usr/local/share/pocl/kernel-x86_64-unknown-freebsd12.0-avx_fma4.bc:No
such file or directory
pkg-static: Unable to access file
/usr/ports/lang/pocl/work/stage/usr/local/share/pocl/kernel-x86_64-unknown-freebsd12.0-sse2.bc:No
such file or directory
pkg-static: Unable to access file
/usr/ports/lang/pocl/work/stage/usr/local/share/pocl/kernel-x86_64-unknown-freebsd12.0-sse41.bc:No
such file or directory
pkg-static: Unable to access file
/usr/ports/lang/pocl/work/stage/usr/local/share/pocl/kernel-x86_64-unknown-freebsd12.0-ssse3.bc:No
such file or directory
*** Error code 74
[...] )

have different namings, not met anymore by the port's pkg-plist, for instance

[...]
[pocl] find ./ -name "*freebsd12.0-avx.bc" -print
./work/stage/usr/local/share/pocl/kernel-x86_64-portbld-freebsd12.0-avx.bc
./work/pocl-0.14/lib/kernel/host/kernel-x86_64-portbld-freebsd12.0-avx.bc

The naming portion "unknown" is renamed to "portbld" in recent builds.

Attached, you'll find the patched pkg-plist file as diff against the ports
tree.

--- Comment #1 from Bugzilla Automation <bugzilla at FreeBSD.org> ---
Maintainer informed via mail

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list