Am Montag, 18. August 2014, 11:35:38 schrieb Dustin Demuth:
> After building openvassd, I'm trying to create a rpm for
> openvas-scanner-release-4.0.2, with "cpack -G RPM".
> Unfortunately the process fails, as the man-pages are renamed/converted
> to *.8.gz and cpack can not find the original file anymore (see verbose
> output of cpack below). The files seem to be generated on the fly by
> cpack, so renaming them had no effect.
> 
> So I have two questions:
> a) What do I have to change to include the generated *.8.gz files into
> the rpm instead of the *.8 files?
> 
> b) Or alternatively to a), How can cpack be told not to compress/rename
> the *.8 files?
> 
>...
>
> /RPM/openvas-scanner-4.0.2/usr/share/man/man8/greenbone-nvt-sync.8 ***
> CPack Verbose: Copying final package(s) [1]:
> CPack Error: Problem copying the package:
> /home/build/openvas/openvassd/openvas-scanner-release-4.0.2/_CPack_Packages
> //RPM/openvas-scanner-4.0.2.rpm to
> /home/build/openvas/openvassd/openvas-scanner-release-4.0.2/openvas-scanner
> -4.0.2.rpm CPack Error: Error when generating package: openvas-scanner

Running "cpack -G RPM -V" in my build directory in trunk shows no error
and produces a rpm package.
I am not a packaging expert thoug, perhaps others here have an idea.

-- 
Dr. Jan-Oliver Wagner |  ++49-541-335084-0  |  http://www.greenbone.net/
Greenbone Networks GmbH, Neuer Graben 17, 49074 Osnabrück | AG Osnabrück, HR B 
202460
Geschäftsführer: Lukas Grunwald, Dr. Jan-Oliver Wagner
_______________________________________________
Openvas-discuss mailing list
[email protected]
https://lists.wald.intevation.org/cgi-bin/mailman/listinfo/openvas-discuss

Reply via email to