Re: [ATrpms-devel] atrpms-rpm-config for rhel6
On Sat, May 18, 2013 at 10:30:05AM +0100, John Pilkington wrote: > On 17/05/13 22:05, John Pilkington wrote: > >On 17/05/13 20:35, Axel Thimm wrote: > >>thanks for the repost - on el6 both depmod and ldconfig are pulled > >>from the proper locations, in the last days I built tons of packages > >>and could not see the issue. > >> > >>There was an issue with f18 builds, but never with el6. > >> > >>Thanks, Axel. > >> > >>On Fri, May 17, 2013 at 10:34:58AM +0100, John Pilkington wrote: > >>>Hi Axel: Welcome back. I'm replying to the gossamer-threads > >>>version, so no thread. > >>> > >>>Copy of Stephen Collier's post on users' list, 9 April: > >>> > >>>The macro on line 79 of /etc/rpm/macros.atrpms doesn't seem to be > >>>working properly. Needed for F18 I guess. I have temporary changed > >>>it to build with /usr/sbin/ldconfig changed back to /sbin/ldconfig > >>>and same for depmod a few lines later. > >>> > >>>Cheers, > >>> > >>>John P > >>> > > > >I certainly saw this problem. It looks as if 'our' target environments > >weren't being recognised as el6. Mine was Scientific Linux, or perhaps > >CentOS. Would be nice to fix it for future use, but not immediately > >critical if the 'official' builds are ok. > > > > /etc/redhat-release contains "Scientific Linux release 6.4 (Carbon)" > > (without quotes), so it's not recognised in the first few lines of > macros.atrpms and gets the Fedora 18 default? You are right, the distro is considered unknown (so clones are not 100% clones) and gets the default setting (which is not f18, just the default, which on the other hand is always the latest convention, so effectively the latest Fedora release). You can do two things: a) fast and lazy: pass dist to the build like so: rpmbuild ... --define 'dist el6' ... (actually this is the way ATrpms does it - especialy since the minimal chroots don't even contain /etc/redhat-release to have something to recognize the dist with) b) extend the %distinitials macro to include more RHEL clones. We would need a strings to grep for in some /etc/*release|issue file as well as the versioning of the matching package (e.g. rpm -qf /etc/redhat-release) -- Axel.Thimm at ATrpms.net ___ atrpms-devel mailing list atrpms-devel@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-devel
Re: [ATrpms-devel] atrpms-rpm-config for rhel6
On 17/05/13 22:05, John Pilkington wrote: On 17/05/13 20:35, Axel Thimm wrote: Hi, thanks for the repost - on el6 both depmod and ldconfig are pulled from the proper locations, in the last days I built tons of packages and could not see the issue. There was an issue with f18 builds, but never with el6. Thanks, Axel. On Fri, May 17, 2013 at 10:34:58AM +0100, John Pilkington wrote: Hi Axel: Welcome back. I'm replying to the gossamer-threads version, so no thread. Copy of Stephen Collier's post on users' list, 9 April: The macro on line 79 of /etc/rpm/macros.atrpms doesn't seem to be working properly. Needed for F18 I guess. I have temporary changed it to build with /usr/sbin/ldconfig changed back to /sbin/ldconfig and same for depmod a few lines later. Cheers, John P I certainly saw this problem. It looks as if 'our' target environments weren't being recognised as el6. Mine was Scientific Linux, or perhaps CentOS. Would be nice to fix it for future use, but not immediately critical if the 'official' builds are ok. /etc/redhat-release contains "Scientific Linux release 6.4 (Carbon)" (without quotes), so it's not recognised in the first few lines of macros.atrpms and gets the Fedora 18 default? ___ atrpms-devel mailing list atrpms-devel@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-devel
Re: [ATrpms-devel] atrpms-rpm-config for rhel6
On 17/05/13 20:35, Axel Thimm wrote: Hi, thanks for the repost - on el6 both depmod and ldconfig are pulled from the proper locations, in the last days I built tons of packages and could not see the issue. There was an issue with f18 builds, but never with el6. Thanks, Axel. On Fri, May 17, 2013 at 10:34:58AM +0100, John Pilkington wrote: Hi Axel: Welcome back. I'm replying to the gossamer-threads version, so no thread. Copy of Stephen Collier's post on users' list, 9 April: The macro on line 79 of /etc/rpm/macros.atrpms doesn't seem to be working properly. Needed for F18 I guess. I have temporary changed it to build with /usr/sbin/ldconfig changed back to /sbin/ldconfig and same for depmod a few lines later. Cheers, John P I certainly saw this problem. It looks as if 'our' target environments weren't being recognised as el6. Mine was Scientific Linux, or perhaps CentOS. Would be nice to fix it for future use, but not immediately critical if the 'official' builds are ok. ___ atrpms-devel mailing list atrpms-devel@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-devel
Re: [ATrpms-devel] atrpms-rpm-config for rhel6
On Fri, May 17, 2013 at 05:42:42PM -0300, Paulo Cavalcanti wrote: > Only 160 K?? I hadn't noticed the size (just that it was non-zero). Yes, that looks sick, too. I'll rebuild and check the old logs. Thanks for catching it! > On Fri, May 17, 2013 at 5:32 PM, Axel Thimm wrote: > > > On Fri, May 17, 2013 at 05:23:08PM -0300, Paulo Cavalcanti wrote: > > > The problem was not building, but installing ... > > > > > > The kmdl generated had an explicit dependency on /usr/bin/depmod, > > > at least the one I compiled some time ago. > > > > Yes, I did check teh runtime dependencies, we're on the same side > > here. > > > > Perhaps you had this issue on f118 and not el6? On f18 it would create > > that dependency. > > > > > Clearly, this package is also broken, because its size is too small: > > > > > > > > http://dl.atrpms.net/el6-x86_64/atrpms/stable/nvidia-graphics319.17-kmdl-2.6.32-358.6.1.el6-319.17-155.el6.x86_64.rpm > > > > > > When I try to download it, I get an ERROR 403: Forbidden. > > > > > > Can you recreate it? > > > > > > Thanks. > > > > That's another issue - the package is there and looks ok, but the > > permissions are off. Hm, I need to check the scripts. > > > > Thanks!! > > > > > On Fri, May 17, 2013 at 4:35 PM, Axel Thimm > > wrote: > > > > > > > Hi, > > > > > > > > thanks for the repost - on el6 both depmod and ldconfig are pulled > > > > from the proper locations, in the last days I built tons of packages > > > > and could not see the issue. > > > > > > > > There was an issue with f18 builds, but never with el6. > > > > > > > > Thanks, Axel. > > > > > > > > On Fri, May 17, 2013 at 10:34:58AM +0100, John Pilkington wrote: > > > > > Hi Axel: Welcome back. I'm replying to the gossamer-threads > > > > > version, so no thread. > > > > > > > > > > Copy of Stephen Collier's post on users' list, 9 April: > > > > > > > > > > The macro on line 79 of /etc/rpm/macros.atrpms doesn't seem to be > > > > > working properly. Needed for F18 I guess. I have temporary changed > > > > > it to build with /usr/sbin/ldconfig changed back to /sbin/ldconfig > > > > > and same for depmod a few lines later. > > > > > > > > > > Cheers, > > > > > > > > > > John P > > > > > > > > > > > > > > > > > > > > ___ > > > > > atrpms-devel mailing list > > > > > atrpms-devel@atrpms.net > > > > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > > > > > > > > > > > > > -- > > > > Axel.Thimm at ATrpms.net > > > > > > > > ___ > > > > atrpms-devel mailing list > > > > atrpms-devel@atrpms.net > > > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > > > > > > > > > > > > > > > > -- > > > Paulo Roma Cavalcanti > > > DCC - UFRJ > > > > > ___ > > > atrpms-devel mailing list > > > atrpms-devel@atrpms.net > > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > > > > > > -- > > Axel.Thimm at ATrpms.net > > > > ___ > > atrpms-devel mailing list > > atrpms-devel@atrpms.net > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > > > > > > -- > Paulo Roma Cavalcanti > DCC - UFRJ > ___ > atrpms-devel mailing list > atrpms-devel@atrpms.net > http://lists.atrpms.net/mailman/listinfo/atrpms-devel -- Axel.Thimm at ATrpms.net ___ atrpms-devel mailing list atrpms-devel@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-devel
Re: [ATrpms-devel] atrpms-rpm-config for rhel6
Only 160 K?? On Fri, May 17, 2013 at 5:32 PM, Axel Thimm wrote: > On Fri, May 17, 2013 at 05:23:08PM -0300, Paulo Cavalcanti wrote: > > The problem was not building, but installing ... > > > > The kmdl generated had an explicit dependency on /usr/bin/depmod, > > at least the one I compiled some time ago. > > Yes, I did check teh runtime dependencies, we're on the same side > here. > > Perhaps you had this issue on f118 and not el6? On f18 it would create > that dependency. > > > Clearly, this package is also broken, because its size is too small: > > > > > http://dl.atrpms.net/el6-x86_64/atrpms/stable/nvidia-graphics319.17-kmdl-2.6.32-358.6.1.el6-319.17-155.el6.x86_64.rpm > > > > When I try to download it, I get an ERROR 403: Forbidden. > > > > Can you recreate it? > > > > Thanks. > > That's another issue - the package is there and looks ok, but the > permissions are off. Hm, I need to check the scripts. > > Thanks!! > > > On Fri, May 17, 2013 at 4:35 PM, Axel Thimm > wrote: > > > > > Hi, > > > > > > thanks for the repost - on el6 both depmod and ldconfig are pulled > > > from the proper locations, in the last days I built tons of packages > > > and could not see the issue. > > > > > > There was an issue with f18 builds, but never with el6. > > > > > > Thanks, Axel. > > > > > > On Fri, May 17, 2013 at 10:34:58AM +0100, John Pilkington wrote: > > > > Hi Axel: Welcome back. I'm replying to the gossamer-threads > > > > version, so no thread. > > > > > > > > Copy of Stephen Collier's post on users' list, 9 April: > > > > > > > > The macro on line 79 of /etc/rpm/macros.atrpms doesn't seem to be > > > > working properly. Needed for F18 I guess. I have temporary changed > > > > it to build with /usr/sbin/ldconfig changed back to /sbin/ldconfig > > > > and same for depmod a few lines later. > > > > > > > > Cheers, > > > > > > > > John P > > > > > > > > > > > > > > > > ___ > > > > atrpms-devel mailing list > > > > atrpms-devel@atrpms.net > > > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > > > > > > > > > > -- > > > Axel.Thimm at ATrpms.net > > > > > > ___ > > > atrpms-devel mailing list > > > atrpms-devel@atrpms.net > > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > > > > > > > > > > > -- > > Paulo Roma Cavalcanti > > DCC - UFRJ > > > ___ > > atrpms-devel mailing list > > atrpms-devel@atrpms.net > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > > > -- > Axel.Thimm at ATrpms.net > > ___ > atrpms-devel mailing list > atrpms-devel@atrpms.net > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > -- Paulo Roma Cavalcanti DCC - UFRJ ___ atrpms-devel mailing list atrpms-devel@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-devel
Re: [ATrpms-devel] atrpms-rpm-config for rhel6
On Fri, May 17, 2013 at 05:23:08PM -0300, Paulo Cavalcanti wrote: > The problem was not building, but installing ... > > The kmdl generated had an explicit dependency on /usr/bin/depmod, > at least the one I compiled some time ago. Yes, I did check teh runtime dependencies, we're on the same side here. Perhaps you had this issue on f118 and not el6? On f18 it would create that dependency. > Clearly, this package is also broken, because its size is too small: > > http://dl.atrpms.net/el6-x86_64/atrpms/stable/nvidia-graphics319.17-kmdl-2.6.32-358.6.1.el6-319.17-155.el6.x86_64.rpm > > When I try to download it, I get an ERROR 403: Forbidden. > > Can you recreate it? > > Thanks. That's another issue - the package is there and looks ok, but the permissions are off. Hm, I need to check the scripts. Thanks!! > On Fri, May 17, 2013 at 4:35 PM, Axel Thimm wrote: > > > Hi, > > > > thanks for the repost - on el6 both depmod and ldconfig are pulled > > from the proper locations, in the last days I built tons of packages > > and could not see the issue. > > > > There was an issue with f18 builds, but never with el6. > > > > Thanks, Axel. > > > > On Fri, May 17, 2013 at 10:34:58AM +0100, John Pilkington wrote: > > > Hi Axel: Welcome back. I'm replying to the gossamer-threads > > > version, so no thread. > > > > > > Copy of Stephen Collier's post on users' list, 9 April: > > > > > > The macro on line 79 of /etc/rpm/macros.atrpms doesn't seem to be > > > working properly. Needed for F18 I guess. I have temporary changed > > > it to build with /usr/sbin/ldconfig changed back to /sbin/ldconfig > > > and same for depmod a few lines later. > > > > > > Cheers, > > > > > > John P > > > > > > > > > > > > ___ > > > atrpms-devel mailing list > > > atrpms-devel@atrpms.net > > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > > > > > > > -- > > Axel.Thimm at ATrpms.net > > > > ___ > > atrpms-devel mailing list > > atrpms-devel@atrpms.net > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > > > > > > -- > Paulo Roma Cavalcanti > DCC - UFRJ > ___ > atrpms-devel mailing list > atrpms-devel@atrpms.net > http://lists.atrpms.net/mailman/listinfo/atrpms-devel -- Axel.Thimm at ATrpms.net ___ atrpms-devel mailing list atrpms-devel@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-devel
Re: [ATrpms-devel] atrpms-rpm-config for rhel6
The problem was not building, but installing ... The kmdl generated had an explicit dependency on /usr/bin/depmod, at least the one I compiled some time ago. Clearly, this package is also broken, because its size is too small: http://dl.atrpms.net/el6-x86_64/atrpms/stable/nvidia-graphics319.17-kmdl-2.6.32-358.6.1.el6-319.17-155.el6.x86_64.rpm When I try to download it, I get an ERROR 403: Forbidden. Can you recreate it? Thanks. On Fri, May 17, 2013 at 4:35 PM, Axel Thimm wrote: > Hi, > > thanks for the repost - on el6 both depmod and ldconfig are pulled > from the proper locations, in the last days I built tons of packages > and could not see the issue. > > There was an issue with f18 builds, but never with el6. > > Thanks, Axel. > > On Fri, May 17, 2013 at 10:34:58AM +0100, John Pilkington wrote: > > Hi Axel: Welcome back. I'm replying to the gossamer-threads > > version, so no thread. > > > > Copy of Stephen Collier's post on users' list, 9 April: > > > > The macro on line 79 of /etc/rpm/macros.atrpms doesn't seem to be > > working properly. Needed for F18 I guess. I have temporary changed > > it to build with /usr/sbin/ldconfig changed back to /sbin/ldconfig > > and same for depmod a few lines later. > > > > Cheers, > > > > John P > > > > > > > > ___ > > atrpms-devel mailing list > > atrpms-devel@atrpms.net > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > > > > -- > Axel.Thimm at ATrpms.net > > ___ > atrpms-devel mailing list > atrpms-devel@atrpms.net > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > -- Paulo Roma Cavalcanti DCC - UFRJ ___ atrpms-devel mailing list atrpms-devel@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-devel
Re: [ATrpms-devel] atrpms-rpm-config for rhel6
Hi, thanks for the repost - on el6 both depmod and ldconfig are pulled from the proper locations, in the last days I built tons of packages and could not see the issue. There was an issue with f18 builds, but never with el6. Thanks, Axel. On Fri, May 17, 2013 at 10:34:58AM +0100, John Pilkington wrote: > Hi Axel: Welcome back. I'm replying to the gossamer-threads > version, so no thread. > > Copy of Stephen Collier's post on users' list, 9 April: > > The macro on line 79 of /etc/rpm/macros.atrpms doesn't seem to be > working properly. Needed for F18 I guess. I have temporary changed > it to build with /usr/sbin/ldconfig changed back to /sbin/ldconfig > and same for depmod a few lines later. > > Cheers, > > John P > > > > ___ > atrpms-devel mailing list > atrpms-devel@atrpms.net > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > -- Axel.Thimm at ATrpms.net ___ atrpms-devel mailing list atrpms-devel@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-devel
Re: [ATrpms-devel] atrpms-rpm-config for rhel6
Hi, On Fri, May 17, 2013 at 06:37:00AM -0300, Paulo Cavalcanti wrote: > It was using /usr/sbin/depmod. > > Although this works on F17, F18, rhel6 still uses /sbin/depmod. > > I think this is the wrong line: > > macros.atrpms:%__depmod %(echo %{expand:%%__depmod_%{distid}} | grep '^%' > > /dev/null && echo /usr/sbin/depmod || echo %{expand:%%__depmod_%{distid}}) Yes, but this only applies if there is no explicit %__depmod_el6 macro, which there is: %__depmod %(echo %{expand:%%__depmod_%{distid}} | grep '^%' > /dev/null && echo /usr/sbin/depmod || echo %{expand:%%__depmod_%{distid}}) %__depmod_el3 /sbin/depmod %__depmod_el4 /sbin/depmod %__depmod_el5 /sbin/depmod %__depmod_el6 /sbin/depmod %__depmod_fc17 /sbin/depmod > I am just using the previous macro version on rhel6 > (atrpms-rpm-config-201-3.noarch.rpm) ... > > Of course, this means you will have to rebuild all kmdls for rhel6 ... Do you see any kmdl package that is broken that way? I just checked a couple of packages and they all have the proper dependencies. > On Fri, May 17, 2013 at 12:50 AM, Axel Thimm wrote: > > > Hi, > > > > can you point me to the broken package? For el6 it should use > > /sbin/depmod, and the macros seem to do so. > > > > Thanks! > > > > On Thu, May 16, 2013 at 11:53:33AM -0300, Paulo Cavalcanti wrote: > > > Axel, > > > > > > the new version of the atrpms-rpm-config > > > sets the wrong requirement (path) for depmod on rhel6 ... > > > > > > -- > > > Paulo Roma Cavalcanti > > > LCG - UFRJ > > > > > ___ > > > atrpms-devel mailing list > > > atrpms-devel@atrpms.net > > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > > > > > > -- > > Axel.Thimm at ATrpms.net > > > > ___ > > atrpms-devel mailing list > > atrpms-devel@atrpms.net > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > > > > > > -- > Paulo Roma Cavalcanti > DCC - UFRJ > ___ > atrpms-devel mailing list > atrpms-devel@atrpms.net > http://lists.atrpms.net/mailman/listinfo/atrpms-devel -- Axel.Thimm at ATrpms.net ___ atrpms-devel mailing list atrpms-devel@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-devel
Re: [ATrpms-devel] atrpms-rpm-config for rhel6
It was using /usr/sbin/depmod. Although this works on F17, F18, rhel6 still uses /sbin/depmod. I think this is the wrong line: macros.atrpms:%__depmod %(echo %{expand:%%__depmod_%{distid}} | grep '^%' > /dev/null && echo /usr/sbin/depmod || echo %{expand:%%__depmod_%{distid}}) I am just using the previous macro version on rhel6 (atrpms-rpm-config-201-3.noarch.rpm) ... Of course, this means you will have to rebuild all kmdls for rhel6 ... On Fri, May 17, 2013 at 12:50 AM, Axel Thimm wrote: > Hi, > > can you point me to the broken package? For el6 it should use > /sbin/depmod, and the macros seem to do so. > > Thanks! > > On Thu, May 16, 2013 at 11:53:33AM -0300, Paulo Cavalcanti wrote: > > Axel, > > > > the new version of the atrpms-rpm-config > > sets the wrong requirement (path) for depmod on rhel6 ... > > > > -- > > Paulo Roma Cavalcanti > > LCG - UFRJ > > > ___ > > atrpms-devel mailing list > > atrpms-devel@atrpms.net > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > > > -- > Axel.Thimm at ATrpms.net > > ___ > atrpms-devel mailing list > atrpms-devel@atrpms.net > http://lists.atrpms.net/mailman/listinfo/atrpms-devel > -- Paulo Roma Cavalcanti DCC - UFRJ ___ atrpms-devel mailing list atrpms-devel@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-devel
[ATrpms-devel] atrpms-rpm-config for rhel6
Hi Axel: Welcome back. I'm replying to the gossamer-threads version, so no thread. Copy of Stephen Collier's post on users' list, 9 April: The macro on line 79 of /etc/rpm/macros.atrpms doesn't seem to be working properly. Needed for F18 I guess. I have temporary changed it to build with /usr/sbin/ldconfig changed back to /sbin/ldconfig and same for depmod a few lines later. Cheers, John P ___ atrpms-devel mailing list atrpms-devel@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-devel
Re: [ATrpms-devel] atrpms-rpm-config for rhel6
Hi, can you point me to the broken package? For el6 it should use /sbin/depmod, and the macros seem to do so. Thanks! On Thu, May 16, 2013 at 11:53:33AM -0300, Paulo Cavalcanti wrote: > Axel, > > the new version of the atrpms-rpm-config > sets the wrong requirement (path) for depmod on rhel6 ... > > -- > Paulo Roma Cavalcanti > LCG - UFRJ > ___ > atrpms-devel mailing list > atrpms-devel@atrpms.net > http://lists.atrpms.net/mailman/listinfo/atrpms-devel -- Axel.Thimm at ATrpms.net ___ atrpms-devel mailing list atrpms-devel@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-devel
[ATrpms-devel] atrpms-rpm-config for rhel6
Axel, the new version of the atrpms-rpm-config sets the wrong requirement (path) for depmod on rhel6 ... -- Paulo Roma Cavalcanti LCG - UFRJ ___ atrpms-devel mailing list atrpms-devel@atrpms.net http://lists.atrpms.net/mailman/listinfo/atrpms-devel