Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 415923 - sys-block/partimage-0.6.8: compile error
Summary: sys-block/partimage-0.6.8: compile error
Status: RESOLVED DUPLICATE of bug 405323
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-14 12:26 UTC by Szász Endre István
Modified: 2012-05-14 15:16 UTC (History)
1 user (show)

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


Attachments
The complete build log (sys-block-partimage-0.6.8-20120514-120652.log,30.21 KB, text/plain)
2012-05-14 12:32 UTC, Szász Endre István
Details
The output of the emerge -pqv sys-block/partimage-0.6.8 command (emerge_-pqv_=sys-block-partimage-0.6.8_output.txt,118 bytes, text/plain)
2012-05-14 12:33 UTC, Szász Endre István
Details
The output of the emerge --info =sys-block/partimage-0.6.8 command (emerge_--info_=sys-block-partimage-0.6.8_output.txt,13.82 KB, text/plain)
2012-05-14 12:33 UTC, Szász Endre István
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Szász Endre István 2012-05-14 12:26:44 UTC
If I run the "emerge sys-block/partimage" command, the compile fails. For detailed information please see the attached files.


Reproducible: Always

Steps to Reproduce:
1.emerge sys-block/partimage

Actual Results:  
[...]
make[4]: Entering directory `/var/tmp/portage/sys-block/partimage-0.6.8/work/partimage-0.6.8/src/client'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang  -Wno-deprecated -Wall   -march=athlon64 -O2 -pipe -c -o netclient.o netclient.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang  -Wno-deprecated -Wall   -march=athlon64 -O2 -pipe -c -o imagefile.o imagefile.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/share/locale\" -D_REENTRANT -D_FILE_OFFSET_BITS=64 -I. -I../.. -I../.. -I../../src/shared -I../../src/client -I../../src/client/fs -I/usr/include/slang  -Wno-deprecated -Wall   -march=athlon64 -O2 -pipe -c -o misc.o misc.cpp
imagefile.cpp: In member function 'void CImage::write(void*, DWORD, bool)':
imagefile.cpp:348:58: error: cannot convert 'gzFile_s**' to 'gzFile_s*' for argument '1' to 'int gzwrite(gzFile_s*, const void*, unsigned int)'
imagefile.cpp: In member function 'void CImage::read(char*, DWORD, bool)':
imagefile.cpp:398:48: error: cannot convert 'gzFile_s**' to 'gzFile_s*' for argument '1' to 'int gzread(gzFile_s*, void*, unsigned int)'
imagefile.cpp: In member function 'void CImage::closeReading(bool)':
imagefile.cpp:578:35: error: cannot convert 'gzFile_s**' to 'gzFile_s*' for argument '1' to 'int gzclose(gzFile_s*)'
imagefile.cpp: In member function 'void CImage::closeWriting()':
imagefile.cpp:611:33: error: cannot convert 'gzFile_s**' to 'gzFile_s*' for argument '1' to 'int gzclose(gzFile_s*)'
make[4]: *** [imagefile.o] Error 1
make[4]: *** Waiting for unfinished jobs....
misc.cpp: In function 'void restoreMbr(char*, COptions*)':
misc.cpp:198:53: warning: deprecated conversion from string constant to 'char*'
misc.cpp: In function 'void savePartition(char*, char*, COptions*)':
misc.cpp:567:41: warning: deprecated conversion from string constant to 'char*'
misc.cpp:616:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:617:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:618:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:619:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:620:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:621:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:622:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:623:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:624:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:625:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:652:40: warning: deprecated conversion from string constant to 'char*'
misc.cpp:658:40: warning: deprecated conversion from string constant to 'char*'
misc.cpp:664:33: warning: deprecated conversion from string constant to 'char*'
misc.cpp:670:33: warning: deprecated conversion from string constant to 'char*'
misc.cpp:676:33: warning: deprecated conversion from string constant to 'char*'
misc.cpp:682:37: warning: deprecated conversion from string constant to 'char*'
misc.cpp:711:36: warning: deprecated conversion from string constant to 'char*'
misc.cpp: In function 'void restorePartition(char*, char*, COptions*)':
misc.cpp:778:43: warning: deprecated conversion from string constant to 'char*'
misc.cpp:779:26: warning: deprecated conversion from string constant to 'char*'
misc.cpp:780:40: warning: deprecated conversion from string constant to 'char*'
misc.cpp:822:53: warning: deprecated conversion from string constant to 'char*'
misc.cpp:845:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:846:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:847:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:848:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:849:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:850:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:851:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:852:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:853:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:854:7: warning: deprecated conversion from string constant to 'char*'
misc.cpp:993:40: warning: deprecated conversion from string constant to 'char*'
misc.cpp:999:40: warning: deprecated conversion from string constant to 'char*'
misc.cpp:1005:40: warning: deprecated conversion from string constant to 'char*'
misc.cpp:1011:40: warning: deprecated conversion from string constant to 'char*'
misc.cpp:1017:37: warning: deprecated conversion from string constant to 'char*'
misc.cpp:1023:33: warning: deprecated conversion from string constant to 'char*'
misc.cpp:1052:47: warning: deprecated conversion from string constant to 'char*'
misc.cpp: In function 'void rest_file(char*, COptions*)':
misc.cpp:2629:30: warning: ignoring return value of 'size_t fwrite(const void*, size_t, size_t, FILE*)', declared with attribute warn_unused_result
misc.cpp: In function 'void rest_all(char*, COptions*)':
misc.cpp:2582:18: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result
misc.cpp: In function 'int isDevfsMounted()':
misc.cpp:1786:24: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)', declared with attribute warn_unused_result
make[4]: Leaving directory `/var/tmp/portage/sys-block/partimage-0.6.8/work/partimage-0.6.8/src/client'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/sys-block/partimage-0.6.8/work/partimage-0.6.8/src/client'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-block/partimage-0.6.8/work/partimage-0.6.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-block/partimage-0.6.8/work/partimage-0.6.8'
make: *** [all] Error 2
emake failed
 * ERROR: sys-block/partimage-0.6.8 failed (compile phase):
 *   emake failed
 * 
 * Call stack:
 *          ebuild.sh, line   85:  Called src_compile
 *        environment, line 3002:  Called _eapi2_src_compile
 *   phase-helpers.sh, line  573:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"


Expected Results:  
The sys-block/partimage program get installed and is ready to be used.
Comment 1 Szász Endre István 2012-05-14 12:32:02 UTC
Created attachment 311737 [details]
The complete build log
Comment 2 Szász Endre István 2012-05-14 12:33:05 UTC
Created attachment 311739 [details]
The output of the emerge -pqv sys-block/partimage-0.6.8 command
Comment 3 Szász Endre István 2012-05-14 12:33:45 UTC
Created attachment 311741 [details]
The output of the emerge --info =sys-block/partimage-0.6.8 command
Comment 4 Michael Palimaka (kensington) gentoo-dev 2012-05-14 15:16:41 UTC
This looks like it's fixed in partimage-0.6.9.

*** This bug has been marked as a duplicate of bug 405323 ***