| Summary: | net-misc/openswan - cannot install versions 2.4.15-r2, 2.6.29 and 2.6.31 when hostname has whitespace | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | slaterc |
| Component: | New packages | Assignee: | Alin Năstac (RETIRED) <mrness> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jmbsvicetto |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Outputs for emerge --info, emerge -pqv and the build log | ||
|
Description
slaterc
2011-02-24 11:14:15 UTC
Created attachment 263677 [details]
Outputs for emerge --info, emerge -pqv and the build log
x86_64-pc-linux-gnu-gcc -march=k8 -O2 -pipe -fno-strict-aliasing -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/ports/linux/include -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/ports/linux/include -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/ports/linux/include -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/programs/pluto/linux26 -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/include -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/lib/libcrypto -I/var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/linux/include -DIPSECPOLICY -DPLUTO_SENDS_VENDORID -DUSE_KEYRR -DDYNAMICDNS -DNETKEY_SUPPORT -DKERNEL26_HAS_KAME_DUPLICATES -DPFKEY -DX509_PLUTO -DHAVE_THREADS -DPLUTO -DKLIPS -DHAVE_UDPFROMTO -DPFKEY -DKLIPS_MAST -DBUILDER=\"@SlaterC - Laptop\" -DDEBUG -DUSE_AES -DUSE_3DES -DIKE_ALG -DKERNEL_ALG -DAGGRESSIVE -DXAUTH -DMODECFG -DMODECFG_DNSWINS -DXAUTH_USEPAM -DNAT_TRAVERSAL -DI_KNOW_TRANSPORT_MODE_HAS_SECURITY_CONCERN_BUT_I_WANT_IT -DLEAK_DETECTIVE -DSHARED_SECRETS_FILE=\"/etc/ipsec.secrets\" -DPOLICYGROUPSDIR=\"/etc/ipsec.d/policies\" -DPERPEERLOGDIR=\"/var/log/pluto/peer\" -march=k8 -O2 -pipe -fno-strict-aliasing -Wall -W -Wmissing-prototypes -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-declarations -Wwrite-strings -Wstrict-prototypes -DALLOW_MICROSOFT_BAD_PROPOSAL -c /var/tmp/portage/net-misc/openswan-2.6.31/work/openswan-2.6.31/programs/pluto/connections.c x86_64-pc-linux-gnu-gcc: Laptop": No such file or directory Given the "-DBUILDER=\"@SlaterC - Laptop\" in the above, might the environment be polluting the build and causing the break?
>
> Given the "-DBUILDER=\"@SlaterC - Laptop\" in the above, might the environment
> be polluting the build and causing the break?
>
I changed the hostname to one without spaces and everything built perfectly.
Thank you for the prompt reply.
@mrness: Is there any way to prevent the build to fail when the hostname has whitespace? If not, what do you feel about adding a warning in pkg_postinst? |