Bug 1625204

Summary: FTBFS gpsbabel
Product: [Fedora] Fedora Reporter: Patrik Novotný <panovotn>
Component: gpsbabelAssignee: Ralf Corsepius <rc040203>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: cse.cem+redhatbugz, davejohansen, itamar, praiskup, rc040203, rhbugs
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: 2018-09-05 06:17:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Build log from failed build. none

Description Patrik Novotný 2018-09-04 11:37:47 UTC
Created attachment 1480747 [details]
Build log from failed build.

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

See attached build log (or koji build).

Comment 1 Conrad Meyer 2018-09-04 15:02:20 UTC
build.log:

/usr/bin/ld: shape.o: in function `my_write_wpt(Waypoint const*)':
/builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:271: undefined reference to `SHPCreateSimpleObject'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:275: undefined reference to `SHPWriteObject'
/usr/bin/ld: shape.o: in function `poly_deinit(route_head const*)':
/builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:302: undefined reference to `SHPCreateSimpleObject'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:304: undefined reference to `SHPWriteObject'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:305: undefined reference to `SHPDestroyObject'
/usr/bin/ld: shape.o: in function `my_wr_deinit()':
/builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:262: undefined reference to `SHPClose'
/usr/bin/ld: shape.o: in function `my_write()':
/builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:320: undefined reference to `SHPCreate'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:329: undefined reference to `SHPCreate'
/usr/bin/ld: shape.o: in function `my_rd_init(QString const&)':
/builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:59: undefined reference to `SHPOpen'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:64: undefined reference to `DBFOpen'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:105: undefined reference to `DBFGetFieldIndex'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:108: undefined reference to `DBFGetFieldIndex'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:90: undefined reference to `DBFGetFieldIndex'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:96: undefined reference to `DBFGetFieldIndex'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:75: undefined reference to `DBFGetFieldCount'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:78: undefined reference to `DBFGetFieldInfo'
/usr/bin/ld: shape.o: in function `my_read()':
/builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:118: undefined reference to `SHPGetInfo'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:128: undefined reference to `SHPReadObject'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:165: undefined reference to `DBFReadStringAttribute'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:236: undefined reference to `SHPDestroyObject'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:130: undefined reference to `DBFReadStringAttribute'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:151: undefined reference to `DBFReadStringAttribute'
/usr/bin/ld: /builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:149: undefined reference to `DBFGetFieldIndex'
/usr/bin/ld: shape.o: in function `my_rd_deinit()':
/builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:250: undefined reference to `SHPClose'
/usr/bin/ld: shape.o: in function `my_write_wpt(Waypoint const*)':
/builddir/build/BUILD/gpsbabel-1.5.4/shape.cc:276: undefined reference to `SHPDestroyObject'
collect2: error: ld returned 1 exit status

Comment 2 Ralf Corsepius 2018-09-05 05:27:06 UTC
Something seems to have changed in rawhide's ld/GCC's linker/link-library-order handling, which now is triggering a bug in gpsbabel's Makefile.in.

I am testing a patch, which hopefully fixes this BZ.