Bug 1400178

Summary: [Tracker] Errors in mariadb-10.1.x at a build time
Product: [Fedora] Fedora Reporter: Michal Schorm <mschorm>
Component: mariadbAssignee: Michal Schorm <mschorm>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: 28CC: daniel, dciabrin, hhorak, jakub.dornak, jstanek, mmuzila, mschorm, praiskup
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-06-14 22:21:44 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:

Description Michal Schorm 2016-11-30 16:05:18 UTC
General info:
 Currently, there are two types of errors, that are occuring, but won't stop the build process.
  ├── troff: fatal error ...
  └── readelf: Error ...


_________________________________________________________________________

[ 27%] Generating user.ps
cd /builddir/build/BUILD/mariadb-10.1.19/dbug && /usr/bin/groff -mm /builddir/build/BUILD/mariadb-10.1.19/dbug/user.r > user.ps || touch user.ps
troff: fatal error: can't find macro file m

[ 27%] Generating user.t
cd /builddir/build/BUILD/mariadb-10.1.19/dbug && /usr/bin/nroff -mm /builddir/build/BUILD/mariadb-10.1.19/dbug/user.r > user.t || touch user.t
troff: fatal error: can't find macro file m

_________________________________________________________________________

extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/mysql_tzinfo_to_sql
readelf: Error: the dynamic segment offset + size exceeds the size of the file
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/mysql_client_test
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/mysql_waitpid
readelf: Error: the dynamic segment offset + size exceeds the size of the file
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/resolve_stack_dump
readelf: Error: the dynamic segment offset + size exceeds the size of the file
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/replace
readelf: Error: the dynamic segment offset + size exceeds the size of the file
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/innochecksum
readelf: Error: the dynamic segment offset + size exceeds the size of the file
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/resolveip
readelf: Error: the dynamic segment offset + size exceeds the size of the file
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/perror
readelf: Error: the dynamic segment offset + size exceeds the size of the file
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/my_print_defaults
readelf: Error: the dynamic segment offset + size exceeds the size of the file
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/mysqlslap
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/mysqladmin
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/mysqlbinlog
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/mysql_plugin
readelf: Error: the dynamic segment offset + size exceeds the size of the file
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/mysqlshow
extracting debug info from /builddir/build/BUILDROOT/mariadb-10.1.19-5.fc26.x86_64/usr/bin/mysql_upgrade
readelf: Error: the dynamic segment offset + size exceeds the size of the file

Comment 1 Fedora End Of Life 2017-02-28 10:41:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 2 Daniel Black 2017-12-17 21:50:14 UTC
"troff: fatal error: can't find macro file m" - intentional https://jira.mariadb.org/browse/MDEV-13223

I added CMake/CPack capability to create debug files in https://jira.mariadb.org/browse/MDEV-4646, this might work around the debug info errors (auto occurs with cmake version >= 3.6.0 (cmake/cpack_rpm.cmake)

Comment 3 Fedora End Of Life 2018-02-20 15:38:23 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 28 development cycle.
Changing version to '28'.