pkgsrc-Bugs archive

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

Re: pkg/48412 (sysutils/cdrtools fails to build on NetBSD-6.1.2/amd64)



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

From: Greg Oster <oster%cs.usask.ca@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48412 (sysutils/cdrtools fails to build on
 NetBSD-6.1.2/amd64)
Date: Wed, 27 Nov 2013 09:38:49 -0600

 On Wed, 27 Nov 2013 15:30:01 +0000 (UTC)
 Matthias Scheler <tron%zhadum.org.uk@localhost> wrote:
 
 > The following reply was made to PR pkg/48412; it has been noted by
 > GNATS.
 > 
 > From: Matthias Scheler <tron%zhadum.org.uk@localhost>
 > To: oster%netbsd.org@localhost
 > Cc: gnats-bugs%NetBSD.org@localhost
 > Subject: Re: pkg/48412 (sysutils/cdrtools fails to build on
 >  NetBSD-6.1.2/amd64)
 > Date: Wed, 27 Nov 2013 15:26:06 +0000
 > 
 >  On Wed, Nov 27, 2013 at 03:10:01PM +0000, Greg Oster wrote:
 >  >  > The following reply was made to PR pkg/48412; it has been noted
 >  >  > by GNATS.
 >  >  > 
 >  >  > From: Matthias Scheler <tron%zhadum.org.uk@localhost>
 >  >  > To: oster%netbsd.org@localhost
 >  >  > Cc: gnats-bugs%NetBSD.org@localhost
 >  >  > Subject: Re: pkg/48412 (sysutils/cdrtools fails to build on
 >  >  >  NetBSD-6.1.2/amd64)
 >  >  > Date: Wed, 27 Nov 2013 14:46:54 +0000
 >  >  > 
 >  >  >  On Wed, Nov 27, 2013 at 02:25:00PM +0000, Greg Oster wrote:
 >  >  >  >  > Synopsis: sysutils/cdrtools fails to build on
 >  >  >  >  > NetBSD-6.1.2/amd64
 >  >  >  >  > 
 >  >  >  >  > State-Changed-From-To: open->feedback
 >  >  >  >  > State-Changed-By: wiz%NetBSD.org@localhost
 >  >  >  >  > State-Changed-When: Wed, 27 Nov 2013 14:19:23 +0000
 >  >  >  >  > State-Changed-Why:
 >  >  >  >  > try again, tron committed a fix yesterday.
 >  >  >  >  > 
 >  >  >  >  
 >  >  >  >  Unfortunately, that attempted build is using the changes
 >  >  >  > from yesterday :( 
 >  >  >  
 >  >  >  What output do these commands produce?
 >  >  >  
 >  >  >  cd pkgsrc/sysutils/cdrtools
 >  >  >  make VARNAME=CONFIGURE_ENV show-var
 >  >  >  
 >  >  >  It should start like this:
 >  >  >  
 >  >  >  ac_cv_func_faccessat=no ac_cv_func_fchmodat=no
 >  >  > ac_cv_func_fchownat=no ac_cv_func_fexecve=no
 >  >  > ac_cv_func_fstatat=no ac_cv_func_linkat=no
 >  >  > ac_cv_func_mkdirat=no ac_cv_func_mkfifoat=no
 >  >  > ac_cv_func_mknodat=no ac_cv_func_openat=no
 >  >  > ac_cv_func_readlinkat=no ac_cv_func_renameat=no
 >  >  > ac_cv_func_symlinkat=no ac_cv_func_unlinkat=no
 >  >  > ac_cv_func_utimensat=no Kind regards -- Matthias
 >  >  > Scheler                                  http://zhadum.org.uk/ 
 >  >  
 >  >  What I get is:
 >  >  
 >  >  ac_cv_func_faccessat=no ac_cv_func_fchmodat=no
 >  > ac_cv_func_fchownat=no ac_cv_func_fexecve=no ac_cv_func_fstatat=no
 >  > ac_cv_func_linkat=no ac_cv_func_mkdirat=no ac_cv_func_mkfifoat=no
 >  > ac_cv_func_mknodat=no ac_cv_func_openat=no
 >  > ac_cv_func_readlinkat=no ac_cv_func_renameat=no
 >  > ac_cv_func_symlinkat=no ac_cv_func_unlinkat=no
 >  > ac_cv_func_utimensat=no LIBOSSAUDIO=-lossaudio
 >  > DEVOSSAUDIO=/dev/audio DEVOSSSOUND=/dev/sound INSTALL_INFO=
 >  > MAKEINFO=/usr/pkgsrc/sysutils/cdrtools/work.mickey/.tools/bin/makeinfo
 >  > FLEX= BISON= PKG_CONFIG=
 >  > 
 > PKG_CONFIG_LIBDIR=/usr/pkgsrc/sysutils/cdrtools/work.mickey/.buildlink/lib/pkgconfig:/usr/pkgsrc/sysutils/cdrtools/work.mickey/.buildlink/share/pkgconfig
 >  > PKG_CONFIG_LOG=/usr/pkgsrc/sysutils/cdrtools/work.mickey/.pkg-config.log
 >  > PKG_CONFIG_PATH= MAKE=make WRAPPER_DEBUG=no
 >  > WRAPPER_UPDATE_CACHE=yes CC=gcc CFLAGS=-O2\ -DUSE_GETRAWPARTITION
 >  > CPPFLAGS= CXX=c++ CXXFLAGS=-O2\ -DUSE_GETRAWPARTITION
 >  > COMPILER_RPATH_FLAG=-Wl,-R F77=g77 FC=g77 FFLAGS=-O LANG=C
 >  > LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C
 >  > LC_NUMERIC=C LC_TIME=C LDFLAGS=-lutil LINKER_RPATH_FLAG=-R
 >  > 
 > PATH=/usr/pkgsrc/sysutils/cdrtools/work.mickey/.wrapper/bin:/usr/pkgsrc/sysutils/cdrtools/work.mickey/.buildlink/bin:/usr/pkgsrc/sysutils/cdrtools/work.mickey/.gcc/bin:/usr/pkgsrc/sysutils/cdrtools/work.mickey/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/X11R7/bin
 >  > PREFIX=/usr/pkg MAKELEVEL=0 PKG_SYSCONFDIR=/usr/pkg/etc CXXCPP=cpp
 >  > HOME=/usr/pkgsrc/sysutils/cdrtools/work.mickey/.home
 >  
 >  That looks correct. Did you do a "make clean" after updating to the
 >  latest patches?
 
 Yes....  
 
 Hm...  AT_FCWD is protected by:
 
 #if defined(_INCOMPLETE_XOPEN_C063) || defined(_KERNEL)
 
 in /usr/include/fcntl.h ...  Otherwise it looks like it wants to 
 grab that definition... 
 
 If I add: -D_INCOMPLETE_XOPEN_C063  thusly:
 
 CFLAGS.NetBSD+= -DUSE_GETRAWPARTITION -D_INCOMPLETE_XOPEN_C063 
 
 to the Makefile, then it builds and links fine....  but I'm not sure
 about that as a real solution :-/
 
 Later...
 
 Greg Oster
 


Home | Main Index | Thread Index | Old Index