Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • apparmor apparmor
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 146
    • Issues 146
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 28
    • Merge requests 28
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • AppArmorAppArmor
  • apparmorapparmor
  • Issues
  • #206
Closed
Open
Issue created Jan 07, 2022 by Dominique Leuenberger@DimStar77

Apparmor 3.0.3 fails to build against Ruby 3.1

Originally reported downstream: https://bugzilla.opensuse.org/show_bug.cgi?id=1194221

Ruby 3.1 has been released in Dec 2021; trying to rebuild AppArmor against Ruby 3.1 fails though:

[   51s] creating Makefile
[   51s] extconf.rb:30:in `foreach': No such file or directory @ rb_sysopen - Makefile.new (Errno::ENOENT)
[   51s] 	from extconf.rb:30:in `block in <main>'
[   51s] 	from extconf.rb:10:in `block in open'
[   51s] 	from extconf.rb:10:in `open'
[   51s] 	from extconf.rb:10:in `open'
[   51s] 	from extconf.rb:29:in `<main>'
[   51s] make[2]: *** [Makefile:472: Makefile.ruby] Error 1
[   51s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/apparmor-3.0.3/libraries/libapparmor/swig/ruby'
[   51s] make[1]: *** [Makefile:376: all-recursive] Error 1
[   51s] make[1]: Leaving directory '/home/abuild/rpmbuild/BUILD/apparmor-3.0.3/libraries/libapparmor/swig'
[   51s] make: *** [Makefile:408: all-recursive] Error 1

Full build log available at https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:L/apparmor/standard/x86_64

Assignee
Assign to
Time tracking