[GH-ISSUE #329] Fails to install in ArchLinux #264

Closed
opened 2026-05-05 12:03:27 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @mantielero on GitHub (May 10, 2021).
Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/329

Originally assigned to: @jmcnamara on GitHub.

I am trying to install in ArchLinux, but I am getting:

$ nimble install
   Warning: Package 'nimlibxlsxwriter' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'nimlibxlsxwriter', but file 'doc_custom_properties.nim' is in a directory named 'tests' instead. This will be an error in the future.
      Hint: If 'tests' contains source files for building 'nimlibxlsxwriter', rename it to 'nimlibxlsxwriter'. Otherwise, prevent its installation by adding `skipDirs = @["tests"]` to the .nimble file.
Setting up Git repo: https://github.com/jmcnamara/libxlsxwriter
Pulling repository
Command failed: 1
git pull --depth=1 origin master
fatal: no se puedo encontrar ref remota master

stack trace: (most recent call last)
/tmp/nimblecache-1023837959/nimscriptapi_3203592219.nim(199, 29)
/tmp/nimlibxlsxwriter/nimlibxlsxwriter.nimble(24, 14) installBefore
/tmp/nimlibxlsxwriter/nimlibxlsxwriter.nimble(21, 10) setupTask
/home/jose/.choosenim/toolchains/nim-#devel/lib/system/nimscript.nim(273, 7) exec
/home/jose/.choosenim/toolchains/nim-#devel/lib/system/nimscript.nim(273, 7) Error: unhandled exception: FAILED: nimgen nimlibxlsxwriter.cfg [OSError]
       Tip: 3 messages have been suppressed, use --verbose to show them.
     Error: Exception raised during nimble script execution

I am using nim v1.5.1 on amd64.

Originally created by @mantielero on GitHub (May 10, 2021). Original GitHub issue: https://github.com/jmcnamara/libxlsxwriter/issues/329 Originally assigned to: @jmcnamara on GitHub. I am trying to install in ArchLinux, but I am getting: ``` $ nimble install Warning: Package 'nimlibxlsxwriter' has an incorrect structure. It should contain a single directory hierarchy for source files, named 'nimlibxlsxwriter', but file 'doc_custom_properties.nim' is in a directory named 'tests' instead. This will be an error in the future. Hint: If 'tests' contains source files for building 'nimlibxlsxwriter', rename it to 'nimlibxlsxwriter'. Otherwise, prevent its installation by adding `skipDirs = @["tests"]` to the .nimble file. Setting up Git repo: https://github.com/jmcnamara/libxlsxwriter Pulling repository Command failed: 1 git pull --depth=1 origin master fatal: no se puedo encontrar ref remota master stack trace: (most recent call last) /tmp/nimblecache-1023837959/nimscriptapi_3203592219.nim(199, 29) /tmp/nimlibxlsxwriter/nimlibxlsxwriter.nimble(24, 14) installBefore /tmp/nimlibxlsxwriter/nimlibxlsxwriter.nimble(21, 10) setupTask /home/jose/.choosenim/toolchains/nim-#devel/lib/system/nimscript.nim(273, 7) exec /home/jose/.choosenim/toolchains/nim-#devel/lib/system/nimscript.nim(273, 7) Error: unhandled exception: FAILED: nimgen nimlibxlsxwriter.cfg [OSError] Tip: 3 messages have been suppressed, use --verbose to show them. Error: Exception raised during nimble script execution ``` I am using nim v1.5.1 on amd64.
Author
Owner

@jmcnamara commented on GitHub (May 10, 2021):

This is the issue tracker for libxlsxwriter not nimlibxlsxwriter (which I don't have anything to do with).

Nevertheless the issue is that the main libxlsxwriter branch is called "main" now and not "master":

git pull --depth=1 origin master
fatal: no se puedo encontrar ref remota master

Try changing your local build file and/or report to the maintainer of nimlibxlsxwriter.

Closing.

<!-- gh-comment-id:837270224 --> @jmcnamara commented on GitHub (May 10, 2021): This is the issue tracker for libxlsxwriter not nimlibxlsxwriter (which I don't have anything to do with). Nevertheless the issue is that the main libxlsxwriter branch is called "main" now and not "master": ``` git pull --depth=1 origin master fatal: no se puedo encontrar ref remota master ``` Try changing your local build file and/or report to the maintainer of nimlibxlsxwriter. Closing.
Author
Owner

@mantielero commented on GitHub (May 10, 2021):

Oops. My bad. Sorry.

<!-- gh-comment-id:837273666 --> @mantielero commented on GitHub (May 10, 2021): Oops. My bad. Sorry.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/libxlsxwriter#264
No description provided.