Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Apr 2019 20:25:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 237476] graphics/oyranos: Fix 'expected expression' error
Message-ID:  <bug-237476-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237476

            Bug ID: 237476
           Summary: graphics/oyranos: Fix 'expected expression' error
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bsam@FreeBSD.org
          Reporter: rhurlin@gwdg.de
             Flags: maintainer-feedback?(bsam@FreeBSD.org)
          Assignee: bsam@FreeBSD.org

Created attachment 203901
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203901&action=
=3Dedit
patch to fix build error on graphics/oyranos

When trying to update graphics/oyranos from 0.9.6_8 to 0.9.6_9 on FreeBSD
13.0-CURRENT amd64 with clang 8.0.0, it breaks with the following error:

[..snip..]
FAILED: src/tools/CMakeFiles/oyranos-icc.dir/oyranos_convert.c.o=20
/usr/bin/cc  -I/usr/local/include -I/usr/local/include/openicc
-I/usr/ports/graphics/oyranos/work/oyranos-0.9.6
-I/usr/ports/graphics/oyranos/work/oyranos-0.9.6/src
-I/usr/ports/graphics/oyranos/work/oyranos-0.9.6/src/include -Isrc/include
-I/usr/ports/graphics/oyranos/work/oyranos-0.9.6/src/include_private
-Isrc/include_private
-I/usr/ports/graphics/oyranos/work/oyranos-0.9.6/src/liboyranos_core
-I/usr/ports/graphics/oyranos/work/oyranos-0.9.6/src/liboyranos_object
-I/usr/ports/graphics/oyranos/work/oyranos-0.9.6/src/liboyranos_modules
-I/usr/ports/graphics/oyranos/work/oyranos-0.9.6/src/liboyranos_config
-I/usr/ports/graphics/oyranos/work/oyranos-0.9.6/src/liboyranos
-I/usr/ports/graphics/oyranos/work/oyranos-0.9.6/src/API_generated
-I/usr/local/include/cairo -I/usr/local/include/libxml2
-I/usr/local/include/libpng16 -O2 -pipe  -DLIBICONV_PLUG -fstack-protector
-fno-strict-aliasing -fPIC -fopenmp=3Dlibomp -O2 -pipe  -DLIBICONV_PLUG
-fstack-protector -fno-strict-aliasing -MD -MT
src/tools/CMakeFiles/oyranos-icc.dir/oyranos_convert.c.o -MF
src/tools/CMakeFiles/oyranos-icc.dir/oyranos_convert.c.o.d -o
src/tools/CMakeFiles/oyranos-icc.dir/oyranos_convert.c.o   -c
/usr/ports/graphics/oyranos/work/oyranos-0.9.6/src/tools/oyranos_convert.c
/usr/ports/graphics/oyranos/work/oyranos-0.9.6/src/tools/oyranos_convert.c:=
649:43:
error: expected expression
#pragma omp parallel for private(in,a,b,j,)
                                          ^
1 error generated.
ninja: build stopped: subcommand failed.
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/graphics/oyranos



The attached patch, as already corrected upstream on GitHub repositoy
oyranos-cms/oyranos[1] on Sep 18, 2017, seems to solve the breakage.

The patch is tested on Poudriere (HEADi/a).


[1]
https://github.com/oyranos-cms/oyranos/commit/58df834186445e1fc545cac0a368d=
e69d8552a6d#diff-701a1fd1cba2109665e8a7d6ee5e795d

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237476-7788>