Summary: | ddd will not build | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Antonio D'souza <gentoo> |
Component: | New packages | Assignee: | Matthew Kennedy (RETIRED) <mkennedy> |
Status: | VERIFIED FIXED | ||
Severity: | major | ||
Priority: | High | ||
Version: | 1.1a | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Antonio D'souza
2002-06-17 19:11:05 UTC
what version of gcc? 2.95.3 apparently, according to Antonio's e-mail. Note to Antonia, click on this link: http://bugs.gentoo.org/show_bug.cgi?id=3829 to bring you here -- look up at the top, where it says "Additional Comments", post a reply in the text area underneath that, and then hit the "commit" button How did you get 2.95.3??? I am using 3.1 Sorry about that -- I commented the wrong bug. Gcc-3.1 issue It can't compile for me either since yesterday (2002-06-30) (ddd-3.3.1-r1).
BUT I get an error I never seen before. This happens during the last stages when
portage tries to install files:
>>> Install ddd-3.3.1-r1 into /var/tmp/portage/ddd-3.3.1-r1/image/ category dev-util
Making install in readline
make[1]: Entering directory `/var/tmp/portage/ddd-3.3.1-r1/work/ddd-3.3.1/readline'
make[1]: Nothing to be done for `install'.
make[1]: Leaving directory `/var/tmp/portage/ddd-3.3.1-r1/work/ddd-3.3.1/readline'
Making install in libiberty
make[1]: Entering directory `/var/tmp/portage/ddd-3.3.1-r1/work/ddd-3.3.1/libiberty'
make[2]: Entering directory
`/var/tmp/portage/ddd-3.3.1-r1/work/ddd-3.3.1/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/var/tmp/portage/ddd-3.3.1-r1/work/ddd-3.3.1/libiberty/testsuite'
/bin/install -c -m 644 libiberty.a /usr/lib/libiberty.an
ACCESS DENIED open_wr: /usr/lib/libiberty.an
/bin/install: cannot create regular file `/usr/lib/libiberty.an': Permission denied
make[1]: *** [install_to_libdir] Error 1
make[1]: Leaving directory `/var/tmp/portage/ddd-3.3.1-r1/work/ddd-3.3.1/libiberty'
make: *** [install-recursive] Error 1
!!! ERROR: the make command did not complete successfully.
!!! ("make DESTDIR=/var/tmp/portage/ddd-3.3.1-r1/image/ install")
!!! Since this is a critical task, ebuild will be stopped.
--------------------------- ACCESS VIOLATION SUMMARY ---------------------------
LOG FILE = "/tmp/sandbox-ddd-3.3.1-r1-4515.log"
open_wr: /usr/lib/libiberty.an
--------------------------------------------------------------------------------
!!! emerge aborting on /usr/portage/dev-util/ddd/ddd-3.3.1-r1.ebuild .
I'm having the same problem with gcc (GCC) 3.1 strclass.C: In function `std::istream& operator>>(std::istream&, string&)': strclass.C:1443: invalid conversion from `int' to `std::_Ios_Iostate' strclass.C:1443: initializing argument 1 of `void std::basic_ios<_CharT, _Traits>::clear(std::_Ios_Iostate) [with _CharT = char, _Traits = std::char_traits<char>]' make[1]: *** [strclass.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/ddd-3.3.1-r1/work/ddd-3.3.1/ddd' make: *** [all-recursive] Error 1 !!! ERROR: the emake command did not complete successfully. !!! ("emake") !!! Since this is a critical task, ebuild will be stopped. !!! emerge aborting on /usr/portage/dev-util/ddd/ddd-3.3.1-r1.ebuild . It's just a problem with configure script not working correctly with gcc3.1. Add -Wno-deprecated to CXXFLAS and it will compile (you have to rerun configure first). However there is similar bug a little later, again caused by configure. Patch configure with: *** configure 2002-07-15 16:37:33.000000000 +0200 --- configure.org 2002-07-15 16:36:41.000000000 +0200 *************** *** 6166,6171 **** --- 6166,6172 ---- #line 6167 "configure" #include "confdefs.h" #include <iostream.h> + #include <fstream.h> int main() { streampos scan_start; ; return 0; } Now it should compile (it worked for me). However ddd crashed for me unless I compiled it with gcc 3.1.1. resolved in -r2 thanks for the bug report and solution! Matt |