Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 562004 - sys-libs/efivars doesn't like when LIBS is set in make.conf
Summary: sys-libs/efivars doesn't like when LIBS is set in make.conf
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mike Gilbert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-10-01 22:40 UTC by Nolan Eakins
Modified: 2015-10-03 18:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nolan Eakins 2015-10-01 22:40:58 UTC
Setting LIBS in make.conf causes the build to fail by trying to use "-l$LIBS".

Reproducible: Always

Steps to Reproduce:
1. LIBS="-lm" emerge sys-libs/efivars
2. Notice the failure
3. Notice the "-l-lm" where the failure occurred.
Actual Results:  
emerge fails

Expected Results:  
emerge gives me a hug.
Comment 1 Mike Gilbert gentoo-dev 2015-10-01 22:49:36 UTC
So... why are you setting LIBS in make.conf?
Comment 2 Nolan Eakins 2015-10-01 23:20:08 UTC
More than one package would complain about not being able to find some math function. Using `LIBS="-lm"` took care of that.
Comment 3 Mike Gilbert gentoo-dev 2015-10-02 14:18:13 UTC
(In reply to Nolan Eakins from comment #2)
> More than one package would complain about not being able to find some math
> function. Using `LIBS="-lm"` took care of that.

Please file bugs for those packages.

Setting LIBS="-lm" is likely to break other random packages, as you have seen.

I will take a look at efivar to see if this is an easy fix anyway.
Comment 4 Mike Gilbert gentoo-dev 2015-10-03 18:08:23 UTC
commit 6723e43b6a141a2b49e6bb8f4052cd52d9de4db3
Author: Mike Gilbert <floppym@gentoo.org>
Date:   Sat Oct 3 14:03:03 2015 -0400

    sys-libs/efivar: Unset LIBS
    
    Bug: https://bugs.gentoo.org/562004
    
    Package-Manager: portage-2.2.22_p5