

     FreeBSD


Dag-Erling Smrgrav

$FreeBSD: doc/el_GR.ISO8859-7/articles/problem-reports/article.sgml,v 1.6 2008/
12/10 00:07:37 keramida Exp $
 FreeBSD       FreeBSD Foundation.
  CVSup      John D. Polstra.
    IBM, AIX, EtherJet, Netfinity, OS/2, PowerPC, PS/2, S/390,
 ThinkPad     International Business Machines
Corporation   ,  ,     .
  Intel, Celeron, EtherExpress, i386, i486, Itanium, Pentium,  Xeon
        Intel Corporation
          .
    Sparc, Sparc64, SPARCEngine,  UltraSPARC  
  SPARC International, Inc.      
.        SPARC   
    Sun Microsystems, Inc.
    Sun, Sun Microsystems, Java, Java Virtual Machine,
JavaServer Pages, JDK, JRE, JSP, JVM, Netra, Solaris, StarOffice, Sun Blade,
Sun Enterprise, Sun Fire, SunOS, Ultra  VirtualBox    
    Sun Microsystems, Inc.  
    .
          
           
 .           
      FreeBSD     
 ,      : [TM]  .
           
     FreeBSD.
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------

1. 

            
            
            .. 
     PR.   ,    
        
         
          
          .
            
 .  ,   ,    ;
,    ,       
        ,   
          .
          
  FreeBSD,          
,    .
        ,   
          , 
         .
-------------------------------------------------------------------------------

2.      

   ,      
.     ,      
        ,  
           
        (   
           
   ). ,      
            
        .    ,
           
      bug--      
 ,  .
 ,          ; 
         bug    
  (      ;       ;).
    -   ,    
      .   
   ,        
 _____FreeBSD.
           
      bug, :

*    .       
           
     .
*      ( ports,  
         ,   BIND  
   GNU ).
              (
    MAINTAINER  ports@FreeBSD.org)   committer 
        . , ,
       patch    .   
    patch,         
     .        
  committer          
  .
         ,    
            
       .      
      FreeBSD,        
      ,         
    , .
     ',         
  Porter's_Handbook.

 bug            .
  bug           ,
      ,    
          
      .      , 
            
   ,        
  .  ,       
     (   
  ).      
,        ,   
  .
          , 
             
FreeBSD:

*            
    FreeBSD.        , 
    C,     ( kern),  
       ( bin),   
      FreeBSD ( docs),     FreeBSD
  ( www).           FreeBSD
         FreeBSD.
*            
      FreeBSD     . 
      bind,   gcc(1)   sendmail
  (8).           
       FreeBSD.    
          
           FreeBSD.  
           
     bin  gnu.
*  ,         
  FreeBSD,        Ports (
  ports).           
    FreeBSD.      FreeBSD    
       (      
       )    FreeBSD. 
            
   FreeBSD         
  FreeBSD.          
       .

,            
.          
        .
           
       FreeBSD,   
__FreeBSD      FreeBSD.   
FreeBSD       ()   
 FreeBSD.         
FreeBSD.            
,            
            FreeBSD
              
.     FreeBSD     _
_FreeBSD___.
       ,   '  
  Ports        Ports  
     .      
 Ports   .       
        FreeBSD  
    Ports.      
          .
-------------------------------------------------------------------------------

3. 

            
 .           
.         
    .  ,     
        .   
    ,      . 
 FreeBSD  :

*        (FAQ)   FreeBSD.   
        ,    
  _, _   __.
*  __--      
  ,         FreeBSD  
       .      
     , ,       
           
       .
* ,   .     
          .   
           
            .
*        __
  FreeBSD (GNATS).          ,
            .
