Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 168859
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Lars Weiler (RETIRED) <pylon@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Denis Gubanov <v12aml@gmail.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 168859 depends on: Show dependency tree
Bug 168859 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: 2007-03-01 11:17 0000
ebuild not test 'dedicated' USE-flag
may be trouble in thes section:

pkg_setup() {
        if ! built_with_use media-libs/libsdl X ; then
                die "Please emerge media-libs/libsdl with USE=X"
        fi
        games_pkg_setup
}


?

Reproducible: Always

Steps to Reproduce:
1. without X installed
2. without libsdl installed (or libsdl compiled without X use-flag)
3. 

Actual Results:  
!!! ERROR: games-simulation/openttd-0.5.0 failed.
Call stack:
  ebuild.sh, line 1630:   Called dyn_setup
  ebuild.sh, line 702:   Called qa_call 'pkg_setup'
  ebuild.sh, line 38:   Called pkg_setup
  openttd-0.5.0.ebuild, line 35:   Called die

!!! Please emerge media-libs/libsdl with USE=X
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! A complete build log is located at
'/var/tmp/portage/games-simulation/openttd-0.5.0/temp/build.log'.

------- Comment #1 From Denis Gubanov 2007-03-01 11:20:18 0000 -------
may be some like

pkg_setup() {
        if ! use dedicated ; then
            if ! built_with_use media-libs/libsdl X ; then
                    die "Please emerge media-libs/libsdl with USE=X"
                fi
            games_pkg_setup
        fi
}


?

------- Comment #2 From Mr. Bones. 2007-03-01 17:07:25 0000 -------
games_pkg_setup should always be called.

------- Comment #3 From Lars Weiler (RETIRED) 2007-03-01 18:47:22 0000 -------
You are right.  I updated the ebuild that it should ask for X in libsdl only
when openttd will not be built with the dedicated USE-flag.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug