Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 176743
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: PgSQL Bugs <pgsql-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christer Ekholm <che@chrekh.se>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
postgresql.patch Dont apply no-test.patch patch Christer Ekholm 2007-05-02 00:37 0000 363 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 176743 depends on: Show dependency tree
Bug 176743 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-05-02 00:11 0000
I did this:

  02:03:36 poke:~ $sudo emerge -1av postgresql

  These are the packages that would be merged, in order:

  Calculating dependencies... done!
  [ebuild     U ] dev-db/postgresql-8.2.4 [8.1.8] USE="kerberos nls perl python
readline ssl xml zlib -doc -pam -pg-intdatetime (-selinux) -tcl -test" 0 kB 

  Total: 1 package (1 upgrade), Size of downloads: 0 kB

  Would you like to merge these packages? [Yes/No] 
  >>> Verifying ebuild Manifests...

  >>> Emerging (1 of 1) dev-db/postgresql-8.2.4 to /
   * postgresql-base-8.2.4.tar.bz2 RMD160 ;-) ...                              
                                                                               
                 [ ok ]
   * postgresql-base-8.2.4.tar.bz2 SHA1 ;-) ...                                
                                                                               
                 [ ok ]
   * postgresql-base-8.2.4.tar.bz2 SHA256 ;-) ...                              
                                                                               
                 [ ok ]
   * postgresql-base-8.2.4.tar.bz2 size ;-) ...                                
                                                                               
                 [ ok ]
   * postgresql-opt-8.2.4.tar.bz2 RMD160 ;-) ...                               
                                                                               
                 [ ok ]
   * postgresql-opt-8.2.4.tar.bz2 SHA1 ;-) ...                                 
                                                                               
                 [ ok ]
   * postgresql-opt-8.2.4.tar.bz2 SHA256 ;-) ...                               
                                                                               
                 [ ok ]
   * postgresql-opt-8.2.4.tar.bz2 size ;-) ...                                 
                                                                               
                 [ ok ]
   * checking ebuild checksums ;-) ...                                         
                                                                               
                 [ ok ]
   * checking auxfile checksums ;-) ...                                        
                                                                               
                 [ ok ]
   * checking miscfile checksums ;-) ...                                       
                                                                               
                 [ ok ]
   * checking postgresql-base-8.2.4.tar.bz2 ;-) ...                            
                                                                               
                 [ ok ]
   * checking postgresql-opt-8.2.4.tar.bz2 ;-) ...                             
                                                                               
                 [ ok ]
  >>> Unpacking source...
  >>> Unpacking postgresql-base-8.2.4.tar.bz2 to
/var/tmp/portage/dev-db/postgresql-8.2.4/work
  >>> Unpacking postgresql-opt-8.2.4.tar.bz2 to
/var/tmp/portage/dev-db/postgresql-8.2.4/work
   * Applying postgresql-8.2.4-gentoo.patch ...
    [ ok ]
   * Applying postgresql-8.2.4-sh.patch ...
    [ ok ]
   * Applying postgresql-8.2.4-no-test.patch ...

   * Failed Patch: postgresql-8.2.4-no-test.patch !
   *  ( /usr/portage/dev-db/postgresql/files/postgresql-8.2.4-no-test.patch )
   * 
   * Include in your bugreport the contents of:
   * 
   *  
/var/tmp/portage/dev-db/postgresql-8.2.4/temp/postgresql-8.2.4-no-test.patch-2023.out


  !!! ERROR: dev-db/postgresql-8.2.4 failed.
  Call stack:
    ebuild.sh, line 1614:   Called dyn_unpack
    ebuild.sh, line 751:   Called qa_call 'src_unpack'
    ebuild.sh, line 44:   Called src_unpack
    postgresql-8.2.4.ebuild, line 82:   Called epatch
'/usr/portage/dev-db/postgresql/files/postgresql-8.2.4-no-test.patch'
    eutils.eclass, line 341:   Called die

  !!! Failed Patch: postgresql-8.2.4-no-test.patch!
  !!! 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/dev-db/postgresql-8.2.4/temp/build.log'.


And postgresql-8.2.4-no-test.patch-2023.out contains the following information.

PATCH COMMAND:   patch -p1 -g0 -E --no-backup-if-mismatch <
/usr/portage/dev-db/postgresql/files/postgresql-8.2.4-no-test.patch

==========================================
patching file src/Makefile
Hunk #1 FAILED at 22.
1 out of 1 hunk FAILED -- saving rejects to file src/Makefile.rej
==========================================


I think the problem is that the patch postgresql-8.2.4-no-test.patch is trying
to remove a line already removed by postgresql-8.2.4-gentoo.patch

------- Comment #1 From Christer Ekholm 2007-05-02 00:37:21 0000 -------
Created an attachment (id=117914) [details]
Dont apply no-test.patch

I made this change to a overlay-ebuild, and managed to build. But I also had to
copy postgresql.init-8.1 to postgresql.init-8.2 and postgresql.conf-8.1
postgresql.conf-8.2

------- Comment #2 From Konstantin Arkhipov 2007-05-02 08:53:32 0000 -------
fixed in 8.2.4-r1,
thanks for reporting.

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