*              FreeBSD
       .
       FreeBSD      
      /usr/src/UPDATING       
      ,      : http:/
  /www.FreeBSD.org/cgi/cvsweb.cgi/src/UPDATING. (   
          FreeBSD  
  --     FreeBSD-CURRENT).
             
   Ports  FreeBSD,       : /usr/
  ports/UPDATING (     ), /usr/ports/
  CHANGES (        Ports).   
      CVSweb,   http://www.FreeBSD.org/
  cgi/cvsweb.cgi/ports/UPDATING  http://www.FreeBSD.org/cgi/cvsweb.cgi/
  ports/CHANGES .

-------------------------------------------------------------------------------

4.   

          , 
      FreeBSD     ,
     .       
          
,           
.
-------------------------------------------------------------------------------

4.1.       


*      Synopsis.     
     ,       
       (     Synopsis
      ),      .
           
             . 
                
        .   ,  
  , ,   .
*       Synopsis.  
             
      ,     
    .  ,       
       ;      
       ;  ,    
       Synopsis: portupgrade is broken  
   Synopsis: port sysutils/portupgrade coredumps on -current.
  (    ports       
        port    ).
*    patch,  .       
          patch   
       .      
  patch         [patch]   
  Synopsis . (       
    ,       .)
*            , 
  .            
  FreeBSD (    MAINTAINER  port),   
       [maintainer update]    Synopsis
  .          Class  
    maintainer-update.        
              
  maintainer.
*    & .    
       ,     
       .

  o     FreeBSD   (  
             )  
        .      
        (..   CDROM    
      )          cvsup(1) ( 
    ,    ).    FreeBSD-CURRENT,
              ,  
        (    ) ,
    ,    .    FreeBSD-CURRENT  
              .
  o         make.conf 
     .       -O2  gcc(1)  
     .       FreeBSD   ' 
     patches          
                
        .        
      optimizations       
         FreeBSD.
  o       ,     
         . (    
       ,        
               , 
               ):

    #      (     
       )
    #     debugging    ( ..
        WITNESS)         
         
    #  backtrace,     
    #       src/UPDATING     
           (       
      )
    #           (
          ,       
        ,       
           )

  o      port,      
    . (        , 
               ):

    #  ports  
    #         
           bsd.port.mk,  ..  
       PORTSDIR
    #      ports/UPDATING     
           (       
      )


*       .    
  ' ,            
             
      .     
     ,       
            FreeBSD   
   .        
  freebsd-questions        
   .
*           .
       ,      .
            
         FreeBSD 
   http://www.FreeBSD.org/cgi/query-pr-summary.cgi?query. (,
          .)
*    .        
         ,    
   patches         
     ,      . 
     ,       
      http://www.FreeBSD.org/search/
  search.html#mailinglists       
   .
*   .         
       .       
                 
      .        
          
  .

-------------------------------------------------------------------------------

4.2.  

    send-pr(1),    
 VISUAL (    EDITOR    
 VISUAL)    .
        . 
 send-pr(1)      
      .    
        
   send-pr(1),        
       FreeBSD.   
       FreeBSD    
     FreeBSD   http://
www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/mail.html.
         
            
   GNATS  FreeBSD.  ,   
         ,
          
,   patch       .  
,           
     70    .    
       web interface .
    ,     send-pr(1),
         . 
         
.          
uuencode(1)       patch     .
,          ,  
           
    .       ,  
         .  
  web     .
-------------------------------------------------------------------------------

4.3.  patches  

  send-pr(1)         
.      ,     
   (      ). 
   -a       
      :

  % send-pr -a /var/run/dmesg -a /tmp/errors

          . 
         
   .
        patch,   
  -c   -u   diff(1)     context 
unified  ,        
           
         .   
           
 patch     FreeBSD-CURRENT ( HEAD branch  CVS) 
          branch   .
          
/    FreeBSD-STABLE branch.
   patch   ,      ,
          
         
,         Makefile.
   patches       Content-Transfer-
Encoding: quoted-printable.       
      patch.
, ,        patch 
 --         
 .    patches,      
      commit,     
  web  ftp server        URL  
            patch.
   patches      email,  
    GNATS,       patch  
            .
        patch  web  ftp   
   patch          
   .   patches     
 ,          
         , 
   closed.
   ,           
   patch,       
              
     .
