Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 181459

Summary: sys-apps/attr-2.4.38: Ignored LDFLAGS: /lib/libattr.so.1.1.0
Product: Gentoo Linux Reporter: Arfrever Frehtes Taifersar Arahesis (RETIRED) <arfrever>
Component: New packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://oss.sgi.com/bugzilla/attachment.cgi?id=166
Whiteboard:
Package list:
Runtime testing required: ---

Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-09 17:36:21 UTC
/var/tmp/portage/sys-apps/attr-2.4.38/image/lib/libattr.so.1.1.0
  [ 1] .hash            HASH           000000f4 0000f4 000158 04   A  3   0  4
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-12 17:48:17 UTC
OK, that was about enough.

1/ Use common sense when filing bugs (like, what about mailing gentoo-dev mailing list first and asking about the best course of action here?
2/ If you have a patch, submit it *upstream* unless this is a *Gentoo-specific* issue.
Comment 2 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-12 18:04:11 UTC
I have patch to this bug. Should I reopen it?

--- sys-apps/attr/attr-2.4.38.ebuild
+++ sys-apps/attr/attr-2.4.38.ebuild
@@ -29,11 +29,14 @@
                include/builddefs.in \
                || die "failed to update builddefs"
        eautoconf
+
+       sed -i -e "s/LTLDFLAGS =/LTLDFLAGS +=/" libattr/Makefile
 }

 src_compile() {
-       export OPTIMIZER=${CFLAGS}
-       export DEBUG=-DNDEBUG
+       export DEBUG="-DNDEBUG"
+       export OPTIMIZER="${CFLAGS}"
+       export LTLDFLAGS="${LDFLAGS}"

        econf \
                $(use_enable nls gettext) \
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2007-06-12 20:18:42 UTC
(In reply to comment #1)
> 2/ If you have a patch, submit it *upstream* unless this is a
> *Gentoo-specific* issue.

Not exporting LTLDFLAGS in ebuild is Gentoo-specific, so I'm reopening this bug report. I somebody wants, I can attach the patch, which is already written in comment 2.

(Typo in libattr/Makefile is already reported to upstream.)
Comment 4 SpanKY gentoo-dev 2007-06-13 23:26:48 UTC
it is an upstream issue and i already filed it there

*** This bug has been marked as a duplicate of bug 126825 ***