Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Jun 2020 17:40:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 247427] graphics/openjpeg15 openjpeg.h header conflicts with the same header from graphics/openjpeg
Message-ID:  <bug-247427-7788@https.bugs.freebsd.org/bugzilla/>

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

            Bug ID: 247427
           Summary: graphics/openjpeg15 openjpeg.h header conflicts with
                    the same header from graphics/openjpeg
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: sunpoet@FreeBSD.org
          Reporter: peter@flytrace.com
          Assignee: sunpoet@FreeBSD.org
             Flags: maintainer-feedback?(sunpoet@FreeBSD.org)

Multiple ports that depend on graphics/openjpeg cannot be built if both
graphics/openjpeg and graphics/openjpeg15 are installed.
The header openjpeg.h is installed to /usr/local/include/openjpeg-2.3 by
graphics/openjpeg, but the header with the same name is installed to
/usr/local/include by graphics/openjpeg15. When a port is building, both
/usr/local/include/openjpeg-2.3 and /usr/local/include are configured as
include directories, so the port dependent on graphics/openjpeg tries to
include /usr/local/include/openjpeg.h and then fails to build.
Example of such port: graphics/simpleviewer.
Moreover, if a port needs devel/doxygen and graphics/openjpeg in the same t=
ime
- it cannot be built at all as devel/doxygen (indirectly) depends on
graphics/openjpeg15, so graphics/openjpeg15 will be installed before the po=
rt
and breaks the build.
The port graphics/openjpeg15 must install the header openjpeg.h into
/usr/local/include/openjpeg-1.5 and change his pc file accordingly to avoid
such conflicts.

--=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-247427-7788>