OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004576 [gcc4g++] packaging minor always 2010-10-14 12:09 2011-12-03 11:29
Reporter maciej View Status public  
Assigned To maciej
Priority normal Resolution fixed  
Status closed  
Summary 0004576: error trying to exec 'cc1': execvp: No such file or directory
Description When compiling in the cross-compiler mode, the compiler looks at a couple paths, but doesn't find cc1.
Additional Information Here is where it looks, based on truss output:

14002: xstat(2, "/opt/csw/gcc4/bin/i386/../libexec/gcc/i386-pc-solaris2.8/4.3.3/cc1", 0x08046A18) Err#2 ENOENT
14002: xstat(2, "/opt/csw/gcc4/bin/i386/../libexec/gcc/cc1", 0x08046A18) Err#2 ENOENT
14002: xstat(2, "/usr/libexec/gcc/i386-pc-solaris2.8/4.3.3/cc1", 0x08046A18) Err#2 ENOENT
14002: xstat(2, "/usr/libexec/gcc/i386-pc-solaris2.8/cc1", 0x08046A18) Err#2 ENOENT
14002: xstat(2, "/usr/lib/gcc/i386-pc-solaris2.8/4.3.3/cc1", 0x08046A18) Err#2 ENOENT
14002: xstat(2, "/usr/lib/gcc/i386-pc-solaris2.8/cc1", 0x08046A18) Err#2 ENOENT
14002: xstat(2, "/opt/csw/gcc4/bin/i386/../lib/gcc/i386-pc-solaris2.8/4.3.3/../../../../i386-pc-solaris2.8/bin/i386-pc-solaris2.8/4.3.3/cc1", 0x08046A18) Err#2 ENOENT
14002: xstat(2, "/opt/csw/gcc4/bin/i386/../lib/gcc/i386-pc-solaris2.8/4.3.3/../../../../i386-pc-solaris2.8/bin/cc1", 0x08046A18) Err#2 ENOENT
14002: xstat(2, "/usr/ccs/bin/i386-pc-solaris2.8/4.3.3/cc1", 0x08046A18) Err#2 ENOENT
14002: xstat(2, "/usr/ccs/bin/cc1", 0x08046A18) Err#2 ENOENT

The existing path to cc1 is:
/opt/csw/gcc4/libexec/gcc/i386-pc-solaris2.8/4.3.3/cc1
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0009451)
maciej (reporter)
2011-12-03 11:26

Looking at the metadata of the old CSWgcc4g++ package, it is missing the dependency on CSWgcc4core.

The old package:

http://buildfarm.opencsw.org/pkgdb/srv4/e2599ba72a52f7ecfb2a68c0399543a8/ [^]

'depends': [('CSWgcc4g++rt',
              'CSWgcc4g++rt gcc4g++rt - GNU C++ Compiler Run Time '),
             ('CSWiconv', 'CSWiconv libiconv - GNU iconv library '),
             ('CSWlibgmp',
              'CSWlibgmp libgmp - GNU Multiple Precision Arithmetic Library '),
             ('CSWlibmpfr',
              'CSWlibmpfr libmpfr - GNU Multiple Precision floating-point arithmetic library '),
             ('CSWcommon',
              'CSWcommon common - common files and dirs for CSW packages ')],

And the new package:

http://buildfarm.opencsw.org/pkgdb/srv4/5b813d6e3ba6efb6764c81c243d5305e/ [^]

 'depends': [('CSWalternatives',
              'CSWalternatives alternatives - an implementation of linux-style alternatives choice mgr '),
             ('CSWcommon',
              'CSWcommon common - common files and dirs for CSW packages '),
             ('CSWlibcloog-isl2',
              'CSWlibcloog-isl2 libcloog_isl2 - Code Generator in the Polyhedral Model, libcloog-isl.so.2 '),
             ('CSWlibgmp10',
              'CSWlibgmp10 libgmp10 - GNU Multiple Precision Arithmetic Library, libgmp.so.10 '),
             ('CSWlibgmpxx4',
              'CSWlibgmpxx4 libgmpxx4 - Development Files for libgmp, libgmpxx.so.4 '),
             ('CSWlibisl7',
              'CSWlibisl7 libisl7 - Code Generator in the Polyhedral Model, libisl.so.7 '),
             ('CSWlibmpc2',
              'CSWlibmpc2 libmpc2 - C library for the arithmetic of complex numbers with arbitrarily high precision, libmpc.so.2 '),
             ('CSWlibmpfr4',
              'CSWlibmpfr4 libmpfr4 - GNU Multiple Precision floating-point arithmetic library, libmpfr.so.4 '),
             ('CSWlibppl-c4',
              'CSWlibppl-c4 libppl_c4 - Parma Polyhedra Library, libppl_c.so.4 '),
             ('CSWlibppl9',
              'CSWlibppl9 libppl9 - Parma Polyhedra Library, libppl.so.9 '),
             ('CSWlibpwl5',
              'CSWlibpwl5 libpwl5 - Parma Polyhedra Library, libpwl.so.5 '),
             ('CSWlibstdc++6',
              'CSWlibstdc++6 libstdc++6 - The GNU Compiler Collection, libstdc++.so.6 '),
             ('CSWlibz1',
              'CSWlibz1 libz1 - Zlib data compression library, libz.so.1 '),
             ('CSWgcc4core', 'CSWgcc4core gcc4core - GNU C compiler '),
             ('CSWlibiconv2',
              'CSWlibiconv2 libiconv2 - GNU iconv library, libiconv.so.2 ')],

...and the dependency is still missing. Fill fix.
(0009452)
maciej (reporter)
2011-12-03 11:29

Taking another look at the metadata I just pasted, the dependency on CSWgcc4core is present. I'm closing the bug then.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker