Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compile-problem with mate-applets-1.26.1 - it fails at "make[3]: *** [Makefile:606: tr/tr.stamp] Error 139" #665

Open
rubyFeedback opened this issue Jan 31, 2024 · 0 comments

Comments

@rubyFeedback
Copy link

rubyFeedback commented Jan 31, 2024

libtool: install: /usr/bin/ginstall -c mate-charpick-applet /usr/libexec/mate-charpick-applet
make[4]: Leaving directory '/home/x/Temp/rbt/mate-applets-1.26.1/charpick'
make[3]: Leaving directory '/home/x/Temp/rbt/mate-applets-1.26.1/charpick'
make[2]: Leaving directory '/home/x/Temp/rbt/mate-applets-1.26.1/charpick'
make[1]: Leaving directory '/home/x/Temp/rbt/mate-applets-1.26.1/charpick'
Making install in drivemount
make[1]: Entering directory '/home/x/Temp/rbt/mate-applets-1.26.1/drivemount'
Making install in help
make[2]: Entering directory '/home/x/Temp/rbt/mate-applets-1.26.1/drivemount/help'
make[3]: Entering directory '/home/x/Temp/rbt/mate-applets-1.26.1/drivemount/help'
make[3]: Nothing to be done for 'install-exec-am'.
 GEN tr/
 GEN ur/
 GEN uk/
 GEN uz/
/usr/bin/itstool:223: DeprecationWarning: invalid escape sequence '\s'
 if re.sub('\s+', ' ', text).strip() != '':
/usr/bin/itstool:321: DeprecationWarning: invalid escape sequence '\s'
 message = re.sub('\s+', ' ', message).strip()
/usr/bin/itstool:459: DeprecationWarning: invalid escape sequence '\s'
 return re.sub('\s+', ' ', self.locnote).strip()
/usr/bin/itstool:461: DeprecationWarning: invalid escape sequence '\s'
 return '(itstool) link: ' + re.sub('\s+', ' ', self.locnoteref).strip()
/usr/bin/itstool:223: DeprecationWarning: invalid escape sequence '\s'
 if re.sub('\s+', ' ', text).strip() != '':
/usr/bin/itstool:321: DeprecationWarning: invalid escape sequence '\s'
 message = re.sub('\s+', ' ', message).strip()
/usr/bin/itstool:459: DeprecationWarning: invalid escape sequence '\s'
 return re.sub('\s+', ' ', self.locnote).strip()
/usr/bin/itstool:461: DeprecationWarning: invalid escape sequence '\s'
 return '(itstool) link: ' + re.sub('\s+', ' ', self.locnoteref).strip()
/usr/bin/itstool:892: DeprecationWarning: invalid escape sequence '\<'
 regex = re.compile('(.*) \<(.*)\>, (.*)')
/usr/bin/itstool:927: DeprecationWarning: invalid escape sequence '\s'
 if re.sub('\s+', '', prevtext) == '':
/usr/bin/itstool:892: DeprecationWarning: invalid escape sequence '\<'
 regex = re.compile('(.*) \<(.*)\>, (.*)')
/usr/bin/itstool:927: DeprecationWarning: invalid escape sequence '\s'
 if re.sub('\s+', '', prevtext) == '':
/usr/bin/itstool:1471: DeprecationWarning: invalid escape sequence '\.'
 _locale_pattern = re.compile('([a-zA-Z0-9-]+)(_[A-Za-z0-9]+)?(@[A-Za-z0-9]+)?(\.[A-Za-z0-9]+)?')
/usr/bin/itstool:1471: DeprecationWarning: invalid escape sequence '\.'
 _locale_pattern = re.compile('([a-zA-Z0-9-]+)(_[A-Za-z0-9]+)?(@[A-Za-z0-9]+)?(\.[A-Za-z0-9]+)?')
/usr/bin/itstool:223: DeprecationWarning: invalid escape sequence '\s'
 if re.sub('\s+', ' ', text).strip() != '':
/usr/bin/itstool:321: DeprecationWarning: invalid escape sequence '\s'
 message = re.sub('\s+', ' ', message).strip()
/usr/bin/itstool:459: DeprecationWarning: invalid escape sequence '\s'
 return re.sub('\s+', ' ', self.locnote).strip()
/usr/bin/itstool:461: DeprecationWarning: invalid escape sequence '\s'
 return '(itstool) link: ' + re.sub('\s+', ' ', self.locnoteref).strip()
/usr/bin/itstool:892: DeprecationWarning: invalid escape sequence '\<'
 regex = re.compile('(.*) \<(.*)\>, (.*)')
