Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 856526 - [guru] dev-R/nloptr-2.0.3 fails to compile
Summary: [guru] dev-R/nloptr-2.0.3 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robert Greener
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-05 09:51 UTC by Agostino Sarubbo
Modified: 2022-07-07 07:33 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,58.99 KB, text/plain)
2022-07-05 09:51 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 2022-07-05 09:51:26 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-R/nloptr-2.0.3 fails to compile.
Discovered on: amd64 (internal ref: guru_ci)
Comment 1 Agostino Sarubbo gentoo-dev 2022-07-05 09:51:29 UTC
Created attachment 790151 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-07-05 09:51:30 UTC
Error(s) that match a know pattern:


/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find nlopt/lib/libnlopt.a: No such file or directory
Error running link command: No such file or directory
cp: cannot stat 'nlopt/include/*': No such file or directory
mv: cannot stat 'nlopt/lib*': No such file or directory
collect2: error: ld returned 1 exit status
Comment 3 Robert Greener 2022-07-05 10:52:14 UTC
I can't replicate in a clean docker, using the official stage3 image.

I performed the following steps:

1. emerge --sync
2. emerge -auDN @world
3. emerge --ask dev-vcs/git eselect-repository
4. eselect repository enable guru
5. emerge --sync guru
6. emerge --ask dev-R/nloptr

all works fine.
Comment 4 Agostino Sarubbo gentoo-dev 2022-07-05 10:54:31 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ point 15
Comment 5 Larry the Git Cow gentoo-dev 2022-07-07 07:33:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7acf64222811aa7664fcdfa175574dcc4f6aac3d

commit 7acf64222811aa7664fcdfa175574dcc4f6aac3d
Author:     Robert Greener <me@r0bert.dev>
AuthorDate: 2022-07-05 12:44:49 +0000
Commit:     Robert Greener <me@r0bert.dev>
CommitDate: 2022-07-05 12:46:00 +0000

    dev-R/nloptr: use nlopt from system
    
    Has side effect of fixing fail to compile bug
    
    Closes: https://bugs.gentoo.org/856526
    Signed-off-by: Robert Greener <me@r0bert.dev>

 dev-R/nloptr/{nloptr-2.0.3.ebuild => nloptr-2.0.3-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)