Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110532 - app-backup/dar-2.2.2 : compile problem with +static +dar32
Summary: app-backup/dar-2.2.2 : compile problem with +static +dar32
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-26 04:16 UTC by Eli Spizzichino
Modified: 2007-07-12 15:42 UTC (History)
2 users (show)

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


Attachments
config.log (config.log,161.23 KB, text/plain)
2005-10-26 04:17 UTC, Eli Spizzichino
Details
fix USE static in the ebuild (use_staic-dar-2.2.2.ebuild.patch,606 bytes, patch)
2005-10-28 10:57 UTC, Eli Spizzichino
Details | Diff
new ebuild (dar-2.2.2.ebuild,1.21 KB, text/plain)
2005-10-28 10:59 UTC, Eli Spizzichino
Details
patch for the INSTALL instructions (INSTALL.patch,385 bytes, patch)
2005-10-28 11:01 UTC, Eli Spizzichino
Details | Diff
emerge info (emerge.info,2.57 KB, text/plain)
2005-10-30 08:52 UTC, Eli Spizzichino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eli Spizzichino 2005-10-26 04:16:16 UTC
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
Comment 1 Eli Spizzichino 2005-10-26 04:17:54 UTC
Created attachment 71490 [details]
config.log
Comment 2 Eli Spizzichino 2005-10-26 04:55:32 UTC
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.
Comment 3 Eli Spizzichino 2005-10-28 10:57:51 UTC
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
Comment 4 Eli Spizzichino 2005-10-28 10:59:17 UTC
Created attachment 71646 [details]
new ebuild
Comment 5 Eli Spizzichino 2005-10-28 11:01:52 UTC
Created attachment 71647 [details, diff]
patch for the  INSTALL instructions 

added comment on the INSTALLdoc to instruct on how to build dar_static
Comment 6 Eli Spizzichino 2005-10-28 11:03:46 UTC
These should close this bug...
Comment 7 Eli Spizzichino 2005-10-30 04:45:13 UTC
compile fine only with --enable-mode=32 but has limitations
see http://bugs.gentoo.org/show_bug.cgi?id=110739.
Comment 8 MATSUU Takuto (RETIRED) gentoo-dev 2005-10-30 05:15:18 UTC
dar can be compiled successfully with USE="static dar32" on my env.

Please report your `emerge info`. I think it is MAKEOPTS problem.
Comment 9 Eli Spizzichino 2005-10-30 08:52:01 UTC
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...
Comment 10 Wiebe Cazemier 2006-03-04 08:12:55 UTC
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".
Comment 11 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2006-05-06 15:53:45 UTC
Ensuring app-backup doesn't lose any bugs.
Comment 12 Kevin Lacquement 2007-07-10 20:26:50 UTC
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.
Comment 13 Jakub Moc (RETIRED) gentoo-dev 2007-07-12 15:42:28 UTC
(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.