Bug 187322 - sys-apps/parted-1.8.7 breaks sys-apps/hal-0.5.9.1-r1 built with disk-partition USE flag
Bug#: 187322 Product:  Gentoo Linux Version: 2007.0 Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: livecd@gentoo.org Reported By: jdaluz@gmail.com
Component: Ebuilds
URL: 
Summary: sys-apps/parted-1.8.7 breaks sys-apps/hal-0.5.9.1-r1 built with disk-partition USE flag
Keywords:  
Status Whiteboard: 
Opened: 2007-08-01 04:27 0000
Description:   Opened: 2007-08-01 04:27 0000
I just updated parted from 1.8.6 to 1.8.7. This required a revdep-rebuild, but
the hal 0.5.9.1-r1 build failed:

checking for dlopen in -ldl... yes
checking for libparted == 1.7.1, 1.8.0, 1.8.1, 1.8.2, 1.8.6... Found libparted
1.8.7configure: error: *** Requires libparted == 1.7.1/1.8.0/1.8.1/1.8.2 or
1.8.6

!!! ERROR in sys-apps/hal-0.5.9.1-r1:

There was a commit upstream to allow this version in May:

http://gitweb.freedesktop.org/?p=hal.git;a=commit;h=366ab0006278f6c23fc3c33dea7eb61a42fe941e

However, I don't know enough about git to know if this should have been part of
0.5.9.1 or a development branch.

Since this breaks rather important things like automounting external drives and
music players, you might want to consider either package masking parted 1.8.7
or adding libparted 1.8.7 to hal's configure.in per the above commit.

------- Comment #1 From Doug Goldstein 2007-08-01 13:51:00 0000 -------
Fixed.

------- Comment #2 From Erik Zeek 2007-08-01 21:14:30 0000 -------
The patch fails to apply.scp 

>>> Emerging (1 of 3) sys-apps/hal-0.5.9.1-r1 to /
 * hal-0.5.9.1.tar.gz RMD160 ;-) ...                                           
                                                                               
                                    [ ok ]
 * hal-0.5.9.1.tar.gz SHA1 ;-) ...                                             
                                                                               
                                    [ ok ]
 * hal-0.5.9.1.tar.gz SHA256 ;-) ...                                           
                                                                               
                                    [ ok ]
 * hal-0.5.9.1.tar.gz size ;-) ...                                             
                                                                               
                                    [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                                                               
                                    [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                                               
                                    [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                                               
                                    [ ok ]
 * checking hal-0.5.9.1.tar.gz ;-) ...                                         
                                                                               
                                    [ ok ]
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.22-gentoo-r2/build
 * Found sources for kernel version:
 *     2.6.22-gentoo-r2
>>> Unpacking source...
>>> Unpacking hal-0.5.9.1.tar.gz to /tmp/portage/sys-apps/hal-0.5.9.1-r1/work
 * Applying 07_malloc_h_for_stdlib_h.patch ...                                 
                                                                               
                                    [ ok ]
 * Applying 23_runner_64bit_values.patch ...                                   
                                                                               
                                    [ ok ]
 * Applying 24_libparted_1_8_7.patch ...

 * Failed Patch: 24_libparted_1_8_7.patch !
 *  ( /home/gentoo/portage/sys-apps/hal/files/0.5.9/24_libparted_1_8_7.patch )
 *
 * Include in your bugreport the contents of:
 *
 *  
/tmp/portage/sys-apps/hal-0.5.9.1-r1/temp/24_libparted_1_8_7.patch-15813.out

 *
 * ERROR: sys-apps/hal-0.5.9.1-r1 failed.
 * Call stack:
 *   ebuild.sh, line 1648:   Called dyn_unpack
 *   ebuild.sh, line 768:   Called qa_call 'src_unpack'
 *   ebuild.sh, line 44:   Called src_unpack
 *   hal-0.5.9.1-r1.ebuild, line 119:   Called epatch
'/home/gentoo/portage/sys-apps/hal/files/0.5.9/24_libparted_1_8_7.patch'
 *   eutils.eclass, line 304:   Called die
 *
 * Failed Patch: 24_libparted_1_8_7.patch!
 * If you need support, post the topmost build error, and the call stack if
relevant.
 * A complete build log is located at
'/var/log/portage/sys-apps:hal-0.5.9.1-r1:20070801-211257.log'.
 *

------- Comment #3 From Erik Zeek 2007-08-01 21:15:13 0000 -------
Created an attachment (id=126660) [details]
Patch log

------- Comment #4 From Doug Goldstein 2007-08-01 21:42:39 0000 -------
hrm. it had applied cleanly for me. No idea what I tested it against. Fixed
now.

------- Comment #5 From Erik Zeek 2007-08-02 03:01:22 0000 -------
That fixed it.

Thanks,
Erik