Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 489394 - =app-misc/subsurface-9999 - sed: can't read Makefile: No such file or directory
Summary: =app-misc/subsurface-9999 - sed: can't read Makefile: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Martin Gysel (bearsh)
URL:
Whiteboard: Needs qmake?
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-25 19:36 UTC by Russell Dwiggins
Modified: 2013-11-16 15:13 UTC (History)
3 users (show)

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


Attachments
subsurface-9999: new live version based on qt4-r2 ecalss (subsurface-9999.ebuild,1.42 KB, text/plain)
2013-11-15 08:21 UTC, Martin Gysel (bearsh)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Russell Dwiggins 2013-10-25 19:36:25 UTC
subsurface devs are porting app to Qt, may have added a need for qmake to compile (INSTALL doc states so).  Build complains about non-existent Makefile. 

Reproducible: Always

Steps to Reproduce:
1.emerge =app-misc/subsurface-9999
2.
3.
Actual Results:  
Build log:

* Package:    app-misc/subsurface-9999
 * Repository: gentoo
 * Maintainer: me@bearsh.org bmangentoo@gmail.com,proxy-maint@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux map usb userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
GIT update -->
   repository:               git://subsurface.hohndel.org/subsurface.git
   at the commit:            695f64a23a2b9b5caeceddf802fb1c0c29401c84
   branch:                   master
   storage directory:        "/usr/portage/distfiles/egit-src/subsurface.git"
   checkout type:            bare repository
Cloning into '/var/tmp/portage/app-misc/subsurface-9999/work/subsurface-9999'...
done.
Branch branch-master set up to track remote branch master from origin.
Switched to a new branch 'branch-master'
>>> Unpacked to /var/tmp/portage/app-misc/subsurface-9999/work/subsurface-9999
>>> Source unpacked in /var/tmp/portage/app-misc/subsurface-9999/work
>>> Preparing source in /var/tmp/portage/app-misc/subsurface-9999/work/subsurface-9999 ...
sed: can't read Makefile: No such file or directory
 * ERROR: app-misc/subsurface-9999::gentoo failed (prepare phase):
 *   Failed to fix gcc hardcode issues.
 * 
 * Call stack:
 *     ebuild.sh, line  93:  Called src_prepare
 *   environment, line 3264:  Called die
 * The specific snippet of code:
 *       sed -i 's|CC\=gcc||' Makefile || die "Failed to fix gcc hardcode issues.";
 * 
 * If you need support, post the output of `emerge --info '=app-misc/subsurface-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-misc/subsurface-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-misc/subsurface-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-misc/subsurface-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/app-misc/subsurface-9999/work/subsurface-9999'
 * S: '/var/tmp/portage/app-misc/subsurface-9999/work/subsurface-9999'
Comment 1 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-10-26 09:32:53 UTC
Please do not manually CC maintainers, thank you in advance. :)
Comment 2 Martin Gysel (bearsh) 2013-10-26 23:18:59 UTC
(In reply to Russell Dwiggins from comment #0)
> subsurface devs are porting app to Qt, may have added a need for qmake to
> compile (INSTALL doc states so).  Build complains about non-existent
> Makefile. 

I'm fully aware of the issue (and yes it needs qmake...) but I'm a little bit short of time at the moment so it will probably take a while.
Comment 3 Russell Dwiggins 2013-10-28 04:36:50 UTC
I apologize for directly including you here Martin.  I posted the bug in case you were not aware.  

I may take a stab at the ebuild myself, though I am very newb.
Comment 4 Martin Gysel (bearsh) 2013-11-15 08:21:19 UTC
Created attachment 363316 [details]
subsurface-9999: new live version based on qt4-r2 ecalss

please try this ebuild
alternatively you'll also find it in my overlay at
https://bitbucket.org/bearsh/bearshoverlay/overview
Comment 5 Russell Dwiggins 2013-11-15 19:17:56 UTC
It built and ran for me just fine.
Comment 6 Tom Wijsman (TomWij) (RETIRED) gentoo-dev 2013-11-16 15:13:23 UTC
+  16 Nov 2013; Tom Wijsman <TomWij@gentoo.org> +subsurface-3.1.1.ebuild,
+  subsurface-9999.ebuild:
+  Version bump to 3.1.1, added sqlite dependency and other minor changes; fixes
+  bug #491028. Merged 3.1.1 version bump fixes and move to qt4 from bug #489394
+  into an updated 9999 ebuild, which fixes that bug. Proxied commit for Martin
+  Gysel (bearsh).

Thank you Russell for reporting and testing, thank you Martin for contributing.