* [WIP Patch] tripwire; "install" duplicate filenames?
@ 2017-02-15 4:10 Danny Milosavljevic
2017-03-07 14:44 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Danny Milosavljevic @ 2017-02-15 4:10 UTC (permalink / raw)
To: guix-devel
Hi,
does anyone know how I can easily fix "install" complaining about a file being specified multiple times (in an upstream project)?
The error messages I get (among other similar ones):
/gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install -c -m 644 twconfig.4 twpolicy.4 twconfig.4 twpolicy.4 '/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4'
/gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install: will not overwrite just-created '/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4/twconfig.4' with 'twconfig.4'
/gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install: will not overwrite just-created '/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4/twpolicy.4' with 'twpolicy.4'
See below:
diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index be03f6430..f396d7e1f 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -1926,3 +1926,39 @@ in order to be able to find it.
@item @command{sunxi-nand-image-builder}: Prepares raw NAND images.
@end enumerate")
(license license:gpl2+)))
+
+(define-public tripwire
+ (package
+ (name "tripwire")
+ (version "2.4.3.2")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://github.com/Tripwire/tripwire-open-source/archive/" version ".tar.gz"))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0azxk0nz9hp9410mzpch4rxj7hsjiv1bzrfwndc0kxhsbxc8qn15"))))
+ (build-system gnu-build-system)
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'fix-man-installation
+ (lambda _
+ (zero? (system* "sh" "autogen.sh"))
+ ; (substitute* '("man/man4/Makefile.in"
+ ; "man/man5/Makefile.in"
+ ; "man/man8/Makefile.in")
+ ; ;; Remove duplicate man pages (installation fails otherwise)
+; (("^dist_man_MANS = .*") ""))
+; #t
+)))))
+ (native-inputs
+ `(("automake" ,automake)
+ ("autoconf" ,autoconf)
+ ("libtool" ,libtool)))
+ (inputs
+ `())
+ (synopsis "tripwire")
+ (description "FIXME")
+ (home-page "FIXME")
+ (license license:gpl2+)))
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [WIP Patch] tripwire; "install" duplicate filenames?
2017-02-15 4:10 [WIP Patch] tripwire; "install" duplicate filenames? Danny Milosavljevic
@ 2017-03-07 14:44 ` Ludovic Courtès
2017-03-08 9:59 ` Danny Milosavljevic
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-03-07 14:44 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: guix-devel
Danny Milosavljevic <dannym@scratchpost.org> skribis:
> Hi,
>
> does anyone know how I can easily fix "install" complaining about a file being specified multiple times (in an upstream project)?
>
> The error messages I get (among other similar ones):
>
> /gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install -c -m 644 twconfig.4 twpolicy.4 twconfig.4 twpolicy.4 '/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4'
> /gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install: will not overwrite just-created '/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4/twconfig.4' with 'twconfig.4'
> /gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install: will not overwrite just-created '/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4/twpolicy.4' with 'twpolicy.4'
Looks like a harmless warning. I would not bother about it. :-)
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [WIP Patch] tripwire; "install" duplicate filenames?
2017-03-07 14:44 ` Ludovic Courtès
@ 2017-03-08 9:59 ` Danny Milosavljevic
2017-03-09 12:42 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Danny Milosavljevic @ 2017-03-08 9:59 UTC (permalink / raw)
To: Ludovic Courtès; +Cc: guix-devel
Hi Ludo,
On Tue, 07 Mar 2017 15:44:41 +0100
ludo@gnu.org (Ludovic Courtès) wrote:
> Danny Milosavljevic <dannym@scratchpost.org> skribis:
>
> > Hi,
> >
> > does anyone know how I can easily fix "install" complaining about a file being specified multiple times (in an upstream project)?
> >
> > The error messages I get (among other similar ones):
> >
> > /gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install -c -m 644 twconfig.4 twpolicy.4 twconfig.4 twpolicy.4 '/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4'
> > /gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install: will not overwrite just-created '/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4/twconfig.4' with 'twconfig.4'
> > /gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install: will not overwrite just-created '/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4/twpolicy.4' with 'twpolicy.4'
>
> Looks like a harmless warning. I would not bother about it. :-)
Well, the build fails. Do you think it's because of something else? :)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [WIP Patch] tripwire; "install" duplicate filenames?
2017-03-08 9:59 ` Danny Milosavljevic
@ 2017-03-09 12:42 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2017-03-09 12:42 UTC (permalink / raw)
To: Danny Milosavljevic; +Cc: guix-devel
Danny Milosavljevic <dannym@scratchpost.org> skribis:
> Hi Ludo,
>
> On Tue, 07 Mar 2017 15:44:41 +0100
> ludo@gnu.org (Ludovic Courtès) wrote:
>
>> Danny Milosavljevic <dannym@scratchpost.org> skribis:
>>
>> > Hi,
>> >
>> > does anyone know how I can easily fix "install" complaining about a file being specified multiple times (in an upstream project)?
>> >
>> > The error messages I get (among other similar ones):
>> >
>> > /gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install -c -m 644 twconfig.4 twpolicy.4 twconfig.4 twpolicy.4 '/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4'
>> > /gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install: will not overwrite just-created '/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4/twconfig.4' with 'twconfig.4'
>> > /gnu/store/9xfn6q7cxqxaxsv6kgiic9iygl2iv2ci-coreutils-8.25/bin/install: will not overwrite just-created '/gnu/store/777fr26j9g5wr0d1pgz83a21s518b6hh-tripwire-2.4.3.2/share/man/man4/twpolicy.4' with 'twpolicy.4'
>>
>> Looks like a harmless warning. I would not bother about it. :-)
>
> Well, the build fails. Do you think it's because of something else? :)
I don’t know. :-)
At any, the problem here is that the same file appears several times on
the command line. Perhaps this can be fixed by patching the makefile
that runs this command?
My 2¢,
Ludo’.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-09 12:42 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-15 4:10 [WIP Patch] tripwire; "install" duplicate filenames? Danny Milosavljevic
2017-03-07 14:44 ` Ludovic Courtès
2017-03-08 9:59 ` Danny Milosavljevic
2017-03-09 12:42 ` Ludovic Courtès
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.