Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • B Bio-DB-HTS
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 6
    • Issues 6
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Jira
    • Jira
  • Merge requests 0
    • Merge requests 0
  • Requirements
    • Requirements
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
    • Value stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ensembl-gh-mirror
  • Bio-DB-HTS
  • Issues
  • #29

Closed
Open
Created Jul 20, 2016 by Marek Szuba@mks

Build failure under Fedora 23

Created by: biogberg

Build fails under Fedora 23 (4.3.3-303.fc23.x86_64). Perl is 5.22.1 (system), gcc is 5.3.1 (system). perl Build.PL runs cleanly.

Output from perl Build build is shown at the end. Compilation dies on: cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security]

It seems to be due to a clash between an option set in Build.PL and options originating in Config_heavy.pm.

Changing -Werror=format-security to -Wno-error=format-security, leads to different compilation errors: <command-line>:0:12: error: expected ')' before numeric constant occurring twice.


Complete compilation output:

Building Bio-DB-HTS gcc -I/opt/ghpc/include/htslib -I/usr/lib64/perl5/CORE -DVERSION="2.3" -DXS_VERSION="2.3" -fPIC -D_IOLIB=2 -D_FILE_OFFSET_BITS=64 -Wno-error -Wformat=0 -Wno-unused-result -c -D_REENTRANT -D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=native -fwrapv -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -g -o lib/Bio/DB/HTS/Faidx.o lib/Bio/DB/HTS/Faidx.c cc1: error: -Wformat-security ignored without -Wformat [-Werror=format-security] cc1: some warnings being treated as errors error building lib/Bio/DB/HTS/Faidx.o from 'lib/Bio/DB/HTS/Faidx.c' at /usr/share/perl5/vendor_perl/ExtUtils/CBuilder/Base.pm line 174.

Assignee
Assign to
Time tracking