Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83030 - media-video/qdvdauthor-0.0.9 doesn't honor PORTAGE_TMPDIR
Summary: media-video/qdvdauthor-0.0.9 doesn't honor PORTAGE_TMPDIR
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Stefan Briesenick (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on: 117008
Blocks:
  Show dependency tree
 
Reported: 2005-02-22 22:02 UTC by Ed Hein
Modified: 2006-01-10 18:31 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Hein 2005-02-22 22:02:33 UTC
ebuild qdvdauthor fails with ACCESS VIOLATION if PORTAGE_TMPDIR is set to /usr/src.


Reproducible: Always
Steps to Reproduce:
1. change PORTAGE_TMPDIR to /usr/src in /etc/make.conf
2. add sandbox to FEATURES
3. emerge qdvdauthor

Actual Results:  
ebuild fails with ACCESS VIOLATION  

Expected Results:  
clean build  

In the created Makefiles of qdvdauthor the installrules use a relative path to    
install qdvdauthor:    
    
install_i18n: all    
        @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)../../../../../share/qdvdauthor/" ||    
$(MKDIR) "$(INSTALL_ROOT)../../../../../usr/share/qdvdauthor/"    
    
If PORTAGE_TMPDIR is changed to a path with other than three elements or not    
the new path is not in /usr/* the files are not installed correctly and the    
ebuild might fail with a access violation.    
   
WORKAROUND: reset PORTAGE_TMPDIR to default 
   
Cya, Ed
Comment 1 Stefan Briesenick (RETIRED) gentoo-dev 2005-12-18 03:24:32 UTC
is this also true for 0.0.10?
Comment 2 Heiko Baums 2005-12-26 00:35:47 UTC
Yes, it's also true for 0.0.10.

But it doesn't matter to which directory PORTAGE_TMPDIR is set. I have set it e.g. to /usr/var/portage.
Comment 3 Stefan Briesenick (RETIRED) gentoo-dev 2006-01-10 13:56:21 UTC
this seems fixed upstream already in 0.1.0 beta:

install_i18n: all
        @$(CHK_DIR_EXISTS) "$(INSTALL_ROOT)/usr/share/qdvdauthor/" || $(MKDIR) "$(INSTALL_ROOT)/usr/share/qdvdau
thor/"
        -$(INSTALL_FILE) "i18n/qdvdauthor_de.qm" "$(INSTALL_ROOT)/usr/share/qdvdauthor/"
        -$(INSTALL_FILE) "i18n/qdvdauthor_es.qm" "$(INSTALL_ROOT)/usr/share/qdvdauthor/"
        -$(INSTALL_FILE) "i18n/qdvdauthor_fr.qm" "$(INSTALL_ROOT)/usr/share/qdvdauthor/"
        -$(INSTALL_FILE) "i18n/qdvdauthor_pl.qm" "$(INSTALL_ROOT)/usr/share/qdvdauthor/"


so when #117008 is done, this should be also fixed. ;-)
Comment 4 Stefan Briesenick (RETIRED) gentoo-dev 2006-01-10 18:31:42 UTC
new version in CVS, so this bug can be closed.