First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 73830
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Daniel Ceregatti <vi@sh.nu>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
qstat.patch qstat-2.6.ebuild patch that defines sysconfdir=/etc patch Daniel Ceregatti 2004-12-08 12:26 0000 324 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

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

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







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


Description:   Opened: 2004-12-08 12:19 0000
After emerging qstat-2.6 I try to query something that's defined in
/etc/qstat.cfg, such as my customized armyops search, which I want available to
all users, hence its presence in the global /etc/qstat.cfg:

gametype AA new extend GS2
        name = America's Army
        default port = 1717
end


This fails. Strace shows it never looks at /etc/qstat.cfg. I then re-emerge and
observe the output and note that -Dsysconfdir isn't defined during the compile.
I then check the ebuild, and sure enough, CFLAGS is completely overridden by
the ebuild.

Typing "make" in the qstat source directory adds -Dsysconfdir=\"/etc\" to
CFLAGS, thereby causing /etc/qstat.cfg to be read by qstat.

Reproducible: Always
Steps to Reproduce:
1. See details
2.
3.

Actual Results:  
qstat -aa fungus.sh.nu
unknown option "-aa"


Expected Results:  
qstat -aa fungus.sh.nu
ADDRESS           PLAYERS      MAP   RESPONSE TIME    NAME
fungus                 0/26 Insurgent Camp     18 / 0  AAGP_GameTeamObjective
-=
Primer's Armyops - Linux =-

------- Comment #1 From Daniel Ceregatti 2004-12-08 12:26:01 0000 -------
Created an attachment (id=45555) [edit]
qstat-2.6.ebuild patch that defines sysconfdir=/etc

This works for me.

------- Comment #2 From Mr. Bones. 2004-12-08 13:30:18 0000 -------
patch in cvs.  Thanks for the bug report.

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