Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 390625 - app-mobilephone/qtadb-0.8.1 - main.o: file not recognized: File truncated
Summary: app-mobilephone/qtadb-0.8.1 - main.o: file not recognized: File truncated
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Marios Andreopoulos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-15 16:34 UTC by Florian Manschwetus
Modified: 2011-11-15 23:12 UTC (History)
2 users (show)

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


Attachments
build.log as requested (build.log,41.36 KB, text/plain)
2011-11-15 19:11 UTC, Florian Manschwetus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Florian Manschwetus 2011-11-15 16:34:37 UTC
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-rpath,/usr/lib64/qt4 -o QtADB main.o mainwindow.o dialogkopiuj.o phone.o computer.o screenshotthread.o connectWifi.o aboutdialog.o appdialog.o application.o updateapp.o appinfo.o filewidget.o appwidget.o recoverywidget.o fastbootwidget.o screenshotwidget.o phoneinfowidget.o settingswidget.o shellwidget.o messagewidget.o contactwidget.o apptablemodel.o filetablemodel.o backuptablemodel.o animation.o messagemodel.o messagethreadmodel.o contactmodel.o logcatdialog.o logcatmodel.o ecwin7.o mytableview.o registerdialog.o moc_mainwindow.o moc_dialogkopiuj.o moc_phone.o moc_computer.o moc_screenshotthread.o moc_connectWifi.o moc_aboutdialog.o moc_appdialog.o moc_application.o moc_updateapp.o moc_appinfo.o moc_filewidget.o moc_appwidget.o moc_recoverywidget.o moc_fastbootwidget.o moc_screenshotwidget.o moc_phoneinfowidget.o moc_settingswidget.o moc_shellwidget.o moc_messagewidget.o moc_apptablemodel.o moc_filetablemodel.o moc_backuptablemodel.o moc_messagemodel.o moc_messagethreadmodel.o moc_contactmodel.o moc_logcatdialog.o moc_logcatmodel.o moc_mytableview.o moc_registerdialog.o qrc_zasoby.o    -L/usr/lib64/qt4 -lQtDeclarative -L/usr/lib64 -L/usr/lib64/qt4 -lQtScript -lQtSvg -L/usr/X11R6/lib -lQtSql -L/usr/lib64/mysql -lQtXmlPatterns -lQtGui -lQtNetwork -lQtCore -lgthread-2.0 -lrt -lglib-2.0 -lpthread 
main.o: file not recognized: File truncated
collect2: ld gab 1 als Ende-Status zurück
make: *** [QtADB] Fehler 1
 * ERROR: app-mobilephone/qtadb-0.8.1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =app-mobilephone/qtadb-0.8.1',
 * the complete build log and the output of 'emerge -pqv =app-mobilephone/qtadb-0.8.1'.
 * The complete build log is located at '/var/tmp/portage/app-mobilephone/qtadb-0.8.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-mobilephone/qtadb-0.8.1/temp/environment'.
 * S: '/var/tmp/portage/app-mobilephone/qtadb-0.8.1/work/trunk'

>>> Failed to emerge app-mobilephone/qtadb-0.8.1, Log file:

>>>  '/var/tmp/portage/app-mobilephone/qtadb-0.8.1/temp/build.log'

 * Messages for package app-mobilephone/qtadb-0.8.1:

 * ERROR: app-mobilephone/qtadb-0.8.1 failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of 'emerge --info =app-mobilephone/qtadb-0.8.1',
 * the complete build log and the output of 'emerge -pqv =app-mobilephone/qtadb-0.8.1'.
 * The complete build log is located at '/var/tmp/portage/app-mobilephone/qtadb-0.8.1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-mobilephone/qtadb-0.8.1/temp/environment'.
 * S: '/var/tmp/portage/app-mobilephone/qtadb-0.8.1/work/trunk'

 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.

Reproducible: Always

Steps to Reproduce:
1. emerge qtadb
Comment 1 Rafał Mużyło 2011-11-15 17:12:51 UTC
Usually, such error means you've run out of disk space / memory during build.

