bugGNU Octave - Bugs: bug #47460, Error when running make relating...

 
 

bug #47460: Error when running make relating to ‘unique_ptr’ is not a member of ‘std’

Submitter:  Keith <bollocks>
Submitted:  Fri 18 Mar 2016 08:07:18 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Build Failure
Status:  Works For Me Assigned to:  None
Originator Name:  bollocks Open/Closed:  * Closed
Release:  * dev Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 18 Mar 2016 10:56:30 PM UTC, comment #3: 

Yes, the change I just made is using a bleeding edge addition to gnulib. If you want to use an external gnulib, use the gnulib git repository. For example I have gnulib cloned in ~/src/gnulib, so I could


cd ~/src/gnulib
git pull
cd ~/src/octave/default
./bootstrap --gnulib-srcdir=$HOME/src/gnulib


and that should be ok.

Closing this report since it's working correctly. Thanks for double-checking.

Mike Miller <mtmiller>
Group Member
Fri 18 Mar 2016 09:59:52 PM UTC, comment #2: 

I recloned the repo and made two copies.  In one copy I ran plain ./bootstrap and it compiled.  In the other I used my bootstrap script which calls

./bootstrap --gnulib-srcdir=/usr/bin


This worked until today.  I get this error when I run my bootstrap script:
gnulib-tool: warning: module std-gnu11 doesn't exist

I checked and my gnulib package is up to date. My package manager reports my gnulib-devel packages version as 0-15.20150928git.fc23.  Could this be because Fedora hasn't caught up with a new gnulib feature?

Keith <bollocks>
Fri 18 Mar 2016 08:19:00 PM UTC, comment #1: 

Please try running ./bootstrap again in your mercurial clone and building again from scratch. I made a change recently to the configure script that needs to be re-bootstrapped to work properly.

Mike Miller <mtmiller>
Group Member
Fri 18 Mar 2016 08:07:18 PM UTC, original submission:  

I get an error when trying to make octave from the Mercurial source.  I believe it is a compile error.  Perhaps specifying the namespace std for unique_ptr isn't necessary.  I don't know because there weren't unique_ptrs when I used to know C++.

I've attached a file containing the last 256 lines from running the command

make -d -j 4


I'm running this on Fedora 23 XFCE spin.  I'm using a laptop with x86_64 architecture.

Keith <bollocks>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #36691:  mouttrunc.txt added by bollocks (18KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by bollocks (Submitted the item)
  • -email is unavailable- added by bollocks
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-03-18 mtmiller Open/ClosedOpen Closed
    2016-03-18 mtmiller StatusNone Works For Me
    2016-03-18 bollocks Attached File- Added mouttrunc.txt, #36691
        Carbon-Copy- Added -email is unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code