[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#917681: ibus-table-others: FTBFS: FileExistsError: [Errno 17] File exists: '/<<PKGBUILDDIR>>/debian/fakehome/.local/share/ibus-table'



On Mon, Jan 07, 2019 at 04:56:21PM -0500, Boyuan Yang wrote:
>...
> I could not reproduce this problem locally either using debuild or using
> sbuild. Could you please provide with more information on it?

The problem seem to be several ibus-table-createdb processes in parallel
trying to create a directory in the fakehome.

I can reproduce the problem with:
cd tables
rm -rf *.db ../debian/fakehome/.local
HOME=../debian/fakehome make -j20

> Besides, I just prepared 1.3.9-4 upload which disables parallel build. Please
> let me know if that fixes the problem.

I would expect that it does.

> Thanks,
> Boyuan Yang
> 
> On Sat, 29 Dec 2018 22:43:21 +0100 Lucas Nussbaum <lucas@debian.org> wrote:
> > Source: ibus-table-others
> > Version: 1.3.9-3
> > Severity: serious
> > Justification: FTBFS on amd64
> > Tags: buster sid
> > Usertags: ftbfs-20181229 ftbfs-buster
> > 
> > Hi,
> > 
> > During a rebuild of all packages in sid, your package failed to build
> > on amd64.
> > 
> > Relevant part (hopefully):
> > > make[2]: Entering directory '/<<PKGBUILDDIR>>/tables'
> > > /usr/bin/ibus-table-createdb  -n compose.db -s compose.txt
> > > /usr/bin/ibus-table-createdb  -n ipa-x-sampa.db -s ipa-x-sampa.txt
> > > Traceback (most recent call last):
> > >   File "/usr/share/ibus-table/engine/tabcreatedb.py", line 455, in
> <module>
> > >     main()
> > >   File "/usr/share/ibus-table/engine/tabcreatedb.py", line 175, in main
> > >     create_database=True)
> > >   File "/usr/share/ibus-table/engine/tabsqlitedb.py", line 262, in
> __init__
> > >     import ibus_table_location
> > >   File "/usr/share/ibus-table/engine/ibus_table_location.py", line 102, in
> <module>
> > >     __module_init = __ModuleInitializer()
> > >   File "/usr/share/ibus-table/engine/ibus_table_location.py", line 96, in
> __init__
> > >     _init()
> > >   File "/usr/share/ibus-table/engine/ibus_table_location.py", line 76, in
> _init
> > >     os.makedirs(IBUS_TABLE_LOCATION['data_home'])
> > >   File "/usr/lib/python3.7/os.py", line 221, in makedirs
> > >     mkdir(name, mode)
> > > FileExistsError: [Errno 17] File exists:
> '/<<PKGBUILDDIR>>/debian/fakehome/.local/share/ibus-table'
> > > make[2]: *** [Makefile:519: ipa-x-sampa.db] Error 1
> > 
> > The full build log is available from:
> >    
> http://aws-logs.debian.net/2018/12/29/ibus-table-others_1.3.9-3_unstable.log
> > 
> > A list of current common problems and possible solutions is available at
> > http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
> > 
> > About the archive rebuild: The rebuild was done on EC2 VM instances from
> > Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> > failed build was retried once to eliminate random failures.
> > 
> > 



cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


Reply to: