Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 549866 - media-gfx/iscan-2.28.1.5: No rule to make target '../non-free/libesmod.so', needed by 'iscan' on amd64 with GCC <3.4 and >=5.0
Summary: media-gfx/iscan-2.28.1.5: No rule to make target '../non-free/libesmod.so', n...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Matthew Schultz
URL:
Whiteboard:
Keywords: PATCH
Depends on: 498524
Blocks: gcc-5
  Show dependency tree
 
Reported: 2015-05-19 04:39 UTC by aditya3098
Modified: 2015-07-15 19:09 UTC (History)
2 users (show)

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


Attachments
Emerge command (file_549866.txt,86.17 KB, text/plain)
2015-05-19 04:40 UTC, aditya3098
Details
output of emerge --info (file_549866.txt,16.20 KB, text/plain)
2015-05-19 04:41 UTC, aditya3098
Details
output of emerge --info '=media-gfx/iscan-2.29.1.5::gentoo' (file_549866.txt,16.68 KB, text/plain)
2015-05-19 04:42 UTC, aditya3098
Details
output of emerge -pqv '=media-gfx/iscan-2.29.1.5::gentoo' (file_549866.txt,137 bytes, text/plain)
2015-05-19 04:43 UTC, aditya3098
Details
/var/tmp/portage/media-gfx/iscan-2.29.1.5/temp/environment (file_549866.txt,124.59 KB, text/plain)
2015-05-19 04:44 UTC, aditya3098
Details
/var/tmp/portage/media-gfx/iscan-2.29.1.5/temp/build.log (file_549866.txt,86.93 KB, text/plain)
2015-05-19 04:45 UTC, aditya3098
Details
iscan-2.29.1-fix-g++-test.patch (iscan-2.29.1-fix-g++-test.patch,1.36 KB, patch)
2015-05-31 03:32 UTC, Ryan Hill (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description aditya3098 2015-05-19 04:39:08 UTC
I recently upgraded to GCC 5.1 on my ~amd64 machine. I recompiled the entire world, as gcc5.1 was a major upgrade. I had an issue with a few packages, but because of the --keep-going flag I set on emerge, it was no problem, I simply looked at the emerge log to find out which packages failed. I managed to get most of them to compile later, but I have been stuck trying to compile media-gfx/iscan. 
The emerge keeps failing. Please see attachment. This is my first but report, tell me if I need to do something else or if this bug is in the wrong section.

Reproducible: Always

Steps to Reproduce:
1.Upgrade to gcc-5.1
2.emerge -av media-gfz/iscan
3.Fails
Actual Results:  
The emerge fails, and the program stays at its previous version

Expected Results:  
The program (media-gfx/iscan) should have successfully emerged.
Comment 1 aditya3098 2015-05-19 04:40:58 UTC
Created attachment 403592 [details]
Emerge command
Comment 2 aditya3098 2015-05-19 04:41:37 UTC
Created attachment 403594 [details]
output of emerge --info
Comment 3 aditya3098 2015-05-19 04:42:26 UTC
Created attachment 403596 [details]
output of emerge --info '=media-gfx/iscan-2.29.1.5::gentoo'
Comment 4 aditya3098 2015-05-19 04:43:47 UTC
Created attachment 403598 [details]
output of emerge -pqv '=media-gfx/iscan-2.29.1.5::gentoo'
Comment 5 aditya3098 2015-05-19 04:44:27 UTC
Created attachment 403600 [details]
/var/tmp/portage/media-gfx/iscan-2.29.1.5/temp/environment
Comment 6 aditya3098 2015-05-19 04:45:36 UTC
Created attachment 403602 [details]
/var/tmp/portage/media-gfx/iscan-2.29.1.5/temp/build.log
Comment 7 aditya3098 2015-05-19 04:46:07 UTC
Can anyone tell me if I provided sufficient info?
Comment 8 Mike Gilbert gentoo-dev 2015-05-29 00:42:48 UTC
@maintainer: I'm not sure this is gcc5 related. If it is, please block bug 536984.
Comment 9 aditya3098 2015-05-29 04:21:44 UTC
@Mike Do you mean you are able to compile or that I simply need to check with the other gcc? If the second, then I did, and it worked.
Comment 10 Ryan Hill (RETIRED) gentoo-dev 2015-05-31 03:19:17 UTC
It's due to this garbage:

configure.ac:
  65 #  Transitionary check for the C++ ABI while we are switching provided
  66 #  binaries from gcc-3.[23] to gcc-3.4 or later.  Currently gcc-3.[23]
  67 #  is still the official compiler version to use, but experimental bi-
  68 #  naries are released with a ".c2" suffix.
  69 #  The CXX_ABI for gcc-3.[23] is 102, btw.
  70 #  Note that the PACKAGE_RELEASE for the gcc-3.4 or later packages has
  71 #  to be larger than that for the gcc-3.[23] packages (as long as both
  72 #  are distributed) for smooth upgrade paths.
  73 
  74 if test "$GXX" = "yes"; then
  75     AC_MSG_CHECKING([C++ ABI version])
  76     CXX_ABI="`$CXX -E -dM - < /dev/null | $AWK '/GXX_ABI/ { print $3 }'`"
  77     AC_MSG_RESULT([$CXX_ABI])
  78     if test x"$CXX_ABI" = x1002; then
  79         PACKAGE_CXX_ABI=".c2"
  80     else
  81         PACKAGE_CXX_ABI=""
  82     fi
  83     AC_SUBST(PACKAGE_CXX_ABI)
  84 fi


$ g++-5.1.0 -E -dM - < /dev/null | grep GXX
#define __GXX_ABI_VERSION 1008

and only the .c2 version of the libesmod lib is provided for x86_64.
Comment 11 Ryan Hill (RETIRED) gentoo-dev 2015-05-31 03:32:46 UTC
Created attachment 404344 [details, diff]
iscan-2.29.1-fix-g++-test.patch
Comment 12 Ryan Hill (RETIRED) gentoo-dev 2015-05-31 03:41:10 UTC
Please runtime test this before applying.  Since this is a prebuilt binary it may not work correctly with the new C++ ABI.
Comment 13 Ian Delaney (RETIRED) gentoo-dev 2015-06-02 03:30:29 UTC
(In reply to Ryan Hill from comment #12)
> Please runtime test this before applying.  Since this is a prebuilt binary
> it may not work correctly with the new C++ ABI.

Thanks rhill, nice work. Awaiting test run by aditya3098 and/or maintainer who is notable in his absence.
Comment 14 Adam Feldman gentoo-dev 2015-07-15 19:09:53 UTC
The g++ patch is included in the 2.30.1.1 version bump (498524).