Summary: | sys-fs/hfsutils-3.2.6-r5 - hfswish.c: error: ‘Tcl_Interp’ has no member named ‘result’ | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | tman <cornicx> |
Component: | [OLD] Core system | Assignee: | PPC Porters <ppc> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Adrian.Bassett, jwbraun, randy-andy-, steven, tomwij, travisghansen |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 451368 | ||
Attachments: |
/var/tmp/portage/sys-fs:hfsutils-3.2.6-r5:20130110-025617.log
/var/tmp/portage/sys-fs/hfsutils-3.2.6-r5/temp/environment hfsutils-3.2.6-fix-tcl-6.8.patch hfsutils-3.2.6-r5.ebuild.patch hfsutils-3.2.6-fix-tcl-8.6.patch hfsutils-3.2.6-r5.ebuild.patch |
Description
tman
2013-01-10 01:59:52 UTC
Created attachment 335008 [details]
/var/tmp/portage/sys-fs:hfsutils-3.2.6-r5:20130110-025617.log
Created attachment 335010 [details]
/var/tmp/portage/sys-fs/hfsutils-3.2.6-r5/temp/environment
This is because you are using tcl-8.6. Created attachment 335178 [details]
hfsutils-3.2.6-fix-tcl-6.8.patch
This patch fixes the problem.
You can apply it at the end of the src_unpack() function.
Created attachment 335194 [details]
hfsutils-3.2.6-r5.ebuild.patch
I'd suggest to apply this ebuild patch in order to make it shorter, cleaner, bump it to EAPI5, fix AR and RANLIB directly calling and apply the above patch to fix the tcl-8.6 problem.
Applying the patch alone doesn't solve the build problem for me (not using the modified ebuild). It's getting applied in post_src_prepare via a custom bashrc for me so I don't know if that's affecting it. (In reply to comment #6) 1º Put that patch (named hfsutils-3.2.6-fix-tcl-6.8.patch) in /usr/portage/sys-fs/hfsutils/files/ 2º Edit /usr/portage/sys-fs/hfsutils/hfsutils-3.2.6-r5.ebuild and add this line at the end of src_unpack() function: epatch "${FILESDIR}"/hfsutils-3.2.6-fix-tcl-6.8.patch 3º Go to /usr/portage/sys-fs/hfsutils/ directory and run "repoman manifest" 4º Try to emerge it again. It should work. Note: if you activate tk USE flag and you have tcl-8.6 installed, you need to have tk-8.6 installed as well. I was able to get the patch to apply and package emerge cleanly, after fixing the cr/lf in both the filesdir patch as well as the ebuild patch. For some reason just downloading them and trying to apply them generated failed patches. However, opening them in nano and then simply saving them locally again, fixed whatever cr/lf issues existed, and allowed them to be applied correctly. FWIW, I copied my /usr/portage/sys-fs/hfsutils/hfsutils-3.2.6-r5.ebuild and files subdir to my local portage overlay, and added the tcl patch and edited the ebuild there,(also renamed it to hfsutils-3.2.6-r6.ebuild). I don't think it's recommended to make these changes to the actual portage tree. Lastly, shouldn't the patch be named, hfsutils-3.2.6-fix-tcl-8.6.patch instead of hfsutils-3.2.6-fix-tcl-6.8.patch? Thanks.. (In reply to comment #8) > Lastly, shouldn't the patch be named, hfsutils-3.2.6-fix-tcl-8.6.patch > instead of hfsutils-3.2.6-fix-tcl-6.8.patch? Yes, you are right. Sorry :P Created attachment 335240 [details]
hfsutils-3.2.6-fix-tcl-8.6.patch
Created attachment 335242 [details]
hfsutils-3.2.6-r5.ebuild.patch
(In reply to comment #7) I found the issue. The is the first ebuild I've run into in a *long* time that doesn't call post_src_prepare so I hacked my bashrc to deal with EAPI=1 and now it's applying properly. Sorry for the confusion. I also have the line feed issue and quickly saving in nano solved the issue for me as well. Now building works fine. Thanks! please test and bump the ebuild in portage to close this as fixed + 26 Jan 2013; Lars Wendler <polynomial-c@gentoo.org> hfsutils-3.2.6-r5.ebuild, + +files/hfsutils-3.2.6-fix-tcl-8.6.patch: + Non-maintainer commit: Fixed compilation with tcl-8.6. Thanks to Vicente + Olivert Riera for providing a fix and an ebuild patch in bug #451112. + |