-------------------------------------------------------------------------------

4.4.     

    send-pr(1)     .   
     .     
.          
   .     ,   
           .
   ,        SEND-PR: 
   .       
 ,            
  email     ,      
 From:  Reply-To:      email .
            
     Cc: .
        :

* Submitter-Id:    .    , current-users,
         FreeBSD-STABLE.
* Originator:          
   .     ,    
             email
      <  >.
* Organization:        .
* Confidential:       no.     
     ,      
   FreeBSD--         CVSup
     .
* Synopsis:         
  .  synopsis      email   
   ,       .  
          .
    ,       patch  
           [patch].    
   (maintainer)     ,    
      [maintainer update]      
   Class  maintainer-update.
* Severity:     non-critical, serious  critical. 
   .       critical
         (.. root exploit,  panic 
     )  serious       
    (       
  ).        FreeBSD 
              
         --, 
           , 
             
   .
* Priority:     low, medium  high.  high 
            
     FreeBSD  medium      
   .
* Category:       (   http://
  www.FreeBSD.org/cgi/cvsweb.cgi/src/gnu/usr.bin/send-pr/categories):

  o advocacy:        FreeBSD.
     .
  o alpha:      Alpha platform.
  o amd64:       AMD64.
  o bin:       .
  o conf:     ,  , .
  o docs:     manual pages    .
  o gnu:     GNU,  .. gcc(1)  grep(1).
  o i386:      i386 platform.
  o ia64:      ia64.
  o java:         Java". (
            Java   
       ports.)
  o kern:    .
  o misc:         .
    (           .)
  o ports:     ports.
  o powerpc:      PowerPC.
  o sparc64:      SPARC.
  o standards:         .
  o threads:       threads  FreeBSD (
     FreeBSD-CURRENT).
  o usb:      USB  FreeBSD   
     USB.
  o www:        FreeBSD.

* Class:    ,      :

  o sw-bug: software bugs.
  o doc-bug:   .
  o change-request:         
    .
  o update:   ports      
    .
  o maintainer-update:   ports     .

* Release:    FreeBSD  .    
     send-pr(1)        
         ,     
    .

,            :

* Environment:    ,     
  ,       .  
      ,    
           
           , 
           
  , -- ,      
            
  .
* Description:        
  .         
            , 
           
      .
* How-To-Repeat:         
    .
* Fix:    patch     / 
   (           
  ,         
       ).     
  ,        .    
      .

-------------------------------------------------------------------------------

4.5.   

    ,    ,    
    ,   send-pr(1)     
s)end, e)dit or a)bort?.     s     
  , e       ,  a  
.    ,      
   ( send-pr(1)       
),           
         ,   
    -f  send-pr(1):

  % send-pr -f ~/my-problem-report

          ,  
   ,        .
-------------------------------------------------------------------------------

5. 

    ,      email  
            
URL          .   ,
            
  ,    ,     
 .         
,          
patches       .
           
       ,    
       :

*            
  ,        ___.
               
             ( 
        ).
*          <bug-
  followup@FreeBSD.org>,        
             FreeBSD 
            .

       :        , 
        GNATS       
                 
           GNATS.     
                
            ,    
              .
        :

         Subject: that PR I sent

        :

         Subject: Re: ports/12345: compilation problem with foo/bar



       open    
    ,      
(     ),      
.
-------------------------------------------------------------------------------

6. 

            
.       , .

*  How to Report Bugs Effectively

--      Simon G. Tatham     
    (    FreeBSD).
Problem_Report_Handling_Guidelines--      
         FreeBSD
-------------------------------------------------------------------------------
  ,   ,     ftp://ftp.FreeBSD.org/
                               pub/FreeBSD/doc/.
          FreeBSD,     
                   <questions@FreeBSD.org>.
             ,  e-mail 
                              <doc@FreeBSD.org>.
