Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 727790 - net-analyzer/sngrep does not respect LDFLAGS
Summary: net-analyzer/sngrep does not respect LDFLAGS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: ldflags
  Show dependency tree
 
Reported: 2020-06-10 08:48 UTC by Agostino Sarubbo
Modified: 2020-06-10 11:54 UTC (History)
0 users

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


Attachments
build.log (build.log,25.71 KB, text/plain)
2020-06-10 08:48 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-10 08:48:30 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: net-analyzer/sngrep does not respect LDFLAGS.
Discovered on: amd64

NOTE:
To reproduce this issue you may want to set LDFLAGS="${LDFLAGS} -Wl,--defsym=__gentoo_check_ldflags__=0". If this is not something about c/c++ context you may want to see this bug as an hint to hide the QA warning (with QA_FLAGS_IGNORED) where is not possible to respect LDFLAGS.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-10 08:48:36 UTC
Created attachment 644252 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2020-06-10 10:44:30 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b5b5bd16b586c269969862ada5a5908f03d2dbd

commit 7b5b5bd16b586c269969862ada5a5908f03d2dbd
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-06-10 10:43:00 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-06-10 10:44:24 +0000

    net-analyzer/sngrep: Version 1.4.7
    
    - Add USE=logo
    - EAPI=7
    - RESTRICT=test
    - Fix setting LDFLAGS
    
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Closes: https://bugs.gentoo.org/727790
    Closes: https://bugs.gentoo.org/709852
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-analyzer/sngrep/Manifest                       |  1 +
 .../sngrep/files/sngrep-1.4.7-LDFLAGS.patch        | 11 ++++++
 net-analyzer/sngrep/metadata.xml                   |  1 +
 net-analyzer/sngrep/sngrep-1.4.7.ebuild            | 46 ++++++++++++++++++++++
 4 files changed, 59 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2020-06-10 11:54:30 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ea02c91dce90ad12716507d32633bcb923cf774

commit 3ea02c91dce90ad12716507d32633bcb923cf774
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2020-06-10 11:50:02 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2020-06-10 11:54:24 +0000

    net-analyzer/sngrep: Backport tinfo patch
    
    - In case 1.4.7 has bugs that 1.4.6 does not, apply the fixed tinfo
      patch there as well.
    - The tinfo patch fixes the test suite problems as well, so drop
      RESTRICT=test again.
    
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Bug: https://bugs.gentoo.org/709852
    Bug: https://bugs.gentoo.org/727790
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 net-analyzer/sngrep/files/sngrep-1.4.5-tinfo.patch          | 13 -------------
 .../{sngrep-1.4.6-r2.ebuild => sngrep-1.4.6-r3.ebuild}      |  2 +-
 net-analyzer/sngrep/sngrep-1.4.7.ebuild                     |  1 -
 3 files changed, 1 insertion(+), 15 deletions(-)