Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failure: haskellPackages.pdftotext #319365

Closed
mpscholten opened this issue Jun 12, 2024 · 4 comments
Closed

Build failure: haskellPackages.pdftotext #319365

mpscholten opened this issue Jun 12, 2024 · 4 comments
Labels

Comments

@mpscholten
Copy link
Contributor

With nixpkgs ea0284a3da391822909be5e98a60c1e62572a7dc I have a custom override for pdftotext:

{ mkDerivation, aeson, ansi-wl-pprint, base, bytestring, hspec
, hspec-discover, lib, optparse-applicative, range
, text, pkgs
}:
mkDerivation {
  pname = "pdftotext";
  version = "0.1.0.1";
  sha256 = "0nilgv9w6i59h99w89q0jimmximpwn62i22z67gi2834bhdaqmn7";
  isLibrary = true;
  isExecutable = true;
  libraryHaskellDepends = [ base bytestring text ];
  libraryPkgconfigDepends = [ pkgs.poppler ];
  executableHaskellDepends = [
    aeson ansi-wl-pprint base optparse-applicative range text
  ];
  testHaskellDepends = [ base hspec text ];
  testToolDepends = [ hspec-discover ];
  homepage = "https://sr.ht/~geyaeb/haskell-pdftotext/";
  description = "Extracts text from PDF using poppler";
  license = lib.licenses.bsd3;
  mainProgram = "pdftotext.hs";
}

(The patch is adding libraryPkgconfigDepends = [ pkgs.poppler ]; as the package depends on the poppler PDF rendering application)

After upgrading to nixpkgs 8a0c4944e56f445d53c8f16f5ffcb86edd946452 (or generally when switching to latest master of nixpkgs), it fails with this error:

