NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
17.79k stars 13.9k forks source link

lazarus: Unable to compile any program #48871

Open OPNA2608 opened 5 years ago

OPNA2608 commented 5 years ago

Issue description

Either I can't figure out how to properly install and setup lazarus or it's unable to compile even the default project. Here's the compile log:

Hint: (11030) Start of reading config file /nix/store/gsr2kmmmixs2fkb1b7b88rcnk6ppbdzl-fpc-3.0.0/lib/fpc/etc/fpc.cfg Hint: (11031) End of reading config file /nix/store/gsr2kmmmixs2fkb1b7b88rcnk6ppbdzl-fpc-3.0.0/lib/fpc/etc/fpc.cfg Free Pascal Compiler version 3.0.0 [2018/08/22] for x86_64 Copyright (c) 1993-2015 by Florian Klaempfl and others (1002) Target OS: Linux for x86-64 (3104) Compiling /home/bt1cn/tmp/project1.lpr (3104) Compiling unit1.pas (9022) Compiling resource /home/bt1cn/tmp/lib/x86_64-linux/project1.or (9015) Linking /home/bt1cn/tmp/project1 /home/bt1cn/tmp/project1.lpr(20,1) Warning: (9034) "crti.o" not found, this will probably cause a linking failure /home/bt1cn/tmp/project1.lpr(20,1) Warning: (9034) "crtn.o" not found, this will probably cause a linking failure /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/ld: warning: /home/bt1cn/tmp/link.res contains output sections; did you forget -T? /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/ld: '-rpath kann nicht gefunden werden: No such file or directory /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/ld: /nix/store/wfi579skcxk9shpkl78xczivma4wmxc4-lazarus-1.8.4/lib64 kann nicht gefunden werden: No such file or directory /home/bt1cn/tmp/project1.lpr(20,1) Error: (9013) Error while linking /home/bt1cn/tmp/project1.lpr(20,1) Fatal: (10026) There were 1 errors compiling module, stopping Fatal: (1018) Compilation aborted Error: /nix/store/gsr2kmmmixs2fkb1b7b88rcnk6ppbdzl-fpc-3.0.0/bin/ppcx64 returned an error exitcode

Steps to reproduce

Technical details

Please run nix-shell -p nix-info --run "nix-info -m" and paste the results.

7c6f434c commented 5 years ago

Either I can't figure out how to properly install and setup lazarus or it's unable to compile even the default project. Here's the compile log:

Hm, now that I look at it, at some point I started just adding a few packages and never got around to writing a proper wrapper.

I think I add the following: xorg.libX11 atk cairo gtk2 glib gdk_pixbuf pango

Ma27 commented 5 years ago

@OPNA2608 do you want to file a patch for this? And when you add a wrapper I think that it might be useful to add fpc to the environment as well so that a user can immediately start hacking Pascal after the installation.

deliciouslytyped commented 4 years ago

I think this is fixed? There is a different issue right now involving some extraneous linker flags from NIX_LDFLAGS and quoting causing

Build IDE: Exit code 2, Errors: 1
/nix/store/a57856fs4m8ir6vlv14h3gq3sv9aq2lb-binutils-2.31.1/bin/ld: warning: /home/user/.lazarus/bin/link.res contains output sections; did you forget -T?
/nix/store/a57856fs4m8ir6vlv14h3gq3sv9aq2lb-binutils-2.31.1/bin/ld: cannot find '-rpath: No such file or directory
/nix/store/a57856fs4m8ir6vlv14h3gq3sv9aq2lb-binutils-2.31.1/bin/ld: cannot find /nix/store/anvwd9iwqvqj998s01pdv2j7brdwlq9g-lazarus-2.0.8/lib64: No such file or directory
lazarus.pp(165,1) Error: Error while linking

but hopefully we'll be fixing that.

During my triage I was able to recompile Lazarus itself and the example program, so that suggests to me things should work.

OPNA2608 commented 4 years ago

@7c6f434c @deliciouslytyped Took me some time to get back to this, sorry.

I can give it a shot on my NixOS machine later today, but I tested the current situation on my non-NixOS one:

  1. nix-shell -p lazarus -p fpc -p gdb '<nixpkgs>'
  2. startlazarus
  3. Attempt to compile bare default project.
