Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278831 - sys-process/lsof-4.82 prompts for input on AIX
Summary: sys-process/lsof-4.82 prompts for input on AIX
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-23 14:32 UTC by Jeremy Olexa (darkside) (RETIRED)
Modified: 2009-07-30 15:48 UTC (History)
1 user (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 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-07-23 14:32:23 UTC
Hello,
On AIX, the lsof build will prompt for user input. 

For example, there are about 10 of these messages:

"HASXOPT_ROOT is not defined.

Do you want to define HASXOPT_ROOT (y|n) [n]? "
Comment 1 SpanKY gentoo-dev 2009-07-23 14:48:19 UTC
umm, no.  you fix the build so that it provides appropriate answers.  i dont have access (nor interest) with AIX systems, so that falls to the prefix guys.

then again, the current ebuild is supposed to force non-interactive mode (.neverInv), but perhaps that only works for a subset of questions.
Comment 2 Fabian Groffen gentoo-dev 2009-07-23 15:13:20 UTC
so, even though we do this it still wants input?

   ./Configure -n $(target) < /dev/null || die

Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-07-24 18:24:39 UTC
(In reply to comment #2)
> so, even though we do this it still wants input?
> 
>    ./Configure -n $(target) < /dev/null || die
> 

Yes, for the last prompt out of ~10 or so.
Comment 4 Fabian Groffen gentoo-dev 2009-07-25 12:21:00 UTC
Seems the Customize script is called, which is can be disabled by touching ./.neverCust.

I committed a touch for that file.  Can you re-try?
Comment 5 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-07-27 18:26:41 UTC
(In reply to comment #4)
> Seems the Customize script is called, which is can be disabled by touching
> ./.neverCust.
> 
> I committed a touch for that file.  Can you re-try?
> 

negative, still hangs waiting for input.
Comment 6 Michael Haubenwallner (RETIRED) gentoo-dev 2009-07-30 15:18:50 UTC
fixed in r49168 for both lsof-4.82 and lsof-4.81-r1.

I'm wondering if you can compile lsof-4.82 on aix6.1 now,
as it is broken on aix5.3 (j2-related), while lsof-4.81 works.
Comment 7 Fabian Groffen gentoo-dev 2009-07-30 15:24:00 UTC
what was the fix?
Comment 8 Michael Haubenwallner (RETIRED) gentoo-dev 2009-07-30 15:48:37 UTC
I'm not really sure how other options get their default value without asking, but HASXOPT_ROOT definitively does not support this.

Simply did this in ./Customize for this option:
-      read ANS EXCESS
+      ANS= # read ANS EXCESS