pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysutils/grub2 fails to build



Hmmm, anyone got any clues on this?


On Fri, 3 Aug 2018, Paul Goyette wrote:

With an up-to-date pkgsrc (as of 2018-08-02 at 01:42:09 UTC), and all
packages rebuilt in an empty sandbox, I am unable to build grub2:

mv -f grub-core/loader/.deps-util/grub_file-macho64.Tpo grub-core/loader/.deps-util/grub_file-macho64.Po ./build-grub-mkfont -o unicode.pf2 ./unifont.pcf || (rm -f unicode.pf2; exit 1) mv -f grub-core/loader/.deps-util/grub_file-macho32.Tpo grub-core/loader/.deps-util/grub_file-macho32.Po ./build-grub-mkfont -o ascii.pf2 ./unifont.pcf -r 0x0-0x7f,0x2190-0x2193,0x2501-0x251B || (rm -f ascii.pf2; exit 1)
Shared object "libfreetype.so.18" not found
Shared object "libfreetype.so.18" not found
gmake[2]: *** [Makefile:12719: unicode.pf2] Error 1
gmake[2]: *** Waiting for unfinished jobs....
gmake[2]: *** [Makefile:12722: ascii.pf2] Error 1
chmod a+x grub-fs-tester
mv -f grub-core/lib/libgcrypt-grub/cipher/.deps-util/libgrubgcry_a-twofish.Tpo grub-core/lib/libgcrypt-grub/cipher/.deps-util/libgrubgcry_a-twofish.Po
gmake[2]: Leaving directory '/tmp/pkgs/sysutils/grub2/work.x86_64/grub-2.02'
gmake[1]: *** [Makefile:10904: all-recursive] Error 1
gmake[1]: Leaving directory '/tmp/pkgs/sysutils/grub2/work.x86_64/grub-2.02'
gmake: *** [Makefile:3130: all] Error 2
*** Error code 2


I have verified (from within the sandbox!) that

/usr/X11R7/lib/libfreetype.so.18 is a symlink, and points to
   ..../libfreetype.so.18.16.1, which exists

HOWEVER, there is no libfreetype.so.18 anywhere in /usr/pkg

# find /usr/pkg -name 'libfreetype*' | ls -l
lrwxr-xr-x 1 root wheel 28 Aug 2 03:05 /usr/pkg/share/x11-links/lib/libfreetype.a -> /usr/X11R7/lib/libfreetype.a lrwxr-xr-x 1 root wheel 29 Aug 2 03:05 /usr/pkg/share/x11-links/lib/libfreetype.so -> /usr/X11R7/lib/libfreetype.so lrwxr-xr-x 1 root wheel 32 Aug 2 03:05 /usr/pkg/share/x11-links/lib/libfreetype.so.17 -> /usr/X11R7/lib/libfreetype.so.17 lrwxr-xr-x 1 root wheel 37 Aug 2 03:05 /usr/pkg/share/x11-links/lib/libfreetype.so.17.4.11 -> /usr/X11R7/lib/libfreetype.so.17.4.11 lrwxr-xr-x 1 root wheel 37 Aug 2 03:05 /usr/pkg/share/x11-links/lib/libfreetype.so.18.16.1 -> /usr/X11R7/lib/libfreetype.so.18.16.1
#

As you can see, all of these are symlinks pointing to file of the same
name located within /usr/X11R7/lib/

It seems odd to me that there's a libfreetype.so.17 (and .so.17.4.11)
yet there is no libfreetype.so.18

Is there maybe some issue with the x11-links package having created a
link to an older library version?


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


+------------------+--------------------------+----------------------------+
| Paul Goyette     | PGP Key fingerprint:     | E-mail addresses:          |
| (Retired)        | FA29 0E3B 35AF E8AE 6651 | paul at whooppee dot com   |
| Kernel Developer | 0786 F758 55DE 53BA 7731 | pgoyette at netbsd dot org |
+------------------+--------------------------+----------------------------+


Home | Main Index | Thread Index | Old Index