Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 683818 - dev-python/zstandard-0.11.0 parallel build failure - ld: .../work/zstandard-0.11.0-python3_6/temp.linux-x86_64-3.6/zstd/compress/zstd_compress.o: file not recognized: file truncated
Summary: dev-python/zstandard-0.11.0 parallel build failure - ld: .../work/zstandard-0...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
: 701514 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-04-19 05:46 UTC by Andrew Church
Modified: 2020-03-29 12:24 UTC (History)
10 users (show)

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


Attachments
build.log (build.log,99.37 KB, text/plain)
2019-04-19 05:46 UTC, Andrew Church
Details
emerge --info (emerge-info,5.40 KB, text/plain)
2019-04-19 05:47 UTC, Andrew Church
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Church 2019-04-19 05:46:40 UTC
Created attachment 573412 [details]
build.log

dev-python/zstandard fails to build using MAKEOPTS=-j9 fairly consistently (2 out of 2 tries here):

/usr/lib/gcc/x86_64-pc-linux-gnu/8.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: /var/tmp/portage/dev-python/zstandard-0.11.0/work/zstandard-0.11.0-python3_6/temp.linux-x86_64-3.6/zstd/compress/zstd_compress.o: file not recognized: file truncated

The problem does not occur with MAKEOPTS=-j1.
Comment 1 Andrew Church 2019-04-19 05:47:29 UTC
Created attachment 573414 [details]
emerge --info
Comment 2 matoro archtester 2019-06-07 18:14:50 UTC
I see this as well on ~arm.  Interestingly the build succeeds for python2.7 but fails for 3.6.  MAKEOPTS=-j1 does resolve it for python3.6.
Comment 3 Gabriel Linder 2019-11-10 10:24:43 UTC
Same here on ~amd64 and dev-python/zstandard-0.12.0, works with MAKEOPTS=-j1.
Comment 4 Thomas Deutschmann (RETIRED) gentoo-dev 2019-11-30 00:07:40 UTC
Yes, still happening with 0.12.0.
Comment 5 Benda Xu gentoo-dev 2019-12-03 16:04:23 UTC
I speculate that if we handle the bundled zstd bug, the race condition can probably be solved.
Comment 6 Rémi Cardona (RETIRED) gentoo-dev 2019-12-23 17:47:48 UTC
*** Bug 701514 has been marked as a duplicate of this bug. ***
Comment 7 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2020-03-29 12:24:44 UTC
Old version removed.  Please reopen if the problem persists.