Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300161 - [PATCH] net-firewall/ipsec-tools-0.7.3 has duplicate filenames in automake.am which causes failures with automake-1.11
Summary: [PATCH] net-firewall/ipsec-tools-0.7.3 has duplicate filenames in automake.am...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-08 13:43 UTC by Martin Väth
Modified: 2010-01-09 23:20 UTC (History)
0 users

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


Attachments
Pach to remove duplicate specification of vmbuf.h (ipsec-tools-duplicate.patch,440 bytes, patch)
2010-01-08 13:45 UTC, Martin Väth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2010-01-08 13:43:43 UTC
src/racoon/Makefile.am specifies by mistake the file vmbuf.h twice.

This might work as long as implicity only automake-1.10.* is used for
eautoreconf, but it fails with automake-1.11 (and current coreutils-7.5-r1)
since these more recent versions of automake combine the files to one
"install" call, and "install" dies if the same file is listed
twice on the command line:

 /usr/bin/install -c -m 644 racoonctl.h var.h vmbuf.h misc.h gcmalloc.h admin.h schedule.h sockmisc.h vmbuf.h isakmp_var.h isakmp.h isakmp_xauth.h isakmp_cfg.h isakmp_unity.h ipsec_doi.h evt.h '/var/tmp/portage/net-firewall/ipsec-tools-0.7.3/image//usr/include/racoon'
  [...]
/usr/bin/install: will not overwrite just-created `/var/tmp/portage/net-firewall/ipsec-tools-0.7.3/image//usr/include/racoon/vmbuf.h' with `vmbuf.h'
make[4]: *** [install-include_racoonHEADERS] Error 1
make[4]: *** Waiting for unfinished jobs....

This problem is similar to bug 267926 or bug 269372 or bug 277244
I attach a patch which removes the duplicate occurrence of vmbuf.h
Comment 1 Martin Väth 2010-01-08 13:45:12 UTC
Created attachment 215649 [details, diff]
Pach to remove duplicate specification of vmbuf.h
Comment 2 Patrick Lauer gentoo-dev 2010-01-08 21:50:40 UTC
worksforme, so patch not applied.
Comment 3 Martin Väth 2010-01-09 13:07:55 UTC
(In reply to comment #2)
> worksforme

because eautoreconf currently uses automake-1.10; it fails e.g. if you have
WANT_AUTOMAKE=1.11 in the environment or when the autotools eclass will get
updated to use a more current automake.

What is more important: It really is a bug which just "by accident" causes
for automake-1.10 not an error exit but "just" a redundant copying of the same
file twice.
Comment 4 Víctor Ostorga (RETIRED) gentoo-dev 2010-01-09 23:20:20 UTC
It makes sense to fix the duplicate file entry, thanks for the patch!

+  09 Jan 2010; Víctor Ostorga <vostorga@gentoo.org>
+  ipsec-tools-0.7.3.ebuild, +files/ipsec-tools-duplicate-header.patch:
+  Fixing duplicate filename in automake.aminclude header, patch thanks to
+  Martin Väth <vaeth@mathematik.uni-wuerzburg.de> , bug #300161
+