[Slackbuilds-users] Issue building new lyx-2.3.7-1
The lyx.SlackBuild script has always worked just fine building new versions. Until today. I downloaded lyx-2.3.7-1.tar.xz and modified lyx.SlackBuild for that version number. Running `lyx.SlackBuild` throws and error: ./lyx.SlackBuild: line 46: cd: lyx-2.3.7-1: No such file or directory That line is: cd $PRGNAM-$VERSION which should be found in /tmp/SBo/lyx-2.3.7-1, but the directory is /tmp/SBo/lyx-2.3.7. The contents of this directory look complete. All prior minor patch versions used a dot rather than a dash for separation. I change both the program name and the version in the build file to 2.3.7.1 but that made no difference. All thoughts welcome, Rich ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
Re: [Slackbuilds-users] Issue building new lyx-2.3.7-1
> 7 Ιαν 2023, 20:15, ο χρήστης «Rich Shepard » έγραψε: > > but the directory is > /tmp/SBo/lyx-2.3.7. Pseudo code - untested: Add this before cd $PRGNAM-$VERSION $VERSION = $(echo $VERSION | sed ‘s/-1//’) or better change the version to 3.2.7 There is a better solution with more lines, this is just to build the script. ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
Re: [Slackbuilds-users] Issue building new lyx-2.3.7-1
On Sat, 7 Jan 2023, Μιχάλης Μιχαλούδης wrote: or better change the version to 3.2.7 That's what I did. It generated errors later in the build so I'll pass the logs to the lyx devs. Thanks, Rich ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
Re: [Slackbuilds-users] Issue building new lyx-2.3.7-1
On Sat, 7 Jan 2023, Rich Shepard wrote: The lyx.SlackBuild script has always worked just fine building new versions. Until today. I downloaded lyx-2.3.7-1.tar.xz and modified lyx.SlackBuild for that version number. Note that Slackware package version numbers are not allowed to contain the dash/hyphen character, so whatever you do will have to be a bit fancier than setting VERSION="2.3.7-1". You'll have to set VERSION to something like 2.3.7_1 and add a bit of code to the script to look for the tarball with the - in the name. Also, from your description, this isn't a bug in the script. The upstream for lyx released a tarball with the wrong directory name inside it (or anyway, "wrong" compared to how they've done things in the past; it's their project, they can do what they want). ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/
Re: [Slackbuilds-users] Issue building new lyx-2.3.7-1
On Sat, 7 Jan 2023, B. Watson wrote: Note that Slackware package version numbers are not allowed to contain the dash/hyphen character, so whatever you do will have to be a bit fancier than setting VERSION="2.3.7-1". You'll have to set VERSION to something like 2.3.7_1 and add a bit of code to the script to look for the tarball with the - in the name. Yes, I changed the package name and build script version number to 2.3.7. There were fatal errors much further in the build process. Prior versions of lyx used only periods to separate release numbers, and the build script had no issues with 2.3.6.1 so I assume the problem is in the tarball. Also, from your description, this isn't a bug in the script. The upstream for lyx released a tarball with the wrong directory name inside it (or anyway, "wrong" compared to how they've done things in the past; it's their project, they can do what they want). I'm not on the lyx dev list but I've passed the build error to one of the lead developers. In the meantime, 2.3.6.1 works just fine for me ... except it isn't building the index for a KOMA-Script book class document. Thanks, Rich ___ SlackBuilds-users mailing list SlackBuilds-users@slackbuilds.org https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/ FAQ - https://slackbuilds.org/faq/