<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>24803</bug_id>
          
          <creation_ts>2010-12-22 00:52:20 +0300</creation_ts>
          <short_desc>в Lazarus запуск xterm прописан в /usr/X86-что-то  там/bin,  а  по  факту  он  лежит в /usr/bin/</short_desc>
          <delta_ts>2013-05-24 19:21:03 +0400</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>lazarus</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="ashen">lex.shen</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>aen</cc>
    
    <cc>cas</cc>
    
    <cc>rider</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>116524</commentid>
    <comment_count>0</comment_count>
    <who name="ashen">lex.shen</who>
    <bug_when>2010-12-22 00:52:20 +0300</bug_when>
    <thetext>http://permalink.gmane.org/gmane.linux.altlinux.community/121324

Рещение - исправить $LAzarusDir/ide/runparamsopts.pas:

 const
   DefaultLauncherApplication =
-    &apos;/usr/X11R6/bin/xterm -T &apos;&apos;Lazarus Run Output&apos;&apos;&apos; +
+    &apos;xterm -T &apos;&apos;Lazarus Run Output&apos;&apos;&apos; +
     &apos; -e $(LazarusDir)/tools/runwait.sh $(TargetCmdLine)&apos;;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116545</commentid>
    <comment_count>1</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2010-12-22 15:21:11 +0300</bug_when>
    <thetext>xterm ... Не существует 
:(
Походу, нужен полный путь.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>116546</commentid>
    <comment_count>2</comment_count>
    <who name="ashen">lex.shen</who>
    <bug_when>2010-12-22 15:39:00 +0300</bug_when>
    <thetext>точнее вывод.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127514</commentid>
    <comment_count>3</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2011-12-09 12:40:09 +0400</bug_when>
    <thetext>и полный путь не помогает.  Сейчас так после включения запуска через консоль:
Failed to load file: /usr/bin/xterm: 320236321202320272320260320267320260320275320276 320262 320264320276321201321202321203320277320265.

на p6 вылезло в школе.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127515</commentid>
    <comment_count>4</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2011-12-09 12:46:57 +0400</bug_when>
    <thetext>даже если оставить один xterm в пути запуска, всё равно не работает</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127516</commentid>
    <comment_count>5</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2011-12-09 12:49:06 +0400</bug_when>
    <thetext>При запуске программы:

Program gorod;
var n:real;g:integer;
begin
       n:=10500;
       g:=1995;
       while n&lt;15000 do begin
                n:=0.03*n+n;
                g:=g+1;
       end;
       writeln (g);
       readLn;
end.    

вылезает такое:


Free Pascal Compiler version 2.5.1 [2011/08/29] for i386
Copyright (c) 1993-2010 by Florian Klaempfl
Target OS: Linux for i386
Compiling /tmp/project1.lpr
Linking /tmp/project1
/usr/bin/ld: warning: link.res contains output sections; did you forget -T?
13 lines compiled, 0.1 sec 
2 hint(s) issued
[TCompiler.Compile] end
TMainIDE.DoInitProjectRun ProgramFilename=/tmp/project1
[TDebugger.SetFileName] &quot;/tmp/project1&quot;
[TMainIDE.DoRunProject] B TGDBMIDebugger
[TMainIDE.DoRunProject] END
TGDBMIDebugger.StartDebugging WorkingDir=&quot;/tmp/&quot;
TGDBMIDebugger.ProcessResult Error: ,msg=&quot;No symbol \&quot;FPC_THREADVAR_RELOCATE_PROC\&quot; in current context.&quot;
[Debugger] Log output: &amp;&quot;info functions FPC_CPUINIT\n&quot;
[Debugger] Log output: &amp;&quot;set width 50000\n&quot;
[Debugger] Log output: &amp;&quot;set inferior-tty /dev/null\n&quot;
[Debugger] Log output: &amp;&quot;info address main\n&quot;
[Debugger] Log output: &amp;&quot;ptype TObject\n&quot;
[Debugger] Log output: &amp;&quot;No symbol \&quot;TObject\&quot; in current context.\n&quot;
TGDBMIDebugger.ProcessResult Error: ,msg=&quot;No symbol \&quot;TObject\&quot; in current context.&quot;
[Debugger] Log output: &amp;&quot;info address FPC_RAISEEXCEPTION\n&quot;
[Debugger] Log output: &amp;&quot;info address FPC_BREAK_ERROR\n&quot;
[Debugger] Log output: &amp;&quot;info address FPC_RUNERROR\n&quot;
[Debugger] Log output: &amp;&quot;info file\n&quot;
[Debugger] File type: elf32-i386
[Debugger] Entry point: 0x8064d80
TGDBMIDebugger.ProcessResult Error: ,msg=&quot;No symbol \&quot;POINTER\&quot; in current context.&quot;
[Debugger] Log output: &amp;&quot;Function \&quot;foo\&quot; not defined.\n&quot;
[WARNING] Debugger: Unexpected async-record: =thread-group-started,id=&quot;i1&quot;,pid=&quot;13084&quot;
[Debugger] Log output: &amp;&quot;info program\n&quot;
[Debugger] Target PID: 13084
[Debugger] Notify output: =thread-exited,id=&quot;1&quot;,group-id=&quot;i1&quot;
[Debugger] Notify output: =thread-group-exited,id=&quot;i1&quot;
[TDebugger.SetFileName] &quot;&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128789</commentid>
    <comment_count>6</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2012-02-08 17:13:32 +0400</bug_when>
    <thetext>ping ?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>136602</commentid>
    <comment_count>7</comment_count>
    <who name="Andrey Cherepanov">cas</who>
    <bug_when>2013-01-06 00:10:32 +0400</bug_when>
    <thetext>Всего в Lazarus 1.0.4 254 упоминания /usr/(X11R6/)?bin/xterm
Очевидно, правильнее приводить к /usr/bin/xvt. Посмотрю.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>140531</commentid>
    <comment_count>8</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2013-05-24 19:21:03 +0400</bug_when>
    <thetext>lazarus-1:1.0.8-alt1 -&gt; sisyphus:

* Fri May 24 2013 Andrey Cherepanov &lt;cas@altlinux&gt; 1:1.0.8-alt1
- New version 1.0.8
- Fix search FPC compiler with localized output from fpc (ALT #25991)
- Set correct path to xterm for all existing modules (ALT #24803)
- Update PowerPDF to 0.9.10 (ALT #24804)
- Add libdbus-devel and xterm to requires
- Pack man pages
- Add patches from Fedora
- Make symlink /usr/bin/lazarus for lazarus-ide
- Add docs and examples in main package</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>