Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 822861 - dev-python/pydevd-2.7.0 fails to compile
Summary: dev-python/pydevd-2.7.0 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-10 10:30 UTC by Agostino Sarubbo
Modified: 2021-11-10 18:05 UTC (History)
3 users (show)

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


Attachments
build.log (build.log,41.09 KB, text/plain)
2021-11-10 10:30 UTC, Agostino Sarubbo
Details
Position `-ldl` at the end of arguments (pydevd-2.7.0.ebuild.patch,505 bytes, patch)
2021-11-10 11:16 UTC, Tee KOBAYASHI
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-11-10 10:30:08 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/pydevd-2.7.0 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
This machine uses GCC-11: https://gcc.gnu.org/gcc-11/porting_to.html
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2021-11-10 10:30:10 UTC
Created attachment 750120 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2021-11-10 10:30:11 UTC
Possible context of error(s):

attach.cpp:(.text+0x1054): undefined reference to `dlopen'
attach.cpp:(.text+0x1237): undefined reference to `dlopen'
attach.cpp:(.text+0x6c8): undefined reference to `dlsym'
attach.cpp:(.text+0xa9): undefined reference to `dlsym'
attach.cpp:(.text+0xfd5): undefined reference to `dlopen'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x1062): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x1080): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x10a1): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x10cd): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x10f3): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x6f9): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x717): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0x735): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: attach.cpp:(.text+0xfe7): undefined reference to `dlsym'
/usr/lib/gcc/x86_64-pc-linux-gnu/11.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: warning: cannot find entry symbol _start; defaulting to 00000000000010a0
collect2: error: ld returned 1 exit status
Comment 3 Tee KOBAYASHI 2021-11-10 11:16:20 UTC
Created attachment 750144 [details, diff]
Position `-ldl` at the end of arguments

Does this work?
Comment 4 Till Schäfer 2021-11-10 14:40:30 UTC
(In reply to Tee KOBAYASHI from comment #3)
> Created attachment 750144 [details, diff] [details, diff]
> Position `-ldl` at the end of arguments
> 
> Does this work?

Yes, it fixed the problem for me.
Comment 5 Larry the Git Cow gentoo-dev 2021-11-10 18:05:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c190bbffd67450140a310a1cc1b1c438aac4fbf

commit 1c190bbffd67450140a310a1cc1b1c438aac4fbf
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-11-10 18:04:17 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-11-10 18:05:10 +0000

    dev-python/pydevd: shift -ldl again
    
    Closes: https://bugs.gentoo.org/822861
    See: f0747e05cbde06b1a2b1c0448a4897723b61dd6b
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-python/pydevd/pydevd-2.7.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)