/nix/store/dxi4ss61svmkfr02299kfplj4i63lar8-cctools-binutils-darwin-16.0.6-973.0.1/bin/ar: �[0;1;31merror: �[0mdist/build/cbits/poppler.o: No such file or directory

Full build log:

@nix { "action": "setPhase", "phase": "setupCompilerEnvironmentPhase" }
Running phase: setupCompilerEnvironmentPhase
Build with /nix/store/3yv7ikbq7wxli20x5j2amhwcc00nrn23-ghc-9.8.2.
@nix { "action": "setPhase", "phase": "unpackPhase" }
Running phase: unpackPhase
unpacking source archive /nix/store/1f0x5k3jadchdz964yk7zs6fmbmj29dm-pdftotext-0.1.0.1.tar.gz
source root is pdftotext-0.1.0.1
setting SOURCE_DATE_EPOCH to timestamp 1000000000 of file pdftotext-0.1.0.1/test/simple_raw.txt
@nix { "action": "setPhase", "phase": "patchPhase" }
Running phase: patchPhase
Run jailbreak-cabal to lift version restrictions on build inputs.
@nix { "action": "setPhase", "phase": "compileBuildDriverPhase" }
Running phase: compileBuildDriverPhase
setupCompileFlags: -package-db=/private/tmp/nix-build-pdftotext-0.1.0.1.drv-1/tmp.vAgJXCHPxZ/setup-package.conf.d -threaded
[1 of 2] Compiling Main             ( Setup.hs, /private/tmp/nix-build-pdftotext-0.1.0.1.drv-1/tmp.vAgJXCHPxZ/Main.o )
[2 of 2] Linking Setup
@nix { "action": "setPhase", "phase": "updateAutotoolsGnuConfigScriptsPhase" }
Running phase: updateAutotoolsGnuConfigScriptsPhase
@nix { "action": "setPhase", "phase": "configurePhase" }
Running phase: configurePhase
configureFlags: --verbose --prefix=/nix/store/1kd3jh9cad51gdw8infll4hdl1jm8h2c-pdftotext-0.1.0.1 --libdir=$prefix/lib/$compiler/lib --libsubdir=$abi/$libname --docdir=/nix/store/cbda3pvgzdnv06sm56kika3yzl5xh665-pdftotext-0.1.0.1-doc/share/doc/pdftotext-0.1.0.1 --with-gcc=clang --package-db=/private/tmp/nix-build-pdftotext-0.1.0.1.drv-1/tmp.vAgJXCHPxZ/package.conf.d --ghc-option=-j14 --ghc-option=+RTS --ghc-option=-A64M --ghc-option=-RTS --enable-library-profiling --profiling-detail=exported-functions --disable-profiling --enable-shared --disable-coverage --enable-static --disable-executable-dynamic --enable-tests --disable-benchmarks --enable-library-vanilla --disable-library-for-ghci --disable-split-sections --enable-library-stripping --enable-executable-stripping --ghc-option=-haddock --extra-lib-dirs=/nix/store/dhfrwrfj2ndhj5z4riy9wrz6mb1wnmvp-ncurses-6.4/lib --extra-lib-dirs=/nix/store/d2sfs3x3jarg11n14a40f61xvwgzjyyd-libffi-3.4.6/lib --extra-lib-dirs=/nix/store/7y2i75x5rriibsb0hkp2miprbz6b2lz6-gmp-with-cxx-6.3.0/lib --extra-lib-dirs=/nix/store/w99j5fqpc8dz0m732b40pk6kfdq4gsh1-libiconv-99/lib --extra-include-dirs=/nix/store/bhmqdys3m893gb25r3ikjn95q0p5fkn4-libcxx-16.0.6-dev/include --extra-lib-dirs=/nix/store/47xjr9ywrvg6vq3dzav316rfwqyg435i-libcxx-16.0.6/lib --extra-include-dirs=/nix/store/wffcnxparaxbfqaz11wynk786pcy7xyg-compiler-rt-libc-16.0.6-dev/include --extra-lib-dirs=/nix/store/zl7pcaf49n28mj8winvmbq4f7ih9vy6z-compiler-rt-libc-16.0.6/lib --extra-include-dirs=/nix/store/6q4k8q7sl875g74ba4jzp2hyhqgzd187-poppler-glib-24.02.0-dev/include --extra-lib-dirs=/nix/store/6q4k8q7sl875g74ba4jzp2hyhqgzd187-poppler-glib-24.02.0-dev/lib --extra-include-dirs=/nix/store/qa2qxc51agr5wp53cpwjmdxs573kh39q-zlib-1.3.1-dev/include --extra-lib-dirs=/nix/store/qa2qxc51agr5wp53cpwjmdxs573kh39q-zlib-1.3.1-dev/lib --extra-lib-dirs=/nix/store/5g9k8zyjv029pw87xf95pci414r8pw8j-zlib-1.3.1/lib --extra-include-dirs=/nix/store/lr1fj7ial9j5ngjrklgi7mmbv10w1rl6-freetype-2.13.2-dev/include --extra-lib-dirs=/nix/store/lr1fj7ial9j5ngjrklgi7mmbv10w1rl6-freetype-2.13.2-dev/lib --extra-include-dirs=/nix/store/dmgw90y5jfj3bwk2cmfw6xqk0nb3zkrz-bzip2-1.0.8-dev/include --extra-lib-dirs=/nix/store/dmgw90y5jfj3bwk2cmfw6xqk0nb3zkrz-bzip2-1.0.8-dev/lib --extra-lib-dirs=/nix/store/7rv4p19a6mrkr4142h154xm8275zg4p8-bzip2-1.0.8/lib --extra-include-dirs=/nix/store/4lkyh5srfg0n2q3gr3733f635s1fjmf7-brotli-1.1.0-dev/include --extra-lib-dirs=/nix/store/4lkyh5srfg0n2q3gr3733f635s1fjmf7-brotli-1.1.0-dev/lib --extra-lib-dirs=/nix/store/96i1z4sh0q15w9xyim15carim73mlhg6-brotli-1.1.0-lib/lib --extra-include-dirs=/nix/store/dny0g1if43mmap5d34vm3m6a3i03mi8g-libpng-apng-1.6.43-dev/include --extra-lib-dirs=/nix/store/dny0g1if43mmap5d34vm3m6a3i03mi8g-libpng-apng-1.6.43-dev/lib --extra-lib-dirs=/nix/store/v0az955i20zj9ypy3l8kl11piihajb9n-libpng-apng-1.6.43/lib --extra-lib-dirs=/nix/store/ns6ypw43lars5a48ijrhmx1f18yp1248-freetype-2.13.2/lib --extra-include-dirs=/nix/store/x7i37j9bl19sy90plgdmaa4iz6p9haza-fontconfig-2.15.0-dev/include --extra-lib-dirs=/nix/store/x7i37j9bl19sy90plgdmaa4iz6p9haza-fontconfig-2.15.0-dev/lib --extra-lib-dirs=/nix/store/wb07ff40y84k9brys378s1xirb7bcyik-fontconfig-2.15.0-lib/lib --extra-include-dirs=/nix/store/1w87y6x2986yyd2557y2h77pzkq0akzi-libjpeg-turbo-3.0.3-dev/include --extra-lib-dirs=/nix/store/1w87y6x2986yyd2557y2h77pzkq0akzi-libjpeg-turbo-3.0.3-dev/lib --extra-lib-dirs=/nix/store/cwam7wxgbg7h7871m7sfbp7iss9n2nhz-libjpeg-turbo-3.0.3/lib --extra-include-dirs=/nix/store/pwjk3vx557vd3h3440rww7ks6dgc46hp-openjpeg-2.5.2-dev/include --extra-lib-dirs=/nix/store/pwjk3vx557vd3h3440rww7ks6dgc46hp-openjpeg-2.5.2-dev/lib --extra-lib-dirs=/nix/store/d9jlh1fqwn9va4qimwvklaps1dxfzrbb-openjpeg-2.5.2/lib --extra-include-dirs=/nix/store/wdiq5gsa6z4y8mvigg5lvyp8fnfpgfhx-cairo-1.18.0-dev/include --extra-lib-dirs=/nix/store/wdiq5gsa6z4y8mvigg5lvyp8fnfpgfhx-cairo-1.18.0-dev/lib --extra-include-dirs=/nix/store/np5718jqlwnj783598h4jyhaaqm5z876-pixman-0.43.4/include --extra-lib-dirs=/nix/store/np5718jqlwnj783598h4jyhaaqm5z876-pixman-0.43.4/lib --extra-include-dirs=/nix/store/6qm2sngzcqvw379dxhw3vyn5sk7py8m9-libXext-1.3.6-dev/include --extra-lib-dirs=/nix/store/6qm2sngzcqvw379dxhw3vyn5sk7py8m9-libXext-1.3.6-dev/lib --extra-include-dirs=/nix/store/mz5kicjcxlw8kxz2sa3b9ql2mfb4gdpr-xorgproto-2024.1/include --extra-include-dirs=/nix/store/jg9b0dx9r6f190zha7kqp5qj9g204wlh-libXau-1.0.11-dev/include --extra-lib-dirs=/nix/store/jg9b0dx9r6f190zha7kqp5qj9g204wlh-libXau-1.0.11-dev/lib --extra-lib-dirs=/nix/store/3gdw0sxky9297f6cypq1qh1zsg7pjibw-libXau-1.0.11/lib --extra-lib-dirs=/nix/store/p70bwg29z0d0ws5zmny0pdz1dk074kb8-libXext-1.3.6/lib --extra-include-dirs=/nix/store/fdxiyli9ihmafwqqlh1qdd6r72zi46rx-libXrender-0.9.11-dev/include --extra-lib-dirs=/nix/store/fdxiyli9ihmafwqqlh1qdd6r72zi46rx-libXrender-0.9.11-dev/lib --extra-include-dirs=/nix/store/g3g9qjykyc6z0zzmvxlgkdzzrib4c83j-libX11-1.8.9-dev/include --extra-lib-dirs=/nix/store/g3g9qjykyc6z0zzmvxlgkdzzrib4c83j-libX11-1.8.9-dev/lib --extra-include-dirs=/nix/store/vylfsh40rm79amc0n1c8r4bkdk2f7ak4-libxcb-1.17.0-dev/include --extra-lib-dirs=/nix/store/vylfsh40rm79amc0n1c8r4bkdk2f7ak4-libxcb-1.17.0-dev/lib --extra-lib-dirs=/nix/store/sq5yw4x34lmqj0igjqm1skjal1hk3n33-libxcb-1.17.0/lib --extra-lib-dirs=/nix/store/qvh736i4y5sl5avw6n6smlq1j3xia2ci-libX11-1.8.9/lib --extra-lib-dirs=/nix/store/114kj4vypxfbp5n0q5y6dwimwbwg4z15-libXrender-0.9.11/lib --extra-include-dirs=/nix/store/c779xandlln8f79gb9ah6i0p9iqv3wp9-glib-2.80.2-dev/include --extra-lib-dirs=/nix/store/c779xandlln8f79gb9ah6i0p9iqv3wp9-glib-2.80.2-dev/lib --extra-include-dirs=/nix/store/9rmnxhcv20d7xk8fx6rxzjphas5yhy6n-libffi-3.4.6-dev/include --extra-lib-dirs=/nix/store/9rmnxhcv20d7xk8fx6rxzjphas5yhy6n-libffi-3.4.6-dev/lib --extra-lib-dirs=/nix/store/d2sfs3x3jarg11n14a40f61xvwgzjyyd-libffi-3.4.6/lib --extra-include-dirs=/nix/store/nkzan2y3v2cbx424yl42il9ss1z66z8m-gettext-0.21.1/include --extra-lib-dirs=/nix/store/nkzan2y3v2cbx424yl42il9ss1z66z8m-gettext-0.21.1/lib --extra-include-dirs=/nix/store/gbqmm72lnr042m5zwjjwrm4fldzpf0w0-libiconv-99-dev/include --extra-lib-dirs=/nix/store/w99j5fqpc8dz0m732b40pk6kfdq4gsh1-libiconv-99/lib --extra-lib-dirs=/nix/store/hkc7yzqsaknzz35krawljcypbg2zbwvl-glib-2.80.2/lib --extra-lib-dirs=/nix/store/2n1765v60z2hh4l8mzc26l08cjmasivb-cairo-1.18.0/lib --extra-include-dirs=/nix/store/4g3c2syvnz478bi67dk7nf8qiszgj5na-lcms2-2.16-dev/include --extra-lib-dirs=/nix/store/4g3c2syvnz478bi67dk7nf8qiszgj5na-lcms2-2.16-dev/lib --extra-include-dirs=/nix/store/fvwpm6j8w3zxdlm4p3x3wpmkiyjmbirn-libtiff-4.6.0-dev/include --extra-lib-dirs=/nix/store/fvwpm6j8w3zxdlm4p3x3wpmkiyjmbirn-libtiff-4.6.0-dev/lib --extra-include-dirs=/nix/store/irzy7hmwcy1259z724hlhrfmw2nmxvvz-libdeflate-1.20/include --extra-lib-dirs=/nix/store/irzy7hmwcy1259z724hlhrfmw2nmxvvz-libdeflate-1.20/lib --extra-include-dirs=/nix/store/44b0gfxsqww0vvbcw15wbm6kn2qfazig-xz-5.4.6-dev/include --extra-lib-dirs=/nix/store/44b0gfxsqww0vvbcw15wbm6kn2qfazig-xz-5.4.6-dev/lib --extra-lib-dirs=/nix/store/mbpfrzcjf85l7adghgd21r36d06rx01r-xz-5.4.6/lib --extra-lib-dirs=/nix/store/46azlyiaggibr9r602igwwh7g3ah47qz-libtiff-4.6.0/lib --extra-lib-dirs=/nix/store/lrgpjn0n26fgaz8pcn6sh6p308aflawi-lcms2-2.16/lib --extra-include-dirs=/nix/store/fwbjf1ikz055flksk2isiam4ajl0rpa5-curl-8.7.1-dev/include --extra-lib-dirs=/nix/store/fwbjf1ikz055flksk2isiam4ajl0rpa5-curl-8.7.1-dev/lib --extra-include-dirs=/nix/store/1k1z1kwnxwk04y9j4hpd1x9yalfyzkih-libkrb5-1.21.2-dev/include --extra-lib-dirs=/nix/store/1k1z1kwnxwk04y9j4hpd1x9yalfyzkih-libkrb5-1.21.2-dev/lib --extra-include-dirs=/nix/store/gmwy7jbcld8k2fj843fjik5xihwbah3h-apple-lib-xpc/include --extra-framework-dirs=/nix/store/0ywzw3qwjdai0wwdr12wc6cjp6js8c26-apple-framework-Kerberos-11.0.0/Library/Frameworks --extra-lib-dirs=/nix/store/jqkyx4hnq9qq3g5ysgswy8sb9kikmjg0-libkrb5-1.21.2/lib --extra-include-dirs=/nix/store/6rjlnmkwnkpg9rz3p4hpi12zsqchd451-nghttp2-1.61.0-dev/include --extra-lib-dirs=/nix/store/6rjlnmkwnkpg9rz3p4hpi12zsqchd451-nghttp2-1.61.0-dev/lib --extra-lib-dirs=/nix/store/gi519dkiaw4niahvjl5xc5navzp55j9d-nghttp2-1.61.0-lib/lib --extra-include-dirs=/nix/store/m9zmsnqdpaz91hv4qzdvzlcmwa4faa27-libidn2-2.3.7-dev/include --extra-lib-dirs=/nix/store/m9zmsnqdpaz91hv4qzdvzlcmwa4faa27-libidn2-2.3.7-dev/lib --extra-lib-dirs=/nix/store/8ilwdw1i1hmh1d3nbpk16rcx6bqkf1iq-libidn2-2.3.7/lib --extra-include-dirs=/nix/store/nrvc8nkjai62hypcq6fpjavclrr3c8dj-openssl-3.0.13-dev/include --extra-lib-dirs=/nix/store/nrvc8nkjai62hypcq6fpjavclrr3c8dj-openssl-3.0.13-dev/lib --extra-lib-dirs=/nix/store/mfsjqm3yrqlmamidd4xzf8rfxm397l1k-openssl-3.0.13/lib --extra-include-dirs=/nix/store/k2hzrqayx5whbk634wjqa499vqz8c3vc-libpsl-0.21.5-dev/include --extra-lib-dirs=/nix/store/k2hzrqayx5whbk634wjqa499vqz8c3vc-libpsl-0.21.5-dev/lib --extra-lib-dirs=/nix/store/nna9n1rr8aqrn03bqj18iid220gi4gfc-libpsl-0.21.5/lib --extra-include-dirs=/nix/store/h13sm6745cgddzsjizgzysp8iqj6dla7-libssh2-1.11.0-dev/include --extra-lib-dirs=/nix/store/h13sm6745cgddzsjizgzysp8iqj6dla7-libssh2-1.11.0-dev/lib --extra-lib-dirs=/nix/store/21fw1rbidvv9vv2l761ipvbf8gyqgz42-libssh2-1.11.0/lib --extra-include-dirs=/nix/store/l0dvzqx96djh471nj6h5dsg0wq28zqwi-zstd-1.5.6-dev/include --extra-lib-dirs=/nix/store/l0dvzqx96djh471nj6h5dsg0wq28zqwi-zstd-1.5.6-dev/lib --extra-lib-dirs=/nix/store/aff06a2lhrwqwg5svg8svynhz6hl5v7q-zstd-1.5.6/lib --extra-lib-dirs=/nix/store/3mfmnrxvq3y1a8lwmk4c4j0820ps5jzn-apple-framework-CoreFoundation-11.0.0/lib --extra-framework-dirs=/nix/store/3mfmnrxvq3y1a8lwmk4c4j0820ps5jzn-apple-framework-CoreFoundation-11.0.0/Library/Frameworks --extra-include-dirs=/nix/store/ykffm0h8qmj1wbdixp0idc4m2ha1dg1m-libobjc-11.0.0/include --extra-lib-dirs=/nix/store/ykffm0h8qmj1wbdixp0idc4m2ha1dg1m-libobjc-11.0.0/lib --extra-framework-dirs=/nix/store/021lxj7s4s3hyv0hyipb6rvpx3pggm6n-apple-framework-CoreServices-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/lmpmcxbyxh5j4yw6yzbqjd0079zn39r8-apple-framework-CFNetwork-11.0.0/Library/Frameworks --extra-lib-dirs=/nix/store/w42ivv2a0ki995iiqysmiwncs329ydjs-apple-framework-CoreAudio-11.0.0/lib --extra-framework-dirs=/nix/store/w42ivv2a0ki995iiqysmiwncs329ydjs-apple-framework-CoreAudio-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/hdkab8j0kda0pnn8rd1bsxa5pp7fb1xc-apple-framework-CoreAudioTypes-11.0.0/Library/Frameworks --extra-lib-dirs=/nix/store/jrhyvzqc8w9rz7f3w3xi2ncqfj5i1h9d-apple-framework-IOKit-11.0.0/lib --extra-framework-dirs=/nix/store/jrhyvzqc8w9rz7f3w3xi2ncqfj5i1h9d-apple-framework-IOKit-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/8h0mgvmlhqpkif45h2w9qpw4splv5nyp-apple-framework-DiskArbitration-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/cgfygck8aziyc81pf53m36shv32fc3n1-apple-framework-NetFS-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/7a95mdgapw3s5sqnh9ysf5aqcb2h48f8-apple-framework-Security-11.0.0/Library/Frameworks --extra-include-dirs=/nix/store/9bdyfdmmi4nlqnw4vqcgpbfcz3vql0in-apple-lib-libDER/include --extra-framework-dirs=/nix/store/lqwd2c6cyp5q3rxj26qjwy81hi59hkcg-apple-framework-ServiceManagement-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/db9s4c0kypiwxv2x7vxsirbyhgdgvprd-apple-framework-SystemConfiguration-11.0.0/Library/Frameworks --extra-lib-dirs=/nix/store/37ydms17yxwi5y5rck08c93jad1rmrn8-curl-8.7.1/lib --extra-include-dirs=/nix/store/yph6wfc2kgy213jdashgjhwcap3d8k7w-nss-3.90.2-dev/include --extra-lib-dirs=/nix/store/yph6wfc2kgy213jdashgjhwcap3d8k7w-nss-3.90.2-dev/lib --extra-include-dirs=/nix/store/0g3wjq3njibqwidp841llkhkw8ph0xbx-nspr-4.35-dev/include --extra-lib-dirs=/nix/store/0g3wjq3njibqwidp841llkhkw8ph0xbx-nspr-4.35-dev/lib --extra-lib-dirs=/nix/store/h6n1jrp5k3k757dvf827lsqqm1ipv4x5-nspr-4.35/lib --extra-lib-dirs=/nix/store/5qmvhhg095h8lbmvc2bp2bxzq3fy3639-nss-3.90.2/lib --extra-lib-dirs=/nix/store/dy84nnr7sjd5pxxyjyj28fjd0z6ahfmh-poppler-glib-24.02.0/lib --extra-include-dirs=/nix/store/x98chwdwhpb0zz1icdlk3gblknp8nsy0-boost-1.81.0-dev/include --extra-lib-dirs=/nix/store/x98chwdwhpb0zz1icdlk3gblknp8nsy0-boost-1.81.0-dev/lib --extra-lib-dirs=/nix/store/r15951p188mx81f2x06d6dil4f9l939z-boost-1.81.0/lib --extra-include-dirs=/nix/store/0wmpzsm2p09y9i7diy8353c0x60n8a0i-expat-2.6.2-dev/include --extra-lib-dirs=/nix/store/0wmpzsm2p09y9i7diy8353c0x60n8a0i-expat-2.6.2-dev/lib --extra-lib-dirs=/nix/store/azbd7lqllzqvq2p29yl3chf69zjg40id-expat-2.6.2/lib --extra-include-dirs=/nix/store/nfj92diqhyswkq9sy7g0kvd6xcqfinnc-icu4c-73.2-dev/include --extra-lib-dirs=/nix/store/nfj92diqhyswkq9sy7g0kvd6xcqfinnc-icu4c-73.2-dev/lib --extra-lib-dirs=/nix/store/rk08yvc8prsz21zgjz241l7knpfaf14n-icu4c-73.2/lib --extra-include-dirs=/nix/store/vbqhbwzv3l61wr2w3bxb5flk9lid00m0-atf-0.21-unstable-2021-09-01/include --extra-lib-dirs=/nix/store/vbqhbwzv3l61wr2w3bxb5flk9lid00m0-atf-0.21-unstable-2021-09-01/lib --extra-include-dirs=/nix/store/ghybf5pfqnyfyh8cf10kv6clz2bik4zx-bash-5.2p26-dev/include --extra-lib-dirs=/nix/store/ghybf5pfqnyfyh8cf10kv6clz2bik4zx-bash-5.2p26-dev/lib --extra-lib-dirs=/nix/store/60qp4q78hlg1fsvq4np6iv0gpqrl4v4p-bash-5.2p26/lib --extra-lib-dirs=/nix/store/wig65bwglswd3c0r183nymmvk2kniild-apple-framework-CoreGraphics-11.0.0/lib --extra-framework-dirs=/nix/store/wig65bwglswd3c0r183nymmvk2kniild-apple-framework-CoreGraphics-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/090dlpqg141apx4lgr9l3lnyqwzgqa1x-apple-framework-CoreText-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/v9k497fzqxfjmcbxrkk8pgvgl5hi0xaa-apple-framework-ApplicationServices-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/jagp1ym9ikl9yakj3iagzjqg52wcj7ml-apple-framework-ColorSync-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/sv6159a8mbai73k3f77qcyhi83xdhlk9-apple-framework-ImageIO-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/50npdfz7zm8nklfvm72862y6fwdfw4l7-apple-framework-Carbon-11.0.0/Library/Frameworks --extra-lib-dirs=/nix/store/lfbm9wg50fjczqv239479azqk0kb1ijk-apple-framework-Foundation-11.0.0/lib --extra-framework-dirs=/nix/store/lfbm9wg50fjczqv239479azqk0kb1ijk-apple-framework-Foundation-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/hcsagkc1dqljm70gfn65fxq8f58shbdm-apple-framework-Combine-11.0.0/Library/Frameworks --extra-lib-dirs=/nix/store/qblrz6r5dlgvfiqvx91f0ra4gz2x677c-apple-framework-QuartzCore-11.0.0/lib --extra-framework-dirs=/nix/store/qblrz6r5dlgvfiqvx91f0ra4gz2x677c-apple-framework-QuartzCore-11.0.0/Library/Frameworks --extra-lib-dirs=/nix/store/0hm416ai1gq1iazkm02qyfn17cmm4dkz-apple-framework-CoreImage-11.0.0/lib --extra-framework-dirs=/nix/store/0hm416ai1gq1iazkm02qyfn17cmm4dkz-apple-framework-CoreImage-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/3859280kbrp2w01k90xbgrd46fs4ijqr-apple-framework-CoreVideo-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/b238bi2fva8fwq25jzm876wzr3zjx3cy-apple-framework-IOSurface-11.0.0/Library/Frameworks --extra-lib-dirs=/nix/store/axr1gm7axwfhnn4m0n7q9iw5h899pk2z-apple-framework-Metal-11.0.0/lib --extra-framework-dirs=/nix/store/axr1gm7axwfhnn4m0n7q9iw5h899pk2z-apple-framework-Metal-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/i3ac9xcxx6fd1jr6ajxay1gapkaag6n3-apple-framework-OpenGL-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/i3ac9xcxx6fd1jr6ajxay1gapkaag6n3-apple-framework-OpenGL-11.0.0/Library/Frameworks --extra-lib-dirs=/nix/store/shf51a369kg484wlykbrmx9ilyn4cspp-apple-framework-OpenCL-11.0.0/lib --extra-framework-dirs=/nix/store/shf51a369kg484wlykbrmx9ilyn4cspp-apple-framework-OpenCL-11.0.0/Library/Frameworks --extra-include-dirs=/nix/store/3l03msri1w5qyfma9v06zigkr36kdgs4-sqlite-3.45.3-dev/include --extra-lib-dirs=/nix/store/3l03msri1w5qyfma9v06zigkr36kdgs4-sqlite-3.45.3-dev/lib --extra-lib-dirs=/nix/store/ck6wxnx8d8xqsf9vqydqf1i8ysy43yk5-sqlite-3.45.3/lib --extra-lib-dirs=/nix/store/7119jw1bkjpblkg8lr236w9p5g4sfhrj-apple-framework-CoreFoundation-11.0.0/lib --extra-framework-dirs=/nix/store/7119jw1bkjpblkg8lr236w9p5g4sfhrj-apple-framework-CoreFoundation-11.0.0/Library/Frameworks --extra-include-dirs=/nix/store/pgniyg41dq2b9pjmd8rw91v8sgwhzibf-libobjc-11.0.0/include --extra-lib-dirs=/nix/store/pgniyg41dq2b9pjmd8rw91v8sgwhzibf-libobjc-11.0.0/lib --extra-include-dirs=/nix/store/8fyrgfk6wk8fqaik3p9xfhpab80a7q6c-lerc-4.0.0-dev/include --extra-lib-dirs=/nix/store/8fyrgfk6wk8fqaik3p9xfhpab80a7q6c-lerc-4.0.0-dev/lib --extra-lib-dirs=/nix/store/zz1090knxchw87if320k8nsdwxasaqlk-lerc-4.0.0/lib --extra-include-dirs=/nix/store/8ww9fq7bja7k10f6mxj600k6xrim6vj4-libxslt-1.1.39-dev/include --extra-lib-dirs=/nix/store/8ww9fq7bja7k10f6mxj600k6xrim6vj4-libxslt-1.1.39-dev/lib --extra-lib-dirs=/nix/store/k68s29nr1bx64d2y9i3yrq1lw1kdxja1-libxslt-1.1.39/lib --extra-lib-dirs=/nix/store/h3nmgqq71fv0qlk9imv2v22qgal0zjpg-libpthread-stubs-0.5/lib --extra-lib-dirs=/nix/store/pixidraqbfifb01c707jrqy1d96blcfm-xcb-proto-1.17.0/lib --extra-include-dirs=/nix/store/hkf1x5bdc1aaz1ldyab13l7ix9inds51-libXdmcp-1.1.5-dev/include --extra-lib-dirs=/nix/store/hkf1x5bdc1aaz1ldyab13l7ix9inds51-libXdmcp-1.1.5-dev/lib --extra-lib-dirs=/nix/store/biyhmbb7zc3spv5rnc88nm64sxdm7g5l-libXdmcp-1.1.5/lib --extra-include-dirs=/nix/store/yqwxzk7a9q1nm0388gsz2q5jkv1fc7z7-pcre2-10.43-dev/include --extra-lib-dirs=/nix/store/yqwxzk7a9q1nm0388gsz2q5jkv1fc7z7-pcre2-10.43-dev/lib --extra-lib-dirs=/nix/store/hnrgh8f86qgyyzhwqdjk3lw0ba33pcp4-pcre2-10.43/lib --extra-lib-dirs=/nix/store/jhvv6mhbaz15wc2wn00xkxxhs5fr9xqi-apple-framework-AppKit-11.0.0/lib --extra-framework-dirs=/nix/store/jhvv6mhbaz15wc2wn00xkxxhs5fr9xqi-apple-framework-AppKit-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/1hrx27xgb6xcg0nqznszx4g6y5zx2nqm-apple-framework-AudioToolbox-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/g70qhz2i2x3bmqq8krkybcvikgj22jg4-apple-private-framework-AudioToolboxCore-11.0.0/Library/Frameworks --extra-lib-dirs=/nix/store/gvjlsfxr4b4yr9plq8pdwrg2m8cg7cvp-apple-framework-CoreMIDI-11.0.0/lib --extra-framework-dirs=/nix/store/gvjlsfxr4b4yr9plq8pdwrg2m8cg7cvp-apple-framework-CoreMIDI-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/2cc69yc6f5jh7wk8mndbf5ld3g5ri2q2-apple-framework-AudioUnit-11.0.0/Library/Frameworks --extra-lib-dirs=/nix/store/nqqphv8pkzln0csmwhnaxv8a7afvp5lk-apple-framework-CloudKit-11.0.0/lib --extra-framework-dirs=/nix/store/nqqphv8pkzln0csmwhnaxv8a7afvp5lk-apple-framework-CloudKit-11.0.0/Library/Frameworks --extra-lib-dirs=/nix/store/w1plbdb3fxzlg9f7sqby8pvdq3hwqrxv-apple-framework-CoreLocation-11.0.0/lib --extra-framework-dirs=/nix/store/w1plbdb3fxzlg9f7sqby8pvdq3hwqrxv-apple-framework-CoreLocation-11.0.0/Library/Frameworks --extra-lib-dirs=/nix/store/2qxxyg6cjkjcqxlb0jpaj8310bxxlsf3-apple-framework-CoreData-11.0.0/lib --extra-framework-dirs=/nix/store/2qxxyg6cjkjcqxlb0jpaj8310bxxlsf3-apple-framework-CoreData-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/iziqsxbjv899fckinx76wdjxrnky8gd0-apple-private-framework-UIFoundation-11.0.0/Library/Frameworks --extra-framework-dirs=/nix/store/nzgrxsxdkm7v8kh90lcz6wz2yl09yskz-apple-framework-Cocoa-11.0.0/Library/Frameworks --extra-include-dirs=/nix/store/v539ald725rxvhgp87bvcg9pg9523lky-c-ares-1.27.0-dev/include --extra-lib-dirs=/nix/store/v539ald725rxvhgp87bvcg9pg9523lky-c-ares-1.27.0-dev/lib --extra-lib-dirs=/nix/store/w29raazjmxg12gkhfyxi1gjfc2grayni-c-ares-1.27.0/lib --extra-include-dirs=/nix/store/657wl90jnp97qxz2pw1cmjbzfv8rp6sx-libev-4.33/include --extra-lib-dirs=/nix/store/657wl90jnp97qxz2pw1cmjbzfv8rp6sx-libev-4.33/lib --extra-include-dirs=/nix/store/spiksc1ffhi9a08dvy2pkwfk3q3d4n2r-libunistring-1.1-dev/include --extra-lib-dirs=/nix/store/h7mwinvz4cvvbvhx6x1xvpixr0dncgzc-libunistring-1.1/lib --extra-include-dirs=/nix/store/4swa8s0p644nplcz4q6f51miir3q3qkc-xtrans-1.5.0/include --extra-include-dirs=/nix/store/v6lzci1j1118fvx6ipmbp1sj7c5cc0kr-libxml2-2.12.7-dev/include --extra-lib-dirs=/nix/store/v6lzci1j1118fvx6ipmbp1sj7c5cc0kr-libxml2-2.12.7-dev/lib --extra-lib-dirs=/nix/store/9ixx54dvqf2sj3jnzv3f1vlgl5r33qzq-libxml2-2.12.7/lib --extra-include-dirs=/nix/store/i4h0ajcyq84jb7y6r5qqf8jpy3r6rsm0-libxcrypt-4.4.36/include --extra-lib-dirs=/nix/store/i4h0ajcyq84jb7y6r5qqf8jpy3r6rsm0-libxcrypt-4.4.36/lib --extra-lib-dirs=/nix/store/ljrlpknlbn8zi8yxyvv9qzgjip2mrhlm-apple-framework-CoreFoundation-11.0.0/lib --extra-framework-dirs=/nix/store/ljrlpknlbn8zi8yxyvv9qzgjip2mrhlm-apple-framework-CoreFoundation-11.0.0/Library/Frameworks
Using Parsec parser
Configuring pdftotext-0.1.0.1...
Dependency base: using base-4.19.1.0
Dependency bytestring: using bytestring-0.12.1.0
Dependency text: using text-2.1.1
Dependency aeson: using aeson-2.2.2.0
Dependency ansi-wl-pprint: using ansi-wl-pprint-1.0.2
Dependency base: using base-4.19.1.0
Dependency optparse-applicative: using optparse-applicative-0.18.1.0
Dependency pdftotext: using pdftotext-0.1.0.1
Dependency range: using range-0.3.0.2
Dependency text: using text-2.1.1
Dependency base: using base-4.19.1.0
Dependency hspec: using hspec-2.11.8
Dependency pdftotext: using pdftotext-0.1.0.1
Dependency text: using text-2.1.1
Dependency poppler-cpp: using version 24.02.0
Source component graph:
    component lib
    component exe:pdftotext.hs dependency lib
    component test:pdftotext-test dependency lib
Configured component graph:
    component pdftotext-0.1.0.1-I9RJUIYtFPY4y0BYMCdb5T
        include base-4.19.1.0-inplace
        include bytestring-0.12.1.0-inplace
        include text-2.1.1-inplace
    component pdftotext-0.1.0.1-8l6TxmdPsaSHM2IqLL2KxZ-pdftotext.hs
        include aeson-2.2.2.0-C37EISCDXX0HTZybwIo22E
        include ansi-wl-pprint-1.0.2-KpQATVevsGe5OU1N3OQvZa
        include base-4.19.1.0-inplace
        include optparse-applicative-0.18.1.0-7rOzDjf1KemFlpm21qN8F6
        include pdftotext-0.1.0.1-I9RJUIYtFPY4y0BYMCdb5T
        include range-0.3.0.2-5c7z8V0N0RY2UKbCQNyeGG
        include text-2.1.1-inplace
    component pdftotext-0.1.0.1-2DQPKxh6uqAHXuazLKtX8g-pdftotext-test
        include base-4.19.1.0-inplace
        include hspec-2.11.8-CYnuqXRFKY8Id9HAM7SZxR
        include pdftotext-0.1.0.1-I9RJUIYtFPY4y0BYMCdb5T
        include text-2.1.1-inplace
Linked component graph:
    unit pdftotext-0.1.0.1-I9RJUIYtFPY4y0BYMCdb5T
        include base-4.19.1.0-inplace
        include bytestring-0.12.1.0-inplace
        include text-2.1.1-inplace
        Pdftotext=pdftotext-0.1.0.1-I9RJUIYtFPY4y0BYMCdb5T:Pdftotext,Pdftotext.Foreign=pdftotext-0.1.0.1-I9RJUIYtFPY4y0BYMCdb5T:Pdftotext.Foreign,Pdftotext.Internal=pdftotext-0.1.0.1-I9RJUIYtFPY4y0BYMCdb5T:Pdftotext.Internal
    unit pdftotext-0.1.0.1-8l6TxmdPsaSHM2IqLL2KxZ-pdftotext.hs
        include aeson-2.2.2.0-C37EISCDXX0HTZybwIo22E
        include ansi-wl-pprint-1.0.2-KpQATVevsGe5OU1N3OQvZa
        include base-4.19.1.0-inplace
        include optparse-applicative-0.18.1.0-7rOzDjf1KemFlpm21qN8F6
        include pdftotext-0.1.0.1-I9RJUIYtFPY4y0BYMCdb5T
        include range-0.3.0.2-5c7z8V0N0RY2UKbCQNyeGG
        include text-2.1.1-inplace
    unit pdftotext-0.1.0.1-2DQPKxh6uqAHXuazLKtX8g-pdftotext-test
        include base-4.19.1.0-inplace
        include hspec-2.11.8-CYnuqXRFKY8Id9HAM7SZxR
        include pdftotext-0.1.0.1-I9RJUIYtFPY4y0BYMCdb5T
        include text-2.1.1-inplace
Ready component graph:
    definite pdftotext-0.1.0.1-I9RJUIYtFPY4y0BYMCdb5T
        depends base-4.19.1.0-inplace
        depends bytestring-0.12.1.0-inplace
        depends text-2.1.1-inplace
    definite pdftotext-0.1.0.1-8l6TxmdPsaSHM2IqLL2KxZ-pdftotext.hs
        depends aeson-2.2.2.0-C37EISCDXX0HTZybwIo22E
        depends ansi-wl-pprint-1.0.2-KpQATVevsGe5OU1N3OQvZa
        depends base-4.19.1.0-inplace
        depends optparse-applicative-0.18.1.0-7rOzDjf1KemFlpm21qN8F6
        depends pdftotext-0.1.0.1-I9RJUIYtFPY4y0BYMCdb5T
        depends range-0.3.0.2-5c7z8V0N0RY2UKbCQNyeGG
        depends text-2.1.1-inplace
    definite pdftotext-0.1.0.1-2DQPKxh6uqAHXuazLKtX8g-pdftotext-test
        depends base-4.19.1.0-inplace
        depends hspec-2.11.8-CYnuqXRFKY8Id9HAM7SZxR
        depends pdftotext-0.1.0.1-I9RJUIYtFPY4y0BYMCdb5T
        depends text-2.1.1-inplace
Using Cabal-3.10.2.0 compiled by ghc-9.8
Using compiler: ghc-9.8.2
Using install prefix:
/nix/store/1kd3jh9cad51gdw8infll4hdl1jm8h2c-pdftotext-0.1.0.1
Executables installed in:
/nix/store/1kd3jh9cad51gdw8infll4hdl1jm8h2c-pdftotext-0.1.0.1/bin
Libraries installed in:
/nix/store/1kd3jh9cad51gdw8infll4hdl1jm8h2c-pdftotext-0.1.0.1/lib/ghc-9.8.2/lib/aarch64-osx-ghc-9.8.2/pdftotext-0.1.0.1-I9RJUIYtFPY4y0BYMCdb5T
Dynamic Libraries installed in:
/nix/store/1kd3jh9cad51gdw8infll4hdl1jm8h2c-pdftotext-0.1.0.1/lib/ghc-9.8.2/lib/aarch64-osx-ghc-9.8.2
Private executables installed in:
/nix/store/1kd3jh9cad51gdw8infll4hdl1jm8h2c-pdftotext-0.1.0.1/libexec/aarch64-osx-ghc-9.8.2/pdftotext-0.1.0.1
Data files installed in:
/nix/store/1kd3jh9cad51gdw8infll4hdl1jm8h2c-pdftotext-0.1.0.1/share/aarch64-osx-ghc-9.8.2/pdftotext-0.1.0.1
Documentation installed in:
/nix/store/cbda3pvgzdnv06sm56kika3yzl5xh665-pdftotext-0.1.0.1-doc/share/doc/pdftotext-0.1.0.1
Configuration files installed in:
/nix/store/1kd3jh9cad51gdw8infll4hdl1jm8h2c-pdftotext-0.1.0.1/etc
No alex found
Using ar found on system at:
/nix/store/dxi4ss61svmkfr02299kfplj4i63lar8-cctools-binutils-darwin-16.0.6-973.0.1/bin/ar
No c2hs found
No cpphs found
No doctest found
Using gcc version 16.0.6 given by user at:
/nix/store/c1ib07kj7baid3s3wf5m98hcpbvgs8mk-clang-wrapper-16.0.6/bin/clang
Using ghc version 9.8.2 found on system at:
/nix/store/srmh1f0hb67v8v0gh49yd57sc5gzrdxh-ghc-9.8.2/bin/ghc
Using ghc-pkg version 9.8.2 found on system at:
/nix/store/srmh1f0hb67v8v0gh49yd57sc5gzrdxh-ghc-9.8.2/bin/ghc-pkg-9.8.2
No ghcjs found
No ghcjs-pkg found
No greencard found
Using haddock version 2.30.0 found on system at:
/nix/store/srmh1f0hb67v8v0gh49yd57sc5gzrdxh-ghc-9.8.2/bin/haddock-ghc-9.8.2
No happy found
Using haskell-suite found on system at: haskell-suite-dummy-location
Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
No hmake found
Using hpc version 0.69 found on system at:
/nix/store/srmh1f0hb67v8v0gh49yd57sc5gzrdxh-ghc-9.8.2/bin/hpc-ghc-9.8.2
Using hsc2hs version 0.68.10 found on system at:
/nix/store/srmh1f0hb67v8v0gh49yd57sc5gzrdxh-ghc-9.8.2/bin/hsc2hs-ghc-9.8.2
Using hscolour version 1.25 found on system at:
/nix/store/hlkghdvdg3s1kqm3q98k8gx6zg12m57z-hscolour-1.25/bin/HsColour
No jhc found
Using ld found on system at:
/nix/store/ylj6rc5qs7xl6m2dr5h09l88pcjirh8h-cctools-binutils-darwin-wrapper-16.0.6-973.0.1/bin/ld
Using pkg-config version 0.29.2 found on system at:
/nix/store/b5hlaiv3vg8qgr3vhsw78cjh5s2zrph9-pkg-config-wrapper-0.29.2/bin/pkg-config
Using runghc version 9.8.2 found on system at:
/nix/store/srmh1f0hb67v8v0gh49yd57sc5gzrdxh-ghc-9.8.2/bin/runghc-9.8.2
Using strip found on system at:
/nix/store/c1ib07kj7baid3s3wf5m98hcpbvgs8mk-clang-wrapper-16.0.6/bin/strip
Using tar found on system at:
/nix/store/r8zjcvgc612pbkz4zjcrdvg5680s1jil-gnutar-1.35/bin/tar
No uhc found
@nix { "action": "setPhase", "phase": "buildPhase" }
Running phase: buildPhase
Preprocessing library for pdftotext-0.1.0.1..
Building library for pdftotext-0.1.0.1..
[1 of 3] Compiling Pdftotext.Foreign
[2 of 3] Compiling Pdftotext.Internal
[3 of 3] Compiling Pdftotext
[1 of 3] Compiling Pdftotext.Foreign
ld: warning: /nix/store/nkzan2y3v2cbx424yl42il9ss1z66z8m-gettext-0.21.1/lib/libintl.dylib, ignoring unexpected dylib file
ld: warning: /nix/store/w99j5fqpc8dz0m732b40pk6kfdq4gsh1-libiconv-99/lib/libiconv.dylib, ignoring unexpected dylib file
ld: warning: /nix/store/7119jw1bkjpblkg8lr236w9p5g4sfhrj-apple-framework-CoreFoundation-11.0.0/Library/Frameworks/CoreFoundation.framework/CoreFoundation.tbd, ignoring unexpected dylib text stub file
ld: warning: /nix/store/7119jw1bkjpblkg8lr236w9p5g4sfhrj-apple-framework-CoreFoundation-11.0.0/Library/Frameworks/CoreFoundation.framework/CoreFoundation.tbd, ignoring unexpected dylib text stub file
[2 of 3] Compiling Pdftotext.Internal
ld: warning: /nix/store/nkzan2y3v2cbx424yl42il9ss1z66z8m-gettext-0.21.1/lib/libintl.dylib, ignoring unexpected dylib file
ld: warning: /nix/store/w99j5fqpc8dz0m732b40pk6kfdq4gsh1-libiconv-99/lib/libiconv.dylib, ignoring unexpected dylib file
ld: warning: /nix/store/7119jw1bkjpblkg8lr236w9p5g4sfhrj-apple-framework-CoreFoundation-11.0.0/Library/Frameworks/CoreFoundation.framework/CoreFoundation.tbd, ignoring unexpected dylib text stub file
ld: warning: /nix/store/7119jw1bkjpblkg8lr236w9p5g4sfhrj-apple-framework-CoreFoundation-11.0.0/Library/Frameworks/CoreFoundation.framework/CoreFoundation.tbd, ignoring unexpected dylib text stub file
[3 of 3] Compiling Pdftotext
ld: warning: /nix/store/nkzan2y3v2cbx424yl42il9ss1z66z8m-gettext-0.21.1/lib/libintl.dylib, ignoring unexpected dylib file
ld: warning: /nix/store/w99j5fqpc8dz0m732b40pk6kfdq4gsh1-libiconv-99/lib/libiconv.dylib, ignoring unexpected dylib file
ld: warning: /nix/store/7119jw1bkjpblkg8lr236w9p5g4sfhrj-apple-framework-CoreFoundation-11.0.0/Library/Frameworks/CoreFoundation.framework/CoreFoundation.tbd, ignoring unexpected dylib text stub file
ld: warning: /nix/store/7119jw1bkjpblkg8lr236w9p5g4sfhrj-apple-framework-CoreFoundation-11.0.0/Library/Frameworks/CoreFoundation.framework/CoreFoundation.tbd, ignoring unexpected dylib text stub file
/nix/store/dxi4ss61svmkfr02299kfplj4i63lar8-cctools-binutils-darwin-16.0.6-973.0.1/bin/ar: �[0;1;31merror: �[0mdist/build/cbits/poppler.o: No such file or directory

Is there anything that has changed in the nixpkgs haskell infrastructure that could cause this regression? Do I need to update my patch for pdftotext?

@mpscholten
Copy link
Contributor Author

@maralorn was nice meeting you at zurihac :) Do you have any idea or pointers on this one?

@maralorn
Copy link
Member

Hey Marc. Good seeing you, too.
Sadly I am far out of my depth here. It looks like the included C file is not being compiled or some path assumptions changed. But I might also be far off here …
I am not aware of any changes which could have caused this.

Maybe @sternenseemann has an idea?

@sternenseemann
Copy link
Member

You'll have to run cabal with more verbosity. Looks like somethings weird with the cbits getting compiled.

@mpscholten
Copy link
Contributor Author

Thanks 👍

I've added the following flags:

  configureFlags = [ "--verbose" ];
  buildFlags = [ "--verbose=3" ];

I've added the output log as an attachment (it's too large for inline):

build.log

mpscholten added a commit to mpscholten/nixpkgs that referenced this issue Jul 24, 2024
Fixes NixOS#319365

Build of pdftotext was broken caused by a recent cabal change introduced via haskell/cabal#9200
flandweber pushed a commit to flandweber/nixpkgs that referenced this issue Aug 28, 2024
Fixes NixOS#319365

Build of pdftotext was broken caused by a recent cabal change introduced via haskell/cabal#9200
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants