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

Bug 684444

Summary: app-misc/fdutils-5.5.20060227-r1 - ld: cannot find -lfdutils (parallel build issue)
Product: Gentoo Linux Reporter: John R. Graham <john_r_graham>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: RESOLVED FIXED    
Severity: normal CC: ago, jstein, t, toralf, treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=791895
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 351559    
Attachments: Build log of failure.
My "emerge --info".
Build log of failure.
Build log of failure. Redone with -fno-diagnostics-color.
emerge-info.txt
app-misc:fdutils-5.5.20060227-r1:20220309-145050.log
emerge-history.txt.bz2
environment
etc.portage.tar.bz2
logs.tar.bz2
temp.tar.bz2

Description John R. Graham gentoo-dev 2019-04-26 20:47:54 UTC
Created attachment 574292 [details]
Build log of failure.

A cursory look at the diff between the 5.5.20060227 and 5.5.20060227-r1 ebuilds indicates that one of the new patches is to address parallel build issues. Apparently some still remain. Build log attached.
Comment 1 John R. Graham gentoo-dev 2019-04-26 20:50:46 UTC
Created attachment 574294 [details]
My "emerge --info".
Comment 2 John R. Graham gentoo-dev 2019-04-26 20:52:09 UTC
Created attachment 574296 [details]
Build log of failure.
Comment 3 John R. Graham gentoo-dev 2019-04-26 20:59:37 UTC
Created attachment 574298 [details]
Build log of failure. Redone with -fno-diagnostics-color.
Comment 4 John R. Graham gentoo-dev 2019-04-28 14:49:58 UTC
Meant to add, building with MAKEOPTS="--jobs=1" suppresses this error.
Comment 5 Mike Gilbert gentoo-dev 2020-06-26 01:26:56 UTC
*** Bug 726628 has been marked as a duplicate of this bug. ***
Comment 6 Agostino Sarubbo gentoo-dev 2021-01-19 14:07:02 UTC
Dear treecleaner@:

I'm still able to reproduce this issue right now.

Since it has not been fixed for a long time, I'd suggest to evaluate if it is the case to remove this package from the tree. Thanks
Comment 7 John R. Graham gentoo-dev 2021-01-27 17:03:45 UTC
No need to remove the package from the tree. A simple patch to make it always build with --jobs=1 would suffice.
Comment 8 Mike Gilbert gentoo-dev 2021-06-24 16:35:45 UTC
*** Bug 797904 has been marked as a duplicate of this bug. ***
Comment 9 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-09 14:49:40 UTC
Is this still an issue with 5.6_p2? It should be sorted now.
Comment 10 Toralf Förster gentoo-dev 2022-03-09 15:00:27 UTC
appeared recently at the tinderbox image 17.1_no_multilib_systemd-j4-20220305-092338
Comment 11 Toralf Förster gentoo-dev 2022-03-09 15:00:29 UTC
Created attachment 766643 [details]
emerge-info.txt
Comment 12 Toralf Förster gentoo-dev 2022-03-09 15:00:30 UTC
Created attachment 766644 [details]
app-misc:fdutils-5.5.20060227-r1:20220309-145050.log
Comment 13 Toralf Förster gentoo-dev 2022-03-09 15:00:31 UTC
Created attachment 766645 [details]
emerge-history.txt.bz2
Comment 14 Toralf Förster gentoo-dev 2022-03-09 15:00:32 UTC
Created attachment 766646 [details]
environment
Comment 15 Toralf Förster gentoo-dev 2022-03-09 15:00:35 UTC
Created attachment 766647 [details]
etc.portage.tar.bz2
Comment 16 Toralf Förster gentoo-dev 2022-03-09 15:00:37 UTC
Created attachment 766648 [details]
logs.tar.bz2
Comment 17 Toralf Förster gentoo-dev 2022-03-09 15:00:39 UTC
Created attachment 766649 [details]
temp.tar.bz2
Comment 18 Toralf Förster gentoo-dev 2022-03-09 15:02:03 UTC
will test with the new version , but the -p2 is not yet in the tree, or ?
Comment 19 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-03-09 15:11:22 UTC
(In reply to Toralf Förster from comment #18)
> will test with the new version , but the -p2 is not yet in the tree, or ?

It should be!
Comment 20 Thomas Bracht Laumann Jespersen 2022-03-09 18:06:49 UTC
@Toralf looking at the logs, this line:

i686-pc-linux-gnu-gcc -Wl,-O1 -Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o fdrawcmd fdrawcmd.o -L. -lfdutils 
/usr/lib/gcc/i686-pc-linux-gnu/8.2.0/../../../../i686-pc-linux-gnu/bin/ld: cannot find -lfdutils

was the same issue fixed in this patch: https://gitweb.gentoo.org/repo/gentoo.git/tree/app-misc/fdutils/files/fdutils-5.6_p2-parallel.patch

I think it might apply on the version that this bug was reported for.
Comment 21 Toralf Förster gentoo-dev 2022-03-10 08:12:03 UTC
app-misc/fdutils-5.6_p2