[MacPorts] #43410: orfeotoolbox @4.0.0 +nonfree: conflicts with openjpeg15 but also depends on it (was: orfeotoolbox @4.0.0 +nonfree Configure error - build failure)

MacPorts noreply at macports.org
Sat Apr 19 20:37:44 PDT 2014


#43410: orfeotoolbox @4.0.0 +nonfree: conflicts with openjpeg15 but also depends on
it
-----------------------------+----------------------------
  Reporter:  plm_macports@…  |      Owner:  julien.malik@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.2.1
Resolution:                  |   Keywords:
      Port:  orfeotoolbox    |
-----------------------------+----------------------------
Changes (by ryandesign@…):

 * cc: plm_macports@… (removed)
 * cc: stromnov@… (added)
 * owner:  macports-tickets@… => julien.malik@…
 * keywords:  maverick, maintainer =>
 * port:  orpfeotoolbox => orfeotoolbox


Old description:

> Hi,
>
> The #118977 revision add a test that don't work... See my install logs of
> orpfeotoolbox @4.0.0 :
> {{{
> # port -v install orfeotoolbox +nonfree
> --->  Computing dependencies for orfeotoolbox.
> --->  Configuring orfeotoolbox
> Error: orfeotoolbox cannot be built while openjpeg15 is active.
> Error: Please deactivate openjpeg15 and try again.
> Error: You can reactivate openjpeg15 again later.
> Error: org.macports.configure for port orfeotoolbox returned: openjpeg15
> is active
> Warning: targets not executed for orfeotoolbox: org.macports.activate
> org.macports.configure org.macports.build org.macports.destroot
> org.macports.install
> Please see the log file for port orfeotoolbox for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_orfeotoolbox/orfeotoolbox/main.log
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port orfeotoolbox failed
> }}}
>
> So, I follow recommandations:
> {{{
> # port -v deactivate openjpeg15
> --->  Deactivating openjpeg15 @1.5.0_1
> --->  Unable to deactivate openjpeg15 @1.5.0_1, the following ports
> depend on it:
> --->    ffmpeg @2.2.1_0+gpl2+nonfree
> Error: org.macports.deactivate for port openjpeg15 returned: Please
> uninstall the ports that depend on openjpeg15 first.
> Warning: targets not executed for openjpeg15: org.macports.deactivate
> Please see the log file for port openjpeg15 for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_openjpeg15_1.5.0_1/openjpeg15/main.log
> Warning: Failed to execute portfile from registry for openjpeg15 @1.5.0_1
> --->  Deactivating openjpeg15 @1.5.0_1
> --->  Unable to deactivate openjpeg15 @1.5.0_1, the following ports
> depend on it:
> --->    ffmpeg @2.2.1_0+gpl2+nonfree
> Error: port deactivate failed: Please uninstall the ports that depend on
> openjpeg15 first.
> }}}
>
> Ok, I'll continue:
> {{{
> # port -v uninstall ffmpeg @2.2.1_0+gpl2+nonfree
> --->  Unable to uninstall ffmpeg @2.2.1_0+gpl2+nonfree, the following
> ports depend on it:
> --->    opencv @2.4.8_2
> ...
>
> # port -v uninstall opencv @2.4.8_2
> --->  Deactivating opencv @2.4.8_2
> --->  Cleaning opencv
> --->  Removing work directory for opencv
> --->  Uninstalling opencv @2.4.8_2
> --->  Cleaning opencv
> --->  Removing work directory for opencv
>
> # port -v uninstall ffmpeg @2.2.1_0+gpl2+nonfree
> --->  Deactivating ffmpeg @2.2.1_0+gpl2+nonfree
> --->  Cleaning ffmpeg
> --->  Removing work directory for ffmpeg
> --->  Uninstalling ffmpeg @2.2.1_0+gpl2+nonfree
> --->  Cleaning ffmpeg
> --->  Removing work directory for ffmpeg
>
> # port -v deactivate openjpeg15
> --->  Deactivating openjpeg15 @1.5.0_1
> --->  Cleaning openjpeg15
> --->  Removing work directory for openjpeg15
> }}}
>
> So, now, everything would be Ok, no? Take a look:
> {{{
> # port -v install orfeotoolbox +nonfree
> --->  Computing dependencies for orfeotoolbox....
> --->  Dependencies to be installed: opencv ffmpeg openjpeg15
> --->  Activating openjpeg15 @1.5.0_1
> ......
> --->  Cleaning openjpeg15
> --->  Removing work directory for openjpeg15
> --->  Fetching archive for ffmpeg
> --->  ffmpeg-2.2.1_0+gpl2+nonfree.darwin_13.x86_64.tbz2 doesn't seem to
> exist in /opt/local/var/macports/incoming/verified
> --->  Attempting to fetch
> ffmpeg-2.2.1_0+gpl2+nonfree.darwin_13.x86_64.tbz2 from
> http://lil.fr.packages.macports.org/ffmpeg
> .................
> --->  Fetching distfiles for ffmpeg
> --->  Verifying checksums for ffmpeg
> --->  Checksumming ffmpeg-2.2.1.tar.bz2
> --->  Extracting ffmpeg
> --->  Extracting ffmpeg-2.2.1.tar.bz2
> --->  Applying patches to ffmpeg
> --->  Applying patch-libdc1394.diff
> patching file configure
> --->  Configuring ffmpeg
> install prefix            /opt/local
> source path               .
> C compiler                /usr/bin/clang
> C library
> ARCH                      x86 (generic)
> big-endian                no
> runtime cpu detection     yes
> yasm                      yes
> MMX enabled               yes
> MMXEXT enabled            yes
> 3DNow! enabled            yes
> 3DNow! extended enabled   yes
> SSE enabled               yes
> SSSE3 enabled             yes
> AVX enabled               yes
> XOP enabled               yes
> FMA3 enabled              yes
> FMA4 enabled              yes
> i686 features enabled     yes
> CMOV is fast              yes
> EBX available             yes
> EBP available             yes
> debug symbols             yes
> strip symbols             yes
> optimize for size         no
> optimizations             yes
> static                    yes
> shared                    yes
> postprocessing support    yes
> new filter support        yes
> network support           yes
> threading support         pthreads
> safe bitstream reader     yes
> SDL support               yes
> opencl enabled            no
> libzvbi enabled           no
> texi2html enabled         yes
> perl enabled              yes
> pod2man enabled           yes
> makeinfo enabled          yes
> .............
> --->  Staging ffmpeg into destroot
> --->  Compressing man pages for ffmpeg
> man1/ffmpeg-all.1:         73.7% -- replaced with man1/ffmpeg-all.1.gz
> ......................
> --->  Installing ffmpeg @2.2.1_0+gpl2+nonfree
> ......................
> --->  Activating ffmpeg @2.2.1_0+gpl2+nonfree
> .....................
> x ./opt/local/bin/ffserver
>
> *******
> ******* This build of ffmpeg includes nonfree code as follows:
> *******
> *******     libfaac
> *******     libfdk-aac
> *******
> ******* The following libraries and binaries may not be redistributed:
> *******
> *******     ffmpeg
> *******     libavcodec
> *******     libavdevice
> *******     libavfilter
> *******     libavformat
> *******     libavutil
> *******
> ******* To remove this restriction remove the variant +nonfree
> *******
>
> --->  Cleaning ffmpeg
> --->  Removing work directory for ffmpeg
> --->  Fetching archive for opencv
> --->  opencv-2.4.8_2.darwin_13.x86_64.tbz2 doesn't seem to exist in
> /opt/local/var/macports/incoming/verified
> --->  Attempting to fetch opencv-2.4.8_2.darwin_13.x86_64.tbz2 from
> http://lil.fr.packages.macports.org/opencv
> ..............
> --->  Attempting to fetch opencv-2.4.8_2.darwin_13.x86_64.tbz2.rmd160
> from http://lil.fr.packages.macports.org/opencv
> ..............
> --->  Installing opencv @2.4.8_2
> --->  Activating opencv @2.4.8_2
> ..............
> --->  Cleaning opencv
> --->  Removing work directory for opencv
> --->  Configuring orfeotoolbox
> Error: orfeotoolbox cannot be built while openjpeg15 is active.
> Error: Please deactivate openjpeg15 and try again.
> Error: You can reactivate openjpeg15 again later.
> Error: org.macports.configure for port orfeotoolbox returned: openjpeg15
> is active
> Warning: targets not executed for orfeotoolbox: org.macports.activate
> org.macports.configure org.macports.build org.macports.destroot
> org.macports.install
> Please see the log file for port orfeotoolbox for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_orfeotoolbox/orfeotoolbox/main.log
> To report a bug, follow the instructions in the guide:
>     http://guide.macports.org/#project.tickets
> Error: Processing of port orfeotoolbox failed
> }}}
>
> Why warning about nonfree notice about "libfaac" and "ibfdk-aac"? I run
> this installation with "--nonfree" flat.
>
> it want to have "openjpeg15" deactivated but the installation process re-
> install it...
>
> If anybody have a solution.

