On 30/09/2014 20:34, Richard Shaw wrote:

Hi Richard,
> I'm not sure why it worked for others (or perhaps why it was broken 
> for me) but building an "official" rpm for Fedora I got an error with 
> gzip.
>
> Looking at the CMake config, it seems the man pages were being 
> "globbed" for zipping instead of specifing the specific file. Maybe it 
> was a parallel make problem since if it ran only 1 job at a time the 
> problem may not surface.
The glob is necessary because a2x can produce multiple manpages from one 
source because of alias manpages.

There is a problem somewhere and parallel make is the culprit. In all 
cases I have simply run the make command again and so far it has always 
worked the second time.
>
> My fix was to specify the specific file instead of globbing and that 
> seemed to fix it for me.
>
> On a side note, I'm not sure about Debian, but rpmbuild for 
> Fedora/Suse/Centos/etc will automatically gzip a man page if the 
> project doesn't do it.

Ah! That's good to know, if the Debian tool does the same that might 
solve another issue for me.
>
> diff -Naur wsjtx-1.4.orig/manpages/CMakeLists.txt 
> wsjtx-1.4/manpages/CMakeLists.txt
> --- wsjtx-1.4.orig/manpages/CMakeLists.txt      2014-09-27 
> 14:50:37.623562000 -0500
> +++ wsjtx-1.4/manpages/CMakeLists.txt   2014-09-30 14:23:07.125827865 
> -0500
> @@ -55,7 +55,7 @@
>  # manpage usage on RPM installs
>  #
>  #      COMMAND ${SED_EXECUTABLE} ARGS -e "'s@.so @&man${section}/@'" 
> -i.orig "${d}/*.${section}"
> -      COMMAND ${GZIP_EXECUTABLE} ARGS -f9 "${d}/*.${section}"
> +      COMMAND ${GZIP_EXECUTABLE} ARGS -f9 "${o}"
>        DEPENDS "${f}"
>        COMMENT "Generating ${o}.gz"
>        )
> --- end ---
>
> Thanks,
> Richard
73
Bill
G4WJS.

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
wsjt-devel mailing list
wsjt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wsjt-devel

Reply via email to