Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 119786 - linking_libs errors out on build log from plib
Summary: linking_libs errors out on build log from plib
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-21 03:25 UTC by UncleOwen
Modified: 2006-01-21 14:50 UTC (History)
1 user (show)

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


Attachments
plib-log (plib-log,163.87 KB, text/plain)
2006-01-21 03:42 UTC, UncleOwen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description UncleOwen 2006-01-21 03:25:01 UTC
$ sudo emerge -1O plib > plib-log
[...]
$ linking_libs.sh plib-log 
Analyzing log ...
Looking for libraries ...
Tracing libraries back to packages ...

List all packages owning a particular set of files

Note: Normally, only one package will own a file. If multiple packages own the same file, it usually consitutes a problem, and should be reported.

Syntax:
  belongs <local-opts> filename
<local-opts> is either of: 
  -c, --category cat - only search in category cat
  -f, --full-regex   - supplied query is a regex
  -e, --earlyout     - stop when first match is found
  -n, --name-only    - don't print the version.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-21 03:32:17 UTC
I don't see a single error in the output you've posted, this bug doesn't make any sense to me.

Nevertheless, with --nodeps emerge will pretty likely fail if *any* of the deps are not installed, dependencies are not put into the ebuilds for fun. If you are trying to log emerge output, then do 'emerge some-ebuild &> emerge.log' or set PORT_LOGDIR.
Comment 2 UncleOwen 2006-01-21 03:40:19 UTC
The --nodeps is only to work around the blocker (old X vs. new X), the other dependencies are installed. The program compiles just fine.

The problem is
- The skript prints the equery usage instructions
- The skript doesn't produce any useable output.
Comment 3 UncleOwen 2006-01-21 03:42:32 UTC
Created attachment 77692 [details]
plib-log
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-01-21 03:46:12 UTC
(In reply to comment #2)
> The problem is
> - The skript prints the equery usage instructions
> - The skript doesn't produce any useable output.

Which script? And what kind of "usable output" do you expect? You get the log, what do you want? Why are you attaching the log if there's no error and everything works? What does emerge has in common with equery?

Reopen if you are able to produce a meaningful bug, this doesn't make any sense.
Comment 5 UncleOwen 2006-01-21 03:57:16 UTC
(In reply to comment #4)
> (In reply to comment #2)
> > The problem is
> > - The skript prints the equery usage instructions
> > - The skript doesn't produce any useable output.
> 
> Which script?

Umm, the one I'm running. Maybe _read_ the bug report? I'm talking about linking_libs.sh from http://www.gentoo.org/proj/en/desktop/x/x11/porting-modular-x-howto.xml
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-01-21 04:02:10 UTC
(In reply to comment #5)
> Umm, the one I'm running. Maybe _read_ the bug report? 

Yeah, I obviously need to know every single shell script in the world and improve my paranormal skills, right.

> I'm talking about linking_libs.sh from
> http://www.gentoo.org/proj/en/desktop/x/x11/porting-modular-x-howto.xml

Report this to the author of this script (spyderous@gentoo.org). Thanks.

Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2006-01-21 13:30:24 UTC
This happens because no libraries were found, so equery or whatever is called with an empty query and returns its help. I haven't yet added a check for this.
Comment 8 UncleOwen 2006-01-21 13:41:51 UTC
Ah, ok. Does that mean that there are no dependencies?
Comment 9 Donnie Berkholz (RETIRED) gentoo-dev 2006-01-21 14:50:24 UTC
Yep -- you don't need to specify any deps.