First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 170702
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Portage Utilities Team <tools-portage@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Zhixu Liu <zhixu.liu@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 170702 depends on: Show dependency tree
Bug 170702 blocks: 170220
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-13 08:56 0000
When I run command 'equery check openssh', it said:
...
!!! /usr/bin/slogin does not point to ssh
...

this is wrong, since /usr/bin/slogin do point to ./ssh!

The code in equery is:
tgt = os.readlink(file) which return "./ssh", we should strip the "./" before
compare it with the target which is get by os.path.normpath(t.strip())!

Reproducible: Always

Steps to Reproduce:
1.equery check openssh

Actual Results:  
[ Checking net-misc/openssh-4.5_p1-r1 ]
!!! /usr/bin/slogin does not point to ssh
...

Expected Results:  
should not have !!!

------- Comment #1 From Jakub Moc (RETIRED) 2007-03-13 09:19:18 0000 -------
Hmmm, so why does openssh's Makefile.in create such weird symlinks for slogin
stuff at all?

ln -s ./ssh$(EXEEXT) $(DESTDIR)$(bindir)/slogin
ln -s ./ssh.1 $(DESTDIR)$(mandir)/$(mansubdir)1/slogin.1

Nothing else here does.

# ls -lR /bin /sbin /usr/bin /usr/sbin /usr/share/man | grep -- "-> \./"
lrwxrwxrwx 1 root root         5 2007-03-12 17:19 slogin -> ./ssh
lrwxrwxrwx 1 root root     11 2007-03-12 17:19 slogin.1.bz2 -> ./ssh.1.bz2

------- Comment #2 From SpanKY 2007-03-13 17:27:48 0000 -------
it may be quite weird, but it isnt invalid, so changing openssh doesnt fix the
real problem

------- Comment #3 From Paul Varner 2007-03-16 03:13:40 0000 -------
$ svn commit -m "Fix equery check to not fail for symlinks prefixed with ./
(Bug #170702)"
Sending        ChangeLog
Sending        src/equery/equery
Transmitting file data ..
Committed revision 358.

------- Comment #4 From Paul Varner 2007-03-19 17:48:28 0000 -------
Fixed in gentoolkit-0.2.4_pre2

First Last Prev Next    No search results available      Search page      Enter new bug