Well, unless there has been an earlier error, that interrupted the build.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-15 17:31:06 UTC
Please attach the entire build log to this bug report.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-15 17:36:52 UTC
Index: qtadb-0.8.1.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/qtadb/qtadb-0.8.1.ebuild,v
retrieving revision 1.2
diff -u -B -r1.2 qtadb-0.8.1.ebuild
--- qtadb-0.8.1.ebuild  14 Nov 2011 19:12:05 -0000      1.2
+++ qtadb-0.8.1.ebuild  15 Nov 2011 17:36:09 -0000
@@ -19,7 +19,7 @@
 IUSE=""
 
 RDEPEND="x11-libs/qt-gui:4"
-DEPEND="${DEPEND}
+DEPEND="${RDEPEND}
        app-arch/unzip"
 
 S="${WORKDIR}/trunk"

That ought to help.
Comment 4 Markos Chandras (RETIRED) gentoo-dev 2011-11-15 19:09:30 UTC
(In reply to comment #3)
> Index: qtadb-0.8.1.ebuild
> ===================================================================
> RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/qtadb/qtadb-0.8.1.ebuild,v
> retrieving revision 1.2
> diff -u -B -r1.2 qtadb-0.8.1.ebuild
> --- qtadb-0.8.1.ebuild  14 Nov 2011 19:12:05 -0000      1.2
> +++ qtadb-0.8.1.ebuild  15 Nov 2011 17:36:09 -0000
> @@ -19,7 +19,7 @@
>  IUSE=""
> 
>  RDEPEND="x11-libs/qt-gui:4"
> -DEPEND="${DEPEND}
> +DEPEND="${RDEPEND}
>         app-arch/unzip"
> 
>  S="${WORKDIR}/trunk"
> 
> That ought to help.

Ah thanks for that. I will fix it but it seems a bit irrelevant to the bug :)
Comment 5 Florian Manschwetus 2011-11-15 19:11:07 UTC
Doesn't help and I can't run out of diskspace in /var/tmp/portage:

df -h /var/tmp/portage/
Dateisystem    Größe Benutzt Verf. Verw% Eingehängt auf
portage_tmp      10G    9,8M   10G    1% /var/tmp/portage
Comment 6 Florian Manschwetus 2011-11-15 19:11:35 UTC
Created attachment 292673 [details]
build.log as requested
Comment 7 Markos Chandras (RETIRED) gentoo-dev 2011-11-15 19:25:36 UTC
Could you please drop these CFLAGS and try again

-msse4.1 -msse4.2 -mcx16 -mpopcnt -msahf
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2011-11-15 22:55:04 UTC
(In reply to comment #3)

Split off into bug #390677.

> Index: qtadb-0.8.1.ebuild
> ===================================================================
> RCS file: /var/cvsroot/gentoo-x86/app-mobilephone/qtadb/qtadb-0.8.1.ebuild,v
> retrieving revision 1.2
> diff -u -B -r1.2 qtadb-0.8.1.ebuild
> --- qtadb-0.8.1.ebuild  14 Nov 2011 19:12:05 -0000      1.2
> +++ qtadb-0.8.1.ebuild  15 Nov 2011 17:36:09 -0000
> @@ -19,7 +19,7 @@
>  IUSE=""
> 
>  RDEPEND="x11-libs/qt-gui:4"
> -DEPEND="${DEPEND}
> +DEPEND="${RDEPEND}
>         app-arch/unzip"
> 
>  S="${WORKDIR}/trunk"
> 
> That ought to help.
Comment 9 Florian Manschwetus 2011-11-15 23:04:49 UTC
hm, it is the result of march=native here (set static to allow dist cc using icecream), but for testing...
Hm FEATURES="-ccache" and MAKEOPTS="-j1" do the job. Looks like a problem with a cached result from too much real parallel jobs.
Comment 10 Florian Manschwetus 2011-11-15 23:08:08 UTC
Just to get more precise:
I tested with changed flags leading to invalidated cache => ok.
Then, I tried with my normal flags and without ccache => ok
So my flags are fine no reason to alter or filter them.
Comment 11 Markos Chandras (RETIRED) gentoo-dev 2011-11-15 23:12:28 UTC
Yeah seems like a ccache problem so it is not our bug. ccache can be evil from time to time