New description:

 Hi,

 The r118977 revision add a test that don't work... See my install logs of
 orpfeotoolbox @4.0.0 :
 {{{
 # port -v install orfeotoolbox +nonfree
 --->  Computing dependencies for orfeotoolbox.
 --->  Configuring orfeotoolbox
 Error: orfeotoolbox cannot be built while openjpeg15 is active.
 Error: Please deactivate openjpeg15 and try again.
 Error: You can reactivate openjpeg15 again later.
 Error: org.macports.configure for port orfeotoolbox returned: openjpeg15
 is active
 Warning: targets not executed for orfeotoolbox: org.macports.activate
 org.macports.configure org.macports.build org.macports.destroot
 org.macports.install
 Please see the log file for port orfeotoolbox for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_orfeotoolbox/orfeotoolbox/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port orfeotoolbox failed
 }}}

 So, I follow recommandations:
 {{{
 # port -v deactivate openjpeg15
 --->  Deactivating openjpeg15 @1.5.0_1
 --->  Unable to deactivate openjpeg15 @1.5.0_1, the following ports depend
 on it:
 --->    ffmpeg @2.2.1_0+gpl2+nonfree
 Error: org.macports.deactivate for port openjpeg15 returned: Please
 uninstall the ports that depend on openjpeg15 first.
 Warning: targets not executed for openjpeg15: org.macports.deactivate
 Please see the log file for port openjpeg15 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_registry_portfiles_openjpeg15_1.5.0_1/openjpeg15/main.log
 Warning: Failed to execute portfile from registry for openjpeg15 @1.5.0_1
 --->  Deactivating openjpeg15 @1.5.0_1
 --->  Unable to deactivate openjpeg15 @1.5.0_1, the following ports depend
 on it:
 --->    ffmpeg @2.2.1_0+gpl2+nonfree
 Error: port deactivate failed: Please uninstall the ports that depend on
 openjpeg15 first.
 }}}

 Ok, I'll continue:
 {{{
 # port -v uninstall ffmpeg @2.2.1_0+gpl2+nonfree
 --->  Unable to uninstall ffmpeg @2.2.1_0+gpl2+nonfree, the following
 ports depend on it:
 --->    opencv @2.4.8_2
 ...

 # port -v uninstall opencv @2.4.8_2
 --->  Deactivating opencv @2.4.8_2
 --->  Cleaning opencv
 --->  Removing work directory for opencv
 --->  Uninstalling opencv @2.4.8_2
 --->  Cleaning opencv
 --->  Removing work directory for opencv

 # port -v uninstall ffmpeg @2.2.1_0+gpl2+nonfree
 --->  Deactivating ffmpeg @2.2.1_0+gpl2+nonfree
 --->  Cleaning ffmpeg
 --->  Removing work directory for ffmpeg
 --->  Uninstalling ffmpeg @2.2.1_0+gpl2+nonfree
 --->  Cleaning ffmpeg
 --->  Removing work directory for ffmpeg

 # port -v deactivate openjpeg15
 --->  Deactivating openjpeg15 @1.5.0_1
 --->  Cleaning openjpeg15
 --->  Removing work directory for openjpeg15
 }}}

 So, now, everything would be Ok, no? Take a look:
 {{{
 # port -v install orfeotoolbox +nonfree
 --->  Computing dependencies for orfeotoolbox....
 --->  Dependencies to be installed: opencv ffmpeg openjpeg15
 --->  Activating openjpeg15 @1.5.0_1
 ......
 --->  Cleaning openjpeg15
 --->  Removing work directory for openjpeg15
 --->  Fetching archive for ffmpeg
 --->  ffmpeg-2.2.1_0+gpl2+nonfree.darwin_13.x86_64.tbz2 doesn't seem to
 exist in /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch
 ffmpeg-2.2.1_0+gpl2+nonfree.darwin_13.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/ffmpeg
 .................
 --->  Fetching distfiles for ffmpeg
 --->  Verifying checksums for ffmpeg
 --->  Checksumming ffmpeg-2.2.1.tar.bz2
 --->  Extracting ffmpeg
 --->  Extracting ffmpeg-2.2.1.tar.bz2
 --->  Applying patches to ffmpeg
 --->  Applying patch-libdc1394.diff
 patching file configure
 --->  Configuring ffmpeg
 install prefix            /opt/local
 source path               .
 C compiler                /usr/bin/clang
 C library
 ARCH                      x86 (generic)
 big-endian                no
 runtime cpu detection     yes
 yasm                      yes
 MMX enabled               yes
 MMXEXT enabled            yes
 3DNow! enabled            yes
 3DNow! extended enabled   yes
 SSE enabled               yes
 SSSE3 enabled             yes
 AVX enabled               yes
 XOP enabled               yes
 FMA3 enabled              yes
 FMA4 enabled              yes
 i686 features enabled     yes
 CMOV is fast              yes
 EBX available             yes
 EBP available             yes
 debug symbols             yes
 strip symbols             yes
 optimize for size         no
 optimizations             yes
 static                    yes
 shared                    yes
 postprocessing support    yes
 new filter support        yes
 network support           yes
 threading support         pthreads
 safe bitstream reader     yes
 SDL support               yes
 opencl enabled            no
 libzvbi enabled           no
 texi2html enabled         yes
 perl enabled              yes
 pod2man enabled           yes
 makeinfo enabled          yes
 .............
 --->  Staging ffmpeg into destroot
 --->  Compressing man pages for ffmpeg
 man1/ffmpeg-all.1:         73.7% -- replaced with man1/ffmpeg-all.1.gz
 ......................
 --->  Installing ffmpeg @2.2.1_0+gpl2+nonfree
 ......................
 --->  Activating ffmpeg @2.2.1_0+gpl2+nonfree
 .....................
 x ./opt/local/bin/ffserver

 *******
 ******* This build of ffmpeg includes nonfree code as follows:
 *******
 *******     libfaac
 *******     libfdk-aac
 *******
 ******* The following libraries and binaries may not be redistributed:
 *******
 *******     ffmpeg
 *******     libavcodec
 *******     libavdevice
 *******     libavfilter
 *******     libavformat
 *******     libavutil
 *******
 ******* To remove this restriction remove the variant +nonfree
 *******

 --->  Cleaning ffmpeg
 --->  Removing work directory for ffmpeg
 --->  Fetching archive for opencv
 --->  opencv-2.4.8_2.darwin_13.x86_64.tbz2 doesn't seem to exist in
 /opt/local/var/macports/incoming/verified
 --->  Attempting to fetch opencv-2.4.8_2.darwin_13.x86_64.tbz2 from
 http://lil.fr.packages.macports.org/opencv
 ..............
 --->  Attempting to fetch opencv-2.4.8_2.darwin_13.x86_64.tbz2.rmd160 from
 http://lil.fr.packages.macports.org/opencv
 ..............
 --->  Installing opencv @2.4.8_2
 --->  Activating opencv @2.4.8_2
 ..............
 --->  Cleaning opencv
 --->  Removing work directory for opencv
 --->  Configuring orfeotoolbox
 Error: orfeotoolbox cannot be built while openjpeg15 is active.
 Error: Please deactivate openjpeg15 and try again.
 Error: You can reactivate openjpeg15 again later.
 Error: org.macports.configure for port orfeotoolbox returned: openjpeg15
 is active
 Warning: targets not executed for orfeotoolbox: org.macports.activate
 org.macports.configure org.macports.build org.macports.destroot
 org.macports.install
 Please see the log file for port orfeotoolbox for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gis_orfeotoolbox/orfeotoolbox/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port orfeotoolbox failed
 }}}

 Why warning about nonfree notice about "libfaac" and "ibfdk-aac"? I run
 this installation with "--nonfree" flat.

 it want to have "openjpeg15" deactivated but the installation process re-
 install it...

 If anybody have a solution.

--

Comment:

 You don't appear to be the maintainer of this port so I am removing the
 "maintainer" keyword. I have assigned the ticket to the port's actual
 maintainer.

 You don't need to Cc yourself; you will automatically be Cc'd because you
 are the reporter.

 The ffmpeg port tells you about the consequences of selecting the nonfree
 variant to ensure that you're aware of the licensing implications of your
 choice.

 I agree there is a problem here: orfeotoolbox declares a build conflict
 with openjpeg15, yet declares a dependency on opencv which depends on
 ffmpeg which depends on openjpeg15; this cannot work.

-- 
Ticket URL: <https://trac.macports.org/ticket/43410#comment:2>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list