| Summary: | net-analyzer/dsniff-2.4_beta1-r5 fails to merge with "No rule to make target mount.h, needed by pcaputil.o" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Willard Dawson <willard.dawson> |
| Component: | Current packages | Assignee: | Gentoo Netmon project <netmon> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | dkarasik, konrad.karczewski |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Build log
Emerge info Emerge -pqv Emerge environment |
||
|
Description
Willard Dawson
2010-09-21 01:23:13 UTC
Created attachment 248236 [details]
Build log
Created attachment 248238 [details]
Emerge info
Created attachment 248240 [details]
Emerge -pqv
Created attachment 248242 [details]
Emerge environment
The problem is in Makefile.in - there are no separate rules for rpc_gen -h and -c, while the dependencies on source and headers are separate. This fixes the issue:
diff -Nau Makefile.in.old Makefile.in
--- Makefile.in.old 2010-09-21 15:44:25.973159833 +0200
+++ Makefile.in 2010-09-21 15:45:29.581190137 +0200
@@ -82,13 +82,17 @@
$(OBJS): $(GEN)
mount.c: mount.x
- rpcgen -h mount.x -o mount.h
rpcgen -c mount.x -o mount.c
+mount.h: mount.x
+ rpcgen -h mount.x -o mount.h
+
nfs_prot.c: nfs_prot.x
- rpcgen -h nfs_prot.x -o nfs_prot.h
rpcgen -c nfs_prot.x -o nfs_prot.c
+nfs_prot.h: nfs_prot.x
+ rpcgen -h nfs_prot.x -o nfs_prot.h
+
$(LIBOBJS):
$(CC) $(CFLAGS) $(INCS) -c $(srcdir)/missing/$*.c
*** This bug has been marked as a duplicate of bug 338086 *** |