octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails


From: Maykon Chagas
Subject: [Octave-bug-tracker] [bug #46521] [octave forge] (communications) fails to build with latest dev octave
Date: Fri, 30 Aug 2019 08:13:45 -0400 (EDT)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:70.0) Gecko/20100101 Firefox/70.0

Follow-up Comment #24, bug #46521 (project octave):


$ hg clone http://hg.code.sf.net/p/octave/communications communications
$ cd communications
$ hg patch ../octave-5.0-2-all.patch
$ make clean                                                                  
                                                                              
                            
rm -rf communications-1.2.1 communications-1.2.1.tar.gz
communications-html.tar.gz communications-html                                
                                                                      
cd src && make clean                                                          
                                                                              
                                               
make[1]: Entering directory '/home/maykon/Downloads/communications/src'       
                                                                              
                                               
make[1]: *** No rule to make target 'clean'.  Stop.                           
                                                                              
                                               
make[1]: Leaving directory '/home/maykon/Downloads/communications/src'        
                                                                              
                                               
make: *** [Makefile:99: clean] Error 2
$ make dist
Creating package version 1.2.1 release ...                                    
                                                                              
                                               
rm -rf communications-1.2.1                                                   
                                                                              
                                               
hg archive --exclude ".hg*" --exclude Makefile --type files
communications-1.2.1                                                          
                                                                  
cd communications-1.2.1/doc && make all                                       
                                                                              
                                               
make[1]: Entering directory
'/home/maykon/Downloads/communications/communications-1.2.1/doc'              
                                                                              
                   
/bin/sh images.sh > images.mk                                                 
                                                                              
                                               
Making texinfo comms.texi                                                     
                                                                              
                                               
Function gf, does not contain texinfo help                                    
                                                                              
                                               
Function commsimages, does not contain texinfo help                           
                                                                              
                                               
makeinfo --no-split -o comms.info comms.texi                                  
                                                                              
                                               
make[1]: Leaving directory
'/home/maykon/Downloads/communications/communications-1.2.1/doc'              
                                                                              
                    
cd communications-1.2.1/src && ./bootstrap                                    
                                                                              
                                               
/bin/sh: ./bootstrap: Permission denied                                       
                                                                              
                                               
make: *** [Makefile:42: communications-1.2.1] Error 126


same error.

So I went to see what's happening.
Looks like when Makefile call bootstrap in communications-1.2.1/src/bootstrap
just use ./bootstrap doesn't call /bin/sh or any other *sh.

What have I done?
Change de Makefile, in line 42.

cd $@/src && /bin/sh bootstrap


Running make clean && make dist again, the package was built without errors.

The output:

$ make dist
Creating package version 1.2.1 release ...
rm -rf communications-1.2.1
hg archive --exclude ".hg*" --exclude Makefile --type files
communications-1.2.1
cd communications-1.2.1/doc && make all
make[1]: Entering directory
'/home/maykon/Downloads/communications/communications-1.2.1/doc'
/bin/sh images.sh > images.mk
Making texinfo comms.texi
Function gf, does not contain texinfo help
Function commsimages, does not contain texinfo help
makeinfo --no-split -o comms.info comms.texi
make[1]: Leaving directory
'/home/maykon/Downloads/communications/communications-1.2.1/doc'
cd communications-1.2.1/src && /bin/sh bootstrap
chmod -R a+rX,u+w,go-w communications-1.2.1
tar cf - --posix communications-1.2.1 | gzip -9n >
communications-1.2.1.tar.gz
rm -rf communications-1.2.1


That's it. At least to build the package. Now I have to look if the install
process goes smoothly


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?46521>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]