Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 369423 - sys-block/partitionmanager-1.0.3 fails to compile against sys-block/parted-3.0
Summary: sys-block/partitionmanager-1.0.3 fails to compile against sys-block/parted-3.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugs.kde.org/show_bug.cgi?id=...
Whiteboard:
Keywords:
Depends on:
Blocks: parted-3.0
  Show dependency tree
 
Reported: 2011-05-31 05:04 UTC by André Terpstra
Modified: 2011-09-12 12:03 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description André Terpstra 2011-05-31 05:04:07 UTC
/var/tmp/portage/sys-block/partitionmanager-1.0.3/work/partitionmanager-1.0.3/src/gui/sizedialogwidgetbase.ui: Warning: Z-order assignment: 'verticalSpacer' is not a valid widget.                            
[  7%] [  8%] Generating ui_mainwindowbase.h
[  9%] Generating ui_filesystemsupportdialogwidgetbase.h                                                                                                                                                       
Generating ui_progressdialogwidgetbase.h                                                                                                                                                                       
[ 10%] [ 11%] [ 12%] Generating ui_partitionmanagerwidgetbase.h                                                                                                                                                
Generating ui_listdevicesbase.h                                                                                                                                                                                
Generating ui_partpropswidgetbase.h                                                                                                                                                                            
[ 13%] Generating ui_partitionmanagerkcmbase.h                                                                                                                                                                 
Scanning dependencies of target partitionmanagerprivate                                                                                                                                                        
[ 14%] [ 15%] [ 16%] Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/device.o                                                                                                              
Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/partitionmanagerprivate_automoc.o                                                                                                               
Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/copysourcedevice.o                                                                                                                         
[ 17%] [ 18%] Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/copysourcefile.o                                                                                                             
Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/operationrunner.o                                                                                                                          
[ 19%] [ 20%] Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/copytargetdevice.o                                                                                                           
[ 21%] Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/copytarget.o                                                                                                                        
Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/copytargetfile.o                                                                                                                           
[ 22%] [ 23%] [ 24%] Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/partitionnode.o                                                                                                       
Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/partitiontable.o                                                                                                                           
Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/operationstack.o                                                                                                                           
[ 24%] [ 25%] Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/partitionrole.o                                                                                                              
[ 26%] Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/copysource.o                                                                                                                        
Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/libparted.o                                                                                                                                
[ 27%] [ 28%] Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/core/partition.o                                                                                                                  
Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/util/globallog.o                                                                                                                                
[ 29%] Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/util/report.o                                                                                                                            
[ 30%] Building CXX object src/CMakeFiles/partitionmanagerprivate.dir/util/capacity.o                                                                                                                          
/var/tmp/portage/sys-block/partitionmanager-1.0.3/work/partitionmanager-1.0.3/src/core/libparted.cpp: In function 'qint64 readSectorsUsedLibParted(PedDisk*, const Partition&)':                               
/var/tmp/portage/sys-block/partitionmanager-1.0.3/work/partitionmanager-1.0.3/src/core/libparted.cpp:131:74: error: 'ped_file_system_open' was not declared in this scope
/var/tmp/portage/sys-block/partitionmanager-1.0.3/work/partitionmanager-1.0.3/src/core/libparted.cpp:135:90: error: 'ped_file_system_get_resize_constraint' was not declared in this scope
/var/tmp/portage/sys-block/partitionmanager-1.0.3/work/partitionmanager-1.0.3/src/core/libparted.cpp:141:39: error: 'ped_file_system_close' was not declared in this scope
make[2]: *** [src/CMakeFiles/partitionmanagerprivate.dir/core/libparted.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/CMakeFiles/partitionmanagerprivate.dir/all] Error 2
make: *** [all] Error 2
emake failed
 * ERROR: sys-block/partitionmanager-1.0.3 failed (compile phase):
 *   Make failed!
 * 
 * Call stack:
 *     ebuild.sh, line   56:  Called src_compile
 *   environment, line 4092:  Called kde4-base_src_compile
 *   environment, line 3187:  Called cmake-utils_src_compile
 *   environment, line 1317:  Called _execute_optionaly 'src_compile'
 *   environment, line  687:  Called enable_cmake-utils_src_compile
 *   environment, line 1572:  Called cmake-utils_src_make
 *   environment, line 1336:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 * 
 * If you need support, post the output of 'emerge --info =sys-block/partitionmanager-1.0.3',
 * the complete build log and the output of 'emerge -pqv =sys-block/partitionmanager-1.0.3'.
 * The complete build log is located at '/var/log/portage/sys-block:partitionmanager-1.0.3:20110531-050037.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-block/partitionmanager-1.0.3/temp/environment'.
 * S: '/var/tmp/portage/sys-block/partitionmanager-1.0.3/work/partitionmanager-1.0.3'

