First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 24984
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Patrick Kursawe <phosphan@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Brian <PositronMan@hotmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 24984 depends on: Show dependency tree
Bug 24984 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: 2003-07-21 11:40 0000
When I try to emerge chemtool-1.6, the files that should be installed with the
'
make DESTDIR="${D}" install || die "make install failed"' line, do not get
installed. I get no errors, and in fact, from the output of make install, it
looks like the process actually works! If I do 'make install' by hand, the
files
do get installed correctly. This is very strange, and I have absolutly no idea
what is going wrong. A copy of my emerge can be found at 
http://pals.cwru.edu/~bgo/chemtool-bug.html . I added a '-v' to /bin/install in
the makefile in hopes of getting more useful information.

Reproducible: Always
Steps to Reproduce:

------- Comment #1 From Patrick Kursawe 2003-08-05 00:19:57 0000 -------
I am not able to reproduce your bug. Please try executing the steps seperately
ebuild /path/to/ebuild compile
ebuild /path/to/ebuild install
and then check the contents of the portage temp directory.
I wonder if those files are not copied there or if they are not found there when merging...

------- Comment #2 From Brian 2003-08-05 10:43:19 0000 -------
Okay, I've just looked at this again and found the problem. The ebuild is buggy
for people who don't use kde. In src_install() there are the following lines:

   if ! use kde; then
       rm -rf ${D}/${KDEDIR}
   fi

Since I don't have kde, ${KDEDIR} is undefined. Therefore the above line
amounts to rm -rf ${D}/ , which deletes everything that 'make install' just put
in there. I think that a check for $KDEDIR, like

   if [ -z "${KDEDIR}" ]; then
       KDEDIR=boguskde;
   fi

at the beginning of the ebuild would fix the problem.

Hmmm, I just looked at environment.bz2 in the build-info directory, and I see a
KDEDIRS=/usr, should there maybe be an S on the end of KDEDIR, or is there
something wrong with my environment?

------- Comment #3 From Patrick Kursawe 2003-08-05 23:52:45 0000 -------
Ouch. Bad mistake by me. Just saying "I want KDE support" doesn't mean "I have
KDE"... No, KDEDIR was just fine for people who are using KDE, both variables
are set for them (KDEDIR=current version, KDEDIRS=other places to look for
stuff) - please retry after next sync if it works for you.

------- Comment #4 From Brian 2003-08-07 11:50:59 0000 -------
Works for me now, Thanks.

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