Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606832 - sys-apps/portage with crossdev - fails to merge any built package: TypeError: access: can't specify None for path argument
Summary: sys-apps/portage with crossdev - fails to merge any built package: TypeError:...
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2017-01-22 18:06 UTC by Coacher
Modified: 2017-01-23 08:07 UTC (History)
0 users

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


Attachments
emerge --info (info,4.89 KB, text/plain)
2017-01-22 18:06 UTC, Coacher
Details
arm-unknown-linux-gnueabi-emerge --info (cross-info,2.14 KB, text/plain)
2017-01-22 18:06 UTC, Coacher
Details
Example build.log (build.log.gz,52.85 KB, application/gzip)
2017-01-22 18:11 UTC, Coacher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Coacher 2017-01-22 18:06:05 UTC
Created attachment 460980 [details]
emerge --info

Hello.

I have sys-apps/portage-9999 @ aa0cf0c993759f559988c8d0d6ea50be8cf716ce and
sys-devel/crossdev-99999999 @ 8b1b79e02cc36bc6f2b5583db6aeea333fb8d59b.

I have created crossdev environment via 'crossdev --target arm-unknown-linux-gnueabi --gcc 5.3.0' command.

Every time I try to merge a package inside this crossdev environment, i.e. using arm-unknown-linux-gnueabi-emerge, the package is compiled and installed fine, but merge fails with the following error:
Traceback (most recent call last):
  File "/usr/lib64/python3.4/site-packages/portage/dbapi/_MergeProcess.py", line 235, in _spawn
    prev_mtimes=self.prev_mtimes, counter=counter)
  File "/usr/lib64/python3.4/site-packages/portage/dbapi/vartree.py", line 1673, in wrapper
    return f(self, *args, **kwargs)
  File "/usr/lib64/python3.4/site-packages/portage/dbapi/vartree.py", line 5120, in merge
    counter=counter)
  File "/usr/lib64/python3.4/site-packages/portage/dbapi/vartree.py", line 4502, in treewalk
    writemsg_level=self._display_merge, vardbapi=self.vartree.dbapi)
  File "/usr/lib64/python3.4/site-packages/portage/proxy/objectproxy.py", line 31, in __call__
    return result(*args, **kwargs)
  File "/usr/lib64/python3.4/site-packages/portage/util/env_update.py", line 74, in env_update
    env, writemsg_level)
  File "/usr/lib64/python3.4/site-packages/portage/util/env_update.py", line 315, in _env_update
    if not (os.access(ldconfig, os.X_OK) and os.path.isfile(ldconfig)):
  File "/usr/lib64/python3.4/site-packages/portage/__init__.py", line 250, in __call__
    rval = self._func(*wrapped_args, **wrapped_kwargs)
TypeError: access: can't specify None for path argument

Please fix.
Comment 1 Coacher 2017-01-22 18:06:52 UTC
Created attachment 460982 [details]
arm-unknown-linux-gnueabi-emerge --info
Comment 2 Coacher 2017-01-22 18:11:48 UTC
Created attachment 460984 [details]
Example build.log
Comment 3 Zac Medico gentoo-dev 2017-01-22 18:48:37 UTC
Thanks for reporting! Fixed now:

https://gitweb.gentoo.org/proj/portage.git/commit/?id=b3401efea5820c525c57a1b52c38404054593e0a
Comment 4 Coacher 2017-01-23 08:07:00 UTC
Thanks!