Failed compilation log ``` Hint: (11030) Start of reading config file /nix/store/1c1p64021bgp1291kwvgjigpm9rw4yhi-fpc-3.2.0/lib/fpc/etc/fpc.cfg Hint: (11031) End of reading config file /nix/store/1c1p64021bgp1291kwvgjigpm9rw4yhi-fpc-3.2.0/lib/fpc/etc/fpc.cfg Free Pascal Compiler version 3.2.0 [2020/09/03] for x86_64 Copyright (c) 1993-2020 by Florian Klaempfl and others (1002) Target OS: Linux for x86-64 (3104) Compiling /home/bt1cn/tmp/project1.lpr (3104) Compiling unit1.pas (9022) Compiling resource /home/bt1cn/tmp/lib/x86_64-linux/project1.or (9015) Linking /home/bt1cn/tmp/project1 /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/kxy9lngk8w5hqaa7d5ff2r5j3g0nfg37-pango-1.45.3/lib/libpangoft2-1.0.so.0: undefined reference to `pango_font_get_hb_font' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/kxy9lngk8w5hqaa7d5ff2r5j3g0nfg37-pango-1.45.3/lib/libpangoft2-1.0.so.0: undefined reference to `pango_font_family_get_face' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/cql1rrpllwwmh2xnbs0h4skdbwj4xp9n-glib-2.64.4/lib/libgio-2.0.so.0: undefined reference to `g_utf8_validate_len' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/cql1rrpllwwmh2xnbs0h4skdbwj4xp9n-glib-2.64.4/lib/libgio-2.0.so.0: undefined reference to `g_source_set_dispose_function' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/kxy9lngk8w5hqaa7d5ff2r5j3g0nfg37-pango-1.45.3/lib/libpangoft2-1.0.so.0: undefined reference to `pango_coverage_get_type' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/cql1rrpllwwmh2xnbs0h4skdbwj4xp9n-glib-2.64.4/lib/libgio-2.0.so.0: undefined reference to `fcntl64@GLIBC_2.28' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/kxy9lngk8w5hqaa7d5ff2r5j3g0nfg37-pango-1.45.3/lib/libpangoft2-1.0.so.0: undefined reference to `pango_font_description_get_variations' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/kxy9lngk8w5hqaa7d5ff2r5j3g0nfg37-pango-1.45.3/lib/libpangoft2-1.0.so.0: undefined reference to `FcWeightToOpenTypeDouble' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/cql1rrpllwwmh2xnbs0h4skdbwj4xp9n-glib-2.64.4/lib/libgio-2.0.so.0: undefined reference to `g_ref_count_init' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/ndq5gg8hwh84zpfy4rky6ya20s4c90ys-libselinux-2.9/lib/libselinux.so.1: undefined reference to `gettid@GLIBC_2.30' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/cql1rrpllwwmh2xnbs0h4skdbwj4xp9n-glib-2.64.4/lib/libgio-2.0.so.0: undefined reference to `g_ref_count_inc' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/kxy9lngk8w5hqaa7d5ff2r5j3g0nfg37-pango-1.45.3/lib/libpangoft2-1.0.so.0: undefined reference to `pango_font_description_set_variations' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/cql1rrpllwwmh2xnbs0h4skdbwj4xp9n-glib-2.64.4/lib/libgio-2.0.so.0: undefined reference to `g_spawn_async_with_fds' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/cql1rrpllwwmh2xnbs0h4skdbwj4xp9n-glib-2.64.4/lib/libgio-2.0.so.0: undefined reference to `g_ref_count_dec' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/cql1rrpllwwmh2xnbs0h4skdbwj4xp9n-glib-2.64.4/lib/libgio-2.0.so.0: undefined reference to `g_unix_get_passwd_entry' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/kxy9lngk8w5hqaa7d5ff2r5j3g0nfg37-pango-1.45.3/lib/libpangoft2-1.0.so.0: undefined reference to `FcWeightFromOpenTypeDouble' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/cql1rrpllwwmh2xnbs0h4skdbwj4xp9n-glib-2.64.4/lib/libgio-2.0.so.0: undefined reference to `g_canonicalize_filename' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/cql1rrpllwwmh2xnbs0h4skdbwj4xp9n-glib-2.64.4/lib/libgio-2.0.so.0: undefined reference to `g_atomic_ref_count_init' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/qs7jmgk22sc92g1gmacsacyqhm6lda2d-harfbuzz-2.7.1/lib/libharfbuzz.so.0: undefined reference to `FT_Done_MM_Var' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/cql1rrpllwwmh2xnbs0h4skdbwj4xp9n-glib-2.64.4/lib/libgio-2.0.so.0: undefined reference to `g_atomic_ref_count_dec' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/cql1rrpllwwmh2xnbs0h4skdbwj4xp9n-glib-2.64.4/lib/libgio-2.0.so.0: undefined reference to `g_atomic_ref_count_inc' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /nix/store/kxy9lngk8w5hqaa7d5ff2r5j3g0nfg37-pango-1.45.3/lib/libpangoft2-1.0.so.0: undefined reference to `pango_font_map_get_family' /nix/store/zp4vhfn31ky68xy0s6mssxh4c90z9v9a-binutils-2.31.1/bin/ld: /usr/lib/x86_64-linux-gnu//libcairo.so: undefined reference to `clock_gettime@GLIBC_2.2.5' /home/bt1cn/tmp/project1.lpr(21,1) Error: (9013) Error while linking /home/bt1cn/tmp/project1.lpr(21,1) Fatal: (10026) There were 1 errors compiling module, stopping Fatal: (1018) Compilation aborted Error: /nix/store/1c1p64021bgp1291kwvgjigpm9rw4yhi-fpc-3.2.0/bin/ppcx64 returned an error exitcode ```

Same results with the example "imgviewer" application (share/lazarus/examples/imgviewer).


Launching via lazarus-ide indicates that compilation itself succeeded! But running the project with the configured gdb debugger fails.

The GDB command:
"-exec-run"
did not return any result.

Running without the debugger prints this on the terminal.

/home/bt1cn/tmp/project1: error while loading shared libraries: libgdk-x11-2.0.so.0: cannot open shared object file: No such file or directory
[nix-shell:~]$ ldd /home/bt1cn/tmp/project1
    linux-vdso.so.1 (0x00007f93cc39a000)
    libdl.so.2 => /nix/store/2pi6zgkwnr3zdslvlv16nixpzvbyjx1n-glibc-2.31/lib/libdl.so.2 (0x00007f93cc390000)
    libpthread.so.0 => /nix/store/2pi6zgkwnr3zdslvlv16nixpzvbyjx1n-glibc-2.31/lib/libpthread.so.0 (0x00007f93cc36f000)
    libgdk-x11-2.0.so.0 => not found
    libX11.so.6 => not found
    libgdk_pixbuf-2.0.so.0 => not found
    libgtk-x11-2.0.so.0 => not found
    libgobject-2.0.so.0 => not found
    libglib-2.0.so.0 => not found
    libgthread-2.0.so.0 => not found
    libgmodule-2.0.so.0 => not found
    libpango-1.0.so.0 => not found
    libcairo.so.2 => not found
    libatk-1.0.so.0 => not found
    libc.so.6 => /nix/store/2pi6zgkwnr3zdslvlv16nixpzvbyjx1n-glibc-2.31/lib/libc.so.6 (0x00007f93cc1ac000)
    /nix/store/2pi6zgkwnr3zdslvlv16nixpzvbyjx1n-glibc-2.31/lib64/ld-linux-x86-64.so.2 (0x00007f93cc39c000)

Adding xorg.libX11 gtk2.out cairo glib atk pango gdk_pixbuf to my shell, setting LD_LIBRARY_PATH accordingly after exiting lazarus and running the compiled binary does result in successful execution though.

image

Setting the LD_LIBRARY_PATH before opening Lazarus, whether via startlazarus or lazarus-ide, results in the compilation failure from earlier.

deliciouslytyped commented 4 years ago

From a single quick read-through, I'm not sure whats going on, but I think the RPATH might not be set correctly. Though if it is a matter of rpath, since the binary isn't a GC root specifying its deps, fixing the rpath will mean things will break again once something gets garbage collected (but I guess that's normal?).

I might be on a completely wrong track here though.

Edit: are you saying lazarus isnt propagating the LD_LIBRARY_PATH to binaries executed from it?

OPNA2608 commented 4 years ago

Retried this on my NixOS system.

nix-shell -p lazarus -p fpc -p gdb '<unstable>'

This unfortunately still gives me the error from the initial comment.

Error log ``` Compile Project, Target: /home/bt1cn/tmp/project1: Exit code 256, Errors: 1, Warnings: 2 project1.lpr(20,1) Warning: "crti.o" not found, this will probably cause a linking failure project1.lpr(20,1) Warning: "crtn.o" not found, this will probably cause a linking failure /nix/store/hrkc2sf2883l16d5yq3zg0y339kfw4xv-binutils-2.31.1/bin/ld: warning: /home/bt1cn/tmp/link.res contains output sections; did you forget -T? /nix/store/hrkc2sf2883l16d5yq3zg0y339kfw4xv-binutils-2.31.1/bin/ld: cannot find '-rpath: No such file or directory /nix/store/hrkc2sf2883l16d5yq3zg0y339kfw4xv-binutils-2.31.1/bin/ld: cannot find /nix/store/nr1wrkl9mh329w4hbi2ajmqfl09jxllp-lazarus-1.8.4/lib64: No such file or directory project1.lpr(20,1) Error: Error while linking ```

