ghostscript: drop the ijs subfolder to fix build
PATCH 1/1 ghostscript: drop the ijs subfolder to fix build
The ijs/ subfolder contains a bogus ltmain.sh file, which is actually a broken symbolic link. Due to this, our logic to patch ltmain.sh files fail with some patch versions:
Quoted 1 line
Quoted 1 line
Quoted 1 line
ghostscript 9.21 Patching libtool
File /home/buildroot/build/instance-0/output/build/ghostscript-9.21/ijs/ltmain.sh is not a regular file -- refusing to patch
Since we are anyway not using the ijs support (--without-ijs is passed), do like we do for all other sub-components of ghostscript: get rid of the ijs/ subfolder completely.
Fixes:
http://autobuild.buildroot.net/results/ca683d69b7fb564788c8877c3bb6466390e976a8/
--- package/ghostscript/ghostscript.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
package/ghostscript/ghostscript.mk +1 -1
@@ -26,7 +26,7 @@ GHOSTSCRIPT_DEPENDENCIES = \ # Inspired by linuxfromscratch: # http://www.linuxfromscratch.org/blfs/view/svn/pst/gs.html define GHOSTSCRIPT_REMOVE_LIBS - rm -rf $(@D)/freetype $(@D)/jpeg $(@D)/lcms2 $(@D)/libpng $(@D)/tiff $(@D)/zlib + rm -rf $(@D)/freetype $(@D)/ijs $(@D)/jpeg $(@D)/lcms2 $(@D)/libpng $(@D)/tiff $(@D)/zlib endef GHOSTSCRIPT_POST_PATCH_HOOKS += GHOSTSCRIPT_REMOVE_LIBS
Signature · 1 line
2.7.4
PATCH 1/1 ghostscript: drop the ijs subfolder to fix build
Thomas, All,
On 2017-03-21 22:48 +0100, Thomas Petazzoni spake thusly:
Quoted 11 lines
The ijs/ subfolder contains a bogus
ltmain.shfile, which is actually a broken symbolic link. Due to this, our logic to patchltmain.shfiles fail with some patch versions:Quoted 1 line
Quoted 1 line
Quoted 1 line
ghostscript 9.21 Patching libtool
File
/home/buildroot/build/instance-0/output/build/ghostscript-9.21/ijs/ltmain.shis not a regular file -- refusing to patchSince we are anyway not using the ijs support (--without-ijs is passed), do like we do for all other sub-components of ghostscript: get rid of the ijs/ subfolder completely.
Quoted 5 lines
Fixes:
http://autobuild.buildroot.net/results/ca683d69b7fb564788c8877c3bb6466390e976a8/
Signed-off-by Thomas Petazzoni <[email protected]>
Regards,
Yann E. MORIN.
Quoted 24 lines
--- package/ghostscript/ghostscript.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)package/ghostscript/ghostscript.mk +1
-1@@ -26,7 +26,7 @@ GHOSTSCRIPT_DEPENDENCIES = \ # Inspired by linuxfromscratch: # http://www.linuxfromscratch.org/blfs/view/svn/pst/gs.html define GHOSTSCRIPT_REMOVE_LIBS - rm -rf $(@D)/freetype $(@D)/jpeg $(@D)/lcms2 $(@D)/libpng $(@D)/tiff $(@D)/zlib + rm -rf $(@D)/freetype $(@D)/ijs $(@D)/jpeg $(@D)/lcms2 $(@D)/libpng $(@D)/tiff $(@D)/zlib endef GHOSTSCRIPT_POST_PATCH_HOOKS += GHOSTSCRIPT_REMOVE_LIBSSignature · 6 lines
2.7.4 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------'
Thomas Petazzoni
AppliedPATCH 1/1 ghostscript: drop the ijs subfolder to fix build
In reply to Thomas PetazzoniHello,
Quoted 11 lines · Thomas Petazzoni
The ijs/ subfolder contains a bogus
ltmain.shfile, which is actually a broken symbolic link. Due to this, our logic to patchltmain.shfiles fail with some patch versions:Quoted 1 line
Quoted 1 line
Quoted 1 line
ghostscript 9.21 Patching libtool
File
/home/buildroot/build/instance-0/output/build/ghostscript-9.21/ijs/ltmain.shis not a regular file -- refusing to patchSince we are anyway not using the ijs support (--without-ijs is passed), do like we do for all other sub-components of ghostscript: get rid of the ijs/ subfolder completely.
Quoted 8 lines
Fixes:
http://autobuild.buildroot.net/results/ca683d69b7fb564788c8877c3bb6466390e976a8/
Signed-off-by Thomas Petazzoni <[email protected]>--- package/ghostscript/ghostscript.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Applied to master, thanks.
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com