>>> Failed to emerge sys-block/partitionmanager-1.0.3, Log file:

>>>  '/var/log/portage/sys-block:partitionmanager-1.0.3:20110531-050037.log'
Comment 1 André Terpstra 2011-05-31 05:05:15 UTC
eusGentoo2 ~ # emerge --info
Portage 2.1.9.50 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.13-r2, 2.6.39-gentoo x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E6750_@_2.66GHz-with-gentoo-2.0.2
Timestamp of tree: Tue, 31 May 2011 04:15:01 +0000
ccache version 3.1.5 [enabled]
app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.2
dev-util/ccache:          3.1.5
dev-util/cmake:           2.8.4-r1
sys-apps/baselayout:      2.0.2
sys-apps/openrc:          0.8.2-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=core2 -mtune=core2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://192.168.1.222/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="nl"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://192.168.1.222/gentoo-portage"
USE="X a52 aac acl acpi akonadi alsa amd64 berkdb branding bzip2 cairo cdr cleartype cli consolekit cracklib crypt cups cxx dbus declarative desktopglobe device-mapper dga directfb doc dri dts dvd dvdr emboss encode exif extras fam fat fbcon ffmpeg firefox flac floppy fontconfig fortran gallium gd gdbm gdu gif glitz gnutls gphoto2 gpm gstreamer iconv ieee1394 ipv6 jadetex java jpeg jpeg2k kde lcms ldap libnotify lm_sensors logrotate mad mmx mng modules mp3 mp3tunes mp4 mpeg msn mudflap multilib mysql ncurses network-cron nls nptl nptlonly nsplugin ntfs nvidia offensive ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds pppd python qt3support qt4 rdesktop rdp readline reiser4 reiserfs sasl sdl semantic-desktop session sms spell sql sse sse2 ssl ssse3 startup-notification svg sysfs syslog tcpd threads tiff tk toolbar truetype udev unicode usb utils vorbis webkit winpopup x264 xcb xcomposite xine xinerama xml xorg xulrunner xv xvid zip zlib" ALSA_CARDS="intel-hda" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="nl" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="HP" USERLAND="GNU" VIDEO_CARDS="nvidia nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

ZeusGentoo2 ~ #
Comment 2 Jean-Francois Ostiguy 2011-06-01 00:22:00 UTC
I am experiencing the same failure to compile.
Comment 3 Alexandre 2011-06-01 05:18:51 UTC
Same problem here with partitionmanager, but also with gparted
http://pastebin.com/A74umHky
Comment 4 Alexandre 2011-06-01 05:20:56 UTC
(In reply to comment #3)
> Same problem here with partitionmanager, but also with gparted
> http://pastebin.com/A74umHky

correspond to bug http://bugs.gentoo.org/show_bug.cgi?id=369417
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-06-01 15:08:04 UTC
* Noteworthy changes in release 3.0 (2011-05-30) [stable]

** Bug fixes

  Fix numerous small leaks in both the library and the UI.

** Changes in behavior

  Remove all FS-related (file system-related) sub-commands; these commands
  are no longer recognized because they were all dependent on parted "knowing"
  too much about file system: mkpartfs, mkfs, cp, move, check, resize.
  This change removes not just the user interface bits, but also the
  library functions and nearly all of the underlying FS-munging code.
  The code embedded in Parted by which it knew about those file systems
  was so old, unmaintainable and buggy that while seemingly drastic,
  this change is like removing a gangrenous toe.

  Here is the list of removed functions:

    ped_file_system_clobber
    ped_file_system_open
    ped_file_system_create
    ped_file_system_close
    ped_file_system_check
    ped_file_system_copy
    ped_file_system_resize
    ped_file_system_get_create_constraint
    ped_file_system_get_resize_constraint
    ped_file_system_get_copy_constraint

  This change also removes the corresponding function members
  from "struct _PedFileSystemOps":

    clobber open create close check copy resize get_create_constraint
    get_resize_constraint get_copy_constraint
Comment 6 Andreas K. Hüttel archtester gentoo-dev 2011-08-06 16:08:13 UTC
Please submit an upstream bug report and link to it here...
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2011-08-28 14:29:10 UTC
I changed the dependencies such that partitionmanager requires <parted-3. Upstream the problem is fixed, but the code has changed a lot, so we'll have to wait for a new release or a backport. Keeping the bug open for now.
Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2011-09-12 12:03:58 UTC
This was getting old...

+*partitionmanager-1.0.3_p20110912 (12 Sep 2011)
+
+  12 Sep 2011; Samuli Suominen <ssuominen@gentoo.org>
+  +partitionmanager-1.0.3_p20110912.ebuild:
+  Fix building with sys-block/parted >= 3 with upstream version control
+  snapshot wrt #369423 by André Terpstra