Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 766426 - net-misc/dhcp-4.4.2-r3: configure: error: need --with-randomdev=PATH or --with-randomdev=no
Summary: net-misc/dhcp-4.4.2-r3: configure: error: need --with-randomdev=PATH or --wi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2021-01-21 20:02 UTC by Jakov Smolić
Modified: 2021-01-21 20:51 UTC (History)
0 users

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


Attachments
build log and cross-emerge info (build.log,15.04 KB, text/x-log)
2021-01-21 20:04 UTC, Jakov Smolić
Details
config log (config.log,64.66 KB, text/x-log)
2021-01-21 20:08 UTC, Jakov Smolić
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jakov Smolić archtester gentoo-dev 2021-01-21 20:02:33 UTC
dhcp fails to cross-compile because it fails to detect which random device to use. Passing `--with-randomdev=/dev/random` to configure seems to resolve the issue.
Comment 1 Jakov Smolić archtester gentoo-dev 2021-01-21 20:04:36 UTC
Created attachment 684052 [details]
build log and cross-emerge info
Comment 2 Jakov Smolić archtester gentoo-dev 2021-01-21 20:08:32 UTC
Created attachment 684055 [details]
config log
Comment 3 Larry the Git Cow gentoo-dev 2021-01-21 20:51:40 UTC
The bug has been closed via the following commit(s):

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

commit e615386b6a018b9f8e00756578161aae9acc79eb
Author:     Jakov Smolic <jakov.smolic@sartura.hr>
AuthorDate: 2021-01-21 20:21:14 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2021-01-21 20:51:17 +0000

    net-misc/dhcp: Pass randomdev path to configure
    
    * dhcp fails to detect which random device to use when cross-compiling,
      so we have to pass --with-randomdev=/dev/random to configure
    
    Closes: https://bugs.gentoo.org/766426
    Signed-off-by: Jakov Smolic <jakov.smolic@sartura.hr>
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>
    Closes: https://github.com/gentoo/gentoo/pull/19153

 net-misc/dhcp/dhcp-4.4.2-r3.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)