Re: 9.1 -> current migration problem

From: Paul Dokas <dokas_at_dokas.name>
Date: Sun, 12 May 2013 10:48:46 -0500
Thanks Dan!  I was hoping that this would be something simple like this.
 The entry in UPDATING that you are referring to is:

  20130121:
        Due to the use of the new -l option to install(1) during build
        and install, you must take care not to directly set the INSTALL
        make variable in your /etc/make.conf, /etc/src.conf, or on the
        command line.  If you with to use the -C flag for all installs
        you may be able to add INSTALL+=-C to /etc/make.conf or
        /etc/src.conf.

And I was setting INSTALL in /etc/make.conf

  INSTALL=       install -C

I've commented this out and am rebuilding again.

Thanks again!



Paul



On 05/12/13 09:35, Dan Mack wrote:
> 
> It's sound familiar; in /usr/src/UPDATING there is mention of this '-l'
> issue.   Search for 'install' in UPDATING and I think there is a
> work-around.
> 
> Dan
> 
> On Sun, 12 May 2013, Paul Dokas wrote:
> 
>> I have a newly installed 9.1 amd64 VM that I would like to update to
>> -current.  I have pulled down head via svn:
>>
>>  svn co svn://svn.freebsd.org/base/head /usr/src
>>
>> and am attempting to buildworld:
>>
>>  cd /usr/src
>>  make buildworld
>>
>> This build is failing during bootstrap-tools when building makewhatis or
>> mklocale.  It seems that something is trying to use the '-l' option to
>> install, which is only present in FreeBSD 10.
>>
>> Any ideas how to get around this issue?
>>
>> Thanks,
>>
>> Paul
>>
>>
>>
>>
>> # cd /usr/src
>> # make buildworld
>>  .
>>  .
>>  .
>> ===> bin/cat (obj,depend,all,install)
>> /usr/obj/usr/src/tmp/usr/src/bin/cat created for /usr/src/bin/cat
>> rm -f .depend
>> mkdep -f .depend -a    -I/usr/obj/usr/src/tmp/legacy/usr/include
>> -std=gnu99   /usr/src/bin/cat/cat.c
>> echo cat: /usr/lib/libc.a /usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a
>>>> .depend
>> cc -O2 -fno-strict-aliasing -pipe -std=gnu99
>> -I/usr/obj/usr/src/tmp/legacy/usr/include -c /usr/src/bin/cat/cat.c
>> ${CTFCONVERT_CMD} expands to empty string
>> cc -O2 -fno-strict-aliasing -pipe -std=gnu99
>> -I/usr/obj/usr/src/tmp/legacy/usr/include  -static
>> -L/usr/obj/usr/src/tmp/legacy/usr/lib -o cat cat.o -legacy
>> install -C -s -o root -g wheel -m 555   cat
>> /usr/obj/usr/src/tmp/legacy/bin/cat
>> ===> usr.bin/lorder (obj,depend,all,install)
>> /usr/obj/usr/src/tmp/usr/src/usr.bin/lorder created for
>> /usr/src/usr.bin/lorder
>> install -C -o root  -g wheel -m 555  /usr/src/usr.bin/lorder/lorder.sh
>> /usr/obj/usr/src/tmp/legacy/usr/bin/lorder
>> ===> usr.bin/makewhatis (obj,depend,all,install)
>> /usr/obj/usr/src/tmp/usr/src/usr.bin/makewhatis created for
>> /usr/src/usr.bin/makewhatis
>> rm -f .depend
>> mkdep -f .depend -a    -I/usr/obj/usr/src/tmp/legacy/usr/include
>> -std=gnu99   /usr/src/usr.bin/makewhatis/makewhatis.c
>> echo makewhatis: /usr/lib/libc.a /usr/lib/libz.a
>> /usr/obj/usr/src/tmp/legacy/usr/lib/libegacy.a >> .depend
>> cc -O2 -fno-strict-aliasing -pipe -std=gnu99
>> -I/usr/obj/usr/src/tmp/legacy/usr/include -c
>> /usr/src/usr.bin/makewhatis/makewhatis.c
>> ${CTFCONVERT_CMD} expands to empty string
>> cc -O2 -fno-strict-aliasing -pipe -std=gnu99
>> -I/usr/obj/usr/src/tmp/legacy/usr/include  -static
>> -L/usr/obj/usr/src/tmp/legacy/usr/lib -o makewhatis makewhatis.o -lz
>> -legacy
>> install -C -s -o root -g wheel -m 555   makewhatis
>> /usr/obj/usr/src/tmp/legacy/usr/bin/makewhatis
>> install -C -o root  -g wheel -m 555
>> /usr/src/usr.bin/makewhatis/makewhatis.local.sh
>> /usr/obj/usr/src/tmp/legacy/usr/libexec/makewhatis.local
>> /usr/obj/usr/src/tmp/legacy/usr/libexec/catman.local ->
>> /usr/obj/usr/src/tmp/legacy/usr/libexec/makewhatis.local
>> install: illegal option -- l
>> usage: install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>>               [-o owner] file1 file2
>>       install [-bCcMpSsv] [-B suffix] [-f flags] [-g group] [-m mode]
>>               [-o owner] file1 ... fileN directory
>>       install -d [-v] [-g group] [-m mode] [-o owner] directory ...
>> *** [_installlinks] Error code 64
>>
>> Stop in /usr/src/usr.bin/makewhatis.
>> *** [bootstrap-tools] Error code 1
>>
>> Stop in /usr/src.
>> *** [_bootstrap-tools] Error code 1
>>
>> Stop in /usr/src.
>> *** [buildworld] Error code 1
>>
>> Stop in /usr/src.
>>
>>
>> -- 
>> Paul Dokas                                         dokas at dokas.name
>> ======================================================================
>> Don Juan Matus:  "an enigma wrapped in mystery wrapped in a tortilla."
>> _______________________________________________
>> freebsd-current_at_freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-current
>> To unsubscribe, send any mail to
>> "freebsd-current-unsubscribe_at_freebsd.org"
>>


-- 
Paul Dokas                                         dokas at dokas.name
======================================================================
Don Juan Matus:  "an enigma wrapped in mystery wrapped in a tortilla."
Received on Sun May 12 2013 - 13:48:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:37 UTC