First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 71678
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Daniel Black <dragonheart@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andy <andyreif@studcs.uni-sb.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
blitz-0.8.ebuild blitz-0.8.ebuild text/plain Andy 2004-11-18 09:11 0000 925 bytes Details
env_as_root.txt my shell enviroment as root text/plain Tiago de Paula Peixoto 2004-12-18 19:37 0000 2.66 KB Details
emerge_info.txt my emerge info text/plain Tiago de Paula Peixoto 2004-12-18 19:38 0000 2.27 KB Details
blitz_compile.txt blitz configure & compile output text/plain Tiago de Paula Peixoto 2004-12-18 19:38 0000 14.69 KB Details
config.log log for the ./configure script text/plain Tiago de Paula Peixoto 2004-12-18 19:40 0000 85.12 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 71678 depends on: Show dependency tree
Bug 71678 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-11-18 09:09 0000
The package name has changed from Blitz++-0.7.tar.gz to blitz-0.8.tar.gz. So I
changed the ebuild appropriately. I think the patch is no longer needed so I
commented it out.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Andy 2004-11-18 09:11:23 0000 -------
Created an attachment (id=44231) [edit]
blitz-0.8.ebuild

------- Comment #2 From Daniel Black 2004-11-19 05:43:21 0000 -------
version bumped. Any problems add comment here.

------- Comment #3 From Tiago de Paula Peixoto 2004-12-16 16:03:53 0000 -------
ebuild does not install /usr/include/blitz/gnu/bzconfig.h

I have gcc-config 1.3.7, which doesn't define CXX=g++. If I do:

CXX=g++ emerge blitz;

then, the file gets installed.

I looked at some other bug entries, and according to http://bugs.gentoo.org/show_bug.cgi?id=67514 , CXX and CC shouldn't be defined, and ebuilds that depend on them should be considered broken, is this correct?

I have GCC 3.4.3.

------- Comment #4 From Daniel Black 2004-12-17 00:40:29 0000 -------
alternative is using CC=$(tc-getCC) and CXX=$(tc-getCXX) in eclass
toolchain-funcs

I will look at this again.

------- Comment #5 From Daniel Black 2004-12-18 15:58:21 0000 -------
I've added the (tc-getCXX) to the 0.8 ebuild. Please let me know if there are
any problems. It does add the missing header file.

------- Comment #6 From Tiago de Paula Peixoto 2004-12-18 16:49:59 0000 -------
Weird... for me it still doesn't add the missing header file, and g++ still
gets called as i686-pc-linux-gnu-g++ during configure (which, I believe, is
what causes this bug).

I did run "emerge --sync", and I can see the $(tc-getCXX) part in the ebuild.

------- Comment #7 From Daniel Black 2004-12-18 18:10:19 0000 -------
I've removed CC and CXX from my environment and /etc/env.d/* and it still works
fine for me.

Please attach your environment, emerge info, Output from the configure section
of the compile, config.log and anything else that may be of use.

Yes I'm realy stuck as to what is happening here.

------- Comment #8 From Tiago de Paula Peixoto 2004-12-18 19:37:31 0000 -------
Created an attachment (id=46318) [edit]
my shell enviroment as root

------- Comment #9 From Tiago de Paula Peixoto 2004-12-18 19:38:02 0000 -------
Created an attachment (id=46319) [edit]
my emerge info

------- Comment #10 From Tiago de Paula Peixoto 2004-12-18 19:38:59 0000 -------
Created an attachment (id=46320) [edit]
blitz configure & compile output

------- Comment #11 From Tiago de Paula Peixoto 2004-12-18 19:40:01 0000 -------
Created an attachment (id=46321) [edit]
log for the ./configure script

------- Comment #12 From Tiago de Paula Peixoto 2004-12-18 20:01:40 0000 -------
I also added a "echo $(tc-getCXX)" line to the ebuild, before it runs
configure, and it prints out i686-pc-linux-gnu-g++, instead of g++.

------- Comment #13 From Andy 2005-01-13 06:57:43 0000 -------
I've descovered another problem (apart from having to CXX=g++):
if I try to reemerge blitz, the following happens:
make[3]: Entering directory `/var/tmp/portage/blitz-0.8/work/blitz-0.8/doc/doxygen'
make[3]: Nothing to be done for `install-exec-am'.
make  install-data-hook
make[4]: Entering directory `/var/tmp/portage/blitz-0.8/work/blitz-0.8/doc/doxygen'
Installing documentations into /var/tmp/portage/blitz-0.8/image//usr/share/doc/blitz-0.8
/bin/install: installing multiple files, but last argument, `/var/tmp/portage/blitz-0.8/image//usr/share/doc/blitz-0.8' is not a directory
Try `/bin/install --help' for more information.
make[4]: *** [install-data-hook] Error 1
make[4]: Leaving directory `/var/tmp/portage/blitz-0.8/work/blitz-0.8/doc/doxygen'
make[3]: *** [install-data-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/blitz-0.8/work/blitz-0.8/doc/doxygen'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/var/tmp/portage/blitz-0.8/work/blitz-0.8/doc/doxygen'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/blitz-0.8/work/blitz-0.8/doc'
make: *** [install-recursive] Error 1

!!! ERROR: dev-libs/blitz-0.8 failed.
!!! Function src_install, Line 45, Exitcode 2

tux root # ls -al /var/tmp/portage/blitz-0.8/image/usr/   
total 16
drwxr-xr-x  4 root root 4096 Jan 13 15:44 .
drwxr-xr-x  3 root root 4096 Jan 13 15:44 ..
drwxr-xr-x  4 root root 4096 Jan 13 15:44 include
drwxr-xr-x  2 root root 4096 Jan 13 15:44 lib

If I first unmerge, there are no install problems.

------- Comment #14 From Andy 2005-01-13 08:07:54 0000 -------
Tiago de Paula Peixoto wrote:
> I also added a "echo $(tc-getCXX)" line to the ebuild, before it runs
> configure, and it prints out i686-pc-linux-gnu-g++, instead of g++.

I think he is right. When looking in configure (or in m4/ac_compiler_specific_header.m4) there only appears:
case "$CXX" in
[...]
  g++)      AX_PREFIX_CONFIG_H([blitz/gnu/bzconfig.h],[BZ])
            COMPILER_SPECIFIC_HEADER="gnu/bzconfig.h" ;;
[...]
esac
That's why the gnu subdirectory is not created.

So either $(tc-getCXX) should be g++ instead of i686-pc-linux-gnu-g++ or one would have to rewrite really many ebuilds (I don't think there are many configures that check for *g++ instead of g++)?

------- Comment #15 From Daniel Black 2005-01-13 12:59:39 0000 -------
Thanks andy - I've patched the configure file for *g++). I've so created the
directory /usr/share/doc/${PF} before the install that should correct the other
fault.

Please reopen if these do not work. Thanks for the solution and your patience.

First Last Prev Next    No search results available      Search page      Enter new bug