Bug#679589: code-aster-gui: fails to install

2012-07-02 Thread trophime
code-aster fails to install because dpkg-architecture could not find
gcc. To fix the issue I think I have only to add gcc to Depends... but
should it already be installed as it is required to get
dpkg-architecture working?

In other word is this really a code-aster-gui bug??

   + tr [:lower:] [:upper:]
   sh: 1: gcc: not found
   dpkg-architecture: warning: Couldn't determine gcc system type,
 falling back to default (native compilation)
   + DEB_HOST_ARCH_OS=LINUX
   + dpkg-architecture -qDEB_HOST_ARCH_BITS
   sh: 1: gcc: not found
   dpkg-architecture: warning: Couldn't determine gcc system type,
 falling back to default (native compilation)
   + DEB_HOST_ARCH_BITS=64
 
 




-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#679589: code-aster-gui: fails to install

2012-07-02 Thread Julien Cristau
On Mon, Jul  2, 2012 at 09:30:00 +0200, trophime wrote:

 code-aster fails to install because dpkg-architecture could not find
 gcc. To fix the issue I think I have only to add gcc to Depends... but
 should it already be installed as it is required to get
 dpkg-architecture working?
 
 In other word is this really a code-aster-gui bug??
 
I think the correct fix would be to *not* use dpkg-architecture at
install time, i.e. to set the default platform value at build time,
where dpkg-dev is available.

Cheers,
Julien
-- 
Julien Cristau  julien.cris...@logilab.fr
Logilab http://www.logilab.fr/
Informatique scientifique  gestion de connaissances



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#679589: code-aster-gui: fails to install

2012-07-02 Thread Bernhard R. Link
* trophime christophe.troph...@lncmi.cnrs.fr [120702 07:30]:
 code-aster fails to install because dpkg-architecture could not find
 gcc. To fix the issue I think I have only to add gcc to Depends... but
 should it already be installed as it is required to get
 dpkg-architecture working?

dpkg-architecture seems to be working fine (just outputting a warning
that the build host type is assumed to be the host type as no gcc is
installed).

The actual bug is later:

  + dc_platform= LINUX
  /var/lib/dpkg/info/code-aster-gui.config: 14:
/var/lib/dpkg/info/code-aster-gui.config: LINUX: not found

That's related to that part of code-aster-gui.config:

if [ ${dc_platform} =  ] ; then
dc_platform= ${DEB_HOST_ARCH_OS}  \
db_set astk/platform ${dc_platform}
if [ ${DEB_HOST_ARCH_BITS} = 64 ] ; then
dc_platform= ${DEB_HOST_ARCH_OS}${DEB_HOST_ARCH_BITS}  \
db_set astk/platform ${dc_platform}
fi
fi

Note the space after the = in both assignments. That says
execute ${DEB_HOST_ARCH_OS} with dc_platform set to an empty string.
And as DEB_HOST_ARCH_OS is LINUX and there is command named this way it
fails.

Bernhard R. Link



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#679589: code-aster-gui: fails to install

2012-06-29 Thread Andreas Beckmann
Package: code-aster-gui
Version: 1.10.4-3
Severity: serious
User: debian...@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed your package failed to install. As
per definition of the release team this makes the package too buggy for
a release, thus the severity.

From the attached log (scroll to the bottom...):

  Selecting previously unselected package code-aster-gui.
  (Reading database ... 9838 files and directories currently installed.)
  Unpacking code-aster-gui (from .../code-aster-gui_1.10.4-3_all.deb) ...
  Setting up code-aster-gui (1.10.4-3) ...
  + . /usr/share/debconf/confmodule
  + [ !  ]
  + PERL_DL_NONLAZY=1
  + export PERL_DL_NONLAZY
  + [  ]
  + exec /usr/share/debconf/frontend /var/lib/dpkg/info/code-aster-gui.postinst 
configure 
  + alias stripwhitespace=sed -e 's/^[[:blank:]]*//' -e 's/[[:blank:]]*$//'
  + . /usr/share/debconf/confmodule
  + [ ! 1 ]
  + [ -z  ]
  + exec
  + [  ]
  + exec
  + DEBCONF_REDIR=1
  + export DEBCONF_REDIR
  + dpkg-architecture -qDEB_HOST_ARCH_OS
  + tr [:lower:] [:upper:]
  sh: 1: gcc: not found
  dpkg-architecture: warning: Couldn't determine gcc system type, falling back 
to default (native compilation)
  + DEB_HOST_ARCH_OS=LINUX
  + dpkg-architecture -qDEB_HOST_ARCH_BITS
  sh: 1: gcc: not found
  dpkg-architecture: warning: Couldn't determine gcc system type, falling back 
to default (native compilation)
  + DEB_HOST_ARCH_BITS=64
  + [  =  ]
  + dc_platform= LINUX
  /var/lib/dpkg/info/code-aster-gui.config: 14: 
/var/lib/dpkg/info/code-aster-gui.config: LINUX: not found
  + [ 64 = 64 ]
  + dc_platform= LINUX64
  /var/lib/dpkg/info/code-aster-gui.config: 17: 
/var/lib/dpkg/info/code-aster-gui.config: LINUX64: not found
  + [  =  ]
  + hostname --domain
  + dc_domainname=ae.cs.uni-frankfurt.de
  + db_set astk/domainname ae.cs.uni-frankfurt.de
  + _db_cmd SET astk/domainname ae.cs.uni-frankfurt.de
  + _db_internal_IFS=   
  
  + IFS= 
  + printf %s\n SET astk/domainname ae.cs.uni-frankfurt.de
  + IFS=
  
  + IFS=
   read -r _db_internal_line
  + RET=value set
  + return 0
  + [  =  ]
  + hostname
  + dc_servername=cake
  + db_set astk/servername cake
  + _db_cmd SET astk/servername cake
  + _db_internal_IFS=   
  
  + IFS= 
  + printf %s\n SET astk/servername cake
  + IFS=
  
  + IFS=
   read -r _db_internal_line
  + RET=value set
  + return 0
  + [  =  ]
  + hostname -s
  + dc_node=cake
  + db_set astk/node cake
  + _db_cmd SET astk/node cake
  + _db_internal_IFS=   
  
  + IFS= 
  + printf %s\n SET astk/node cake
  + IFS=
  
  + IFS=
   read -r _db_internal_line
  + RET=10 astk/node doesn't exist
  + return 10
  dpkg: error processing code-aster-gui (--configure):
   subprocess installed post-installation script returned error exit status 10
  Errors were encountered while processing:
   code-aster-gui
  E: Sub-process /usr/bin/dpkg returned an error code (1)


cheers,

Andreas


code-aster-gui_1.10.4-3.log.gz
Description: GNU Zip compressed data