I'm unsure what's going on here, unless I'm missing something? My unstable channel's HEAD commit is dated 20. August and should already contain #88839.

deliciouslytyped commented 4 years ago

Can you confirm that the lazarus you are running is indeed the correct version? (Check the wrapper script?) Maybe try with --pure.

OPNA2608 commented 4 years ago

Can't compare with the version on my machine at work but this is what i have/did. I believe I did nothing wrong there?

nix-env -e lazarus fpc gdb
nix-collect-garbage -d
nix-channel --update unstable # https://nixos.org/channels/nixos-unstable
rm -rf ~/.lazarus
nix-shell '<unstable>' -p lazarus fpc gdb which --pure
[nix-shell:~]$ realpath "$(which startlazarus)"
/nix/store/nr1wrkl9mh329w4hbi2ajmqfl09jxllp-lazarus-1.8.4/bin/startlazarus

[nix-shell:~]$ cat "$(realpath "$(which startlazarus)")"
#! /nix/store/hrpvwkjz04s9i4nmli843hyw9z4pwhww-bash-4.4-p23/bin/bash -e
export NIX_LDFLAGS=''\''-rpath /nix/store/nr1wrkl9mh329w4hbi2ajmqfl09jxllp-lazarus-1.8.4/lib64 -rpath /nix/store/nr1wrkl9mh329w4hbi2ajmqfl09jxllp-lazarus-1.8.4/lib  -L/nix/store/msp4hm62a75pdidlc3s2ymma2g5hsjjk-zlib-1.2.11/lib -L/nix/store/j2fdy70n25zaws892dc95yhj0gfhdxg6-libffi-3.3/lib -L/nix/store/kpmbp2nlwzf6cdgq37phlf5kfdz8dbsv-gettext-0.20.1/lib -L/nix/store/6j9v0jcx2pdins58ask9drg66g3ih0dm-glib-2.62.6/lib -L/nix/store/ipcp5xyxmmzdz5z7q3x574si2j7j7py2-bzip2-1.0.6.0.1/lib -L/nix/store/i3h1q2qpawskwiq4slr6fcs682qilnx6-libpng-apng-1.6.37/lib -L/nix/store/02rs7pbcc06pxzf0fn8d1va871p11pkp-freetype-2.10.1/lib -L/nix/store/71v85g151amsy5n8lyd6ifz3vc58cw42-fontconfig-2.12.6-lib/lib -L/nix/store/5plfk3s66fmfwg1nz0f9n4qkai3fvjj9-expat-2.2.8/lib -L/nix/store/kj93f118rkph69jnq0f7p37a2kvm1lnb-pixman-0.38.4/lib -L/nix/store/zymrgrmjlng0k4i3iimfsf7ff0v9031n-libXau-1.0.9/lib -L/nix/store/6vq8wp4576hbdfgb44zvmmrykr0w2frl-libXext-1.3.4/lib -L/nix/store/6wffq43p7ygy6rpdcn4hj5mm33077d3n-libxcb-1.13.1/lib -L/nix/store/7563czahvq56fq3a486w2x2vr9r63j1g-libX11-1.6.8/lib -L/nix/store/ivswcs2vby9qwjkqakmvgc5d7xvwzvsk-libXrender-0.9.10/lib -L/nix/store/w7b15ysa0wj5bdz603j0wpswi95vv5np-xcb-util-0.4.0/lib -L/nix/store/r5qgnl2c62lqfdcl5k7h800id09gbx1s-libGL-1.2.0/lib -L/nix/store/hrx2rjnlg54aq2qmkxli5vhpx7hv84ln-libglvnd-1.2.0/lib -L/nix/store/mxbnwpvybajzmb8gfnwgx1l2whi1zs8q-cairo-1.16.0/lib -L/nix/store/00k421jja9ydjqmv8kxd4i2gz8kqkmzp-graphite2-1.3.13/lib -L/nix/store/klm9hqw401x1rhhlfgkmjfaglwxmm784-harfbuzz-2.6.4/lib -L/nix/store/n2baq012wy4wz2wgp9zh5mbfs188cisd-libXft-2.3.3/lib -L/nix/store/flvlzs0z0fnc1zsnr9241biz7xwlmpc4-pango-1.44.7/lib -L/nix/store/qqlqsvnv9wgy27kn3rml3kmwcx5276fa-libjpeg-turbo-2.0.3/lib -L/nix/store/jj7dqm9m5cav4gqmwqpkf1z66g0ipwv6-xz-5.2.4/lib -L/nix/store/29blaaqpggzx0ypka5w0vg5yp7gmdyb5-libtiff-4.1.0/lib -L/nix/store/zc66pg8gzxx7i5s7jc4cr3nkyx8vsnk2-gdk-pixbuf-2.40.0/lib -L/nix/store/z3pjmsmk60wg3bklnndra12g7lgq3fik-atk-2.34.1/lib -L/nix/store/dblfpplb691ak9cx2nckzl8w2yncw5n7-libXrandr-1.5.2/lib -L/nix/store/s1rmmz59zfw5ag5pxphp9bvw2l7nmr84-libXfixes-5.0.3/lib -L/nix/store/vj2nf90f8fpazr28dcvja0bdqgfrmdjk-libXcomposite-0.4.5/lib -L/nix/store/5zdq8wgpmbh3ykqg2d7iyizw0s3xvn9y-libXi-1.7.10/lib -L/nix/store/l1q8vn3dsb3v6hqchdsnb90j7bhi8c3n-libXcursor-1.2.0/lib -L/nix/store/4hy92mxpkqcjpwjlfvd69cgvpgy2klim-libXinerama-1.1.4/lib -L/nix/store/447im4mh8gmw85dkrvz3facg1jsbn6c7-gmp-6.2.0/lib -L/nix/store/0rxcijs07fy1vbnq3axysc1ygvha6rh8-cups-2.3.3-lib/lib -L/nix/store/1p3invbqmnhs6078w4jrl9fi4wwzl7lm-gtk+-2.24.32/lib -L/nix/store/msp4hm62a75pdidlc3s2ymma2g5hsjjk-zlib-1.2.11/lib -L/nix/store/j2fdy70n25zaws892dc95yhj0gfhdxg6-libffi-3.3/lib -L/nix/store/kpmbp2nlwzf6cdgq37phlf5kfdz8dbsv-gettext-0.20.1/lib -L/nix/store/6j9v0jcx2pdins58ask9drg66g3ih0dm-glib-2.62.6/lib -L/nix/store/ipcp5xyxmmzdz5z7q3x574si2j7j7py2-bzip2-1.0.6.0.1/lib -L/nix/store/i3h1q2qpawskwiq4slr6fcs682qilnx6-libpng-apng-1.6.37/lib -L/nix/store/02rs7pbcc06pxzf0fn8d1va871p11pkp-freetype-2.10.1/lib -L/nix/store/71v85g151amsy5n8lyd6ifz3vc58cw42-fontconfig-2.12.6-lib/lib -L/nix/store/5plfk3s66fmfwg1nz0f9n4qkai3fvjj9-expat-2.2.8/lib -L/nix/store/kj93f118rkph69jnq0f7p37a2kvm1lnb-pixman-0.38.4/lib -L/nix/store/zymrgrmjlng0k4i3iimfsf7ff0v9031n-libXau-1.0.9/lib -L/nix/store/6vq8wp4576hbdfgb44zvmmrykr0w2frl-libXext-1.3.4/lib -L/nix/store/6wffq43p7ygy6rpdcn4hj5mm33077d3n-libxcb-1.13.1/lib -L/nix/store/7563czahvq56fq3a486w2x2vr9r63j1g-libX11-1.6.8/lib -L/nix/store/ivswcs2vby9qwjkqakmvgc5d7xvwzvsk-libXrender-0.9.10/lib -L/nix/store/w7b15ysa0wj5bdz603j0wpswi95vv5np-xcb-util-0.4.0/lib -L/nix/store/r5qgnl2c62lqfdcl5k7h800id09gbx1s-libGL-1.2.0/lib -L/nix/store/hrx2rjnlg54aq2qmkxli5vhpx7hv84ln-libglvnd-1.2.0/lib -L/nix/store/mxbnwpvybajzmb8gfnwgx1l2whi1zs8q-cairo-1.16.0/lib -L/nix/store/00k421jja9ydjqmv8kxd4i2gz8kqkmzp-graphite2-1.3.13/lib -L/nix/store/klm9hqw401x1rhhlfgkmjfaglwxmm784-harfbuzz-2.6.4/lib -L/nix/store/n2baq012wy4wz2wgp9zh5mbfs188cisd-libXft-2.3.3/lib -L/nix/store/flvlzs0z0fnc1zsnr9241biz7xwlmpc4-pango-1.44.7/lib -L/nix/store/qqlqsvnv9wgy27kn3rml3kmwcx5276fa-libjpeg-turbo-2.0.3/lib -L/nix/store/jj7dqm9m5cav4gqmwqpkf1z66g0ipwv6-xz-5.2.4/lib -L/nix/store/29blaaqpggzx0ypka5w0vg5yp7gmdyb5-libtiff-4.1.0/lib -L/nix/store/zc66pg8gzxx7i5s7jc4cr3nkyx8vsnk2-gdk-pixbuf-2.40.0/lib -L/nix/store/z3pjmsmk60wg3bklnndra12g7lgq3fik-atk-2.34.1/lib -L/nix/store/dblfpplb691ak9cx2nckzl8w2yncw5n7-libXrandr-1.5.2/lib -L/nix/store/s1rmmz59zfw5ag5pxphp9bvw2l7nmr84-libXfixes-5.0.3/lib -L/nix/store/vj2nf90f8fpazr28dcvja0bdqgfrmdjk-libXcomposite-0.4.5/lib -L/nix/store/5zdq8wgpmbh3ykqg2d7iyizw0s3xvn9y-libXi-1.7.10/lib -L/nix/store/l1q8vn3dsb3v6hqchdsnb90j7bhi8c3n-libXcursor-1.2.0/lib -L/nix/store/4hy92mxpkqcjpwjlfvd69cgvpgy2klim-libXinerama-1.1.4/lib -L/nix/store/447im4mh8gmw85dkrvz3facg1jsbn6c7-gmp-6.2.0/lib -L/nix/store/0rxcijs07fy1vbnq3axysc1ygvha6rh8-cups-2.3.3-lib/lib -L/nix/store/1p3invbqmnhs6078w4jrl9fi4wwzl7lm-gtk+-2.24.32/lib -L/nix/store/danv012gh0aakh8xnk2b35vahklz72mk-gcc-9.2.0-lib/lib -lXi -lX11 -lglib-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lc -lXext -lpango-1.0 -latk-1.0 -lgdk_pixbuf-2.0 -lcairo -lgcc_s'\'''${NIX_LDFLAGS:+' '}$NIX_LDFLAGS
export LCL_PLATFORM=''\''gtk2'\'''${LCL_PLATFORM:+' '}$LCL_PLATFORM
exec -a "$0" "/nix/store/nr1wrkl9mh329w4hbi2ajmqfl09jxllp-lazarus-1.8.4/bin/.startlazarus-wrapped"  "$@"

[nix-shell:~]$ startlazarus
# Confirm all the setup stuff
# Try building the default project

grafik

stale[bot] commented 3 years ago

I marked this as stale due to inactivity. → More info