Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490802 - =sys-boot/grub-2.00_p5107-r2[static] fails to link due to undefined references to 'png_*' and 'udev_*'
Summary: =sys-boot/grub-2.00_p5107-r2[static] fails to link due to undefined reference...
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-09 04:33 UTC by Changyuan Yu
Modified: 2013-11-10 17:36 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
output of emerge --info '=sys-boot/grub-2.00_p5107-r2::gentoo' (emerge_info.log,19.18 KB, text/plain)
2013-11-09 04:35 UTC, Changyuan Yu
Details
buid log (build.log.gz,23.53 KB, application/x-gzip)
2013-11-09 04:40 UTC, Changyuan Yu
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Changyuan Yu 2013-11-09 04:33:12 UTC
When build sys-boot/grub-2.00_p5107-r2 with static USE flag, fail to link.

Reproducible: Always

Steps to Reproduce:
1. emerge grub-2.00_p5107-r2 with use flag 'device-mapper multislot nls static truetype', GRUB_PLATFORMS="efi-64 pc'

Actual Results:  
grub fail to build.

Expected Results:  
grub build success

When I remove 'static' USE flag, grub build sucess.
Comment 1 Changyuan Yu 2013-11-09 04:35:16 UTC
Created attachment 362830 [details]
output of  emerge --info '=sys-boot/grub-2.00_p5107-r2::gentoo'
Comment 2 Changyuan Yu 2013-11-09 04:40:40 UTC
Created attachment 362832 [details]
buid log
Comment 3 Mike Gilbert gentoo-dev 2013-11-10 17:36:47 UTC
The png failures should be fixed in freetype-2.5.0.1.

  24 Oct 2013; Mark Wright <gienah@gentoo.org> freetype-2.5.0.1.ebuild:
  if use png, then sed freetype2.pc to add the png lib, to fix bug 487646.


Since modern udev does not support static libs, you will need to disable the device-mapper use flag if you want to build static grub.