Bug 1674923

Summary: gazebo: FTBFS in Fedora rawhide/f30
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: gazeboAssignee: Rich Mattes <richmattes>
Status: CLOSED NEXTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jwakely, logans, richmattes, robotics
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-14 09:15:31 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1676717    
Bug Blocks: 1674516, 1674872    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2019-02-11 17:15:43 UTC
gazebo failed to build from source in Fedora rawhide/f30

https://koji.fedoraproject.org/koji/taskinfo?taskID=32385968


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Please fix gazebo at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
gazebo will be orphaned. Before branching of Fedora 31,
gazebo will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Fedora Release Engineering 2019-02-11 17:15:45 UTC
Created attachment 1530047 [details]
build.log

file build.log too big, will only attach last 1024 bytes

Comment 2 Fedora Release Engineering 2019-02-11 17:15:46 UTC
Created attachment 1530048 [details]
root.log

file root.log too big, will only attach last 1024 bytes

Comment 3 Fedora Release Engineering 2019-02-11 17:15:48 UTC
Created attachment 1530049 [details]
state.log

Comment 4 Jonathan Wakely 2019-02-11 21:42:18 UTC
-- BUILD ERRORS: These must be resolved before compiling.
-- 	Boost not found. Please install thread signals system filesystem program_options regex date_time boost version 1.40.0 or higher.
-- END BUILD ERRORS

The Boost.Signals library has been removed from the version of Boost in rawhide. The code should be ported to use Boost.Signals2 (or if the check is unnecessary, just stop checking for Boost.Signals).

Comment 5 Rich Mattes 2019-02-12 02:48:11 UTC
Fixed the problem with boost::signals, now I'm working through a problem linking to libfreeimage:

make[2]: Leaving directory '/builddir/build/BUILD/gazebo-9.5.0/build'
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `Imf_2_2::RgbaInputFile::~RgbaInputFile()'
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `PKFormatConverter_EnumConversions'
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `Iex_2_2::BaseExc::~BaseExc()'
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `GUID_PKPixelFormat128bppRGBAFloat'
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `GUID_PKPixelFormat64bppRGBA'
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `vtable for LibRaw_abstract_datastream'
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `WebPMuxSetImage'
<snip>
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `PKImageEncode_SetEXIFMetadata_WMP'
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `GUID_PKPixelFormat8bppGray'
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `PKFreeAligned'
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `half::convert(int)'
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `GUID_PKPixelFormat16bppRGB565'
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `Imf_2_2::RgbaInputFile::readPixels(int, int)'
BUILDSTDERR: /usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/9/../../../../lib64/libfreeimage.so: undefined reference to `Imf_2_2::OutputFile::~OutputFile()'
BUILDSTDERR: collect2: error: ld returned 1 exit status

https://koji.fedoraproject.org/koji/taskinfo?taskID=32750201

Comment 6 Igor Raits 2019-02-14 09:15:31 UTC
There has been at least one successfull build after mass rebuild.

gazebo-9.5.0-3.fc30: https://koji.fedoraproject.org/koji/buildinfo?buildID=1186905