Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 832617 - net-vpn/libreswan-4.6 fails to compile: confread.h:25:10: fatal error: queue.h: No such file or directory
Summary: net-vpn/libreswan-4.6 fails to compile: confread.h:25:10: fatal error: queue....
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-02-03 07:41 UTC by Agostino Sarubbo
Modified: 2022-02-03 09:34 UTC (History)
0 users

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


Attachments
build.log (build.log,85.72 KB, text/plain)
2022-02-03 07:41 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-02-03 07:41:41 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: net-vpn/libreswan-4.6 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
This machine uses MUSL libc
Comment 1 Agostino Sarubbo gentoo-dev 2022-02-03 07:41:43 UTC
Created attachment 764267 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2022-02-03 07:41:44 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


../../include/ipsecconf/confread.h:25:10: fatal error: sys/queue.h: No such file or directory
../../include/ipsecconf/confread.h:25:10: fatal error: sys/queue.h: No such file or directory
Comment 3 Larry the Git Cow gentoo-dev 2022-02-03 09:34:08 UTC
The bug has been closed via the following commit(s):

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

commit 4745d7a71e44aa6a64ce554e60b0752f6f16e244
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-02-03 09:10:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-02-03 09:33:56 +0000

    net-vpn/libreswan: fix build on musl
    
    - Add queue-standalone for musl
    - Define -DGLIBC_KERN_FLIP_HEADERS to workaround header conflict
    
    Closes: https://bugs.gentoo.org/832617
    Signed-off-by: Sam James <sam@gentoo.org>

 net-vpn/libreswan/libreswan-4.6.ebuild | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)