Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 400593 - app-forensics/autopsy-2.24 ebuild produces incomplete file at /usr/bin/autopsy
Summary: app-forensics/autopsy-2.24 ebuild produces incomplete file at /usr/bin/autopsy
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Forensics Herd [disbanded]
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-24 12:47 UTC by Gokdeniz Karadag
Modified: 2012-03-08 09:29 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 Gokdeniz Karadag 2012-01-24 12:47:31 UTC
In app-forensics/autopsy-2.24, the /usr/lib/autopsy/autopsy does not run with perl errors.

The generation part for the file is diffed below between autopsy-2.23 and autopsy-2.24. In a possible "tidying" effort, base/autopsy.base did not got included into the final file.

-       echo "#!/usr/bin/perl -wT" > autopsy
-       echo "use lib '/usr/lib/autopsy/';" >> autopsy
-       echo "use lib '/usr/lib/autopsy/lib/';" >> autopsy
-       cat base/autopsy.base >> autopsy

+       cat <<-EOF > autopsy
+               #!/usr/bin/perl -wT
+               use lib '/usr/lib/autopsy/';
+               use lib '/usr/lib/autopsy/lib/';
+               base/autopsy.base
+       EOF


Possible fix:

cat <<-EOF > autopsy
   #!/usr/bin/perl -wT
   use lib '/usr/lib/autopsy/';
   use lib '/usr/lib/autopsy/lib/';
EOF
cat base/autopsy.base >> autopsy

Reproducible: Always
Comment 1 Tim Harder gentoo-dev 2012-03-08 09:29:02 UTC
Fixed in autopsy-2.24-r1 in CVS.