Opened 13 years ago
Closed 13 years ago
#34388 closed defect (fixed)
openjpeg @1.5.0_0 fails to patch on < 10.6
Reported by: | jmroot (Joshua Root) | Owned by: | rmstonecipher@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.0.4 |
Keywords: | Cc: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez), ballapete (Peter "Pete" Dyballa), nonstop.server@…, ryandesign (Ryan Carsten Schmidt), jowens@… | |
Port: | openjpeg |
Description
---> 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
Attachments (2)
Change History (10)
comment:1 Changed 13 years ago by ballapete (Peter "Pete" Dyballa)
Changed 13 years ago by ballapete (Peter "Pete" Dyballa)
main.log with "successful" build
comment:4 follow-up: 7 Changed 13 years ago by danielluke (Daniel J. Luke)
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?)
comment:7 Changed 13 years ago by nonstop.server@…
Replying to 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.
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.
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.
Changed 13 years ago by nonstop.server@…
Attachment: | macports_openjpeg.log added |
---|
comment:8 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | new → closed |
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: