From rmottola at opencsw.org Sun Apr 29 08:49:36 2018 From: rmottola at opencsw.org (Riccardo Mottola) Date: Sun, 29 Apr 2018 08:49:36 +0200 Subject: rebuild a package - same version number, Message-ID: <5ae59663-e90a-4695-110b-d00c54268d9f@opencsw.org> Hi all, I have a question.. surely "trivial" but that is itching me. I need to issue a new release of certain packages: the dependencies they are built on have been updated. The package itself does not have a new release version though. How can I update it anyway? e.g GS Performance builds fine, however I then get collisions: CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Documentation/Performance/dependencies|CSWPerformance|CSWperformance CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Documentation/Performance/GSUniqued.gsdoc|CSWPerformance|CSWperformance CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Headers/Performance/GSFIFO.h|CSWPerformance|CSWperformance CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Libraries/libPerformance.so|CSWPerformance|CSWperformance CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Documentation/Performance/GSFIFO.html|CSWPerformance|CSWperformance CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Documentation/Performance/GSTicker.html|CSWPerformance|CSWperformance CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Documentation/Performance/GSLinkedList.gsdoc|CSWPerformance|CSWperformance (and so on) The collisions are against itself! Riccardo From dam at opencsw.org Sun Apr 29 08:51:43 2018 From: dam at opencsw.org (Dagobert Michelsen) Date: Sun, 29 Apr 2018 08:51:43 +0200 Subject: rebuild a package - same version number, In-Reply-To: <5ae59663-e90a-4695-110b-d00c54268d9f@opencsw.org> References: <5ae59663-e90a-4695-110b-d00c54268d9f@opencsw.org> Message-ID: <994BB28D-49FF-4C2C-A574-18892AE095F3@opencsw.org> Hi Riccardo, Am 29.04.2018 um 08:49 schrieb Riccardo Mottola via maintainers : > I have a question.. surely "trivial" but that is itching me. > > I need to issue a new release of certain packages: the dependencies they are built on have been updated. > The package itself does not have a new release version though. > > How can I update it anyway? > > e.g GS Performance builds fine, however I then get collisions: The package name is broken, there must not be an uppercase character after CSW. In this case there is already a correctly named package CSWperformance. Just change the name back as it was before (CSWperformance is fine) and it should work. Best regards ? Dago > > CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Documentation/Performance/dependencies|CSWPerformance|CSWperformance > CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Documentation/Performance/GSUniqued.gsdoc|CSWPerformance|CSWperformance > CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Headers/Performance/GSFIFO.h|CSWPerformance|CSWperformance > CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Libraries/libPerformance.so|CSWPerformance|CSWperformance > CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Documentation/Performance/GSFIFO.html|CSWPerformance|CSWperformance > CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Documentation/Performance/GSTicker.html|CSWPerformance|CSWperformance > CHECKPKG_OVERRIDES_CSWPerformance += file-collision|/opt/csw/GNUstep/Local/Library/Documentation/Performance/GSLinkedList.gsdoc|CSWPerformance|CSWperformance > > (and so on) > > The collisions are against itself! > > Riccardo -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 From rmottola at opencsw.org Sun Apr 29 13:24:18 2018 From: rmottola at opencsw.org (Riccardo Mottola) Date: Sun, 29 Apr 2018 13:24:18 +0200 Subject: rebuild a package - same version number, In-Reply-To: <994BB28D-49FF-4C2C-A574-18892AE095F3@opencsw.org> References: <5ae59663-e90a-4695-110b-d00c54268d9f@opencsw.org> <994BB28D-49FF-4C2C-A574-18892AE095F3@opencsw.org> Message-ID: <52c695f1-b24d-ca64-99fd-393b09ff8aa9@opencsw.org> Hi Dago, Dagobert Michelsen wrote: > The package name is broken, there must not be an uppercase character after CSW. > In this case there is already a correctly named package CSWperformance. > Just change the name back as it was before (CSWperformance is fine) and > it should work. the original package however has an uppercase P, thus the distfile and the source have it. If I name the package performance, then I need to tweak other things somehow. I can workaround the distfile by doing: DISTFILES? = Performance-$(VERSION).tar.gz but how can I tweak the source best? I suppose it is better not to tamper with WORKSRC directly, right? HOME=/home/rmottola gmake[2]: Entering directory '/home/rmottola/opencsw/gs_performance/trunk/work/solaris10-sparc/build-isa-sparcv8plus/performance-0.5.0' gmake[2]: *** No targets specified and no makefile found.? Stop. gmake[2]: Leaving directory '/home/rmottola/opencsw/gs_performance/trunk/work/solaris10-sparc/build-isa-sparcv8plus/performance-0.5.0' note the "wrong" case. Riccardo From dam at opencsw.org Sun Apr 29 21:15:36 2018 From: dam at opencsw.org (Dagobert Michelsen) Date: Sun, 29 Apr 2018 21:15:36 +0200 Subject: rebuild a package - same version number, In-Reply-To: <52c695f1-b24d-ca64-99fd-393b09ff8aa9@opencsw.org> References: <5ae59663-e90a-4695-110b-d00c54268d9f@opencsw.org> <994BB28D-49FF-4C2C-A574-18892AE095F3@opencsw.org> <52c695f1-b24d-ca64-99fd-393b09ff8aa9@opencsw.org> Message-ID: Hi Riccardo, Am 29.04.2018 um 13:24 schrieb Riccardo Mottola : > Dagobert Michelsen wrote: >> The package name is broken, there must not be an uppercase character after CSW. >> In this case there is already a correctly named package CSWperformance. >> Just change the name back as it was before (CSWperformance is fine) and >> it should work. > > the original package however has an uppercase P, thus the distfile and the source have it. > If I name the package performance, then I need to tweak other things somehow. > > I can workaround the distfile by doing: > DISTFILES = Performance-$(VERSION).tar.gz > > but how can I tweak the source best? > I suppose it is better not to tamper with WORKSRC directly, right? > > HOME=/home/rmottola > gmake[2]: Entering directory '/home/rmottola/opencsw/gs_performance/trunk/work/solaris10-sparc/build-isa-sparcv8plus/performance-0.5.0' > gmake[2]: *** No targets specified and no makefile found. Stop. > gmake[2]: Leaving directory '/home/rmottola/opencsw/gs_performance/trunk/work/solaris10-sparc/build-isa-sparcv8plus/performance-0.5.0' Something nasty happened - there were some instances of CSWPerformance in the package database although I could not reproduce the issue as the release package has the correct name CSWperformance. I reformatted the Makefile a bit, so please ?svn up? but the main task was getting the old stuff removed from the package database manually by editing the tables. I guess this was an old isse we had a long time ago. Best regards ? Dago -- "You don't become great by trying to be great, you become great by wanting to do something, and then doing it so hard that you become great in the process." - xkcd #896 -------------- next part -------------- An HTML attachment was scrubbed... URL: