Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 178108

Summary: sci-mathematics/octave-2.1.73-r2 build fails with libtool-1.5.23b
Product: Gentoo Linux Reporter: Volkmar Glauche <volkmar.glauche>
Component: Current packagesAssignee: Gentoo Science Mathematics related packages <sci-mathematics>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 169581    
Attachments: build log
emerge --info
octMakefile
config.log

Description Volkmar Glauche 2007-05-11 20:40:13 UTC
seems to be the "sed" error.

Reproducible: Always

Steps to Reproduce:
1. emerge octave-2.1.73-r2
2.
3.

Actual Results:  
build fails.
Comment 1 Volkmar Glauche 2007-05-11 20:41:36 UTC
Created attachment 118907 [details]
build log
Comment 2 Markus Dittrich (RETIRED) gentoo-dev 2007-05-12 14:59:26 UTC
Hi Volkmar,

Thanks for your bug report! I don't think octave uses libtool and the
cause for your problems probably lies somewhere else (please correct
me if I am wrong). It builds fine with libtool-1.5.23b on my dev boxes.

Could you please post your emerge --info and have a look at 
octMakefile to see if there's something obviously broken.

Thanks,
Markus
Comment 3 Volkmar Glauche 2007-05-13 07:38:27 UTC
Created attachment 119070 [details]
emerge --info
Comment 4 Volkmar Glauche 2007-05-13 07:38:46 UTC
Created attachment 119072 [details]
octMakefile
Comment 5 Volkmar Glauche 2007-05-13 07:40:25 UTC
Created attachment 119073 [details]
config.log

I think the problem is with the configure test for sed - it does not find sed, but does not fail either.
Comment 6 Markus Dittrich (RETIRED) gentoo-dev 2007-05-17 12:00:06 UTC
(In reply to comment #5)
> Created an attachment (id=119073) [edit]
> config.log
> 
> I think the problem is with the configure test for sed - it does not find sed,
> but does not fail either.
> 

In this case I assume that in Makeconf you have the line 
SED = 
instead of
SED = /bin/sed

Which version of sed do you have installed and could you
possibly try reemerging it.

Thanks,
Markus
Comment 7 Volkmar Glauche 2007-05-18 07:06:13 UTC
~ # sed --version
GNU sed version 4.1.5
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,
to the extent permitted by law.

There is no mention of a SED variable anywhere in /etc/make.conf or /etc/make.conf.example (I built my make.conf from this example file). Is this documented somewhere else?

Re-emerging sed (same version, same use flags) seems to solve this issue, however.
Comment 8 Markus Dittrich (RETIRED) gentoo-dev 2007-05-19 01:10:28 UTC
Hi  Volkmar,

I am glad it works! Just to clarify, I was not referring to gentoo's
/etc/make.conf but rather to the file Makeconf in octave's build
directory; there indeed is not SED variable in /etc/make.conf ;)

I suspect there was a problem with your sed binary that caused
the test in octave's configure to fail. Unfortunately, configure
decided to keep going anyway instead of doing the right thing
and quitting.

cheers,
Markus