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

Compilation error with the version 1.18.3-1 #746

Closed
darkbaboon opened this issue Aug 17, 2023 · 6 comments
Closed

Compilation error with the version 1.18.3-1 #746

darkbaboon opened this issue Aug 17, 2023 · 6 comments

Comments

@darkbaboon
Copy link

pikaur -Vq
1.18.3-1
[Optional] Prerequisites:

Update of pikaur

Description:

Run the update
Unable to update pikaur to the the last version 1.18.3-1

Attached log:
pikaur -S pikaur --verbose --pikaur-debug
Traceback (most recent call last):
  File "/home/baboon/.cache/pikaur/build/pikaur/src/pikaur-1.18.3/./maintenance_scripts/pikaman.py", line 31, in <module>
    OptionsType = markdown_it.utils.OptionsType
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'markdown_it.utils' has no attribute 'OptionsType'. Did you mean: 'OptionsDict'?
...............................make: *** [Makefile:48: pikaur.1] Error 1
@actionless
Copy link
Owner

update the system first

@muntean-alex
Copy link

I believe this might still affect some users.
Manjaro, fully, updated.
For me this is:

:: Synchronizing package databases...
 core                                          145.7 KiB   401 KiB/s 00:00 [##########################################] 100%
 extra                                           8.6 MiB  11.0 MiB/s 00:01 [##########################################] 100%
 community                                      29.0   B   391   B/s 00:00 [##########################################] 100%
 multilib                                      146.8 KiB  2011 KiB/s 00:00 [##########################################] 100%
:: Starting full system upgrade...
 there is nothing to do

And then pamac

Cloning pikaur build files...
Generating pikaur information...
Checking pikaur dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building pikaur...
==> Making package: pikaur 1.18.3-1 (Sat 19 Aug 2023 12:15:44 AM EEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found pikaur-1.18.3.tar.gz
==> Validating source files with b2sums...
    pikaur-1.18.3.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting pikaur-1.18.3.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
# find pikaur -type f -name '*.py' -not -name 'argparse.py' \
	#
/usr/bin/python ./maintenance_scripts/pikaman.py README.md pikaur.1
find pikaur -type f -name '*.py' -print0 \
	| xargs --null xgettext --language=python --add-comments --sort-output \
		--default-domain=pikaur --from-code=UTF-8 \
		--keyword='translate' --keyword='translate_many:1,2' \
		--output=locale/pikaur.pot
xgettext: The option '--sort-output' is deprecated.
mkdir -p dist/usr/bin
test -f locale/fr.po || msginit --locale=fr --no-translator --input=locale/pikaur.pot --output=locale/fr.po
msgmerge --update locale/fr.po locale/pikaur.pot
.................................. done.
test -f locale/ru.po || msginit --locale=ru --no-translator --input=locale/pikaur.pot --output=locale/ru.po
msgmerge --update locale/ru.po locale/pikaur.pot
Traceback (most recent call last):
  File "/var/tmp/pamac-build-user/pikaur/src/pikaur-1.18.3/./maintenance_scripts/pikaman.py", line 31, in <module>
    OptionsType = markdown_it.utils.OptionsType
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'markdown_it.utils' has no attribute 'OptionsType'. Did you mean: 'OptionsDict'?
............................. done.
make: *** [Makefile:48: pikaur.1] Error 1
make: *** Waiting for unfinished jobs....
==> ERROR: A failure occurred in build().
    Aborting...

Sorry If I'm missing something else.

@HennoHimself
Copy link

This is still an issue for me, also.

Fully updated Archlinux system with the same error.

@plague-doctor
Copy link

Same here. Fully updated system

@darkbaboon
Copy link
Author

darkbaboon commented Aug 18, 2023

update the system first

my system was up-to-date, thank you for asking

@yourealwaysbe
Copy link

yourealwaysbe commented Aug 22, 2023

There are currently a load of out of sync Arch mirrors. I'm not sure if this is more than usual, but even after a reflector refresh of the mirrorlist i was getting out of sync mirrors.

Manually setting an in-sync mirror fixed the problem for me.

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

6 participants