Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 414153 - =net-libs/libmsn-4.2 not compiles with gcc-4.7
Summary: =net-libs/libmsn-4.2 not compiles with gcc-4.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.7
  Show dependency tree
 
Reported: 2012-04-30 16:33 UTC by David Kredba
Modified: 2012-05-07 11:09 UTC (History)
0 users

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 David Kredba 2012-04-30 16:33:33 UTC
>>> Working in BUILD_DIR: "/var/tmp/portage/net-libs/libmsn-4.2/work/libmsn-4.2_build"
make -j4
.[35m.[1mScanning dependencies of target msn
.[0m[  5%] [ 15%] [ 15%] [ 20%] .[32mBuilding CXX object msn/CMakeFiles/msn.dir/message.cpp.o
.[0m.[32mBuilding CXX object msn/CMakeFiles/msn.dir/connection.cpp.o
.[0m.[32mBuilding CXX object msn/CMakeFiles/msn.dir/authdata.cpp.o
.[0m.[32mBuilding CXX object msn/CMakeFiles/msn.dir/switchboardserver.cpp.o
.[0m[ 25%] .[32mBuilding CXX object msn/CMakeFiles/msn.dir/notificationserver.cpp.o
.[0m[ 30%] .[32mBuilding CXX object msn/CMakeFiles/msn.dir/util.cpp.o
.[0m/var/tmp/portage/net-libs/libmsn-4.2/work/libmsn-4.2/msn/util.cpp: In function ‘void MSN::libmsn_Siren7_DecodeVoiceClip(std::string)’:
/var/tmp/portage/net-libs/libmsn-4.2/work/libmsn-4.2/msn/util.cpp:537:33: error: ‘unlink’ was not declared in this scope
/var/tmp/portage/net-libs/libmsn-4.2/work/libmsn-4.2/msn/util.cpp: In function ‘void MSN::libmsn_Siren7_EncodeVoiceClip(std::string)’:
/var/tmp/portage/net-libs/libmsn-4.2/work/libmsn-4.2/msn/util.cpp:621:34: error: ‘unlink’ was not declared in this scope
make[2]: *** [msn/CMakeFiles/msn.dir/util.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [msn/CMakeFiles/msn.dir/all] Error 2
make: *** [all] Error 2
 .[31;01m*.[0m ERROR: net-libs/libmsn-4.2 failed (compile phase):
 .[31;01m*.[0m   emake failed
Comment 1 David Kredba 2012-05-06 12:04:56 UTC
Fedora have patch at http://osdir.com/ml/scm-fedora-commits/2012-01/msg21122.html.
Comment 2 Johannes Huber gentoo-dev 2012-05-07 11:09:50 UTC
Thanks patch added in =net-libs/libmsn-4.2.1.

+  07 May 2012; Johannes Huber <johu@gentoo.org> +files/libmsn-4.2.1-gcc47.patch,
+  +libmsn-4.2.1.ebuild:
+  Version bump. Adds patch to build with gcc47 spotted by David Kredba
+  <nheghathivhistha@gmail.com> wrt bug #414153.