Summary: | net-misc/italc-1.0.9 fails with --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Christian Faulhammer (RETIRED) <fauli> |
Component: | New packages | Assignee: | Markus Ullmann (RETIRED) <jokey> |
Status: | RESOLVED FIXED | ||
Severity: | enhancement | CC: | haavardw, spatz, xarthisius |
Priority: | High | Keywords: | Inclusion |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: |
build.log
italc-1.0.9-gcc4-4.patch Fix compilation with --as-needed and respect LDFLAGS adding patch fixing as-needed issues |
Description
Christian Faulhammer (RETIRED)
![]() Created attachment 191260 [details]
build.log
Stabling 1.0.9 is a good idea anyway so let's go there Please test and mark stable amd64 stable x86 stable, all arches done. Still fails with Qt 4.5 Created attachment 192896 [details, diff]
italc-1.0.9-gcc4-4.patch
Compile fix for gcc-4.4
Patch grabbed from upstream svn (last part of change r435).
Created attachment 193141 [details, diff]
Fix compilation with --as-needed and respect LDFLAGS
The problem with italc-1.0.9 seems to be --as-needed and not qt-4.5 — it failed for me with --as-needed and worked without it and I have qt-4.5.
This patch, partly adapted from the one for 1.0.3 in the tree, fixes the compilation failure and removes a QA warning regarding LDFLAGS being ignored.
The package now compiles with qt-4.5 with or without --as-needed.
I thought, I had --as-needed disabled in my chroot...but now as you say it, it looks as a failure there. Sorry for all the noise. Comment on attachment 193141 [details, diff]
Fix compilation with --as-needed and respect LDFLAGS
Err no, LDFLAGS should not be put _at the end_, please review the asneeded fixing guide for the correct ordering of parameters.
Created attachment 207311 [details, diff]
adding patch
Created attachment 207313 [details, diff]
fixing as-needed issues
Thank you Kacper for the work and patience. Fixed in CVS. |