Project

General

Profile

Actions

Bug #16416

closed

Suspicious include directories.

Added by vo.x (Vit Ondruch) over 4 years ago. Updated almost 4 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.7.0dev (2019-12-10 master af11efd377) [x86_64-linux]
[ruby-core:96207]
Tags:

Description

There are created suspicious include directories:

$ cd /usr/local/include/
[vondruch@localhost include]$ tree
.
└── ruby-2.7.0
    ├── ruby
    │   ├── assert.h
    │   ├── backward
    │   │   ├── classext.h
    │   │   ├── cxxanyargs.hpp
    │   │   ├── rubyio.h
    │   │   ├── rubysig.h
    │   │   ├── st.h
    │   │   └── util.h
    │   ├── backward.h
    │   ├── debug.h
    │   ├── defines.h
    │   ├── digest.h
    │   ├── encoding.h
    │   ├── intern.h
    │   ├── io.h
    │   ├── missing.h
    │   ├── onigmo.h
    │   ├── oniguruma.h
    │   ├── regex.h
    │   ├── re.h
    │   ├── ruby.h
    │   ├── st.h
    │   ├── subst.h
    │   ├── thread.h
    │   ├── thread_native.h
    │   ├── util.h
    │   ├── version.h
    │   └── vm.h
    ├── ruby.h
    ├── ruby-2.7.0
    │   └── x86_64-linux
    └── x86_64-linux
        ├── rb_mjit_min_header-2.7.0.h
        └── ruby
            └── config.h

My concern is specifically the ruby-2.7.0/ruby-2.7.0 directory structure.


Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #15425: Store MJIT header into Ruby versioned directory.Closedk0kubun (Takashi Kokubun)Actions
Actions #1

Updated by vo.x (Vit Ondruch) over 4 years ago

  • Related to Feature #15425: Store MJIT header into Ruby versioned directory. added

Updated by vo.x (Vit Ondruch) over 4 years ago

This is very likely created here:

https://github.com/ruby/ruby/blob/40026a408df5e3576380f6c1d8bf6c119fa2e32b/common.mk#L241

But it is not clear to me under what conditions this directory is used.

Updated by jeremyevans0 (Jeremy Evans) almost 4 years ago

  • Status changed from Open to Closed

Looking at my include directories, I see directories such as:

/path/to/include/ruby-2.7/ruby-2.6/x86_64-openbsd
/path/to/include/ruby-2.7/ruby-2.7/x86_64-openbsd

but nothing similar for 2.8 even though 2.8 is also installed. I'm guessing this issue has been fixed in the master branch. If it still occurs for you in the master branch, please respond and we can reopen. Maybe the fix was in 33d02e6bc7502c5a3f09c59908a8c9f08a474b8d, which skipped installing empty directories?

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0