pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/55398: devel/bmake broken on FreeBSD



The following reply was made to PR pkg/55398; it has been noted by GNATS.

From: Hauke Fath <hf%spg.tu-darmstadt.de@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost,
        Sevan Janiyan <sevan%netbsd.org@localhost>
Subject: Re: pkg/55398: devel/bmake broken on FreeBSD
Date: Fri, 19 Jun 2020 20:04:35 +0200

 On Fri, 19 Jun 2020 14:25:01 +0000 (UTC), Sevan Janiyan wrote:
 >  On 19/06/2020 15:00, Hauke Fath wrote:
 >  > % bmake
 >  > ===> Installing dependencies for bmake-20200524nb1
 >  > ERROR: [depends.mk] Installed package checkperms-1.12 has an
 >  > ERROR:     object format ``ELF'' which differs from ``a.out''.  Please
 >  > ERROR:     update the checkperms-1.12 package to a.out.
 >  > *** Error code 1
 >  
 >  hmm, I don't see that on FreeBSD-CURRENT, running "bmake update" results in
 >  
 >  devel/bmake:
 >  ===> Installing binary package of bmake-20200524nb1
 >  pkg_add: A different version of bmake-20200524nb1 is already installed:
 >  bmake-20150505
 >  pkg_add: 1 package addition failed
 
 I guess the above reads less clear than it was to me when I wrote it... 
 sorry. You seem to have problems updating bmake, while my problems 
 start when I run the updated bmake.
 
 To start at the end, a 'pkg_rolling-replace -X bmake' run successfully 
 completed.
 
 After building devel/bmake, when I run the bmake binary from the build 
 directory without installing the newly-built package: 
 
 [...]
 ===> Building binary package for bmake-20200524nb1
 => Creating binary package 
 /var/obj/pkgsrc/packages/All/bmake-20200524nb1.tgz
 [me@Here] /<2>devel/bmake > cd ../../pkgtools/digest/
 [me@Here] /<2>pkgtools/digest > 
 /var/obj/pkgsrc/devel/bmake/work/bmake/bmake clean
 ===> Cleaning for cwrappers-20180325
 ===> Cleaning for digest-20190127
 [me@Here] /<2>pkgtools/digest > 
 /var/obj/pkgsrc/devel/bmake/work/bmake/bmake package
 ===> Installing dependencies for digest-20190127
 ERROR: [depends.mk] Installed package cwrappers-20180325 has an
 ERROR:     object format ``ELF'' which differs from ``a.out''.  Please
 ERROR:     update the cwrappers-20180325 package to a.out.
 *** Error code 1
 
 Stop.
 bmake: stopped in /misc/pkgsrc/pkgtools/digest
 [me@Here] /<2>pkgtools/digest > bmake
 ===> Installing dependencies for digest-20190127
 => Build dependency cwrappers>=20150314: found cwrappers-20180325
 ===> Checking for vulnerabilities in digest-20190127
 ===> Overriding tools for digest-20190127
 ===> Extracting for digest-20190127
 ===> Patching for digest-20190127
 ===> Creating toolchain wrappers for digest-20190127
 ===> Configuring for digest-20190127
 => Modifying GNU configure scripts to avoid --recheck
 [...]
 
 -- while the old 
 
 %  ls -l /opt/local/bin/bmake 
 -rwxr-xr-x  1 root  wheel  179248 Oct 11  2019 /opt/local/bin/bmake
 %
 
 binary works fine.
 
 FTR, mk.conf has
 
 ABI=                    64
 PKGSRC_COMPILER=        clang
 CC=                     clang
 CXX=                    clang++
 CPP=                    ${CC} -E
 CLANGBASE=              /usr
 


Home | Main Index | Thread Index | Old Index