Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350851 - app-admin/testdisk-6.11-r1 +static does not build
Summary: app-admin/testdisk-6.11-r1 +static does not build
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Forensics Herd [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 547080
  Show dependency tree
 
Reported: 2011-01-06 19:00 UTC by Raphaël Droz
Modified: 2015-04-23 14:12 UTC (History)
5 users (show)

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


Attachments
build log (build.log,12.05 KB, text/plain)
2011-01-06 19:07 UTC, Raphaël Droz
Details
emerge --info (emerge.info,4.71 KB, text/plain)
2011-01-06 19:08 UTC, Raphaël Droz
Details
app-admin/testdisk-6.13 +static error (build.log) (build.log.gz,6.08 KB, application/gzip)
2013-01-30 22:05 UTC, Raphaël Droz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raphaël Droz 2011-01-06 19:00:58 UTC
Sounds a bit like, eg, bug #331739
Note that manually running the same ./configure line in /var/tmp/portage/ does succeed !

The "static" use flag should probably depends on the ncurses[static] use flag but a true solution would allows one to build a static testdisk without static ncurses.

Reproducible: Always
Comment 1 Raphaël Droz 2011-01-06 19:07:57 UTC
Created attachment 259090 [details]
build log
Comment 2 Raphaël Droz 2011-01-06 19:08:13 UTC
Created attachment 259091 [details]
emerge --info
Comment 3 Raphaël Droz 2011-01-06 19:34:24 UTC
ncurses -static AND testdisk -static builds fine: true
but, correction :
ncurses +static-libs AND testdisk +static throws the same error
Comment 4 Sebastien GUILLAUME 2011-10-22 13:20:08 UTC
To build with this :
[ebuild   R    ] app-admin/testdisk-6.12  USE="jpeg static -ntfs -reiserfs"

I need to set USEflag "static-libs" to :
media-libs/jpeg
sys-libs/ncurses

It seem to be a problem of dependancies checking.
To build testdisk with "static" useflag, media-libs/jpeg sys-libs/ncurses have to be build with "static-libs" useflag.
Comment 5 Pacho Ramos gentoo-dev 2013-01-30 20:12:15 UTC
Any news on this? Can I commit the change to deps in the tree?
Comment 6 Raphaël Droz 2013-01-30 22:05:35 UTC
Created attachment 337350 [details]
app-admin/testdisk-6.13 +static error (build.log)

1) Just a simple attempt of testdisks 6.13 +static (sys-libs/ncurses -static-libs)
configure: error: At least one of ncursesw/ncurses/pdcurses/curses library must be present

As Sebastien stated, both ncurses and jpeg needs statics-libs.
(anyway I'm not using media-libs/jpeg, but virtual/jpeg + media-libs/libjpeg-turbo)

2) So I recompiled both (+ virtual/jpeg) then testdisks +static configured... a bit further
... but failed on reiserfs:
checking for libreiserfs_get_version in -lreiserfs... no

I believe DEPENDS should be updated, but I can't tell exactly how, yet.
Comment 7 Raphaël Droz 2013-01-30 22:36:36 UTC
adding static-libs to sys-fs/progsreiserfs and sys-fs/ntfs3g did the trick with both 6.12 and 6.13

Probably nothing related, but testdisk is unusable using a dark bg terminal.
(I don't remember that was it the case 2 years ago)
Comment 8 Nicolas Bock gentoo-dev 2015-04-21 12:21:53 UTC
app-admin/testdisk-7.0 builds with "static". Please give that a try.
Comment 9 Nicolas Bock gentoo-dev 2015-04-23 14:12:03 UTC
Closing. If this happens again with a more recent version, please open a new bug.