/usr/bin/itstool:927: DeprecationWarning: invalid escape sequence '\s'
 if re.sub('\s+', '', prevtext) == '':
/usr/bin/itstool:1605: ResourceWarning: unclosed file <_io.BufferedReader name='../tr/tr.mo'>
 translations = gettext.GNUTranslations(open(opts.merge, 'rb'))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/bin/itstool:223: DeprecationWarning: invalid escape sequence '\s'
 if re.sub('\s+', ' ', text).strip() != '':
/usr/bin/itstool:321: DeprecationWarning: invalid escape sequence '\s'
 message = re.sub('\s+', ' ', message).strip()
/usr/bin/itstool:459: DeprecationWarning: invalid escape sequence '\s'
 return re.sub('\s+', ' ', self.locnote).strip()
/usr/bin/itstool:461: DeprecationWarning: invalid escape sequence '\s'
 return '(itstool) link: ' + re.sub('\s+', ' ', self.locnoteref).strip()
/usr/bin/itstool:1471: DeprecationWarning: invalid escape sequence '\.'
 _locale_pattern = re.compile('([a-zA-Z0-9-]+)(_[A-Za-z0-9]+)?(@[A-Za-z0-9]+)?(\.[A-Za-z0-9]+)?')
/usr/bin/itstool:1605: ResourceWarning: unclosed file <_io.BufferedReader name='../uz/uz.mo'>
 translations = gettext.GNUTranslations(open(opts.merge, 'rb'))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
/usr/bin/itstool:892: DeprecationWarning: invalid escape sequence '\<'
 regex = re.compile('(.*) \<(.*)\>, (.*)')
/usr/bin/itstool:927: DeprecationWarning: invalid escape sequence '\s'
 if re.sub('\s+', '', prevtext) == '':
/usr/bin/itstool:1471: DeprecationWarning: invalid escape sequence '\.'
 _locale_pattern = re.compile('([a-zA-Z0-9-]+)(_[A-Za-z0-9]+)?(@[A-Za-z0-9]+)?(\.[A-Za-z0-9]+)?')
/usr/bin/itstool:1605: ResourceWarning: unclosed file <_io.BufferedReader name='../uk/uk.mo'>
 translations = gettext.GNUTranslations(open(opts.merge, 'rb'))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Warning: Could not merge tr translation for msgid:
b'<revnumber>Disk Mounter Applet Manual V2.10</revnumber> <date>February 2004</date> <_:revdescription-1/>'
Warning: Could not merge tr translation for msgid:
b'<revnumber>Disk Mounter Applet Manual V2.0</revnumber> <date>March 2002</date> <_:revdescription-1/>'
make[3]: *** [Makefile:606: tr/tr.stamp] Error 139
make[3]: *** Waiting for unfinished jobs....
/usr/bin/itstool:1605: ResourceWarning: unclosed file <_io.BufferedReader name='../ur/ur.mo'>
 translations = gettext.GNUTranslations(open(opts.merge, 'rb'))
ResourceWarning: Enable tracemalloc to get the object allocation traceback
make[3]: Leaving directory '/home/x/Temp/rbt/mate-applets-1.26.1/drivemount/help'
make[2]: *** [Makefile:438: install-am] Error 2
make[2]: Leaving directory '/home/x/Temp/rbt/mate-applets-1.26.1/drivemount/help'
make[1]: *** [Makefile:441: install-recursive] Error 1
make[1]: Leaving directory '/home/x/Temp/rbt/mate-applets-1.26.1/drivemount'
make: *** [Makefile:583: install-recursive] Error 1

Not sure what the issue is: tr/tr is that turkish or something?

Anyway I only need english really.

Would it be possible to patch mate-applets to not fail; or just continue if a translation error
occurs?

itstool version is 2.0.7:

http://files.itstool.org/itstool/itstool-2.0.7.tar.bz2

By the way the other mate components compiled fine on the same linux system, without
errors, so I assume this is intrinsic to mate-applets.

My current mate versions:

Mate-Desktop:         1.26.2
Mate-Utils:           1.26.1
Mate-Common:          1.26.0
Mate-Keyboard:        1.26.1
Mate-Media:           1.26.2
Mate-Mixer:           1.26.0
Mate-Applets:         
Mate-Weather:         1.26.3
Mate-Control-Center:  1.26.1
Mate-Panel:           1.26.4
Mate-Power-Manager:   1.26.1
Marco:                1.26.2
Atril:                1.26.2
Eom:                  1.26.1
Pluma:                1.26.1
Engrampa:             1.26.1
Caja:                 1.26.3
Caja-extensions:      1.26.3

A ruby script outputs the above versions. See how only mate-applets failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant