Skip to content

datatypes package fails to build in Octave 11.1.0 on Void Linux: libgomp.spec error #59745

@baylinux01

Description

@baylinux01

Is this a new report?

Yes

System Info

Void 6.12.79_1 x86_64 GenuineIntel uptodate rr

Package(s) Affected

octave-datatypes

Does a report exist for this bug with the project's home (upstream) and/or another distro?

Package: octave-datatypes 1.2.2
Octave version: 11.1.0
System: Void Linux x86_64

When installing via 'pkg install datatypes', compilation fails:

g++: fatal error: cannot read spec file 'libgomp.spec'
compilation terminated.
make: *** [Makefile:15: all] Error 1

Notes:

  • g++ 14.2.1 and libgomp 14.2.1 are installed
  • mkoctfile shows -fopenmp in ALL_CXXFLAGS but not in ALL_LDFLAGS
  • Temporary fix: export CXXFLAGS="-fopenmp" LDFLAGS="-fopenmp" CXX=g++

This seems related to Void Linux gcc toolchain and library paths.

Expected behaviour

The octave-datatypes package should compile and install without errors, allowing the use of table() and other datatypes functionality in Octave 11.1.0.

Actual behaviour

The compilation fails with a fatal error related to libgomp.spec:

g++: fatal error: cannot read spec file 'libgomp.spec'
compilation terminated.
make: *** [Makefile:15: all] Error 1

Even though g++ and libgomp are installed, the package does not link OpenMP properly, preventing successful installation.

Steps to reproduce

  1. Install Octave 11.1.0 on Void Linux x86_64.
  2. Ensure g++ and libgomp are installed.
  3. Run 'pkg install -forge datatypes'.
  4. Observe fatal error: 'cannot read spec file libgomp.spec'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-testingTesting a PR or reproducing an issue needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions