I been able to compile dar 2.2.2 without the static but with +static +dar32 use falgs I got errors: .deps/tronconneuse.Tpo': deps/archive.Tpo': `.deps/elastic.Tpo': No such file or directory Reproducible: Always Steps to Reproduce: Actual Results: i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DLIBDAR_MODE=32 -march=athlon-xp -O2 -pipe -MT tronconneuse.lo -MD -MP -MF .deps/tronconneuse.Tpo -c tronconneuse.cpp -o tronconneuse.o >/dev/null 2>&1 if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -DLIBDAR_MODE=32 -march=athlon-xp -O2 -pipe -MT elastic.o -MD -MP -MF ".deps/elastic.Tpo" -c -o elastic.o elastic.cpp; \ then mv -f ".deps/elastic.Tpo" ".deps/elastic.Po"; else rm -f ".deps/elastic.Tpo"; exit 1; fi mv: impossibile fare stat di `.deps/tronconneuse.Tpo': No such file or directory make[3]: *** [tronconneuse.o] Error 1 make[3]: *** Waiting for unfinished jobs.... mv: impossibile fare stat di `.deps/archive.Tpo': No such file or directory make[3]: *** [archive.o] Error 1 mv: impossibile fare stat di `.deps/elastic.Tpo': No such file or directory make[3]: *** [elastic.o] Error 1 make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/portage/dar-2.2.2/work/dar-2.2.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/portage/dar-2.2.2/work/dar-2.2.2' make: *** [all] Error 2
Created attachment 71490 [details] config.log
with USE=-dar32 +static I got a different error: if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -march=athlon-xp -O2 -pipe -MT sar.o -MD -MP -MF ".deps/sar.Tpo" -c -o sar.o sar.cpp; \ then mv -f ".deps/sar.Tpo" ".deps/sar.Po"; else rm -f ".deps/sar.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -march=athlon-xp -O2 -pipe -MT tools.o -MD -MP -MF ".deps/tools.Tpo" -c -o tools.o tools.cpp; \ then mv -f ".deps/tools.Tpo" ".deps/tools.Po"; else rm -f ".deps/tools.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -march=athlon-xp -O2 -pipe -MT zapette.o -MD -MP -MF ".deps/zapette.Tpo" -c -o zapette.o zapette.cpp; \ then mv -f ".deps/zapette.Tpo" ".deps/zapette.Po"; else rm -f ".deps/zapette.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -march=athlon-xp -O2 -pipe -MT archive.o -MD -MP -MF ".deps/archive.Tpo" -c -o archive.o archive.cpp; \ then mv -f ".deps/archive.Tpo" ".deps/archive.Po"; else rm -f ".deps/archive.Tpo"; exit 1; fi if i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../.. -march=athlon-xp -O2 -pipe -MT tronconneuse.o -MD -MP -MF ".deps/tronconneuse.Tpo" -c -o tronconneuse.o tronconneuse.cpp; \ then mv -f ".deps/tronconneuse.Tpo" ".deps/tronconneuse.Po"; else rm -f ".deps/tronconneuse.Tpo"; exit 1; fi mv: impossibile fare stat di `.deps/tools.Tpo': No such file or directory make[3]: *** [tools.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... mv: impossibile fare stat di `.deps/sar.Tpo': No such file or directory make[3]: *** [sar.lo] Error 1 make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/var/tmp/portage/portage/dar-2.2.2/work/dar-2.2.2/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/portage/dar-2.2.2/work/dar-2.2.2' make: *** [all] Error 2 !!! ERROR: app-backup/dar-2.2.2 failed. !!! Function src_compile, Line 34, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 71645 [details, diff] fix USE static in the ebuild This problem is related to comment 1 on http://bugs.gentoo.org/show_bug.cgi?id=103741 I've tried with other configure parameter: ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu --disable-upx --disable-ea-support --enable-static=yes --enable-mode=32 so just use static && myconf="${myconf} --enable-static=yes" || myconf="${myconf} --enable-static=no --disable-dar-static" now it compile and build dar_static. see the attached patchs
Created attachment 71646 [details] new ebuild
Created attachment 71647 [details, diff] patch for the INSTALL instructions added comment on the INSTALLdoc to instruct on how to build dar_static
These should close this bug...
compile fine only with --enable-mode=32 but has limitations see http://bugs.gentoo.org/show_bug.cgi?id=110739.
dar can be compiled successfully with USE="static dar32" on my env. Please report your `emerge info`. I think it is MAKEOPTS problem.
Created attachment 71738 [details] emerge info As I already wrote it compile here fine too with USE="static dar32" but not with USE="static" or USE="static dar64" and this cause problem since I can't restore a big archive see the other bug report...
Upgrading to gcc 3.4.5 (from 3.4.4-r1) fixed the compile issue as well. I can compile dar 2.2.2 (most recent stable) now just fine, with "static -dar32 -dar64".
Ensuring app-backup doesn't lose any bugs.
dar-2.2.2 is no longer in the tree, and the current version (2.3.3) works. I think this bug can be closed.
(In reply to comment #12) > dar-2.2.2 is no longer in the tree, and the current version (2.3.3) works. I > think this bug can be closed. Closing, thanks.