Bug 191930 - openswan Package won't build in mock
Summary: openswan Package won't build in mock
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openswan
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Harald Hoyer
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: BuildReqBlocker
TreeView+ depends on / blocked
 
Reported: 2006-05-16 14:54 UTC by Andreas Thienemann
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-05-17 11:57:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
TypoFix (510 bytes, patch)
2006-05-16 14:54 UTC, Andreas Thienemann
no flags Details | Diff

Description Andreas Thienemann 2006-05-16 14:54:55 UTC
openswan-2.5.4-1 won't build in mock.

cc  -I/builddir/build/BUILD/openswan-2.4.5/programs/pluto/linux26
-I/builddir/build/BUILD/openswan-2.4.5/include
-I/builddir/build/BUILD/openswan-2.4.5/lib/libcrypto
-I/builddir/build/BUILD/openswan-2.4.5/linux/include    -DPLUTO_SENDS_VENDORID
-DUSE_KEYRR   -DKERNEL26_SUPPORT -DKERNEL26_HAS_KAME_DUPLICATES 
-DX509_VERSION=\"X.509-1.5.4\"    -DPLUTO -DKLIPS
-DBUILDER=\"mockbuild.us.dell.com\" -DDEBUG -DGCC_LINT
-DUSE_AES -DUSE_3DES -DIKE_ALG -DKERNEL_ALG -DDB_CONTEXT -DAGGRESSIVE -DXAUTH
-DMODECFG  -DNAT_TRAVERSAL -DVIRTUAL_IP 
-DI_KNOW_TRANSPORT_MODE_HAS_SECURITY_CONCERN_BUT_I_WANT_IT    
-DSHARED_SECRETS_FILE=\"/etc/ipsec.secrets\"
-DPOLICYGROUPSDIR=\"/etc/ipsec.d/policies\"
-DPERPEERLOGDIR=\"/var/log/pluto/peer\" -g -Wall -W -Wmissing-prototypes
-Wpointer-arith -Wbad-function-cast -Wcast-qual -Wmissing-declarations
-Wwrite-strings -Wstrict-prototypes  -g -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4
-m64 -mtune=generic -fPIE -pie -c server.c
server.c: In function 'process_raw_ifaces':
server.c:782: error: expected ';' before 'q'
make[2]: *** [server.o] Error 1
make[2]: Leaving directory `/builddir/build/BUILD/openswan-2.4.5/programs/pluto'
make[1]: *** [programs] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/openswan-2.4.5/programs'
make: *** [programs] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.36159 (%build)

Attached is a patch to fix the missing ; after the INSERT_LIST_HEAD() macro

Comment 1 Andreas Thienemann 2006-05-16 14:54:55 UTC
Created attachment 129200 [details]
TypoFix

Comment 2 Peter Bieringer 2006-10-12 09:16:18 UTC
Same problem occurs on FC5 with openswan-2.4.4-1.1.2.1.src.rpm, would it be
possible to provide an updated package for FC5 also.

BTW: I'm wondering, how ever building on FC5 has worked...looks like older
versions of gcc were more relaxed.


Note You need to log in before you can comment on or make changes to this bug.