Jump to content

Photo

Can't emerge gparted

- - - - -

Best Answer romikb , 30 August 2017 - 08:26 AM

I migrate to gcc-5 long time ago and have no issues since that.

I rebuild dev-cpp/glibmm and dev-cpp/gtkmm and after this gparted build without issues.

Thank you.

Go to the full post »


6 replies to this topic

#1
romikb

romikb

    Member

  • Members
  • PipPip
  • 10 posts

Emerge can't building any version of gparted. Build fail when try to link.

/bin/sh ../libtool  --tag=CXX   --mode=link x86_64-pc-linux-gnu-g++ -Wall        -march=core-avx-i -O2 -pipe -std=gnu++11  -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -o gpartedbin BlockSpecial.o Copy_Blocks.o DMRaid.o Device.o DialogFeatures.o DialogManageFlags.o Dialog_Base_Partition.o Dialog_Disklabel.o Dialog_FileSystem_Label.o Dialog_Partition_Copy.o Dialog_Partition_Info.o Dialog_Partition_Name.o Dialog_Partition_New.o Dialog_Partition_Resize_Move.o Dialog_Progress.o Dialog_Rescue_Data.o DrawingAreaVisualDisk.o FS_Info.o FileSystem.o Frame_Resizer_Base.o Frame_Resizer_Extended.o GParted_Core.o HBoxOperations.o LVM2_PV_Info.o LUKS_Info.o Mount_Info.o Operation.o OperationChangeUUID.o OperationCheck.o OperationCopy.o OperationCreate.o OperationDelete.o OperationDetail.o OperationFormat.o OperationLabelFileSystem.o OperationNamePartition.o OperationResizeMove.o Partition.o PartitionLUKS.o PartitionVector.o PipeCapture.o Proc_Partitions_Info.o ProgressBar.o SWRaid_Info.o TreeView_Detail.o Utils.o Win_GParted.o btrfs.o exfat.o ext2.o f2fs.o fat16.o hfs.o hfsplus.o jfs.o linux_swap.o lvm2_pv.o luks.o main.o nilfs2.o ntfs.o reiser4.o reiserfs.o ufs.o xfs.o -lgthread-2.0 -pthread -lglib-2.0   -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype   -lparted-fs-resize -lparted -ldl -luuid
libtool: link: x86_64-pc-linux-gnu-g++ -Wall -march=core-avx-i -O2 -pipe -std=gnu++11 -Wl,-O1 -Wl,--sort-common -o gpartedbin BlockSpecial.o Copy_Blocks.o DMRaid.o Device.o DialogFeatures.o DialogManageFlags.o Dialog_Base_Partition.o Dialog_Disklabel.o Dialog_FileSystem_Label.o Dialog_Partition_Copy.o Dialog_Partition_Info.o Dialog_Partition_Name.o Dialog_Partition_New.o Dialog_Partition_Resize_Move.o Dialog_Progress.o Dialog_Rescue_Data.o DrawingAreaVisualDisk.o FS_Info.o FileSystem.o Frame_Resizer_Base.o Frame_Resizer_Extended.o GParted_Core.o HBoxOperations.o LVM2_PV_Info.o LUKS_Info.o Mount_Info.o Operation.o OperationChangeUUID.o OperationCheck.o OperationCopy.o OperationCreate.o OperationDelete.o OperationDetail.o OperationFormat.o OperationLabelFileSystem.o OperationNamePartition.o OperationResizeMove.o Partition.o PartitionLUKS.o PartitionVector.o PipeCapture.o Proc_Partitions_Info.o ProgressBar.o SWRaid_Info.o TreeView_Detail.o Utils.o Win_GParted.o btrfs.o exfat.o ext2.o f2fs.o fat16.o hfs.o hfsplus.o jfs.o linux_swap.o lvm2_pv.o luks.o main.o nilfs2.o ntfs.o reiser4.o reiserfs.o ufs.o xfs.o -pthread  -Wl,--as-needed -lgthread-2.0 -lgtkmm-2.4 -latkmm-1.6 -lgdkmm-2.4 -lgiomm-2.4 -lpangomm-1.4 -lglibmm-2.4 -lcairomm-1.0 -lsigc-2.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lparted-fs-resize -lparted -ldl -luuid -pthread
Copy_Blocks.o: In function `GParted::copy_blocks::set_progress_info()':
Copy_Blocks.cc:(.text+0x667): undefined reference to `Glib::ustring::ustring(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)'
Copy_Blocks.cc:(.text+0xb35): undefined reference to `Glib::ustring::ustring(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)'
Copy_Blocks.cc:(.text+0xdf5): undefined reference to `Glib::ustring::ustring(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)'
Copy_Blocks.o: In function `GParted::copy_blocks::copy()':
Copy_Blocks.cc:(.text+0x16aa): undefined reference to `Glib::ust

Please help.

 

glib is latest available - 2.23-r4



#2
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 415 posts

2.23-r4 would be glibc, not glib. Show output of gcc-config -l


www.funtoo.org

#3
romikb

romikb

    Member

  • Members
  • PipPip
  • 10 posts

Yes, glibc is 2.23-r4.

server meta-repo # gcc-config -l
 [1] x86_64-pc-linux-gnu-5.3.0 *


#4
jhan

jhan

    Member

  • Members
  • PipPip
  • 14 posts

I would guess that you need to recompile dev-libs/glib. Especially if you recently changed the gcc version.



#5
cardinal

cardinal

    Advanced Member

  • Members
  • PipPipPip
  • 252 posts

Rebuild dev-cpp/glibmm
https://developer.gn...1_1ustring.html
Glib::ustring::ustring
 
 
https://wiki.gentoo....-4.x_to_gcc-5.x
https://www.gentoo.o...-c 11-abi.html

https://gcc.gnu.org/...g_dual_abi.html



#6
Oleg Vinichenko

Oleg Vinichenko

    Staff

  • Moderators
  • 415 posts

 

Yes, glibc is 2.23-r4.

server meta-repo # gcc-config -l
 [1] x86_64-pc-linux-gnu-5.3.0 *

it could happen that you didn't rebuild the ebuilds which affected by ABI changes between gcc-4 and gcc-5. Follow http://www.funtoo.org/News:GCC_Update


www.funtoo.org

#7
romikb

romikb

    Member

  • Members
  • PipPip
  • 10 posts
✓  Best Answer

I migrate to gcc-5 long time ago and have no issues since that.

I rebuild dev-cpp/glibmm and dev-cpp/gtkmm and after this gparted build without issues.

Thank you.





Reply to this topic



  


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users