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

Bug 569844

Summary: app-portage/gentoolkit: revdep-rebuild should auto-ignore .la files that don't point to ELFs
Product: Gentoo Linux Reporter: Alon Bar-Lev (RETIRED) <alonbl>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: CONFIRMED ---    
Severity: normal CC: alonbl, jstein, vapier
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alon Bar-Lev (RETIRED) gentoo-dev 2015-12-26 19:26:42 UTC
# revdep-rebuild

[ 39% ]  *   broken /usr/lib64/gcc/x86_64-w64-mingw32/5.3.0/libvtv.la (requires -lpsapi)

While I see all libraries at /usr/lib64/gcc/x86_64-w64-mingw32/5.3.0 to be pbe and not native, so I believe this should be excluded.

In this case the change in 5.3.0 is that libvtv is linked against psapi.

2015-01-28  Caroline Tice  <cmtice@google.com>

        * libvtv/rts.cc : Include windows.h, winternl.h and psapi.h, skip
        include of execinfo.h, sys/mman.h and link.h on Cygwin and MinGW.  Add
        port of __fortify_fail on Cygwin and MinGW.  Change ElfW (Addr) to
        uintptr_t on Cygwin and MinGW.

What I find strange is that objdump of /usr/lib/gcc/x86_64-w64-mingw32/5.3.0/libvtv-0.dll I see no imports from psapi.dll, while in sources I do see calls. but this is a different story.
Comment 1 SpanKY gentoo-dev 2015-12-28 19:22:50 UTC
pretty sure this applies to all non-ELF formats.  if revdep-rebuild can't parse dll's, it should just skip them right ?
Comment 2 Alon Bar-Lev (RETIRED) gentoo-dev 2015-12-28 19:30:05 UTC
It parses the .la file :)