[MacPorts] #34388: openjpeg @1.5.0_0 fails to patch on < 10.6
#34388: openjpeg @1.5.0_0 fails to patch on < 10.6 ------------------------------+--------------------------------------------- Reporter: jmr@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openjpeg ------------------------------+--------------------------------------------- {{{ ---> Applying patches to openjpeg ---> Applying /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/graphics/openjpeg/files /patch-libopenjpeg-Makefile.in.diff patching file libopenjpeg/Makefile.in Hunk #1 FAILED at 616. 1 out of 1 hunk FAILED -- saving rejects to file libopenjpeg/Makefile.in.rej }}} -- Ticket URL: <https://trac.macports.org/ticket/34388> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34388: openjpeg @1.5.0_0 fails to patch on < 10.6 ------------------------------+--------------------------------------------- Reporter: jmr@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openjpeg ------------------------------+--------------------------------------------- Comment(by Peter_Dyballa@…): The same also happens on PPC Leopard 10.5.8. The complete patch file is rejected. The targets in the Makefile are new – as is the version: 1.5 instead of 1.4.x. Commenting in Portfile the lines to apply the patch leads to a success, except for this: {{{ Error: Target org.macports.activate returned: Image error: /opt/local/share/man/man1/image_to_j2k.1.gz already exists and does not belong to a registered port. Unable to activate port openjpeg. Use 'port -f activate openjpeg' to force the activation. }}} -- Ticket URL: <https://trac.macports.org/ticket/34388#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34388: openjpeg @1.5.0_0 fails to patch on < 10.6 ------------------------------+--------------------------------------------- Reporter: jmr@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openjpeg ------------------------------+--------------------------------------------- Comment(by dluke@…): Built fine for me after removing the patch from the Portfile and removing several man files (which didn't belong to any registered port, and were perhaps installed outside of DESTROOT by a previous version of this port?) -- Ticket URL: <https://trac.macports.org/ticket/34388#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34388: openjpeg @1.5.0_0 fails to patch on < 10.6 ------------------------------+--------------------------------------------- Reporter: jmr@… | Owner: rmstonecipher@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Keywords: | Port: openjpeg ------------------------------+--------------------------------------------- Comment(by nonstop.server@…): Replying to [comment:4 dluke@…]: Port openjpeg was installed as an dependency of ffmpeg on my system and the log shows that 4 manpages are created and installed, but never activated. {{{ /usr/bin/make install-data-hook Installing: image_to_j2k.1 /opt/local/share/man/man1 Installing: j2k_to_image.1 /opt/local/share/man/man1 Installing: j2k_dump.1 /opt/local/share/man/man1 Installing: libopenjpeg.3 /opt/local/share/man/man3 }}} That is probably the reason why MacPorts is not aware of these files.[[BR]] I have attached the installation output of the openjpeg part from my logfile to this ticket, hopefully it will help troubleshooting issues with this port.[[BR]] The mentioned manpages are installed: {{{ % ls -hl /opt/local/share/man/man1/*j2k* /opt/local/share/man/man3/libopenjpeg.3.gz -rw-r--r-- 1 root admin 2.7K Oct 5 2011 /opt/local/share/man/man1/image_to_j2k.1.gz -rw-r--r-- 1 root admin 701B Oct 5 2011 /opt/local/share/man/man1/j2k_dump.1.gz -rw-r--r-- 1 root admin 1.4K Oct 5 2011 /opt/local/share/man/man1/j2k_to_image.1.gz -rw-r--r-- 1 root admin 3.4K Oct 5 2011 /opt/local/share/man/man3/libopenjpeg.3.gz }}} However they do not belong to any port: {{{ % port provides /opt/local/share/man/man1/image_to_j2k.1.gz \
/opt/local/share/man/man1/j2k_dump.1.gz \ /opt/local/share/man/man1/j2k_to_image.1.gz \ /opt/local/share/man/man3/libopenjpeg.3.gz /opt/local/share/man/man1/image_to_j2k.1.gz is not provided by a MacPorts port. /opt/local/share/man/man1/j2k_dump.1.gz is not provided by a MacPorts port. /opt/local/share/man/man1/j2k_to_image.1.gz is not provided by a MacPorts port. /opt/local/share/man/man3/libopenjpeg.3.gz is not provided by a MacPorts port. }}}
-- Ticket URL: <https://trac.macports.org/ticket/34388#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#34388: openjpeg @1.5.0_0 fails to patch on < 10.6 -------------------------------+-------------------------------------------- Reporter: jmr@… | Owner: rmstonecipher@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.4 Resolution: fixed | Keywords: Port: openjpeg | -------------------------------+-------------------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: r92924 -- Ticket URL: <https://trac.macports.org/ticket/34388#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts