Package Details: trustedgrub2 1.4.0-3

Git Clone URL: https://aur.archlinux.org/trustedgrub2.git (read-only)
Package Base: trustedgrub2
Description: TPM enabled GRUB2 Bootloader
Upstream URL: https://github.com/Sirrix-AG/TrustedGRUB2/
Licenses: GPL
Conflicts: grub, trustedgrub2
Provides: grub, trustedgrub2
Submitter: n0vember
Maintainer: n0vember
Last Packager: n0vember
Votes: 1
Popularity: 0.000000
First Submitted: 2016-09-22 10:12
Last Updated: 2017-08-02 11:50

Required by (51)

Sources (2)

Latest Comments

Sylva1n commented on 2018-08-17 14:54

It works.

Sylva1n commented on 2018-07-31 09:38

Several fixes must be applied to make progress in compiling.

  1. patch configure.ac (https://github.com/manjaro/packages-core/blob/master/grub/grub-freetype-pkg-config.patch)

  2. include <sys sysmacros.h=""> in grub-core/osdep/unix/getroot.c, grub-core/osdep/getroot.c, grub-core/osdep/devmapper/getroot.c and grub-core/osdep/devmapper/hostdisk.c</sys>

  3. grub-core/fs/btrfs.c, include/grub/efiemu/runtime.h and include/grub/gpt_partition.h must be patched (https://www.mail-archive.com/grub-devel@gnu.org/msg26873.html)

  4. add FREETYPE_INCLUDES=/usr/include/freetype2 FREETYPE_LIBS=/user/lib to ./configure in PKBUILD

  5. (maybe) patch util/grub-mkfont.c with https://lists.freebsd.org/pipermail/freebsd-bugs/2014-April/055825.html

  6. patch grub-core/script/yylex.l : https://build.opensuse.org/package/view_file/Base:System/grub2/grub2-fix-build-with-flex-2.6.4.patch?expand=0

  7. add CFLAGS+="-no-pie" LDFLAGS+="-no-pie" to make in PKBUILD

Sylva1n commented on 2018-07-31 08:54

The package failed to build. It seems to be related to Spectre mitigations.

cf. http://lists.gnu.org/archive/html/grub-devel/2018-05/msg00085.html

cat syminfo.lst | sort | gawk -f ./genmoddep.awk > moddep.lst || (rm -f moddep.lst; exit 1) GLOBAL_OFFSET_TABLE in acpi is not defined GLOBAL_OFFSET_TABLE in adler32 is not defined GLOBAL_OFFSET_TABLE in affs is not defined GLOBAL_OFFSET_TABLE in afs is not defined GLOBAL_OFFSET_TABLE in ahci is not defined GLOBAL_OFFSET_TABLE in aout is not defined GLOBAL_OFFSET_TABLE in archelp is not defined GLOBAL_OFFSET_TABLE in at_keyboard is not defined GLOBAL_OFFSET_TABLE in ata is not defined GLOBAL_OFFSET_TABLE in backtrace is not defined GLOBAL_OFFSET_TABLE in bfs is not defined GLOBAL_OFFSET_TABLE in biosdisk is not defined GLOBAL_OFFSET_TABLE in bitmap is not defined GLOBAL_OFFSET_TABLE in bitmap_scale is not defined GLOBAL_OFFSET_TABLE in blocklist is not defined GLOBAL_OFFSET_TABLE in boot is not defined GLOBAL_OFFSET_TABLE in bsd is not defined GLOBAL_OFFSET_TABLE in bswap_test is not defined GLOBAL_OFFSET_TABLE in btrfs is not defined GLOBAL_OFFSET_TABLE in bufio is not defined GLOBAL_OFFSET_TABLE in cat is not defined GLOBAL_OFFSET_TABLE in cbfs is not defined GLOBAL_OFFSET_TABLE in cbls is not defined GLOBAL_OFFSET_TABLE in cbmemc is not defined GLOBAL_OFFSET_TABLE in cbtable is not defined GLOBAL_OFFSET_TABLE in cbtime is not defined GLOBAL_OFFSET_TABLE in chain is not defined GLOBAL_OFFSET_TABLE in cmdline_cat_test is not defined GLOBAL_OFFSET_TABLE in cmosdump is not defined GLOBAL_OFFSET_TABLE in cmostest is not defined GLOBAL_OFFSET_TABLE in cmp is not defined GLOBAL_OFFSET_TABLE in cmp_test is not defined GLOBAL_OFFSET_TABLE in configfile is not defined GLOBAL_OFFSET_TABLE in cpio is not defined GLOBAL_OFFSET_TABLE in cpio_be is not defined GLOBAL_OFFSET_TABLE in cpuid is not defined GLOBAL_OFFSET_TABLE in crc64 is not defined GLOBAL_OFFSET_TABLE in crypto is not defined GLOBAL_OFFSET_TABLE in cryptodisk is not defined GLOBAL_OFFSET_TABLE in cs5536 is not defined GLOBAL_OFFSET_TABLE in ctz_test is not defined GLOBAL_OFFSET_TABLE in date is not defined GLOBAL_OFFSET_TABLE in datehook is not defined GLOBAL_OFFSET_TABLE in disk is not defined GLOBAL_OFFSET_TABLE in diskfilter is not defined GLOBAL_OFFSET_TABLE in div is not defined GLOBAL_OFFSET_TABLE in div_test is not defined GLOBAL_OFFSET_TABLE in dm_nv is not defined GLOBAL_OFFSET_TABLE in drivemap is not defined GLOBAL_OFFSET_TABLE in echo is not defined GLOBAL_OFFSET_TABLE in efiemu is not defined GLOBAL_OFFSET_TABLE in ehci is not defined GLOBAL_OFFSET_TABLE in elf is not defined GLOBAL_OFFSET_TABLE in eval is not defined GLOBAL_OFFSET_TABLE in exfat is not defined GLOBAL_OFFSET_TABLE in exfctest is not defined GLOBAL_OFFSET_TABLE in ext2 is not defined GLOBAL_OFFSET_TABLE in extcmd is not defined GLOBAL_OFFSET_TABLE in fat is not defined GLOBAL_OFFSET_TABLE in file is not defined GLOBAL_OFFSET_TABLE in font is not defined GLOBAL_OFFSET_TABLE in freedos is not defined GLOBAL_OFFSET_TABLE in fshelp is not defined GLOBAL_OFFSET_TABLE in functional_test is not defined GLOBAL_OFFSET_TABLE in gcry_arcfour is not defined GLOBAL_OFFSET_TABLE in gcry_blowfish is not defined GLOBAL_OFFSET_TABLE in gcry_camellia is not defined GLOBAL_OFFSET_TABLE in gcry_cast5 is not defined GLOBAL_OFFSET_TABLE in gcry_crc is not defined GLOBAL_OFFSET_TABLE in gcry_des is not defined GLOBAL_OFFSET_TABLE in gcry_dsa is not defined GLOBAL_OFFSET_TABLE in gcry_idea is not defined GLOBAL_OFFSET_TABLE in gcry_md4 is not defined GLOBAL_OFFSET_TABLE in gcry_md5 is not defined GLOBAL_OFFSET_TABLE in gcry_rfc2268 is not defined GLOBAL_OFFSET_TABLE in gcry_rijndael is not defined GLOBAL_OFFSET_TABLE in gcry_rmd160 is not defined GLOBAL_OFFSET_TABLE in gcry_rsa is not defined GLOBAL_OFFSET_TABLE in gcry_seed is not defined GLOBAL_OFFSET_TABLE in gcry_serpent is not defined GLOBAL_OFFSET_TABLE in gcry_sha1 is not defined GLOBAL_OFFSET_TABLE in gcry_sha256 is not defined GLOBAL_OFFSET_TABLE in gcry_sha512 is not defined GLOBAL_OFFSET_TABLE in gcry_tiger is not defined GLOBAL_OFFSET_TABLE in gcry_twofish is not defined GLOBAL_OFFSET_TABLE in gcry_whirlpool is not defined GLOBAL_OFFSET_TABLE in gdb is not defined GLOBAL_OFFSET_TABLE in geli is not defined GLOBAL_OFFSET_TABLE in gettext is not defined GLOBAL_OFFSET_TABLE in gfxmenu is not defined GLOBAL_OFFSET_TABLE in gfxterm is not defined GLOBAL_OFFSET_TABLE in gfxterm_background is not defined GLOBAL_OFFSET_TABLE in gfxterm_menu is not defined GLOBAL_OFFSET_TABLE in gptsync is not defined GLOBAL_OFFSET_TABLE in gzio is not defined GLOBAL_OFFSET_TABLE in halt is not defined GLOBAL_OFFSET_TABLE in hashsum is not defined GLOBAL_OFFSET_TABLE in hdparm is not defined GLOBAL_OFFSET_TABLE in hello is not defined GLOBAL_OFFSET_TABLE in help is not defined GLOBAL_OFFSET_TABLE in hexdump is not defined GLOBAL_OFFSET_TABLE in hfs is not defined GLOBAL_OFFSET_TABLE in hfsplus is not defined GLOBAL_OFFSET_TABLE in hfspluscomp is not defined GLOBAL_OFFSET_TABLE in http is not defined GLOBAL_OFFSET_TABLE in iorw is not defined GLOBAL_OFFSET_TABLE in iso9660 is not defined GLOBAL_OFFSET_TABLE in jfs is not defined GLOBAL_OFFSET_TABLE in jpeg is not defined GLOBAL_OFFSET_TABLE in keylayouts is not defined GLOBAL_OFFSET_TABLE in keystatus is not defined GLOBAL_OFFSET_TABLE in ldm is not defined GLOBAL_OFFSET_TABLE in legacy_password_test is not defined GLOBAL_OFFSET_TABLE in legacycfg is not defined GLOBAL_OFFSET_TABLE in linux is not defined GLOBAL_OFFSET_TABLE in linux16 is not defined GLOBAL_OFFSET_TABLE in loadenv is not defined GLOBAL_OFFSET_TABLE in loopback is not defined GLOBAL_OFFSET_TABLE in ls is not defined GLOBAL_OFFSET_TABLE in lsacpi is not defined GLOBAL_OFFSET_TABLE in lsapm is not defined GLOBAL_OFFSET_TABLE in lsmmap is not defined GLOBAL_OFFSET_TABLE in lspci is not defined GLOBAL_OFFSET_TABLE in luks is not defined GLOBAL_OFFSET_TABLE in lvm is not defined GLOBAL_OFFSET_TABLE in lzopio is not defined GLOBAL_OFFSET_TABLE in macbless is not defined GLOBAL_OFFSET_TABLE in macho is not defined GLOBAL_OFFSET_TABLE in mda_text is not defined GLOBAL_OFFSET_TABLE in mdraid09 is not defined GLOBAL_OFFSET_TABLE in mdraid09_be is not defined GLOBAL_OFFSET_TABLE in mdraid1x is not defined GLOBAL_OFFSET_TABLE in memdisk is not defined GLOBAL_OFFSET_TABLE in memrw is not defined GLOBAL_OFFSET_TABLE in minicmd is not defined GLOBAL_OFFSET_TABLE in minix is not defined GLOBAL_OFFSET_TABLE in minix2 is not defined GLOBAL_OFFSET_TABLE in minix2_be is not defined GLOBAL_OFFSET_TABLE in minix3 is not defined GLOBAL_OFFSET_TABLE in minix3_be is not defined GLOBAL_OFFSET_TABLE in minix_be is not defined GLOBAL_OFFSET_TABLE in mmap is not defined GLOBAL_OFFSET_TABLE in morse is not defined GLOBAL_OFFSET_TABLE in mpi is not defined GLOBAL_OFFSET_TABLE in msdospart is not defined GLOBAL_OFFSET_TABLE in mul_test is not defined GLOBAL_OFFSET_TABLE in multiboot is not defined GLOBAL_OFFSET_TABLE in multiboot2 is not defined GLOBAL_OFFSET_TABLE in nativedisk is not defined GLOBAL_OFFSET_TABLE in net is not defined GLOBAL_OFFSET_TABLE in newc is not defined GLOBAL_OFFSET_TABLE in nilfs2 is not defined GLOBAL_OFFSET_TABLE in normal is not defined GLOBAL_OFFSET_TABLE in ntfs is not defined GLOBAL_OFFSET_TABLE in ntfscomp is not defined GLOBAL_OFFSET_TABLE in ntldr is not defined GLOBAL_OFFSET_TABLE in odc is not defined GLOBAL_OFFSET_TABLE in offsetio is not defined GLOBAL_OFFSET_TABLE in ohci is not defined GLOBAL_OFFSET_TABLE in part_acorn is not defined GLOBAL_OFFSET_TABLE in part_amiga is not defined GLOBAL_OFFSET_TABLE in part_apple is not defined GLOBAL_OFFSET_TABLE in part_bsd is not defined GLOBAL_OFFSET_TABLE in part_dfly is not defined GLOBAL_OFFSET_TABLE in part_dvh is not defined GLOBAL_OFFSET_TABLE in part_gpt is not defined GLOBAL_OFFSET_TABLE in part_msdos is not defined GLOBAL_OFFSET_TABLE in part_plan is not defined GLOBAL_OFFSET_TABLE in part_sun is not defined GLOBAL_OFFSET_TABLE in part_sunpc is not defined GLOBAL_OFFSET_TABLE in parttool is not defined GLOBAL_OFFSET_TABLE in password is not defined GLOBAL_OFFSET_TABLE in password_pbkdf2 is not defined GLOBAL_OFFSET_TABLE in pata is not defined GLOBAL_OFFSET_TABLE in pbkdf2 is not defined GLOBAL_OFFSET_TABLE in pbkdf2_test is not defined GLOBAL_OFFSET_TABLE in pci is not defined GLOBAL_OFFSET_TABLE in pcidump is not defined GLOBAL_OFFSET_TABLE in plan9 is not defined GLOBAL_OFFSET_TABLE in play is not defined GLOBAL_OFFSET_TABLE in png is not defined GLOBAL_OFFSET_TABLE in priority_queue is not defined GLOBAL_OFFSET_TABLE in probe is not defined GLOBAL_OFFSET_TABLE in procfs is not defined GLOBAL_OFFSET_TABLE in progress is not defined GLOBAL_OFFSET_TABLE in pxe is not defined GLOBAL_OFFSET_TABLE in pxechain is not defined GLOBAL_OFFSET_TABLE in raid5rec is not defined GLOBAL_OFFSET_TABLE in raid6rec is not defined GLOBAL_OFFSET_TABLE in random is not defined GLOBAL_OFFSET_TABLE in read is not defined GLOBAL_OFFSET_TABLE in reboot is not defined GLOBAL_OFFSET_TABLE in regexp is not defined GLOBAL_OFFSET_TABLE in reiserfs is not defined GLOBAL_OFFSET_TABLE in relocator is not defined GLOBAL_OFFSET_TABLE in romfs is not defined GLOBAL_OFFSET_TABLE in scsi is not defined GLOBAL_OFFSET_TABLE in search is not defined GLOBAL_OFFSET_TABLE in search_fs_file is not defined GLOBAL_OFFSET_TABLE in search_fs_uuid is not defined GLOBAL_OFFSET_TABLE in search_label is not defined GLOBAL_OFFSET_TABLE in sendkey is not defined GLOBAL_OFFSET_TABLE in serial is not defined GLOBAL_OFFSET_TABLE in setjmp_test is not defined GLOBAL_OFFSET_TABLE in setpci is not defined GLOBAL_OFFSET_TABLE in sfs is not defined GLOBAL_OFFSET_TABLE in shift_test is not defined GLOBAL_OFFSET_TABLE in signature_test is not defined GLOBAL_OFFSET_TABLE in sleep is not defined GLOBAL_OFFSET_TABLE in sleep_test is not defined GLOBAL_OFFSET_TABLE in spkmodem is not defined GLOBAL_OFFSET_TABLE in squash4 is not defined GLOBAL_OFFSET_TABLE in syslinuxcfg is not defined GLOBAL_OFFSET_TABLE in tar is not defined GLOBAL_OFFSET_TABLE in terminal is not defined GLOBAL_OFFSET_TABLE in terminfo is not defined GLOBAL_OFFSET_TABLE in test is not defined GLOBAL_OFFSET_TABLE in test_blockarg is not defined GLOBAL_OFFSET_TABLE in testload is not defined GLOBAL_OFFSET_TABLE in testspeed is not defined GLOBAL_OFFSET_TABLE in tftp is not defined GLOBAL_OFFSET_TABLE in tga is not defined GLOBAL_OFFSET_TABLE in time is not defined GLOBAL_OFFSET_TABLE in tpm is not defined GLOBAL_OFFSET_TABLE in tr is not defined GLOBAL_OFFSET_TABLE in true is not defined GLOBAL_OFFSET_TABLE in truecrypt is not defined GLOBAL_OFFSET_TABLE in udf is not defined GLOBAL_OFFSET_TABLE in ufs1 is not defined GLOBAL_OFFSET_TABLE in ufs1_be is not defined GLOBAL_OFFSET_TABLE in ufs2 is not defined GLOBAL_OFFSET_TABLE in uhci is not defined GLOBAL_OFFSET_TABLE in usb is not defined GLOBAL_OFFSET_TABLE in usb_keyboard is not defined GLOBAL_OFFSET_TABLE in usbms is not defined GLOBAL_OFFSET_TABLE in usbserial_common is not defined GLOBAL_OFFSET_TABLE in usbserial_ftdi is not defined GLOBAL_OFFSET_TABLE in usbserial_pl2303 is not defined GLOBAL_OFFSET_TABLE in usbserial_usbdebug is not defined GLOBAL_OFFSET_TABLE in usbtest is not defined GLOBAL_OFFSET_TABLE in vbe is not defined GLOBAL_OFFSET_TABLE in verify is not defined GLOBAL_OFFSET_TABLE in vga is not defined GLOBAL_OFFSET_TABLE in vga_text is not defined GLOBAL_OFFSET_TABLE in video is not defined GLOBAL_OFFSET_TABLE in video_bochs is not defined GLOBAL_OFFSET_TABLE in video_cirrus is not defined GLOBAL_OFFSET_TABLE in video_colors is not defined GLOBAL_OFFSET_TABLE in video_fb is not defined GLOBAL_OFFSET_TABLE in videoinfo is not defined GLOBAL_OFFSET_TABLE in videotest is not defined GLOBAL_OFFSET_TABLE in videotest_checksum is not defined GLOBAL_OFFSET_TABLE in xfs is not defined GLOBAL_OFFSET_TABLE in xnu is not defined GLOBAL_OFFSET_TABLE in xnu_uuid is not defined GLOBAL_OFFSET_TABLE in xnu_uuid_test is not defined GLOBAL_OFFSET_TABLE in xzio is not defined GLOBAL_OFFSET_TABLE in zfs is not defined GLOBAL_OFFSET_TABLE in zfscrypt is not defined GLOBAL_OFFSET_TABLE in zfsinfo is not defined make[3]: *** [Makefile:42813: moddep.lst] Error 1