Log of #ghostscript at irc.freenode.net.

Search:
 <<<Back 1 day (to 2019/05/20)20190521 
TheOneRing hi12:17.02 
ghostbot Welcome to #ghostscript. If you have a question, please ask it, don't ask to ask it. Do be prepared to wait for a reply as devs will check the logs and reply when they come on line. If you are looking for help or infomation about MuPDF, try the new #mupdf channel.12:17.02 
TheOneRing https://www.irccloud.com/pastebin/kQnE1r2g/12:17.08 
  dyld: Library not loaded: @rpath/libtiff.5.dylib12:17.27 
  Referenced from: /Users/packaging/test/build/libs/ghostscript/work/ghostscript-9.27/./soobj/aux/genarch12:17.28 
  Reason: image not found12:17.28 
  I've set LDFLAGS=-Wl,-rpath,@loader_path/../lib -Wl,-rpath,/Users/packaging/test/lib12:18.07 
  so in theory it should be able to find libtiff512:18.27 
  but I'm not a mac native so I might be wrong...12:18.38 
  any idea?12:18.46 
kens Well, you could just build using the configure script and sources we supply12:19.49 
chrisl genarch certainly doesn't need libtiff12:21.29 
kens yes that's definitely peculiar12:23.12 
chrisl Heading out for a while.....12:23.19 
kens Line 276 appears to have -ltiff supplied as an argument to build genarch12:25.12 
TheOneRing we use the configure script, but we try to use the sysem libs12:25.40 
kens also -lfreetype, -lfontconfig -lopenjp212:25.46 
  genarch doesn't need any of those12:26.01 
  Frankly, just use the source we supply, don't try to use system shared libraries12:26.18 
  We don't (indeed can't) test Ghostscript with ahwtever version you happen to have installed, so there's every chance you'll run into problem s if you do that12:26.59 
TheOneRing (if any library would ship their deps for that reason, bundles would be quite huge)12:30.38 
kens shrugs12:30.56 
Robin_Watts TheOneRing: We supply gs setup to use our libs by default.12:44.44 
  They can use system libs if they are there by the magic of configure.12:45.05 
  Various distros configure it that way by default.12:45.29 
  If you get it from your distro, they will have (well, should have) tested it like that.12:45.49 
  If you get the source from us, you can either do as we suggest and build from the versions we supply, OR you can go out on your own and use the system libs.12:46.19 
TheOneRing we are kind of a distro 😅12:46.28 
Robin_Watts Cool, so you are responsible for testing it before you dist it :)12:46.57 
kens It ought to be possible to make it work, it certainly does on Linux. However I know zip about builds on Mac.12:47.43 
  Chrisl might be able to help more when he gets back.12:47.54 
Robin_Watts TheOneRing: Can you be more specific about "are kind of a distro" ?12:48.15 
TheOneRing http://binary-factory.kde.org/12:48.30 
  kde Craft12:48.42 
  http://community.kde.org/Craft12:48.58 
Robin_Watts ok, nice.12:49.42 
kens Well that explains the 'Craft all failed' message12:49.44 
TheOneRing :D12:54.02 
kens As chrisl said before he went off, genarch doesn't need libtiff (or freetype et al) shouldn't be linked (dynamically or otherwise) against it, and certainly shouldn't be calling any of its interfaces.12:55.02 
TheOneRing hm I tried to build an unpached version with the shipped libraries13:37.10 
  didn't work at all13:37.17 
kens Well, it worked last time I tried it, I admit that hasn't been for a while. What steps did you take and what result did you get ?13:37.54 
  Booted Mountain Lion, just updating my checkout13:39.36 
  OK cleaned old binaries, did ./autogen.sh from teh ghsotpdl directory, then make. Its running now13:41.05 
  build completed, no errors, lets see if it works13:42.42 
  Seems to be working OK for me13:43.20 
TheOneRing hm it might include some other libs from the system, it complained about broken defines etc in libpng and jpeg..13:45.37 
kens We supply libpng and openjpeg/libjpeg13:45.59 
  You should have folders ghostpdl/libpng, ghostpdl/jpeg and ghostpdl/openjpeg13:46.39 
  Also, expat, freetype, ijs, jbig2dec, jpegxr, lcms2mt, tiff, zlib13:47.44 
  I think that's all of them13:47.52 
  If you are missing any of those it'll try to use system libraries AIUI13:48.28 
  But building from a clean checkout of our Git repository worked OK for me.13:48.56 
  Undoubtedly you are using a more recent version of OS/X (or macOS as it is again known), and possibly a newer toolchain. FWIW I'm using gcc 4.2 which is kind of old, on Mountian Lopn.13:49.48 
TheOneRing https://invent.kde.org/snippets/22213:50.35 
  the libs you ship, fail to build13:50.54 
kens Well it just built for me from source.13:51.33 
  Point 1, you appear to be using 9.26, the current code is 9.2713:52.07 
  You stilll appear to be using 'craft' there.13:53.37 
  Can you tell me what steps you took to try that build ?13:53.49 
TheOneRing thats the basic script13:55.01 
  https://github.com/KDE/craft-blueprints-kde/blob/master/libs/ghostscript/ghostscript.py13:55.01 
  the log of the failed job was without the deletion of the shipped libs13:55.32 
Robin_Watts TheOneRing: Stop trying to build it using a fancy script.13:55.49 
kens Right, but its still using your script. When you build Ghostscript as supplied, it does build.13:55.58 
Robin_Watts To start with, just try to built it using *our* build mechanisms.13:56.08 
  If that fails, then *we* have a problem.13:56.20 
TheOneRing the scrip just calls configure13:56.27 
Robin_Watts If not, then *you* have a problem.13:56.31 
kens TheOneRing: then don't use it13:56.39 
  Go to the command line. type ./sutogen.sh (not configure) and then make13:56.58 
Robin_Watts Download the sources, unpack them, ./autogen.sh, make13:57.15 
  If that works, then we can at least agree on a baseline.13:57.29 
TheOneRing well just using your tiff and system libs was successfull13:58.13 
Robin_Watts Again, I have no clue what that means.13:58.47 
  Are you using your script/build system/whatever?13:59.06 
kens Without wishing to rain on your parade, just because a build succeeded doesn't mean its right13:59.08 
TheOneRing it means my problem is ifex13:59.10 
  fixe13:59.20 
  d13:59.20 
Robin_Watts OK.13:59.25 
kens I am doubtful it is, really13:59.30 
 Forward 1 day (to 2019/05/22)>>> 
ghostscript.com #mupdf
Search: