Re: cmake failure to build in rawhide?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 4/1/22 18:09, Kamil Dudka wrote:
> On Friday, April 1, 2022 5:45:38 PM CEST Hans de Goede wrote:
>> Hi All,
>>
>> While fixing a hedgewars F36 bug, the f37/rawhide build of the
>> fixed pkg is failing:
>>
>> In both F36 and F37 the invocation is:
>>
>> /usr/bin/cmake -S . -B redhat-linux-build
>> -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG
>> -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG
>> -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG
>> -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF
>> -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include
>> -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc
>> -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64
>> -DBUILD_SHARED_LIBS:BOOL=ON -DMINIMAL_FLAGS=1 -DNOVIDEOREC=1
>> -DBUILD_ENGINE_C=1 -DGHFLAGS=-dynamic
>> '-DFONTS_DIRS=/usr/share/fonts;/usr/share/fonts/google-noto-vf;/usr/share/f
>> onts/dejavu-sans-fonts;/usr/share/fonts/wqy-zenhei;' .
>  
>> Followed by a bunch of output and then weirdness happens, F37 last cmake
>> output line:
>  
>> -- Build files have been written to:
>> /builddir/build/BUILD/hedgewars-src-1.0.0
>  
>> vs F36 last output line:
>>
>> -- Build files have been written to:
>> /builddir/build/BUILD/hedgewars-src-1.0.0/redhat-linux-build
>  
>> F37 cmake seems to ignore the "-B redhat-linux-build" leading to this
>> subsequent build error:
>  
>> + /usr/bin/cmake --build redhat-linux-build -j6 --verbose
>> Error: /builddir/build/BUILD/hedgewars-src-1.0.0/redhat-linux-build is not a
>> directory
>  
>> Any help with this would be much appreciated.
>>
>> Regards,
>>
>> Hans
> 
> It is most likely this (not a) bug:

Thanks.

>     https://bugzilla.redhat.com/show_bug.cgi?id=2057738

Ugh, what a mess. Anyways I've fixed this by dropping the extra "."
at the end of the %cmake invocation.

Regards,

Hans
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux