Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187322 - sys-apps/parted-1.8.7 breaks sys-apps/hal-0.5.9.1-r1 built with disk-partition USE flag
Summary: sys-apps/parted-1.8.7 breaks sys-apps/hal-0.5.9.1-r1 built with disk-partitio...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-01 04:27 UTC by Jose daLuz
Modified: 2007-08-02 03:01 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch log (24_libparted_1_8_7.patch-15813.out,3.85 KB, text/plain)
2007-08-01 21:15 UTC, Erik Zeek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose daLuz 2007-08-01 04:27:47 UTC
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 Doug Goldstein (RETIRED) gentoo-dev 2007-08-01 13:51:00 UTC
Fixed.
Comment 2 Erik Zeek 2007-08-01 21:14:30 UTC
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 Erik Zeek 2007-08-01 21:15:13 UTC
Created attachment 126660 [details]
Patch log
Comment 4 Doug Goldstein (RETIRED) gentoo-dev 2007-08-01 21:42:39 UTC
hrm. it had applied cleanly for me. No idea what I tested it against. Fixed now.
Comment 5 Erik Zeek 2007-08-02 03:01:22 UTC
That fixed it.

Thanks,
Erik